Kodi Community Forum

Full Version: Gotham: reloading an album causes music library to lose playback of that album
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Moved thread to metadata scraper subforum as probably more appropriate: http://forum.xbmc.org/showthread.php?tid=186400

I'm building Gotham out of git (a74973f731) and I think I've hit a bug with the music library.

To reproduce:

  1. scan a directory with one album using default scraper
  2. once scanned: playback a track
  3. go to "info" window and "reload" to rescan
  4. go back to home
  5. go back to album
  6. try and playback: get error: can't find file

If I look into the db, it seems the reloading causes the filename in the song table to be removed

Code:
select * from song;

Before reloading:

Code:
26|2|4|311|Rock|Down|65546|174|1997|1487071143l|10 Down.mp3|664df667-cfe0-4e03-a784-9d696ab58dc4|0|0|0|||0|

after reloading (note that the filename disappears):

Code:
26|2|18|311|Rock|Down|65546|174|1997|4294967295l||664df667-cfe0-4e03-a784-9d696ab58dc4|0|0|0|||0|