playlist/embcue: fix last track
This commit is contained in:
parent
3e9738dc66
commit
34db35c36d
2
NEWS
2
NEWS
|
@ -15,6 +15,8 @@ ver 0.20 (not yet released)
|
||||||
- ffmpeg: support ReplayGain and MixRamp
|
- ffmpeg: support ReplayGain and MixRamp
|
||||||
- ffmpeg: support stream tags
|
- ffmpeg: support stream tags
|
||||||
- mpcdec: read the bit rate
|
- mpcdec: read the bit rate
|
||||||
|
* playlist
|
||||||
|
- embcue: fix last track
|
||||||
* output
|
* output
|
||||||
- jack: reduce CPU usage
|
- jack: reduce CPU usage
|
||||||
- pulse: set channel map to WAVE-EX
|
- pulse: set channel map to WAVE-EX
|
||||||
|
|
|
@ -128,8 +128,10 @@ DetachedSong *
|
||||||
EmbeddedCuePlaylist::NextSong()
|
EmbeddedCuePlaylist::NextSong()
|
||||||
{
|
{
|
||||||
DetachedSong *song = parser->Get();
|
DetachedSong *song = parser->Get();
|
||||||
if (song != nullptr)
|
if (song != nullptr) {
|
||||||
|
song->SetURI(filename);
|
||||||
return song;
|
return song;
|
||||||
|
}
|
||||||
|
|
||||||
while (*next != 0) {
|
while (*next != 0) {
|
||||||
const char *line = next;
|
const char *line = next;
|
||||||
|
|
Loading…
Reference in New Issue