Andrzej Rybczak
ddeec3aea0
song: a few tweaks
14 years ago
Andrzej Rybczak
eaabbee189
strbuffer: get rid of ostringstream
14 years ago
Andrzej Rybczak
a270fc8402
rewrite MPD::Song object
14 years ago
Andrzej Rybczak
d3b48855fd
remove Song::SetPosition
14 years ago
Andrzej Rybczak
bab756c579
add support for priorities (queueing)
14 years ago
Andrzej Rybczak
8b2fd356b7
rename YEAR tag to DATE tag (as it should've been from the beginning)
14 years ago
Andrzej Rybczak
f8151904f5
update copyright dates
14 years ago
Andrzej Rybczak
ca956c3da3
update copyright dates
15 years ago
Andrzej Rybczak
30ab7814f4
song: report proper position of invalid character in a format
16 years ago
Andrzej Rybczak
638fab8535
perform one more check on song formats
...
it detects something like this: %. (where . doesn't stand for a valid tag type).
16 years ago
Andrzej Rybczak
f09f7c396f
song format: add support for limiting maximal length of a tag
16 years ago
Andrzej Rybczak
6687def7f7
merge some duplicated code in parsing song formats
16 years ago
Andrzej Rybczak
08daa61907
update copyright notices
16 years ago
Andrzej Rybczak
7fc9af69c4
fix escaping characters in MPD::Song::toString()
16 years ago
Andrzej Rybczak
4ed9493abd
add support for album artist tag
16 years ago
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.
17 years ago
Andrzej Rybczak
89aa68c698
fix typo from f6f7a8a2
17 years ago
Andrzej Rybczak
f6f7a8a27e
move code responsible for replacing content in strings to Replace()
17 years ago
Andrzej Rybczak
8b460d4635
fix MPD::Song::GetTrackNumber()
17 years ago
Andrzej Rybczak
183077d573
fix copy'n'paste bug
17 years ago
Andrzej Rybczak
f61b4716a2
add support for multiple tags
17 years ago
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.
17 years ago
Andrzej Rybczak
de6db568c1
fix broken compilation due to lack of setters for mpd_song
17 years ago
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.
17 years ago
Andrzej Rybczak
d2f516d15c
replace the last one mpd_song_get_uri with MyFilename()
17 years ago
Andrzej Rybczak
01c138e680
make sure null pointer won't be dereferenced
...
Song::Empty() does the check.
17 years ago
Andrzej Rybczak
66d4883728
fix compilation --with-iconv
17 years ago
Andrzej Rybczak
24627d8493
fix compilation --with-taglib
17 years ago
Andrzej Rybczak
dec7bd9c0e
make ncmpcpp use external libmpdclient (--without-taglib and --without-iconv)
17 years ago
Andrzej Rybczak
70910b77ed
make ncmpcpp compile with -fno-exceptions
17 years ago
Andrzej Rybczak
b770684ab7
...or display it only if it's '%', otherwise discard it.
17 years ago
Andrzej Rybczak
e5691b446e
song format: if tag type char doesn't match any of supported ones, display it
17 years ago
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.
17 years ago
Andrzej Rybczak
7729fde54d
rename misc.{cpp,h} to conv.{cpp,h}
17 years ago
Andrzej Rybczak
e89d2492bf
write ID3v2 frames to mp3 files / do not limit track and date fields
17 years ago
Andrzej Rybczak
b885c4f3a2
new feature: command line switch for displaying now playing song
17 years ago
Andrzej Rybczak
d2ffdc2bb5
remove redundant check in MPD::Song::SetHashAndSlash()
...
http is already filtered out with isStream() function
17 years ago
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.
17 years ago
Andrzej Rybczak
0f53677eb6
count braces while passing format in the loop to omit nested ones
17 years ago
Andrzej Rybczak
e68306c8c0
throw away full path from song format in favor of directory
17 years ago
Andrzej Rybczak
8ad1a04b68
song format: support for nested braces
17 years ago
Andrzej Rybczak
c9e08df9a5
always show whole address when dealing with links
17 years ago
Andrzej Rybczak
209f5337ee
make str_pool return const char * instead of char *
17 years ago
Andrzej Rybczak
ddaf141f2e
rename MPD::Song::{Get,Set}Year to {Get,Set}Date
17 years ago
Andrzej Rybczak
63169f7570
remove unused operators from MPD::Song class
17 years ago
Andrzej Rybczak
f60cc71b91
some MPD::Song improvements and syntax simplifications
17 years ago
Andrzej Rybczak
df051bf674
remove using declarations
17 years ago
Andrzej Rybczak
9dab25e02c
use prefix ++ instead of postfix where available
17 years ago
Andrzej Rybczak
c8f99be7d0
do not limit year tag to 4 digits
17 years ago
Andrzej Rybczak
b2317df843
provide file with locales and corresponding encodings
17 years ago