yiannisha
e9ba63b9d0
Added argument parsing in search function
...
Added a block for parsing arguments passed with options
-l -limit
-t -type
in the search() function. Arguments are passed inside 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 is 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-23 17:15:41 +03:00
yiannisha
7d81eb5cc6
Rewrote the search function
...
It still works in the same way and no
other functions need to be changed. Just
changed it to store needed data about each
track/album/playlist in a dictionary so
tracking it in the end is simpler.
2021-10-23 16:06:34 +03:00
yiannisha
3c3a2acf27
Merged with up to date zspotify.py
2021-10-22 21:21:57 +03:00
Footsiefat
b34c2031aa
Update README.md
2021-10-22 21:38:49 +13:00
Footsiefat
f815b91374
Merge branch 'main' of https://github.com/Footsiefat/zspotify
2021-10-22 21:34:21 +13:00
Footsiefat
66b37e4f1c
Made design more modern again and played with podcast stuff
2021-10-22 21:34:17 +13:00
Footsiefat
bd81e95490
Update README.md
2021-10-22 20:45:37 +13:00
Logykk
6c77e68d23
Licence under GPLv3
2021-10-22 20:02:45 +13:00
Footsiefat
6c0fc89696
Merge branch 'main' of https://github.com/Footsiefat/zspotify
2021-10-22 18:23:47 +13:00
Footsiefat
61f55449ad
Added progress bar to podcats and simplified output
2021-10-22 18:23:38 +13:00
Footsiefat
228ff1f3ac
Merge pull request #54 from Footsiefat/select-multiple
...
Support for selecting multiple options from search
2021-10-22 18:21:28 +13:00
Logykk
cb7173280b
Support for selecting multiple options from search
2021-10-22 18:17:59 +13:00
logykk
b1df2c42d9
added support for selecting multiple options in search
2021-10-22 18:17:05 +13:00
Footsiefat
6a808b68b3
Update README.md
2021-10-22 17:26:28 +13:00
Footsiefat
bb2b9880ed
Merge pull request #52 from komatiraju032/main
...
added progress bar for download
2021-10-22 15:44:28 +13:00
Raju komati
67183a8b62
added progress bar for download
...
we can set the chunk size using constnat `CHUNK_SIZE` default value 50000 bytes
2021-10-22 08:04:20 +05:30
Footsiefat
278e4d1bb3
Merge pull request #50 from reduxionist/feature/do-not-skip-empty-files
...
Don't skip download if local file is empty.
2021-10-22 15:29:26 +13:00
Jonathan Barratt
3b20c437db
Don't skip download if local file is empty.
...
If a download gets aborted for some reasons, zspotify left behind a 0 length
file which caused the song to be skipped on the next run. This commit checks
for a non-zero filesize before deciding whether to skip the download of an
"existing" file or not.
2021-10-22 09:20:42 +07:00
Footsiefat
aeec7c8fc4
Added discord server back in
2021-10-22 14:09:34 +13:00
Footsiefat
369828d831
Update README.md
2021-10-22 11:47:11 +13:00
Footsiefat
dd4a23a82a
Changed default format back to mp3
2021-10-22 11:25:27 +13:00
Footsiefat
4c29263e8a
Merge pull request #48 from maxiimillian/feature-multiple-playlists
...
Added an option to select a range of playlist id's to download
2021-10-22 11:24:39 +13:00
Footsiefat
355630ba1c
Added support for downloading full shows
2021-10-22 11:21:56 +13:00
maxiiimillian
45a99cb3aa
Added an option to select a range of playlist id's to download
2021-10-21 17:33:55 -04:00
Footsiefat
0c07408731
Changed discord invite to matrix invite
2021-10-22 10:25:04 +13:00
Footsiefat
a63d8adb72
Added Gitea mirror!
2021-10-22 10:19:52 +13:00
yiannisha
07c1a6a3df
Fixed minor error in download_artist_albums
2021-10-21 23:40:40 +03:00
yiannisha
1bd12be1dd
Modified get_artist_album
2021-10-21 23:38:58 +03:00
yiannisha
126ebe2046
Added download_artist_albums
...
Added a function to be called in client if
artist_id_str is not None;
download_artist_albums(artist_id_str) that
uses the get_artist_album function to get the
artist's album id's and then downloads each one
with the download_album function.
Also modified get_artist_album function to return
a list of album ids instead of a list of tuples
of album ids and names.
2021-10-21 23:27:02 +03:00
yiannisha
92090512d0
Added get_artist_albums
...
Added the get_artist_albums(access_token, artist_id)
function that returns a list of tuples that each
contain the name and the id of an album.
2021-10-21 23:15:09 +03:00
yiannisha
822b696dc4
Added Artist String Id in regex_input_for_urls
2021-10-21 23:13:39 +03:00
Footsiefat
2325e98ccc
Delete settings.json
2021-10-21 20:35:02 +13:00
Footsiefat
1fda04053d
Update README.md
2021-10-21 20:32:42 +13:00
Footsiefat
577f78ae70
Added a small auto wait delay to try and prevent bans
2021-10-21 20:18:07 +13:00
Footsiefat
30be68d5e6
Merge branch 'main' of https://github.com/Footsiefat/zspotify
2021-10-21 20:02:38 +13:00
Footsiefat
33895d4f62
Added option to just paste URL in search bar
2021-10-21 20:02:35 +13:00
Footsiefat
e1eb41ed80
added vscode settings to gitignore
2021-10-21 17:48:05 +13:00
Footsiefat
6e76f09421
cleaned up code using linter
2021-10-21 15:28:10 +13:00
Footsiefat
2878f38808
cleaned up regex in prep for QOL change
2021-10-21 15:13:16 +13:00
Footsiefat
a66848fe8e
Simplifed the crash catching code a lot
2021-10-21 14:41:22 +13:00
Footsiefat
775d7cf3b6
Merge branch 'main' of https://github.com/Footsiefat/zspotify
2021-10-21 13:12:10 +13:00
Footsiefat
6c260e25ff
Improved podcast downloading
2021-10-21 13:12:07 +13:00
Footsiefat
38b9cc6577
Update README.md
2021-10-21 10:04:40 +13:00
Footsiefat
5838ea0ce1
Update README.md
2021-10-21 09:50:34 +13:00
Footsiefat
e9547e0577
Update README.md
2021-10-21 09:48:28 +13:00
Footsiefat
6e36eb40d1
Added experimental podcast support
2021-10-21 09:44:52 +13:00
Footsiefat
064bc563ff
Merge pull request #36 from modzilla99/patch-1
...
[WIP] Check if Name of Song is set
2021-10-21 08:42:41 +13:00
Footsiefat
1711fc83af
Merge pull request #37 from cclauss/patch-1
...
Fix typos in README.md
2021-10-21 08:41:22 +13:00
Footsiefat
ab2c64f84a
Fixed premium account check
2021-10-21 08:37:36 +13:00
Christian Clauss
2565cb1cbd
Fix typos in README.md
2021-10-20 19:13:20 +02:00