Commit ca9daf5e authored by Max Kellermann's avatar Max Kellermann

playlist/flac: set song URI to an empty string

Simplify the plugin by using a trivial relative URI; later, playlist_check_translate_song() will set the correct full URI.
parent e98ce710
......@@ -70,8 +70,6 @@ flac_playlist_open_stream(InputStreamPtr &&is)
throw FormatRuntimeError("Failed to read FLAC metadata: %s",
chain.GetStatusString());
const char *const uri = is->GetURI();
FlacMetadataIterator iterator((FLAC__Metadata_Chain *)chain);
unsigned sample_rate = 0;
......@@ -89,7 +87,7 @@ flac_playlist_open_stream(InputStreamPtr &&is)
if (sample_rate == 0)
break;
return ToSongEnumerator(uri, block.data.cue_sheet,
return ToSongEnumerator("", block.data.cue_sheet,
sample_rate, total_samples);
default:
......
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