mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 00:24:25 +01:00
New import location for art.py
This commit is contained in:
parent
3fd49a7de8
commit
34114fe915
4 changed files with 6 additions and 3 deletions
0
beetsplug/_utils/__init__.py
Normal file
0
beetsplug/_utils/__init__.py
Normal file
|
|
@ -25,12 +25,13 @@ from string import Template
|
|||
import mediafile
|
||||
from confuse import ConfigTypeError, Optional
|
||||
|
||||
from beets import art, config, plugins, ui, util
|
||||
from beets import config, plugins, ui, util
|
||||
from beets.library import Item, parse_query_string
|
||||
from beets.plugins import BeetsPlugin
|
||||
from beets.util import par_map
|
||||
from beets.util.artresizer import ArtResizer
|
||||
from beets.util.m3u import M3UFile
|
||||
from beetsplug._utils import art
|
||||
|
||||
_fs_lock = threading.Lock()
|
||||
_temp_files = [] # Keep track of temporary transcoded files for deletion.
|
||||
|
|
|
|||
|
|
@ -20,11 +20,12 @@ from mimetypes import guess_extension
|
|||
|
||||
import requests
|
||||
|
||||
from beets import art, config, ui
|
||||
from beets import config, ui
|
||||
from beets.plugins import BeetsPlugin
|
||||
from beets.ui import print_
|
||||
from beets.util import bytestring_path, displayable_path, normpath, syspath
|
||||
from beets.util.artresizer import ArtResizer
|
||||
from beetsplug._utils import art
|
||||
|
||||
|
||||
def _confirm(objs, album):
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ from unittest.mock import MagicMock, patch
|
|||
import pytest
|
||||
from mediafile import MediaFile
|
||||
|
||||
from beets import art, config, logging, ui
|
||||
from beets import config, logging, ui
|
||||
from beets.test import _common
|
||||
from beets.test.helper import (
|
||||
BeetsTestCase,
|
||||
|
|
@ -33,6 +33,7 @@ from beets.test.helper import (
|
|||
)
|
||||
from beets.util import bytestring_path, displayable_path, syspath
|
||||
from beets.util.artresizer import ArtResizer
|
||||
from beetsplug._utils import art
|
||||
from test.test_art_resize import DummyIMBackend
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue