Andrzej Rybczak
2649c4a86b
if in Lyrics::SwitchTo() lyrics aren't taken yet, take them and continue
...
if one started fetching lyrics and exited from lyrics screen before
they were taken by Lyrics::Update() and then wanted to switch again,
there was no action visible, because the function just took the lyrics
and exited. for now it continues and fetches them again.
17 years ago
Andrzej Rybczak
d5a63d6b61
make Lyrics::FilenamePath non-static member
17 years ago
Andrzej Rybczak
db0b42b5da
fix fetching lyrics without threads
17 years ago
Andrzej Rybczak
8ecd35051a
do not start additional thread if lyrics are available locally
17 years ago
Andrzej Rybczak
49a13222a3
get proper user home dir on WIN32 and adjust folders in this case a bit
17 years ago
Andrzej Rybczak
a670be05fe
fix compilation --without-curl
17 years ago
Andrzej Rybczak
344fc21d76
use pthread_t * handlers rather than pthread_t
...
pthread-win32 doesn't accept assigning zero to pthread_t type,
so we need to use pointers instead. this is more semantic anyway.
17 years ago
Andrzej Rybczak
f04472641b
make it compile under mingw32 --with-curl
17 years ago
Andrzej Rybczak
65f52da949
make it compile under mingw32 --without-curl --without-taglib
...
ncmpcpp can be built for windows \o/
pdcurses and regex libraries are needed for this though.
17 years ago
Andrzej Rybczak
eed4fb03ff
use CamelCase for variables in Global namespace / some cleaning
17 years ago
Andrzej Rybczak
556d0f7a3c
hide cursor after return from external console editor
17 years ago
Andrzej Rybczak
31dcb27789
fix handling external console editor
17 years ago
Andrzej Rybczak
d8a6993ec2
add support for external console editor
17 years ago
Andrzej Rybczak
12e437c5af
really fix compilation --without-curl
17 years ago
Andrzej Rybczak
b056fb0968
fix compilation --without-curl
17 years ago
Andrzej Rybczak
3b32d84a76
make Playlist::NowPlayingSong() return pointer, not reference
17 years ago
Andrzej Rybczak
072f611896
fix reloading lyrics after song's change
17 years ago
Andrzej Rybczak
70f48dd454
support for opening lyrics in external editor
17 years ago
Andrzej Rybczak
32f959d1ec
use streams instead of Window::WriteXY()
17 years ago
Andrzej Rybczak
ef9948cbe2
fix refreshing in clock screen while resizing / remove some unneded code
17 years ago
Andrzej Rybczak
ba6c2db0b1
improve resizing
17 years ago
Andrzej Rybczak
26365d9832
rename status_checker -> status / + some cleaning
17 years ago
Andrzej Rybczak
e6bd98e0a7
general code cleaning
17 years ago
Andrzej Rybczak
4cdafc5639
change wCurrent and wPrev to myScreen
17 years ago
Andrzej Rybczak
17352e821c
change namespace Lyrics into class
17 years ago
Andrzej Rybczak
d6a6bca3e6
change namespace TagEditor into class
17 years ago
Andrzej Rybczak
7148762b0c
change namespace PlaylistEditor into class
17 years ago
Andrzej Rybczak
5a06f2a4fc
change namespace MediaLibrary into class
17 years ago
Andrzej Rybczak
111652e2d6
change namespace SearchEngine into class
17 years ago
Andrzej Rybczak
11622b7ba5
remove extern int now_playing
17 years ago
Andrzej Rybczak
8653232a2a
change namespace Browser into class
17 years ago
Andrzej Rybczak
6e167d67e2
change namespace Playlist into class
17 years ago
Andrzej Rybczak
08e162f6ac
fix compilation --without-curl
17 years ago
Andrzej Rybczak
8ba72bc78a
separate some code from ncmpcpp.cpp
17 years ago
Andrzej Rybczak
29301aefd5
move all externs to global.h
17 years ago
Andrzej Rybczak
cecb11c3d8
move WindowTitle() to local unnamed namespace
17 years ago
Andrzej Rybczak
d82577e357
group various functions more logically
17 years ago
Andrzej Rybczak
f9f5149b76
includes cleaning
17 years ago
Andrzej Rybczak
b1817a0bc9
support for switching between supported lyrics databases at runtime
17 years ago
Andrzej Rybczak
baa1c9bf4f
escape unallowed chars before opening/saving file with lyrics
17 years ago
Andrzej Rybczak
6217bf04c2
add support for lyricsplugin database
17 years ago
Andrzej Rybczak
e59b14c56d
clean-up lyrics code a little
17 years ago
Andrzej Rybczak
b8f73ae6a6
use curl_escape on artist and title tags
17 years ago
Andrzej Rybczak
b2d3fef275
set CURLOPT_NOSIGNAL to 1
...
prevent segfaults if timeout was reached in curl connection
17 years ago
Andrzej Rybczak
237e494b08
color artist's info loaded from a file
17 years ago
Andrzej Rybczak
f080b3e1f1
improvements for pthread related stuff
17 years ago
Andrzej Rybczak
0c9e10091f
update fsf address and copyright info
17 years ago
Andrzej Rybczak
daca5964e8
convert lyrics and artist's info to current locale if needed
17 years ago
Andrzej Rybczak
6596d25c26
update settings
18 years ago
Andrzej Rybczak
284dd6a5be
update Menu class and related stuff
18 years ago