move some files around
This commit is contained in:
parent
36b902e227
commit
5272a3d356
4
main.py
4
main.py
|
@ -2,8 +2,8 @@
|
|||
|
||||
import argparse
|
||||
|
||||
from musicutil.process_command import ProcessCommand
|
||||
from musicutil.copy_command import CopyCommand
|
||||
from musicutil.commands.process_command import ProcessCommand
|
||||
from musicutil.commands.copy_command import CopyCommand
|
||||
|
||||
parser = argparse.ArgumentParser(description='Highly Opinionated Music ')
|
||||
subparsers = parser.add_subparsers(dest="subparser_name")
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
from .types import File
|
||||
from .scan_for_music import scan_for_music
|
||||
from .load_tag_information import load_tag_information
|
||||
from ..types import File
|
||||
from ..utils.scan_for_music import scan_for_music
|
||||
from ..utils.load_tag_information import load_tag_information
|
||||
|
||||
from os import makedirs as make_directories
|
||||
from os.path import exists as path_exists
|
|
@ -1,7 +1,7 @@
|
|||
from .types import File, Tags
|
||||
from .scan_for_music import scan_for_music
|
||||
from .load_tag_information import load_tag_information
|
||||
from .substitutions import reduce_to_ascii_and_substitute
|
||||
from ..types import File, Tags
|
||||
from ..utils.scan_for_music import scan_for_music
|
||||
from ..utils.load_tag_information import load_tag_information
|
||||
from ..utils.substitutions import reduce_to_ascii_and_substitute
|
||||
|
||||
from copy import deepcopy as deep_copy
|
||||
from os import rename as rename_file
|
|
@ -1,4 +1,4 @@
|
|||
from .types import File, Tags
|
||||
from ..types import File, Tags
|
||||
|
||||
from mutagen.mp3 import EasyMP3 as MP3
|
||||
from mutagen.flac import FLAC
|
|
@ -1,8 +1,8 @@
|
|||
from pathlib import Path
|
||||
from os.path import relpath
|
||||
|
||||
from .types import File
|
||||
from .meta import supported_formats
|
||||
from ..types import File
|
||||
from ..meta import supported_formats
|
||||
|
||||
def scan_for_music(src: str) -> list[File]:
|
||||
files: list[File] = []
|
|
@ -1,4 +1,4 @@
|
|||
from .meta import sub_char, substitutions
|
||||
from ..meta import sub_char, substitutions
|
||||
from fold_to_ascii import fold
|
||||
|
||||
def reduce_to_ascii_and_substitute(filename: str):
|
Loading…
Reference in a new issue