2021-03-14, 21:04
Hi,
I've been facing this problem for years and it is only incidentally connected to Kodi but I was wondering what others are doing maybe I can finally solve it since the problem is getting bigger and bigger...
Basically I have all my KODI Movies in separate movie folders and inside these folders there is extrafanart, extrathumbs folders; fanart.jpg poster.jpg, srt, trailer files etc... Been collecting movies in my collection since first XBMC(or P if my memory serves) version some 18+ years...
So my problem is that, since I can remember, Kodi has always given the option to delete a movie from the interface via right click, remove from Kodi/Delete File option and this deletes the actual movie but the rest of the files mentioned above and more remain there... Little by little in all the years all this "junk" begins to take quite a big amount of space in my many terabyte collection (apart from neatness of my collection)...
Real Example:
[Move Title] (YEAR)
extrafanart
[RANDOM LETTERS].JPG
[RANDOM LETTERS].JPG
[RANDOM LETTERS].JPG
extrathumbs
thumb1.jpg
thumb2.jpg
thumb3.jpg
fanart.jpg
poster.jpg
[Movie Title].en.srt
[Movie Title].nfo
[Movie Title].tbn
[Movie Title]-fanart.jpg
logo.png
[Movie Title]-trailer.en.srt
[Movie Title]-trailer.mov
Notice that in the above example there is no longer a [Movie Title].mkv or such inside the "[Move Title] (YEAR)" folder as I have deleted the movie from the KODI interface...
Is there a way to mass identify and mass delete these "junk" folders from Kodi or an external utility or script or something that people are using or know about? Obviously the Movies folder contains both movies folders that still have the movie in them and the example like the above so any utility needs to identify the difference and delete only those folders that no longer have the movie in them.
Any ideas ?
Tks!
I've been facing this problem for years and it is only incidentally connected to Kodi but I was wondering what others are doing maybe I can finally solve it since the problem is getting bigger and bigger...
Basically I have all my KODI Movies in separate movie folders and inside these folders there is extrafanart, extrathumbs folders; fanart.jpg poster.jpg, srt, trailer files etc... Been collecting movies in my collection since first XBMC(or P if my memory serves) version some 18+ years...
So my problem is that, since I can remember, Kodi has always given the option to delete a movie from the interface via right click, remove from Kodi/Delete File option and this deletes the actual movie but the rest of the files mentioned above and more remain there... Little by little in all the years all this "junk" begins to take quite a big amount of space in my many terabyte collection (apart from neatness of my collection)...
Real Example:
[Move Title] (YEAR)
extrafanart
[RANDOM LETTERS].JPG
[RANDOM LETTERS].JPG
[RANDOM LETTERS].JPG
extrathumbs
thumb1.jpg
thumb2.jpg
thumb3.jpg
fanart.jpg
poster.jpg
[Movie Title].en.srt
[Movie Title].nfo
[Movie Title].tbn
[Movie Title]-fanart.jpg
logo.png
[Movie Title]-trailer.en.srt
[Movie Title]-trailer.mov
Notice that in the above example there is no longer a [Movie Title].mkv or such inside the "[Move Title] (YEAR)" folder as I have deleted the movie from the KODI interface...
Is there a way to mass identify and mass delete these "junk" folders from Kodi or an external utility or script or something that people are using or know about? Obviously the Movies folder contains both movies folders that still have the movie in them and the example like the above so any utility needs to identify the difference and delete only those folders that no longer have the movie in them.
Any ideas ?
Tks!