Lollypop crashes when right clicking the album cover in the HeaderBar
Created by: kostich
-Lollypop version: master revision 5ae0c5fb -Gtk Version: 3.20.9 -Linux distribution: Fedora 24
If I right click the song cover in the HeaderBar (to rate the song), Lollypop crashes with the following output:
Traceback (most recent call last):
File "/usr/local/lib/python3.5/site-packages/lollypop/toolbar_info.py", line 132, in _on_title_release_event
self.__show_track_menu()
File "/usr/local/lib/python3.5/site-packages/lollypop/toolbar_info.py", line 177, in __show_track_menu
PopToolbarMenu(Lp().player.current_track.id))
File "/usr/local/lib/python3.5/site-packages/lollypop/pop_menu.py", line 517, in __init__
if track.year != track.album.year:
AttributeError: 'int' object has no attribute 'year'