Andrzej Rybczak
72acc09b26
fix compilation if there were no curl dev files installed
2009-05-03 13:53:15 +02:00
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.
2009-03-27 14:32:10 +01:00
Andrzej Rybczak
d5a63d6b61
make Lyrics::FilenamePath non-static member
2009-03-27 14:17:37 +01:00
Andrzej Rybczak
db0b42b5da
fix fetching lyrics without threads
2009-03-27 14:16:56 +01:00
Andrzej Rybczak
8ecd35051a
do not start additional thread if lyrics are available locally
2009-03-27 13:21:29 +01:00
Andrzej Rybczak
49a13222a3
get proper user home dir on WIN32 and adjust folders in this case a bit
2009-03-26 20:23:47 +01:00
Andrzej Rybczak
a670be05fe
fix compilation --without-curl
2009-03-26 19:22:48 +01:00
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.
2009-03-26 16:18:11 +01:00
Andrzej Rybczak
f04472641b
make it compile under mingw32 --with-curl
2009-03-25 23:13:34 +01:00
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.
2009-03-25 22:08:18 +01:00
Andrzej Rybczak
eed4fb03ff
use CamelCase for variables in Global namespace / some cleaning
2009-03-08 01:58:49 +01:00
Andrzej Rybczak
556d0f7a3c
hide cursor after return from external console editor
2009-03-05 18:06:53 +01:00
Andrzej Rybczak
31dcb27789
fix handling external console editor
2009-03-04 22:21:32 +01:00
Andrzej Rybczak
d8a6993ec2
add support for external console editor
2009-03-04 15:34:04 +01:00
Andrzej Rybczak
12e437c5af
really fix compilation --without-curl
2009-02-21 16:48:38 +01:00
Andrzej Rybczak
b056fb0968
fix compilation --without-curl
2009-02-20 20:12:35 +01:00
Andrzej Rybczak
3b32d84a76
make Playlist::NowPlayingSong() return pointer, not reference
2009-02-19 00:00:31 +01:00
Andrzej Rybczak
072f611896
fix reloading lyrics after song's change
2009-02-18 22:38:57 +01:00
Andrzej Rybczak
70f48dd454
support for opening lyrics in external editor
2009-02-17 20:17:37 +01:00
Andrzej Rybczak
32f959d1ec
use streams instead of Window::WriteXY()
2009-02-16 19:32:43 +01:00
Andrzej Rybczak
ef9948cbe2
fix refreshing in clock screen while resizing / remove some unneded code
2009-02-16 01:01:54 +01:00
Andrzej Rybczak
ba6c2db0b1
improve resizing
2009-02-16 00:37:03 +01:00
Andrzej Rybczak
26365d9832
rename status_checker -> status / + some cleaning
2009-02-15 22:56:41 +01:00
Andrzej Rybczak
e6bd98e0a7
general code cleaning
2009-02-15 19:15:52 +01:00
Andrzej Rybczak
4cdafc5639
change wCurrent and wPrev to myScreen
2009-02-15 16:09:11 +01:00
Andrzej Rybczak
17352e821c
change namespace Lyrics into class
2009-02-14 21:30:14 +01:00
Andrzej Rybczak
d6a6bca3e6
change namespace TagEditor into class
2009-02-14 19:44:55 +01:00
Andrzej Rybczak
7148762b0c
change namespace PlaylistEditor into class
2009-02-14 18:11:31 +01:00
Andrzej Rybczak
5a06f2a4fc
change namespace MediaLibrary into class
2009-02-14 17:38:39 +01:00
Andrzej Rybczak
111652e2d6
change namespace SearchEngine into class
2009-02-14 16:15:11 +01:00
Andrzej Rybczak
11622b7ba5
remove extern int now_playing
2009-02-14 15:18:13 +01:00
Andrzej Rybczak
8653232a2a
change namespace Browser into class
2009-02-14 00:43:58 +01:00
Andrzej Rybczak
6e167d67e2
change namespace Playlist into class
2009-02-13 22:27:26 +01:00
Andrzej Rybczak
08e162f6ac
fix compilation --without-curl
2009-02-13 17:39:53 +01:00
Andrzej Rybczak
8ba72bc78a
separate some code from ncmpcpp.cpp
2009-02-13 17:24:06 +01:00
Andrzej Rybczak
29301aefd5
move all externs to global.h
2009-02-11 09:45:23 +01:00
Andrzej Rybczak
cecb11c3d8
move WindowTitle() to local unnamed namespace
2009-02-11 09:12:49 +01:00
Andrzej Rybczak
d82577e357
group various functions more logically
2009-02-10 15:51:55 +01:00
Andrzej Rybczak
f9f5149b76
includes cleaning
2009-02-10 12:19:59 +01:00
Andrzej Rybczak
b1817a0bc9
support for switching between supported lyrics databases at runtime
2009-02-02 23:43:12 +01:00
Andrzej Rybczak
baa1c9bf4f
escape unallowed chars before opening/saving file with lyrics
2009-02-02 12:02:09 +01:00
Andrzej Rybczak
6217bf04c2
add support for lyricsplugin database
2009-02-02 12:00:19 +01:00
Andrzej Rybczak
e59b14c56d
clean-up lyrics code a little
2009-02-02 09:55:06 +01:00
Andrzej Rybczak
b8f73ae6a6
use curl_escape on artist and title tags
2009-01-28 22:37:46 +01:00
Andrzej Rybczak
b2d3fef275
set CURLOPT_NOSIGNAL to 1
...
prevent segfaults if timeout was reached in curl connection
2009-01-28 18:52:10 +01:00
Andrzej Rybczak
237e494b08
color artist's info loaded from a file
2009-01-22 16:08:09 +01:00
Andrzej Rybczak
f080b3e1f1
improvements for pthread related stuff
2009-01-20 14:35:49 +01:00
Andrzej Rybczak
0c9e10091f
update fsf address and copyright info
2009-01-17 00:52:08 +01:00
Andrzej Rybczak
daca5964e8
convert lyrics and artist's info to current locale if needed
2009-01-12 08:22:45 +01:00
Andrzej Rybczak
6596d25c26
update settings
2008-12-11 19:18:21 +01:00