aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/playlist/plugins/EmbeddedCuePlaylistPlugin.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/playlist/plugins/EmbeddedCuePlaylistPlugin.cxx b/src/playlist/plugins/EmbeddedCuePlaylistPlugin.cxx
index 29b15b1de..e12dc2df0 100644
--- a/src/playlist/plugins/EmbeddedCuePlaylistPlugin.cxx
+++ b/src/playlist/plugins/EmbeddedCuePlaylistPlugin.cxx
@@ -128,8 +128,10 @@ DetachedSong *
EmbeddedCuePlaylist::NextSong()
{
DetachedSong *song = parser->Get();
- if (song != nullptr)
+ if (song != nullptr) {
+ song->SetURI(filename);
return song;
+ }
while (*next != 0) {
const char *line = next;