Organise 'tools' modules into a subpackage
This commit is contained in:
parent
35703de261
commit
2def2aece5
6 changed files with 3 additions and 3 deletions
|
@ -35,9 +35,9 @@ from MediaPlayer import (
|
|||
MPRemoteCommandHandlerStatusSuccess,
|
||||
)
|
||||
|
||||
from ..async_tools import run_background_task
|
||||
from ..player import Player
|
||||
from ..song import PlaybackState, Song
|
||||
from ..tools.asyncio import run_background_task
|
||||
from .persistent_id import song_to_persistent_id
|
||||
|
||||
|
||||
|
|
|
@ -4,8 +4,8 @@ from typing import TypedDict
|
|||
|
||||
from yarl import URL
|
||||
|
||||
from ..async_tools import run_background_task
|
||||
from ..cache import Cache, make_cache
|
||||
from ..tools.asyncio import run_background_task
|
||||
from .types import CurrentSongResponse, MpdStateHandler
|
||||
|
||||
CACHE_TTL = 60 * 60 # seconds = 1 hour
|
||||
|
|
|
@ -9,7 +9,7 @@ from yarl import URL
|
|||
from ..config.model import MpdConfig
|
||||
from ..player import Player
|
||||
from ..song import PlaybackState, Song, SongListener
|
||||
from ..type_tools import convert_if_exists
|
||||
from ..tools.types import convert_if_exists
|
||||
from .artwork_cache import MpdArtworkCache
|
||||
from .types import CurrentSongResponse, StatusResponse
|
||||
|
||||
|
|
0
src/mpd_now_playable/tools/__init__.py
Normal file
0
src/mpd_now_playable/tools/__init__.py
Normal file
Loading…
Reference in a new issue