MinisculeGirraffe / tdl

Fast, Concurrent, Rust based Tidal-Media-Downloader implementation.
MIT License
58 stars 7 forks source link

Add support for quality fallback #26

Open popeye2468 opened 1 year ago

popeye2468 commented 1 year ago

can you add support for quality fallback please

MinisculeGirraffe commented 1 year ago

I'm fairly certain this is already implemented. It will attempt to grab the quality specified and if it's not available it will return the highest available.

I'd have to do some testing to validate this behavior though as I can't remember the exact behavior.

MinisculeGirraffe commented 1 year ago

Can you provide an example of your expected behavior for reference also?

popeye2468 commented 1 year ago

i will randomly get an error saying EOF while parsing a value at line 1 column 0 but if i change the quality it then downloads

popeye2468 commented 1 year ago

it seems to not be downloading all tracks on first run, i have to repeat the command several times

MinisculeGirraffe commented 1 year ago

Hmm. It's probably their API returning a value that wasn't expected. Can you provide an example command?

popeye2468 commented 1 year ago

these are the albums that command shows up with they seem to download fine with tidal-dl i just prefer your one as its much much faster

i use tdl get followed by each album

https://listen.tidal.com/album/25710686 https://listen.tidal.com/album/99674505 https://listen.tidal.com/album/5247786 https://listen.tidal.com/album/77668838 https://listen.tidal.com/album/94504887 https://listen.tidal.com/album/25710725 https://listen.tidal.com/album/66547575 https://listen.tidal.com/album/127853440 https://listen.tidal.com/album/99556604 https://listen.tidal.com/album/85413521 https://listen.tidal.com/album/25710712 https://listen.tidal.com/album/99024816 https://listen.tidal.com/album/25710699 https://listen.tidal.com/album/25688984 https://listen.tidal.com/album/98416518 https://listen.tidal.com/album/26348389 https://listen.tidal.com/album/181542375 https://listen.tidal.com/album/95050310

popeye2468 commented 1 year ago

so i waited a short while and before i would do 2 or 3 albums at once and then i would get that error, however if i do each one seperate with a small pause about 5 secs between each album i dont get this error.

is there a way to implement a small pause between albums?