Commit 34db35c3 authored by xent's avatar xent Committed by Max Kellermann

playlist/embcue: fix last track

parent 3e9738dc
...@@ -15,6 +15,8 @@ ver 0.20 (not yet released) ...@@ -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 * ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment