ozora-ogino / spotify_dlx

Spotify CLI/client library to download songs like youtube-dl.
MIT License
22 stars 8 forks source link

How to search podcast episodes of a particular episode? #1

Open a-t-0 opened 2 years ago

a-t-0 commented 2 years ago

Is your feature request related to a problem? Please describe. Wonderful work, thank you!

  1. How could one search for all episodes containing substrings: self-hosted in the podcast: Hacker Public Radio? (In generalised format, so different substrings for different podcasts).
  2. how could one search all episodes in Spotify matching substring: pizza, and sort them on date?
  3. Would it be possible to export the search results as a playlist (sorted on episode publishing date)?
  4. Would it be possible to download the search result as a playlist (sorted on episode publishing date)?

Please note, these are quite some questions and no is a perfectly fine answer :)

Describe the solution you'd like An instruction on how to do something like:

python -m spotify_dlx --episodes `self-hosting AND collabora` sort:date_ascending export:playlist

And/or

python -m spotify_dlx --episodes `self-hosting AND collabora` sort:date_ascending export:download

Describe alternatives you've considered I tried running an arbitrary search command for self-hosted, yet did not find any episodes listed.

Additional context My main concern is being able to transparently query the Spotify database (without nudging).

Once again, thank you for making such a nice CLI!

Ps. I thought perhaps these links might be relevant for obtaining the spotify database (segments): https://machinelearningknowledge.ai/tutorial-how-to-use-spotipy-api-to-scrape-spotify-data/ https://spotifyscraper.readthedocs.io/en/latest/

ozora-ogino commented 2 years ago

@a-t-0 Thank you for the good issue. Let me check it out. I'm going to reply by the end of this month.

ozora-ogino commented 2 years ago

@a-t-0 Sorry for replying late. I double checked and the functions you would like are not supposed now. However I'll implement them in a future. Currently I have something to take care so please wait for a month. Thank you.

a-t-0 commented 2 years ago

Thank you for the heads-up. Best of luck in your endeavours!

benearnthof commented 1 year ago

Any progress on this? I'm currently working on a tool to transcribe podcast episodes and want to add functionality to download spotify podcasts. As far as I understand this package uses librespot to stream audio is that correct? Let me know if I can help, I'd gladly submit a pull request!

a-t-0 commented 1 year ago

@benearnthof for completeness, I did not pickup work on this issue, nor do I expect to in the near future, so if you are able to send a pull request with the feature, I would greatly appreciate it!