2014-12-03, 19:55
Hm @takoi it seems that "Remove single videos" actually removes single videos... Well, let me explain why that's an issue :-)
Disclaimer: sorry, I don't have a debug log (and I'm not really going to reproduce...).
NFS share is mounted locally in /mnt/xbmc-media; there are 2 sources there: /mnt/xbmc-media/movies (movies), /mnt/xbmc-media/tvshows (TV shows).
I've rebooted my NAS and my library was empty afterwards (both movies and TV shows) - that's because the entire source(s) was removed.
If I understand the watchdog library correctly, the add-on should've received a single "folder deleted" notification for the source directory. It'd need to check if the directory corresponds to any source and then always run CleanLibrary in that case, as it keeps everything under an unavailable source (if run in "silent mode", it won't even ask the user). Re-read and realized that this doesn't make any sense... sorry.
Disclaimer: sorry, I don't have a debug log (and I'm not really going to reproduce...).
NFS share is mounted locally in /mnt/xbmc-media; there are 2 sources there: /mnt/xbmc-media/movies (movies), /mnt/xbmc-media/tvshows (TV shows).
I've rebooted my NAS and my library was empty afterwards (both movies and TV shows) - that's because the entire source(s) was removed.
If I understand the watchdog library correctly, the add-on should've received a single "folder deleted" notification for the source directory. It'd need to check if the directory corresponds to any source and then always run CleanLibrary in that case, as it keeps everything under an unavailable source (if run in "silent mode", it won't even ask the user). Re-read and realized that this doesn't make any sense... sorry.