jbinkley60 / plugin.program.kscleaner

GNU General Public License v2.0
9 stars 2 forks source link

REQ: Look for Radarr incompatible format #1

Open quadcom opened 1 year ago

quadcom commented 1 year ago

In Kodi v18, they changed the default naming conventions for images from

'poster.jpg' and 'fanart.jpg'

to

'-poster.jpg' and '-fanart.jpg'

Radarr has not updated its system to align with this change. It still stores downloaded imagery in the old format. As such, Kodi does not import these images and resorts to downloading them again.

It would be a great feature if the add-on were able to identify these situations and correct them, at least until Radarr is updated to correct the problem. But since this has been outstanding since 2020. It doesn't look like it's going to be fixed soon.

https://github.com/Radarr/Radarr/issues/5050

jbinkley60 commented 1 year ago

I am not quite following your ask here. The Kodi Select Cleaner manages the Kodi video database to clean things which are incorrect. Right now it typically deletes orphaned records and such which were left behind due to partial data deletions and missing referential integrity checking on some tables. It is possible to add code to the tool to update specific fields based upon fixed patterns like you describe but I'll need to know a bit more about the exact ask.

Currently Kodi stores artwork pointers in the video database in the art table with the URL column being the pointer to the artwork file. If you are looking for something there like replace all poster.jpg files with -poster.jpg, then that could be added.

If you are wanting to write out to NFO files, then that is beyond the scope of this tool. Also, note that this tool only runs on Kodi 19 and higher but I think that is given the ask.

gibxxi commented 1 year ago

@quadcom

The script author is attempting to clean (mainly) database entries that are erroneous if I'm correct in my thinking here. That's the main focus. Since Kodi automatically creates metadata and downloads required / missing artwork at scrape time, and also since Radarr has been this way for a long time, and it's not alone in this regard either (Sonarr, Lidarr much?), You'd be much better served in letting Kodi provide that info, or use a 3rd-party media manager like MediaElch or TinyMediaManager and turn off all metadata support for XBMC/Kodi in Lidarr, Radarr & Sonarr, just like I did, MANY moons ago, and be much happier (i.e: much less frustrated) as a result.

Dan / Gib.