Commit Graph

230 Commits

Author SHA1 Message Date
yiannisha 36be67b827 Revert "Can now download all of an artists songs fixes#88"
This reverts commit 41b09712e5.
2021-10-24 19:32:32 +03:00
Jared Rossberg dc37d6157e Fix readme cli usage 2021-10-24 10:22:20 -06:00
yiannisha 40086384b0 Can now download all of an artists songs fixes#88 2021-10-24 19:18:18 +03:00
yiannisha 41b09712e5 Can now download all of an artists songs fixes#88 2021-10-24 19:09:58 +03:00
Jared Rossberg 40bc2d612f Fix spelling errors 2021-10-24 09:49:55 -06: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
yiannisha 1c62ff6604 Merge branch 'main' of https://github.com/Footsiefat/zspotify 2021-10-24 17:00:37 +03:00
Raju komati 441da8eef0
resolved merge conflicts 2021-10-24 18:54:56 +05:30
Raju komati beff9627a8
added m3u playlist file creation
fixed sonar issues
2021-10-24 18:35:40 +05:30
Mazzya 51abecda74
Update README.md 2021-10-24 14:24:47 +02:00
Mazzya b4b2985a5b CHANGELOG.md has been created and a link to view the CONTRIBUTING.md file has been added. 2021-10-24 14:23:26 +02:00
logykk a3e27d4f2a Merge branch 'main' of https://github.com/footsiefat/zspotify 2021-10-24 22:05:00 +13:00
logykk a08b54c8b3 revert metadata patch 2021-10-24 22:04:53 +13:00
Logykk 3c094e6436
Merge pull request #91 from reduxionist/fix/use-absolute-path-to-download-dirs
Use absolute paths for download directories
2021-10-24 21:44:01 +13:00
Jonathan Barratt 05ecb1d3bb Use absolute paths for download directories 2021-10-24 15:35:06 +07:00
Logykk 21b970f0e1
Bumped minimum python version to 3.9 2021-10-24 20:36:31 +13:00
logykk ad4c730578 Updated readme to v2.2 2021-10-24 18:41:53 +13:00
logykk 436c363ed6 Merge branch 'main' of https://github.com/footsiefat/zspotify 2021-10-24 18:27:21 +13:00
logykk 27a2ecfb03 simplified audio formats 2021-10-24 18:24:54 +13:00
Logykk 98f20e7e40
Merge pull request #87 from reduxionist/fix/use-absolute-path-to-config
Fixes error locating config if not run from src dir
2021-10-24 17:39:37 +13:00
Jonathan Barratt 4f91554097 Fixes error locating config if not run from src dir 2021-10-24 11:35:37 +07:00
logykk c41fc10bc2 basic support for downloading an entire podcast 2021-10-24 17:20:41 +13:00
Logykk 959a162d3c
Merge pull request #84 from tkhadimullin/patch-1
added basic Dockerfile
2021-10-24 15:42:52 +13:00
Logykk 83bf41091c
Create pylint.yml 2021-10-24 15:35:42 +13:00
Timur Khadimullin 703d73cab0
added basic Dockerfile
this config builds a small-ish (141Mb) docker image and allows running the tool via command line:
```
docker build . -t zspotify
docker run --rm -it zspotify
```
2021-10-24 15:22:10 +13:00
Footsiefat c7bbf2caf1
Merge pull request #83 from jayden000/main
fix file name in README
2021-10-24 15:06:38 +13:00
Jayden 74920471c3
docs(readme): fix spacing 2021-10-23 21:53:59 -04:00
Jayden 55936258a3
docs(readme): update from zspotify.py to app.py
updates the specified python file to the python file that starts the app
2021-10-23 21:50:59 -04:00
Footsiefat adf2e49f1c
Update README.md 2021-10-24 12:56:36 +13:00
Footsiefat d637942d23
Merge pull request #81 from jaredrossberg/main
Reprompt when no input given
2021-10-24 12:52:49 +13:00
logykk d0871ed9b2 removed santization from embedded metadata 2021-10-24 12:52:29 +13:00
logykk 0b68a42f75 Merge branch 'main' of https://github.com/footsiefat/zspotify 2021-10-24 12:32:49 +13:00
logykk 192e325d09 Fixed artist names getting cutoff in metadata 2021-10-24 12:31:44 +13:00
Logykk 35bace1a5c
Update .gitignore 2021-10-24 12:29:43 +13:00
Jared Rossberg 509dbb1e45 Reprompt when no input given 2021-10-23 17:17:04 -06:00
Footsiefat 630752cfa6
Merge pull request #76 from komatiraju032/main
code modularization
2021-10-24 11:56:15 +13:00
Raju komati 28645a3cd5
Merge branch 'Footsiefat:main' into main 2021-10-24 03:58:13 +05:30
Footsiefat 93b4c4791d
Merge pull request #80 from reduxionist/fix/gitless-install-does-not-install-librespot-dependencies
Revert "Use archive url of librespot-python instead of git url"
2021-10-24 10:20:49 +13: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
Jonathan Barratt fe7ceda687 Revert "Use archive url of librespot-python instead of git url"
This reverts commit c74dd60411.
2021-10-24 03:53:05 +07:00
Footsiefat 33e82e1d1a
Merge pull request #79 from reduxionist/feature/gitless-install
Use archive url of librespot-python instead of git url
2021-10-24 08:32:33 +13:00
Jonathan Barratt c74dd60411 Use archive url of librespot-python instead of git url 2021-10-24 02:27:46 +07:00
Yiannis Hadjiyianni 70f8e9ead7
Merge pull request #4 from yiannisha/search_options
Search options
2021-10-23 19:25:23 +03:00
yiannisha ed565fa0ce Merge branch 'main' into search_options 2021-10-23 19:22:24 +03:00
yiannisha efed684e59 Fixed minor bugs 2021-10-23 19:13:04 +03:00
yiannisha a02b2f03d1 Merge branch 'main' of https://github.com/Footsiefat/zspotify into Footsiefat-main 2021-10-23 18:59:25 +03:00
Raju komati 714e2eccfb
splitted zspotify.py file into mutiple files 2021-10-23 21:06:37 +05:30
yiannisha 6050630407 Merge branch 'search_options' 2021-10-23 17:22:19 +03:00
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