Merge pull request #25 from kepoorhampond/better-alias-rerouting

Better alias rerouting
This commit is contained in:
Kepoor Hampond 2017-05-12 16:35:52 -07:00 committed by GitHub
commit 1c69267d0e
2 changed files with 4 additions and 4 deletions

View file

@ -193,12 +193,12 @@ album".split(" ")
return ("https://youtube.com" + self.code["href"], self.code["title"])
def album(self, title): # Alias for `spotify_list("album", ...)`
return self.spotify_list("album", title)
def album(self, title, artist=None): # Alias for `spotify_list("album", ...)`
return self.spotify_list("album", title=title, artist=artist)
def playlist(self, title, username):
# Alias for `spotify_list("playlist", ...)`
return self.spotify_list("playlist", title, username)
return self.spotify_list("playlist", title=title, username=username)
def spotify_list(self, type=None, title=None, username=None, artist=None):
try:

View file

@ -2,7 +2,7 @@ from setuptools import setup
setup(
name = 'irs',
version = '6.3.6',
version = '6.4.6',
description = 'A music downloader that just gets metadata.',
url = 'https://github.com/kepoorhampond/irs',
author = 'Kepoor Hampond',