album enum

This commit is contained in:
Hellow2 2023-04-18 12:14:34 +02:00
parent ea66618a54
commit 3edc4e46f2
6 changed files with 5 additions and 8 deletions

View File

@ -1,10 +1,10 @@
from ..utils.enums import album
from . import (
song,
metadata,
source,
parents,
formatted_text,
album,
option,
collection
)
@ -24,8 +24,6 @@ Target = song.Target
Lyrics = song.Lyrics
Label = song.Label
AlbumType = album.AlbumType
AlbumStatus = album.AlbumStatus
Album = song.Album
FormattedText = formatted_text.FormattedText

View File

@ -4,7 +4,7 @@ from typing import List, Optional, Dict, Tuple
import pycountry
from .album import AlbumType, AlbumStatus
from ..utils.enums.album import AlbumType, AlbumStatus
from .collection import Collection
from .formatted_text import FormattedText
from .lyrics import Lyrics

View File

@ -18,9 +18,9 @@ from ..objects import (
Options,
Collection,
Label,
AlbumType
)
from ..utils.enums.source import SourcePages
from ..utils.enums.album import AlbumType
from ..audio import write_metadata_to_target, correct_codec
from ..utils import shared

View File

@ -9,6 +9,7 @@ from ..utils.shared import ENCYCLOPAEDIA_METALLUM_LOGGER, proxies
from ..utils import string_processing
from .abstract import Page
from ..utils.enums.source import SourcePages
from ..utils.enums.album import AlbumType
from ..objects import (
Lyrics,
Artist,
@ -19,7 +20,6 @@ from ..objects import (
FormattedText,
Label,
Options,
AlbumType
)

View File

@ -10,6 +10,7 @@ from bs4 import BeautifulSoup
from .abstract import Page
from ..utils.enums.source import SourcePages
from ..utils.enums.album import AlbumType, AlbumStatus
from ..objects import (
Artist,
Source,
@ -19,8 +20,6 @@ from ..objects import (
FormattedText,
Label,
Options,
AlbumType,
AlbumStatus,
Target
)
from ..utils import string_processing, shared