clinton-hall / nzbToMedia

Provides NZB and Torrent postprocessing To CouchPotatoServer, SickBeard/SickRage, HeadPhones, Mylar and Gamez
GNU General Public License v3.0
674 stars 176 forks source link

beets.mediafile is deprecated #1958

Closed fadern closed 1 year ago

fadern commented 1 year ago

Describe the bug Warnings in the logs. The script seems to do the work but I just want to report this...

/volume1/Files/Scripts/nzbToMedia/libs/common/beets/mediafile.py:19: UserWarning: beets.mediafile is deprecated; use mediafile instead warnings.warn("beets.mediafile is deprecated; use mediafile instead")

and maybe this

SickBeard:tv Could not create a fork object for SickChill-api. Probaly class not added yet.

Technical Specs

  1. Running on (Windows, Linux, NAS Model etc) 'Synology.'
  2. Python version 'v3.11'
  3. Download Client (NZBget, SABnbzd, Transmission) 'SABnbzd'
  4. Intended Media Management (SickChill, CouchPotoato, Radarr, Sonarr) 'SickChill'

Expected behavior A clear and concise description of what you expected to happen.

Log

/volume1/Files/Scripts/nzbToMedia/libs/common/beets/mediafile.py:19: UserWarning: beets.mediafile is deprecated; use mediafile instead
warnings.warn("beets.mediafile is deprecated; use mediafile instead")
[12:20:16] [INFO]::MAIN: Loading config from [/volume1/Files/Scripts/nzbToMedia/autoProcessMedia.cfg]
[12:20:16] [INFO]::MAIN: Python v3.11 will reach end of life in 1724 days.
[12:20:16] [INFO]::MAIN: Checking database structure...
[12:20:16] [INFO]::MAIN: Checking if git needs an update
[12:20:17] [INFO]::MAIN: No update needed
[12:20:17] [INFO]::MAIN: nzbToMedia Version:bd9c91ff5e8ee801d9b7a52843a2be8317eb688e Branch:master (Linux 3.10.108)
[12:20:18] [INFO]::MAIN: #########################################################
[12:20:18] [INFO]::MAIN: ## ..::[nzbToMedia.py]::.. ##
[12:20:18] [INFO]::MAIN: #########################################################
[12:20:18] [INFO]::MAIN: Script triggered from SABnzbd 3.7.1.
[12:20:18] [INFO]::MAIN: Auto-detected SECTION:SickBeard
[12:20:18] [INFO]::MAIN: Calling SickBeard:tv to post-process:The.Curse.of.Oak.Island.S10E08.1080p.WEB.h264-KOGi
[12:20:18] [INFO]::MAIN: Attempting to auto-detect tv fork
[12:20:18] [INFO]::MAIN: SickBeard:tv fork auto-detection successful ...
[12:20:18] [INFO]::MAIN: SickBeard:tv fork set to SickChill-api
[12:20:18] [INFO]::MAIN: SickBeard:tv Could not create a fork object for SickChill-api. Probaly class not added yet.
[12:20:18] [INFO]::MAIN: FLATTEN: Flattening directory: /volume1/Downloads/complete/TV/The.Curse.of.Oak.Island.S10E08.1080p.WEB.h264-KOGi
[12:20:18] [POSTPROCESS]::SICKBEARD: SUCCESS: The download succeeded, sending a post-process request
[12:20:25] [INFO]::CLEANDIR: Directory /volume1/Downloads/complete/TV/The.Curse.of.Oak.Island.S10E08.1080p.WEB.h264-KOGi has been processed and removed ...
[12:20:25] [INFO]::MAIN: The /volume1/Files/Scripts/nzbToMedia/nzbToMedia.py script completed successfully.
Changing to directory: /volume1/Files/Scripts/nzbToMedia

-- Cleaning bytecode --
b'Removing __pycache__/\n'
b'Removing __pycache__/\n'

-- Cleaning folders: ['libs', 'core'] --
No folders to clean

Returning to directory:  /volume1/@appstore/sabnzbd/share/SABnzbd

-- Cleanup finished --

SickBeard: Successfully post-processed The.Curse.of.Oak.Island.S10E08.1080p.WEB.h264-KOGi!
labrys commented 1 year ago

@fadern Thanks for the heads up. Already aware and have some changes in the works for it. Appreciate the vigilance!

fadern commented 1 year ago

@fadern Thanks for the heads up. Already aware and have some changes in the works for it. Appreciate the vigilance!

ok, sounds great.