Commit Graph

946 Commits

Author SHA1 Message Date
Andrzej Rybczak
89779e6fb9 sort files in Browser::GetLocalDirectory()
files are read in kinda random order, so if one added local dir
to playlist, (s)he would get them not sorted at all. fix that by
sorting files that have been read recently from current dir, so
that we get files sorted within each read directory (if read
recursively), which is nice.
2009-10-08 16:09:45 +02:00
Andrzej Rybczak
eaa7364f79 fix another copypasta bug
ugh.
2009-10-07 16:14:14 +02:00
Andrzej Rybczak
8b460d4635 fix MPD::Song::GetTrackNumber() 2009-10-07 16:02:36 +02:00
Andrzej Rybczak
183077d573 fix copy'n'paste bug 2009-10-07 15:22:49 +02:00
Andrzej Rybczak
b0943c28c2 fix adding songs to playlist (broken by d82498ea) 2009-10-06 11:11:59 +02:00
Andrzej Rybczak
c8c5aa079e fix appending now playing song prefix/suffix if playlist is filtered 2009-10-06 09:19:06 +02:00
Andrzej Rybczak
6f7b77c84e editing lyrics shouldn't require mpd_music_dir variable to be set 2009-10-06 07:46:50 +02:00
Andrzej Rybczak
d82498ea16 throw away isConnected variable and use itsConnection instead 2009-10-06 07:18:46 +02:00
Andrzej Rybczak
f61b4716a2 add support for multiple tags 2009-10-04 21:10:57 +02:00
Andrzej Rybczak
663aba02d2 allow for empty strings in MPD::Song::SetTag()
if they weren't allowed, clearing tag value in tag editor would be impossible.
2009-10-04 17:04:48 +02:00
Andrzej Rybczak
409d60ed18 Merge branch 'libmpdclient2'
Conflicts:
	src/browser.cpp
	src/ncmpcpp.cpp
2009-10-04 16:23:42 +02:00
Andrzej Rybczak
008ba5fca8 change version to 0.4.2_pre 2009-10-04 16:18:37 +02:00
Andrzej Rybczak
b0212a3779 fix MPD::Connection::GetDirectories()
they should return only dirs from main dir, not from all subdirs
2009-10-04 16:14:45 +02:00
Andrzej Rybczak
de6db568c1 fix broken compilation due to lack of setters for mpd_song 2009-10-04 16:10:37 +02:00
Andrzej Rybczak
c031675f56 update NEWS / version bump 2009-10-03 19:22:30 +02:00
Andrzej Rybczak
00fde3c266 add to example config info about how to check state of charset detection 2009-10-03 19:16:16 +02:00
Andrzej Rybczak
b2aeb9f609 make --version|-v display info about encoding detection 2009-10-03 19:08:45 +02:00
Andrzej Rybczak
fcf3acb6dd convert tags to wide strings in TagEditor::GetTagList()
This fixes writing tags that contain non-ascii
characters if non-unicode locale is used.
2009-10-03 17:41:28 +02:00
Andrzej Rybczak
14c601eebe Revert "do not convert tag values to wide string, just mark it explicitely as utf8"
This breaks writing tags that contain non-ascii
characters if non-unicode locale is used.

This reverts commit 62e3c84728.
2009-10-03 17:35:38 +02:00
Andrzej Rybczak
3b9f28f7ce write TOPE frame as performer tag if <mpd-0.16 is used, TPE3 otherwise 2009-10-03 17:10:39 +02:00
Andrzej Rybczak
62e3c84728 do not convert tag values to wide string, just mark it explicitely as utf8 2009-10-03 03:37:22 +02:00
Andrzej Rybczak
b74aabfaa1 tag editor: performer, composer and disc tags support for ogg and flac files 2009-10-03 02:46:32 +02:00
Andrzej Rybczak
dfb651be62 do not open mp3 files twice while writing tags into them 2009-10-02 00:30:14 +02:00
Andrzej Rybczak
55173cb419 move local_browser variable from settings to Browser class 2009-10-01 00:30:18 +02:00
Andrzej Rybczak
35d776dfab supress warnings about signedness if pdcurses is used 2009-09-30 23:48:12 +02:00
Andrzej Rybczak
1b2999ef8e fix compilation under mingw32 2009-09-30 23:47:38 +02:00
Andrzej Rybczak
a4a05aa812 fix Trim() as it seems it doesn't work in some cases 2009-09-30 22:24:11 +02:00
Andrzej Rybczak
c019fc05d2 do some checks on data fetched from last.fm while parsing it 2009-09-30 21:58:46 +02:00
Andrzej Rybczak
884cb0b7fb write both ID3v1 and ID3v2 tags to mp3 files 2009-09-30 21:31:46 +02:00
Andrzej Rybczak
e84a8ddf98 set max progressbar width to screen width 2009-09-30 19:34:55 +02:00
Andrzej Rybczak
45884e0895 fix a few bugs progressbar related (redrawing, colors) 2009-09-30 18:59:36 +02:00
Andrzej Rybczak
cada9f4355 bold expected keys while waiting for keypress 2009-09-30 16:25:24 +02:00
Andrzej Rybczak
9e20858977 do not show cursor while waiting for only one keypress 2009-09-27 15:50:31 +02:00
Andrzej Rybczak
048fd2ffce refresh status window immediately after prompting user
this fixes #2537.
2009-09-27 15:48:03 +02:00
Andrzej Rybczak
c7c6b2c321 lyrics: check if data returned by curl contains opening and closing tag 2009-09-26 23:12:56 +02:00
Andrzej Rybczak
dca6642a7f warn about consequences from using song format without any braces 2009-09-26 20:18:52 +02:00
Andrzej Rybczak
4efaa18927 ignore special chars that occurs in tag values
ncmpcpp shouldn't treat '$' characters that
are part of a tag as special format chars.
2009-09-26 18:29:52 +02:00
Andrzej Rybczak
3e75ff6455 always try to link with ncursesw 2009-09-26 00:38:22 +02:00
Andrzej Rybczak
0d9f6fab7d add MPD::Connection::Toggle() and throw away MPD::Connection::Execute() 2009-09-23 05:47:51 +02:00
Andrzej Rybczak
d2f516d15c replace the last one mpd_song_get_uri with MyFilename() 2009-09-23 04:29:52 +02:00
Andrzej Rybczak
01c138e680 make sure null pointer won't be dereferenced
Song::Empty() does the check.
2009-09-23 04:28:26 +02:00
Andrzej Rybczak
08cb912424 fix Connection::AddSong() 2009-09-23 04:12:53 +02:00
Andrzej Rybczak
5866cd6343 if iconv conversion failed, restore input buffer to its initial state 2009-09-23 03:43:59 +02:00
Andrzej Rybczak
e99b1c63e9 fix very nasty bug that could cause billion of segfaults 2009-09-23 03:33:56 +02:00
Andrzej Rybczak
04f822b44a fix very nasty bug that could cause billion of segfaults 2009-09-23 03:31:39 +02:00
Andrzej Rybczak
e304a6b7de WIN32 compilation fix 2009-09-23 02:50:10 +02:00
Andrzej Rybczak
66d4883728 fix compilation --with-iconv 2009-09-23 02:45:48 +02:00
Andrzej Rybczak
24627d8493 fix compilation --with-taglib 2009-09-22 23:12:19 +02:00
Andrzej Rybczak
dec7bd9c0e make ncmpcpp use external libmpdclient (--without-taglib and --without-iconv) 2009-09-22 22:37:33 +02:00
Andrzej Rybczak
aad9146397 make use of CaseInsensitiveStringComparison() instead of copying strings 2009-09-22 00:56:51 +02:00