2014-05-20, 10:10
(2014-05-20, 09:07)XBL. Wrote: Thanks for your reply. And yes, by clean I actually mean physically removing the fanart of movies and tvshows that are no longer in my library.
I don't see an easy way of doing it manually (sorting through 100s of files) and would end up automating it anyway. I was just wondering if somebody already made a script for this or if there's someway this can be done with the add-on.
It wouldn't be difficult to write a script that walks your source directories comparing every file against the contents of your media library, and remove any file that isn't present in the media library. You can dump your media library using the aforementioned script (jd movies/jd tvshows/jd songs). You can even get a list of files in your source directories with "rdirectory <path>". Then compare the results. You do of course run the risk of deleting a file you wanted to keep, it all depends what else you have stashed alongside your sources.