Commit Graph

10 Commits

Author SHA1 Message Date
el-gringo-alto
868c7f6c18 Revert "Fix #105 renamed src to zspotify"
This reverts commit cf1b98cce3.
2021-10-24 21:36:27 -04:00
el-gringo-alto
b5256acb89 Fix #105 renamed src to zspotify 2021-10-24 21:34:30 -04:00
Footsiefat
938b647753
Merge pull request #97 from yiannisha/main
Added feature for changing limit and type of results closes#27 - rewrote for recent patch
2021-10-25 09:01:22 +13:00
Footsiefat
d40dbc93ea
Merge pull request #100 from davidsalido/main
Fix infinite loop
2021-10-25 08:59:02 +13:00
Jared Rossberg
69f59bb0f6 Create main module 2021-10-24 11:15:41 -06:00
davidsalido
85344f573c Fix infinite loop 2021-10-24 17:11:01 +00:00
yiannisha
18fca559b3 Added argument parsing in search function
Added a block for parsing arguments passed with options
-l -limit
-t -type
in the search_term. They work as follows:

* -l -limit <number> : sets the limit of results to that number
  and raises a ValueError if that number exceeds 50. Default is 10.

* -t -type <album/track/playlist> : sets the type that is requested
  from the API about the search query. Raises a ValueError if an arguments
  passed are different than track, album, playlist. Default is all three.

Example:
Enter search or URL: <query> -l 30 -t track album

This will result with 30 tracks and 30 albums associated with query.
Options can be passed in any order but the query must be first.
2021-10-24 18:07:12 +03:00
Jared Rossberg
509dbb1e45 Reprompt when no input given 2021-10-23 17:17:04 -06:00
Raju komati
65093fa0d2
fixed user playlist download issue
1. added new scope `playlist-read-private` for access token
2. Added progress bar far playlist download(previously it's showing for each song separately)
2021-10-24 02:46:01 +05:30
Raju komati
714e2eccfb
splitted zspotify.py file into mutiple files 2021-10-23 21:06:37 +05:30