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 ( from . import (
song, song,
metadata, metadata,
source, source,
parents, parents,
formatted_text, formatted_text,
album,
option, option,
collection collection
) )
@ -24,8 +24,6 @@ Target = song.Target
Lyrics = song.Lyrics Lyrics = song.Lyrics
Label = song.Label Label = song.Label
AlbumType = album.AlbumType
AlbumStatus = album.AlbumStatus
Album = song.Album Album = song.Album
FormattedText = formatted_text.FormattedText FormattedText = formatted_text.FormattedText

View File

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

View File

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

View File

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

View File

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