spotify-downloader icon indicating copy to clipboard operation
spotify-downloader copied to clipboard

Is it possible to run SpotDL as a webserver?

Open ALegitCookie opened this issue 1 year ago • 3 comments

Requested Feature

I have a machine running Windows Server 2019 that I serve webpages from. I would like to be able to connect to a subdomain of my website and be able to use SpotDL on a different device.

Is there any sort of "mode" or feature for spotdl to just run as a webserver and listen for connections on a certain port? If not, this would be a great feature. I would love to be able to just type in my domain name and be able to download songs thru the web browser on any of my other devices.

Possible implementation

No response

ALegitCookie avatar Dec 13 '23 19:12 ALegitCookie

Hello @ALegitCookie, I am not a contributor or maintainer for this project but it seems like a great idea to me. I will try to implement this soon and if successful, create a pull request to let the community contribute on styling.

anshluu avatar Jan 10 '24 02:01 anshluu

Yes it's possible. You can find code used for the spotdl web module in console/web.pyand utils/web.py. After checking it you should have a pretty good idea how to use spotdl in a web server scenario

xnetcat avatar Jan 10 '24 03:01 xnetcat

ah, that was quite foolish of me. it already exists. Sorry about that- I believe this issue can now be closed.

anshluu avatar Jan 10 '24 04:01 anshluu

This issue has been automatically marked stale because there hasn't been any activity for the last 30 days.

stale[bot] avatar Mar 17 '24 11:03 stale[bot]