Lollypop sometimes crashes after trying to play the album on the net
Steps to reproduce:
- Search for the artist ("Offspring")
- List of albums both online and on my HD appear
- I select the song I have on my drive
- While that song is playing I'm trying to select the album that I don't have (YT)
- Lolly crashes.
Starting lolly with -d to debug gave me this:
[WARNING] 2020-09-05 15:53:20 MusicBrainzSearch::get(): Cancelled [DEBUG] 2020-09-05 15:53:24 BinPlayer::_load_track(): file:///mnt/Muzika-Sajtovi/Music/Offspring/Punk%20Rock_The%20Offspring_Change%20The%20World_Ixnay%20on%20the%20Hombre_3790.mp3 [DEBUG] 2020-09-05 15:53:24 Player::_on_stream_start(): file:///mnt/Muzika-Sajtovi/Music/Offspring/Punk%20Rock_The%20Offspring_Change%20The%20World_Ixnay%20on%20the%20Hombre_3790.mp3 [WARNING] 2020-09-05 15:53:24 'albums' Various Artists A Tribute To The Offspring [WARNING] 2020-09-05 15:53:24 DownloaderArt::_get_fanarttv_album_artwork_uri: b'{\n "status": "error",\n "error message": "Not found"\n}' [DEBUG] 2020-09-05 15:53:25 https://ws.audioscrobbler.com/2.0/: bytearray(b'<?xml version="1.0" encoding="UTF-8"?>\n<lfm status="failed">\n <error code="9">Invalid session key - Please re-authenticate</error>\n</lfm>\n') -> {'album': 'Ixnay on the Hombre', 'api_key': '7a9619a850ccf7377c46cf233c51e3c6', 'artist': 'The Offspring', 'duration': '383', 'method': 'track.updateNowPlaying', 'sk': '', 'track': 'Change The World', 'api_sig': '240f2804863272219eb03f8ebe5b19ef'}
Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/lollypop/widgets_player_buttons.py", line 165, in _on_next_changed if player.next_track.id is not None: AttributeError: type object 'Track' has no attribute 'id'
Arch linux, latest Lolly 1.3.5