diff options
Diffstat (limited to 'src/playlist')
-rw-r--r-- | src/playlist/AsxPlaylistPlugin.cxx | 2 | ||||
-rw-r--r-- | src/playlist/ExtM3uPlaylistPlugin.cxx | 2 | ||||
-rw-r--r-- | src/playlist/PlsPlaylistPlugin.cxx | 2 | ||||
-rw-r--r-- | src/playlist/RssPlaylistPlugin.cxx | 2 | ||||
-rw-r--r-- | src/playlist/SoundCloudPlaylistPlugin.cxx | 2 | ||||
-rw-r--r-- | src/playlist/XspfPlaylistPlugin.cxx | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/src/playlist/AsxPlaylistPlugin.cxx b/src/playlist/AsxPlaylistPlugin.cxx index 47983358a..ccd98a711 100644 --- a/src/playlist/AsxPlaylistPlugin.cxx +++ b/src/playlist/AsxPlaylistPlugin.cxx @@ -144,7 +144,7 @@ asx_end_element(gcc_unused GMarkupParseContext *context, if (StringEqualsCaseASCII(element_name, "entry")) { if (strcmp(parser->song->uri, "asx:") != 0) { assert(parser->song->tag == nullptr); - parser->song->tag = parser->tag_builder.Commit(); + parser->song->tag = parser->tag_builder.CommitNew(); parser->songs.emplace_front(parser->song); } else parser->song->Free(); diff --git a/src/playlist/ExtM3uPlaylistPlugin.cxx b/src/playlist/ExtM3uPlaylistPlugin.cxx index d48db1ed2..4f0c111ad 100644 --- a/src/playlist/ExtM3uPlaylistPlugin.cxx +++ b/src/playlist/ExtM3uPlaylistPlugin.cxx @@ -98,7 +98,7 @@ extm3u_parse_tag(const char *line) if (*name != 0) tag.AddItem(TAG_NAME, name); - return tag.Commit(); + return tag.CommitNew(); } Song * diff --git a/src/playlist/PlsPlaylistPlugin.cxx b/src/playlist/PlsPlaylistPlugin.cxx index 329bd8bfb..046a9f8c8 100644 --- a/src/playlist/PlsPlaylistPlugin.cxx +++ b/src/playlist/PlsPlaylistPlugin.cxx @@ -100,7 +100,7 @@ pls_parser(GKeyFile *keyfile, std::forward_list<SongPointer> &songs) if(error) g_error_free(error); error = nullptr; - song->tag = tag.Commit(); + song->tag = tag.CommitNew(); songs.emplace_front(song); num_entries--; } diff --git a/src/playlist/RssPlaylistPlugin.cxx b/src/playlist/RssPlaylistPlugin.cxx index 62f636126..c4dd2f8c3 100644 --- a/src/playlist/RssPlaylistPlugin.cxx +++ b/src/playlist/RssPlaylistPlugin.cxx @@ -142,7 +142,7 @@ rss_end_element(gcc_unused GMarkupParseContext *context, if (StringEqualsCaseASCII(element_name, "item")) { if (strcmp(parser->song->uri, "rss:") != 0) { assert(parser->song->tag == nullptr); - parser->song->tag = parser->tag_builder.Commit(); + parser->song->tag = parser->tag_builder.CommitNew(); parser->songs.emplace_front(parser->song); } else parser->song->Free(); diff --git a/src/playlist/SoundCloudPlaylistPlugin.cxx b/src/playlist/SoundCloudPlaylistPlugin.cxx index fa2712dad..cfbd0e8b5 100644 --- a/src/playlist/SoundCloudPlaylistPlugin.cxx +++ b/src/playlist/SoundCloudPlaylistPlugin.cxx @@ -221,7 +221,7 @@ handle_end_map(void *ctx) tag.SetTime(data->duration / 1000); if (data->title != nullptr) tag.AddItem(TAG_NAME, data->title); - s->tag = tag.Commit(); + s->tag = tag.CommitNew(); data->songs.emplace_front(s); diff --git a/src/playlist/XspfPlaylistPlugin.cxx b/src/playlist/XspfPlaylistPlugin.cxx index 2935225e4..08fe49191 100644 --- a/src/playlist/XspfPlaylistPlugin.cxx +++ b/src/playlist/XspfPlaylistPlugin.cxx @@ -151,7 +151,7 @@ xspf_end_element(gcc_unused GMarkupParseContext *context, if (strcmp(element_name, "track") == 0) { if (parser->song != nullptr) { assert(parser->song->tag == nullptr); - parser->song->tag = parser->tag_builder.Commit(); + parser->song->tag = parser->tag_builder.CommitNew(); parser->songs.emplace_front(parser->song); } |