mirror of
https://github.com/cooperhammond/irs.git
synced 2024-12-22 17:35:28 +00:00
Fixed unpacking bug in post processing and wrong import in the CLI
This commit is contained in:
parent
7aed3442f3
commit
cca726a1bf
|
@ -7,7 +7,7 @@ import os
|
|||
|
||||
# Powered by:
|
||||
from .ripper import Ripper
|
||||
from .utils import console, parse_default_flags
|
||||
from .utils import Config, console
|
||||
|
||||
|
||||
def main():
|
||||
|
@ -39,7 +39,7 @@ directory to place files in.")
|
|||
parser.add_argument("-c", "--config", dest="config", action="store_true",
|
||||
help="Display path to config file.")
|
||||
|
||||
args = parser.parse_args(parse_default_flags())
|
||||
args = parser.parse_args(Config.parse_default_flags())
|
||||
|
||||
if args.config:
|
||||
import irs
|
||||
|
|
|
@ -78,7 +78,7 @@ class Ripper:
|
|||
file_name = loc.split("/")[-1]
|
||||
else:
|
||||
file_name = loc
|
||||
artist, album = mp3.read_tag("artist")[0]
|
||||
artist = mp3.read_tag("artist")[0]
|
||||
album = mp3.read_tag("album")
|
||||
new_loc += ObjManip.blank(artist, False)
|
||||
if album != []:
|
||||
|
|
Loading…
Reference in a new issue