Commit Graph

84 Commits

Author SHA1 Message Date
Andrzej Rybczak
08daa61907 update copyright notices 2010-01-30 16:24:24 +01:00
Andrzej Rybczak
7fc9af69c4 fix escaping characters in MPD::Song::toString() 2010-01-24 17:12:15 +01:00
Andrzej Rybczak
4ed9493abd add support for album artist tag 2010-01-23 20:04:02 +01:00
Andrzej Rybczak
668713c5e7 prepend '0' to track number if it's in format x/xx
this fixes sorting and makes track numbers look more consistent.
2009-10-13 17:48:06 +02:00
Andrzej Rybczak
89aa68c698 fix typo from f6f7a8a2 2009-10-10 17:13:30 +02:00
Andrzej Rybczak
f6f7a8a27e move code responsible for replacing content in strings to Replace() 2009-10-10 15:36:51 +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
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
de6db568c1 fix broken compilation due to lack of setters for mpd_song 2009-10-04 16:10:37 +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
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
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
70910b77ed make ncmpcpp compile with -fno-exceptions 2009-09-21 06:01:21 +02:00
Andrzej Rybczak
b770684ab7 ...or display it only if it's '%', otherwise discard it. 2009-09-09 23:53:47 +02:00
Andrzej Rybczak
e5691b446e song format: if tag type char doesn't match any of supported ones, display it 2009-09-09 23:47:55 +02:00
Andrzej Rybczak
d407bc679b add N marker for displaying full track info and make n show only a number
generated filename was ugly if track tag was in format
xx/xx, so %n should display only current track number.
2009-09-06 10:27:11 +02:00
Andrzej Rybczak
7729fde54d rename misc.{cpp,h} to conv.{cpp,h} 2009-08-29 21:56:14 +02:00
Andrzej Rybczak
e89d2492bf write ID3v2 frames to mp3 files / do not limit track and date fields 2009-08-26 01:16:04 +02:00
Andrzej Rybczak
b885c4f3a2 new feature: command line switch for displaying now playing song 2009-08-23 22:38:05 +02:00
Andrzej Rybczak
d2ffdc2bb5 remove redundant check in MPD::Song::SetHashAndSlash()
http is already filtered out with isStream() function
2009-08-14 16:59:41 +02:00
Andrzej Rybczak
cbbabee0e7 simplify code responsible for parsing song formats
functions MPD::Song::toString() and Display::Songs were
almost identical. for now the latter uses MPD::Song::toString()
implementation, which also has been simplified.
2009-08-14 04:15:34 +02:00
Andrzej Rybczak
0f53677eb6 count braces while passing format in the loop to omit nested ones 2009-08-14 02:04:22 +02:00
Andrzej Rybczak
e68306c8c0 throw away full path from song format in favor of directory 2009-08-14 00:47:48 +02:00
Andrzej Rybczak
8ad1a04b68 song format: support for nested braces 2009-08-14 00:30:17 +02:00
Andrzej Rybczak
c9e08df9a5 always show whole address when dealing with links 2009-08-08 23:19:38 +02:00
Andrzej Rybczak
209f5337ee make str_pool return const char * instead of char * 2009-07-10 14:44:20 +02:00
Andrzej Rybczak
ddaf141f2e rename MPD::Song::{Get,Set}Year to {Get,Set}Date 2009-07-05 14:16:15 +02:00
Andrzej Rybczak
63169f7570 remove unused operators from MPD::Song class 2009-07-05 14:14:16 +02:00
Andrzej Rybczak
f60cc71b91 some MPD::Song improvements and syntax simplifications 2009-07-05 14:13:18 +02:00
Andrzej Rybczak
df051bf674 remove using declarations 2009-07-05 12:19:22 +02:00
Andrzej Rybczak
9dab25e02c use prefix ++ instead of postfix where available 2009-07-04 06:41:35 +02:00
Andrzej Rybczak
c8f99be7d0 do not limit year tag to 4 digits 2009-04-09 08:35:05 +02:00
Andrzej Rybczak
b2317df843 provide file with locales and corresponding encodings 2009-03-20 20:33:35 +01:00
Andrzej Rybczak
29f49415dd add support for regular expressions (basic and extended)
it intruduces regex support in search engine
and filtering/searching in all screens
2009-03-08 22:16:18 +01:00
Andrzej Rybczak
eef59c9099 rename Song::__Count_Last_Slash_Position() 2009-03-05 17:45:43 +01:00
Andrzej Rybczak
8f092d5490 move some functions to TagEditor class / outside 2009-03-04 22:47:48 +01:00
Andrzej Rybczak
f162a7b880 new feature: playlist sorting (Ctrl-V by default) 2009-02-18 20:08:50 +01:00
Andrzej Rybczak
b43d4dddeb throw away unneeded code 2009-02-15 22:28:04 +01:00
Andrzej Rybczak
d82577e357 group various functions more logically 2009-02-10 15:51:55 +01:00
Andrzej Rybczak
256bb429b5 change std::stringstream to std::ostringstream 2009-02-10 12:23:02 +01:00
Andrzej Rybczak
f9f5149b76 includes cleaning 2009-02-10 12:19:59 +01:00
Andrzej Rybczak
542c121e0a add clock screen (ported from ncmpc) 2009-01-17 20:40:28 +01:00
Andrzej Rybczak
fd5a3e142c do not exclude iconv support if unicode is enabled 2009-01-17 14:10:44 +01:00
Andrzej Rybczak
0c9e10091f update fsf address and copyright info 2009-01-17 00:52:08 +01:00