[RED] Cover Inspector

Easify & speed-up of finding and updating of invalid, missing or not optimal album covers on site

As of 2022-06-19. See the latest version.

Author
Anakunda
Ratings
0 0 0
Version
1.13.10
Created
2020-09-21
Updated
2022-06-19
Size
58.4 KB
License
GPL-3.0-or-later
Applies to

Out of the box Cover Inspector just identifies and labels covers suitable for updating/replacing for having

  • too low resolution
  • too big size
  • hosted at unpreferred host

By fulfilling additional requirements it's facilities extend as follow:

  • Alt + click handler for active links inside torrent description areas to directly set album cover from the referred source; requires installed Image Host Helper script as backend and setting ajax.php API key as redacted_api_key storage entry, for best results it's advisable to also set up PTPimg API key in IHH storage.

  • If cover is hosted at unpreferred host, clicking the host on cover overlay directly rehosts it to site's preferred host which is PTPimg for RED (same requirements)

  • If cover size exceeds limit (4MB by default), clicking the size on cover overlay directly replaces it by reduced variant (same requirements)

  • Drag & drop local file or web link to cover preview box replaces current cover with cover from source (same requirements)

  • On demand batch processing in all torrent listings and on artist profiles + optional batch rehost (same requirements)

  • On demand batch auto lookup and update missing or dead covers from links found in description and UPC codes/label+cat no. for torrents in all listings and on artist pages (same requirements)

[Experimental[ Processing of Torrents with broken cover art links collage

The torrents table extends by [Try to add covers] button in header. The feature loads the description body for each torrent listed and searches for active links to known locations (like Discogs release page, iTunes release page etc.), then attempts to extract related image and set it as cover for groups with missing or broken cover images. On success the group is removed from collage. Groups without additional covers already having valid image are just removed from collage.
Requirements: installed Image Host Helper script, set up RED API token with permission for editing torrent description, optionally set up PTPimg API key in IHH for rehosting everything.

  • added feature to lookup the cover on iTunes/Discogs by UPC code/label+cat.no. Discogs lookup not active unless user authorization set (discogs_api_token or discogs_api_consumerkey/discogs_api_consumersecret pair)

=>