Commit Graph

104 Commits

Author SHA1 Message Date
Andrzej Rybczak
af2cdca3d0 change naming conventions in NC namespace 2012-09-03 15:34:07 +02:00
Andrzej Rybczak
8d6bf6aa05 menu: duplicate temporarily function to restore functionality 2012-09-02 22:04:17 +02:00
Andrzej Rybczak
6f59a175ec implement HasSongs interface 2012-09-02 13:52:26 +02:00
Andrzej Rybczak
7297b8a9ad use std::bind instead of passing void pointers around 2012-08-30 12:24:19 +02:00
Andrzej Rybczak
b77466cc38 browser: read tags from local songs 2012-08-29 18:45:58 +02:00
Andrzej Rybczak
09e2c9a714 song: scrap pimpl 2012-08-29 15:51:58 +02:00
Andrzej Rybczak
b06e620913 more cleanup and grouping functions logically together 2012-08-29 14:35:11 +02:00
Andrzej Rybczak
4cb0e2232a fix compilation --without-taglib 2012-08-29 09:07:55 +02:00
Andrzej Rybczak
ddeec3aea0 song: a few tweaks 2012-08-29 01:25:36 +02:00
Andrzej Rybczak
eaabbee189 strbuffer: get rid of ostringstream 2012-08-28 08:10:16 +02:00
Andrzej Rybczak
a270fc8402 rewrite MPD::Song object 2012-08-28 00:09:39 +02:00
Andrzej Rybczak
d3b48855fd remove Song::SetPosition 2012-08-14 23:56:56 +02:00
Andrzej Rybczak
bab756c579 add support for priorities (queueing) 2012-08-14 16:09:45 +02:00
Andrzej Rybczak
8b2fd356b7 rename YEAR tag to DATE tag (as it should've been from the beginning) 2012-07-16 00:42:40 +02:00
Andrzej Rybczak
f8151904f5 update copyright dates 2012-03-17 16:46:55 +01:00
Andrzej Rybczak
ca956c3da3 update copyright dates 2011-11-01 13:43:47 +01:00
Andrzej Rybczak
30ab7814f4 song: report proper position of invalid character in a format 2010-08-24 16:14:42 +02:00
Andrzej Rybczak
638fab8535 perform one more check on song formats
it detects something like this: %. (where . doesn't stand for a valid tag type).
2010-08-23 10:51:26 +02:00
Andrzej Rybczak
f09f7c396f song format: add support for limiting maximal length of a tag 2010-08-22 20:56:38 +02:00
Andrzej Rybczak
6687def7f7 merge some duplicated code in parsing song formats 2010-08-22 17:46:23 +02:00
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