mirror of
https://github.com/cooperhammond/irs.git
synced 2025-01-17 21:17:07 +00:00
Fixed 'self' error
This commit is contained in:
parent
03949be7ab
commit
88fa4203ae
|
@ -74,5 +74,3 @@ def parse_genre(genres):
|
|||
return genres[0].title()
|
||||
else:
|
||||
return ""
|
||||
|
||||
#Metadata("Da Frame 2R.mp3").add_album_art("https://i.scdn.co/image/c8931dc7eb717531de93ae0d4626362875c51ba9")
|
|
@ -94,7 +94,9 @@ class Ripper:
|
|||
|
||||
return locations
|
||||
|
||||
def find_yt_url(self, song=None, artist=None, additional_search=parse_search_terms(self)):
|
||||
def find_yt_url(self, song=None, artist=None, additional_search=None):
|
||||
if additional_search == None:
|
||||
additional_search = parse_search_terms(self)
|
||||
try:
|
||||
if not song: song = self.args["song_title"]
|
||||
if not artist: artist = self.args["artist"]
|
||||
|
|
Loading…
Reference in a new issue