Fix error when adding songs from services.

This commit is contained in:
Tomas Groth 2020-03-10 21:40:39 +00:00 committed by Tim Bentley
parent da4a3570f3
commit 982b4470c7

View File

@ -745,6 +745,7 @@ class SongMediaItem(MediaManagerItem):
if item.background_audio: if item.background_audio:
self._update_background_audio(song, item) self._update_background_audio(song, item)
edit_id = song.id edit_id = song.id
song.init_on_load()
self.on_search_text_button_clicked() self.on_search_text_button_clicked()
elif add_song and not self.add_song_from_service: elif add_song and not self.add_song_from_service:
# Make sure we temporary import formatting tags. # Make sure we temporary import formatting tags.