Crash when adding a new playlist
Environment
- Lollypop version: 1.2.6
- GTK+ version: 3.24.12
- Operating system: Arch Linux (5.3.8-arch1-1 #1 (closed) SMP PREEMPT @1572357769 x86_64 GNU/Linux)
Bug
Click to add a new playlist and Lollypop crashes with this error:
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/lollypop/helper_signals.py", line 157, in __on_signal
callback(obj, *callback_args)
File "/usr/lib/python3.7/site-packages/lollypop/view_playlists_manager.py", line 159, in _on_playlist_changed
self.add_value(playlist_id)
File "/usr/lib/python3.7/site-packages/lollypop/view_playlists_manager.py", line 68, in add_value
FlowBoxView.add_value(self, item[0])
TypeError: 'int' object is not subscriptable
On restart the playlist is there as "New playlist 1".
Side note: if I delete a playlist, it disappears for the session, but is there again when Lolypop starts again.