mirror of
https://github.com/cooperhammond/irs.git
synced 2025-01-04 19:25:27 +00:00
prep for remaking the acual Module and CLI
This commit is contained in:
parent
6f8b5d1f4f
commit
03ad538239
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -12,3 +12,7 @@ update_pypi_and_github.py
|
||||||
/flexx-app/
|
/flexx-app/
|
||||||
/.idea/
|
/.idea/
|
||||||
*test.py
|
*test.py
|
||||||
|
|
||||||
|
# Temporarily downloaded files
|
||||||
|
*.mp3
|
||||||
|
*.zip
|
|
@ -0,0 +1 @@
|
||||||
|
import argparse
|
|
@ -22,7 +22,7 @@ from re import match
|
||||||
from bs4 import BeautifulSoup
|
from bs4 import BeautifulSoup
|
||||||
|
|
||||||
# Local utils
|
# Local utils
|
||||||
import utils
|
import .utils
|
||||||
|
|
||||||
# Powered by...
|
# Powered by...
|
||||||
import spotipy
|
import spotipy
|
||||||
|
|
|
@ -21,8 +21,8 @@ else:
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
# Local utilities
|
# Local utilities
|
||||||
import utils
|
import .utils
|
||||||
from metadata import *
|
from .metadata import *
|
||||||
|
|
||||||
class Ripper:
|
class Ripper:
|
||||||
def __init__(self, args={}):
|
def __init__(self, args={}):
|
||||||
|
@ -249,8 +249,3 @@ class Ripper:
|
||||||
m.add_tag("discnumber", str(data["disc_number"]))
|
m.add_tag("discnumber", str(data["disc_number"]))
|
||||||
m.add_tag("compilation", data["compilation"])
|
m.add_tag("compilation", data["compilation"])
|
||||||
m.add_album_art( str(data["album_art"]))
|
m.add_album_art( str(data["album_art"]))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#Ripper().song("Da Frame 2R", "Arctic Monkeys")
|
|
||||||
Ripper().spotify_list("playlist", "Jamboree Jams", "prakkillian")
|
|
Loading…
Reference in a new issue