(2021-09-29, 16:03)shedrock Wrote: (2021-09-29, 06:13)moejoe Wrote: He didn't say "switch the overwrite option on in AD". You do not listen. Update AD. Refresh the library items that cause problems. Done.
Please reread my previous posts. You've completely missed my point and issue.
Lets see if I can explain this in simpler form.
First download: Episode 1 HDTV-720P downloads. Therefore, the HDTV-720P-thumb downloads.
Upgrade: Episode 1 HDTV-1080P downloads. Therefore, the HDTV-1080p-thumb downloads.
Upgrade: Episode 1 WEB-DL720P downloads. Therefore, the WEB-DL720P-thumb downloads.
Upgrade: Episode 1 WEB-DL1080P downloads. Therefore, the WE-DL1080P-thumb downloads.
The above are all the same episodes, just the quality has been upgraded.
Are you starting to see a pattern here? Notice how all those thumb images have been created? Well, they don't get deleted or replaced. Therefore, I end up with unnecessary images in my folder. Kodi or AD should be able to replace and or delete those files when and episode is upgraded. If no programs are allowing a user to do this, then what is the reason for Kodi downloading images via any of the scrapers. So my issue is not the TYPE of artwork being downloaded. It is the method in which artwork is removed, deleted and updated as per the quality of the file.
Shedrock
Sorry to drag this up again, but I felt it might be of help if I put in here what I've witnessed (with regards Sonarr and it's Kodi metadata support) and the thought-process I use to get around it, not just for Shedrock, but anyone else who might read this down the line...
If Sonarr upgrades a show episode on your behalf, my understanding is that if you have 'Kodi Metadata' enabled within Sonarr, it should add/replace/delete artwork and/or rename existing artwork/thumbs to be consistent with the files to which it's matched. The 'quality' of the actual images themselves are of no concern, as they're thumbnails, and not a 'full-size' screenshot of the captured frame in that episode. So the updating/upgrading of those images should be taken care of by Sonarr at the time those episodes are updated/upgraded by way of a simple rename of the existing image files, before you ever get into/start Kodi to update your library.
However, Sonarr's metadata NFO generator isn't/wasn't fully compatible with the current Kodi (expected) structure last time I checked. Specifically actor artwork image links were not added to the NFO files, so you wouldn't get any actor artwork in Kodi, because the NFO lacked the required details.
Also, if you disable the Kodi metadata integration in Sonarr, and instead rely on the Kodi scraper or Kodi itself to generate episode thumbs, they will take the same name as the file being referenced, but Sonarr will ignore them, even if metadata is subsequenly re-enabled. As it did not create these files in the first place, so has no record of them and plays it safe (supposition on my part here). If you subsequently re-enable metadata integration, and then upgrade episodes, as those new episodes are new additions, Sonarr
will generate new thumbnail images in-line with the episode filename, so then your likely to end up with multiple images for the same episode (old and new).
So essentially, while it is possible to have Metadata enabled in Sonarr
for Kodi, now that the new Python-based scrapers (and Kodi itself) can download/generate episode thumbs and other artwork (although this depends on availability), and since the NFO structure created by Sonarr was/is suspect, I'd disable the metadata integration and let Kodi sort out the metadata (images, NFOs, etc.) to avoid the
potential that duplicates will exist in the first place, and if you subsequently 'upgrade' a show in bulk use a tool like
Bulk Rename Utility to replace any references to the "720p-WEBDL" or whatever Kodi/Sonarr decides to tack on the end of the file name with the desired replacement for the artwork it has already provided (If such a need should arise).
As I understand it, Kodi does not expect (nor allow for) episode file names to change once added to the library. Once a show has been added, and scraped, and artwork added, that's it. It will update any changes found in terms of naming of the media files during library updates, but it does not modify
any pre-existing files in any way, shape or form, and this has always been the case in so far as I understand it. So if you want to add upgraded quality episodes to Kodi, for a show that was previously added and processed, there will always be a potential for artwork clutter as Kodi is reticent (for good reason) to modify or delete anything, even if that was created by itself and/or downloaded via scraper, so a workaround is is required (on your/our part). Artwork Dump will replace/upgrade artwork for which it was responsible for downloading (again, in so far as I understand it), but probably not for artwork added by 3rd party means.
So my final thoughts on this are that you have two choices:
[1]. Disable
ALL artwork downloading features within Kodi, including uninstalling 'Artwork Dump' and disabling artwork downloading in those scrapers that have it, and any other UI settings that are related, and let your 3rd-party app(s) manage all aspects of artwork provision and/or NFO creation...
[2]. Do the exact opposite, and rely on
Kodi to do this for you as was intended when these features were added back in v18. Remember, 3rd-party apps and 'Kodi Metadata integration' in Sonarr was originally provided due to the lack of functionality provided in the Kodi core. i.e: without installing any addons within Kodi at all. Now that functionality has been added, relying on 3rd-party apps for scraping information as well as artwork is now becoming obsolete. And at the end of the day, however efficient or flawed you may think the process is (within Kodi itself), it still relies on the
SAME external sites as used by your 3rd-party apps to get the metadata you require, so it's only as good as the 'available' metadata anyway.
Sorry for the essay.
Dan / Gib.