song_update: use decoder_plugin_tag_dup()
Minor code simplification.
This commit is contained in:
parent
aad05fd138
commit
7a2e07e124
@ -129,7 +129,7 @@ song_file_update(struct song *song)
|
|||||||
song->mtime = st.st_mtime;
|
song->mtime = st.st_mtime;
|
||||||
|
|
||||||
do {
|
do {
|
||||||
song->tag = plugin->tag_dup(path_fs);
|
song->tag = decoder_plugin_tag_dup(plugin, path_fs);
|
||||||
if (song->tag != NULL)
|
if (song->tag != NULL)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user