tywil04 / slavartdl

Simple tool written in Go(lang) to download music using the SlavArt Divolt server
GNU General Public License v3.0
17 stars 1 forks source link

play.qobuz.com not supported and output options #2

Closed Guido30 closed 1 year ago

Guido30 commented 1 year ago

Hello just discovered about this little tool, it removes that annoying step of having to paste, wait and download the file from rivolt/discord and then unzip it, so thank you, but there is an issue, i've always found it easier to find songs using play.qobuz.com rather than the qobuz.com website, so would it be possible to accept those kinds of urls?

It would also be useful to have an option to only output the audio files, right now when i download a track i also get the cover.jpg and everything is placed inside a subfolder with the track name, in my case i need it to place only the tracks at the root output folder, so basically it would be nice if you could add 2 options to the config

  1. disable subfolder creation
  2. ignore cover.jpg

Thank you again

tywil04 commented 1 year ago

I didn't know that play.qobuz.com was an allowed URL, I will add that to the list of known good hosts.

As with the other requests, I think that its entirely possible and would further enhance this tool so I will start working on it when I have some time.

tywil04 commented 1 year ago

play.qobuz.com has been added to the list of known good hosts in release 1.0.5.

I have also just added the download flags to allow the ignoring of subdirectories and cover.jpg in release 1.0.5, please give them a try before you close this issue!

Guido30 commented 1 year ago

Everything seems to work!

Although i didn't notice at first but when clicking on share on any track/album through the play.qobuz.com site, it gives open.qobuz.com links, and they are currently not supported. Screenshot 2023-07-15 192205

tywil04 commented 1 year ago

I have now also added open.qobuz.com to the list of known hosts, it is included in release 1.0.6. I'm going to close this issue now, if you have any further enhancements or issues feel free to open another issue!