DB not updated after a tag editing or deleting folder
Created by: dov29
-Lollypop version: 0.9.110 -Gtk Version: apt-cache policy libgtk2.0-0 libgtk-3-0 -Linux distribution: Ubuntu 15.10 x64
-Describe your bug here:
Hi,
First, thanks for this app that I love the approach.
When I edit tag or in this case delete a folder, the music collection is not updated. Below the result of debug when music is updating and get not terminated.
Tanks or your help.
Cheers,
Exception in thread Thread-4: Traceback (most recent call last): File "/usr/lib/python3.4/threading.py", line 920, in _bootstrap_inner self.run() File "/usr/lib/python3.4/threading.py", line 868, in run self._target(_self._args, *_self._kwargs) File "/usr/lib/python3/dist-packages/lollypop/collectionscanner.py", line 203, in _scan self._del_from_db(filepath) File "/usr/lib/python3/dist-packages/lollypop/collectionscanner.py", line 313, in _del_from_db ltime, mtime, album_popularity) File "/usr/lib/python3/dist-packages/lollypop/database_history.py", line 85, in add ltime, mtime, album_popularity)) sqlite3.IntegrityError: NOT NULL constraint failed: history.ltime