mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-16 02:02:53 -07:00
fix warnings (#1990)
This commit is contained in:
parent
cbc2090b0b
commit
39f5c31486
6 changed files with 12 additions and 12 deletions
|
@ -11,7 +11,7 @@ import shutil
|
|||
import stat
|
||||
import time
|
||||
|
||||
import beets.mediafile
|
||||
import mediafile as mediafiletool
|
||||
import guessit
|
||||
from six import text_type
|
||||
|
||||
|
@ -28,7 +28,7 @@ def move_file(mediafile, path, link):
|
|||
file_ext = os.path.splitext(mediafile)[1]
|
||||
try:
|
||||
if file_ext in core.AUDIO_CONTAINER:
|
||||
f = beets.mediafile.MediaFile(mediafile)
|
||||
f = mediafiletool.MediaFile(mediafile)
|
||||
|
||||
# get artist and album info
|
||||
artist = f.artist
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue