This commit is contained in:
Hellow2 2023-04-18 12:00:25 +02:00
parent 54e24df0d1
commit ea66618a54
6 changed files with 6 additions and 7 deletions

View File

@ -1,6 +1,7 @@
import music_kraken import music_kraken
from music_kraken import pages from music_kraken import pages
from music_kraken.objects import Song, Target, Source, SourcePages, Album from music_kraken.utils.enums.source import SourcePages
from music_kraken.objects import Song, Target, Source, Album
def search_pages(): def search_pages():

View File

@ -16,8 +16,6 @@ ID3Mapping = metadata.Mapping
ID3Timestamp = metadata.ID3Timestamp ID3Timestamp = metadata.ID3Timestamp
Source = source.Source Source = source.Source
SourceTypes = source.SourceTypes
SourcePages = source.SourcePages
Song = song.Song Song = song.Song
Artist = song.Artist Artist = song.Artist

View File

@ -16,11 +16,11 @@ from ..objects import (
Target, Target,
DatabaseObject, DatabaseObject,
Options, Options,
SourcePages,
Collection, Collection,
Label, Label,
AlbumType AlbumType
) )
from ..utils.enums.source import SourcePages
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

@ -1,6 +1,6 @@
from typing import Tuple, Type, Dict from typing import Tuple, Type, Dict
from ...objects import SourcePages from ...utils.enums.source import SourcePages
from ..abstract import Page from ..abstract import Page
from ..encyclopaedia_metallum import EncyclopaediaMetallum from ..encyclopaedia_metallum import EncyclopaediaMetallum
from ..musify import Musify from ..musify import Musify

View File

@ -8,11 +8,11 @@ from urllib.parse import urlparse
from ..utils.shared import ENCYCLOPAEDIA_METALLUM_LOGGER, proxies 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 ..objects import ( from ..objects import (
Lyrics, Lyrics,
Artist, Artist,
Source, Source,
SourcePages,
Song, Song,
Album, Album,
ID3Timestamp, ID3Timestamp,

View File

@ -9,10 +9,10 @@ import requests
from bs4 import BeautifulSoup from bs4 import BeautifulSoup
from .abstract import Page from .abstract import Page
from ..utils.enums.source import SourcePages
from ..objects import ( from ..objects import (
Artist, Artist,
Source, Source,
SourcePages,
Song, Song,
Album, Album,
ID3Timestamp, ID3Timestamp,