TannerNelson16 / playlistdl

A web-based downloader that uses either spotdl or yt-dl depending on the link provided
65 stars 0 forks source link

Download issue? #1

Closed JQNorman closed 1 week ago

JQNorman commented 2 weeks ago

Not exactly sure what I am doing wrong here, I have tried to configure the downloads volume on my unraid server a bunch of different ways, and for whatever reason when the file is done making the .zip it just auto downloads the zip to the PC im on and not the server? I just cant seem to get it to download to the host container pc vs the one im on?

TannerNelson16 commented 2 weeks ago

You're not doing anything wrong. It's actually functioning as intended. Currently, the audio files are downloaded to the client machine and erased from the server. Download to the server is the next feature on the list. I'm planning to add an 'admin' button that lets you log in with credentials defined in the docker compose file and choose to download to your server. I want to put this behind a login screen in case other 'non-admin' users are accessing the service. Sorry for any confusion here. I'll update the documentation with this info and hope to work on this feature soon.

JQNorman commented 2 weeks ago

That would be a great feature. I also think if you allow it to post-download the .zip to the server machine, extracting it into a folder that Lidarr could monitor to integrate into the ARR stack would be clutch. LidaTube does something similar, but it is strictly for YouTube, that I am aware of. LidaTube actually scans your Lidarr wanted list and then does your process for YTD. Being able to pull Spotify playlists into Lidarr would be a game changer.

TannerNelson16 commented 2 weeks ago

Nice. That's a solid application. But, yeah, I think that's what I would do anyways. Currently, the downloads are sent to a randomly assigned 'downloads' folder on the docker image and then, if more than one, compressed and sent to the client machine. So I would likely follow the same pattern and then just have an environmental variable in the docker compose file to declare the folder that would receive the downloaded files rather than the client. I'll see if I can get something working in the next few days.

TannerNelson16 commented 2 weeks ago

Just pushed this feature! Give it a try and let me know what you think. If any instructions are unclear, let me know.