[RED] Cover Inspector

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

目前為 2022-07-08 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Anakunda
評價
0 0 0
版本
1.13.14
建立日期
2020-09-21
更新日期
2022-07-08
尺寸
84.2 KB
授權條款
GPL-3.0-or-later
腳本執行於

Out of the box Cover Inspector self 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)

  • If cover resolution is low, clicking the resolution on cover overlay attempts to lookup and set higher resolution image, auto-adding the release group to "Poor Quality cover art" collage on fail or if the new image is poor quality too

  • 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[ integration with Torrents with broken cover art links, Missing covers initiative and Torrents with poor quality cover art images collages

The torrents table extends by [Try to add covers] button in header. The feature loads full release details and tries to look up cover by any of link to known destination in wiki body, barcode or label/catalog# for any of editions, or artist/album/year of the release group. 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 config for rehosting everything.

  • for including Discogs database into lookups, user authorization must be set (discogs_api_token or discogs_api_consumerkey/discogs_api_consumersecret pair)

  • newly, for images found quality (sufficient resolution) is evaluated. Only images with sufficient resolution are auto-removed from related collage. The quality threshold can be adjusted by replaceable_cover_resolution storage entry (defaults to 250px). Dropping any image dimension below the value classifies it as poor quality. Setting the threshold to 0 deactivates the quality check.

=>