diff --git a/config.example.toml b/config.example.toml index 9ead593..57ad07e 100644 --- a/config.example.toml +++ b/config.example.toml @@ -96,10 +96,4 @@ afterDownloaded = "" # lyrics, cover, ratings(rtng) embedMetadata = ["title", "artist", "album", "album_artist", "composer", "genre", "created", "track", "tracknum", "disk", "lyrics", "cover", "copyright", - "record_company", "upc", "isrc","rtng"] - -[mitm] -# The host proxy server listens on -host = "127.0.0.1" -# The port proxy server listens on -port = "11080" \ No newline at end of file + "record_company", "upc", "isrc","rtng"] \ No newline at end of file diff --git a/src/config.py b/src/config.py index 22f67f5..c7ff877 100644 --- a/src/config.py +++ b/src/config.py @@ -46,18 +46,12 @@ class Metadata(BaseModel): embedMetadata: list[str] -class Mitm(BaseModel): - host: str - port: int - - class Config(BaseModel): region: Region devices: list[Device] m3u8Api: M3U8Api download: Download metadata: Metadata - mitm: Mitm @classmethod def load_from_config(cls, config_file: str = "config.toml"):