oSumAtrIX / DownOnSpot

🎧 A Spotify music and playlist downloader working with free Spotify accounts written in Rust
https://osumatrix.me
GNU General Public License v3.0
555 stars 44 forks source link

Support downloading list from a file #6

Open onny opened 2 years ago

onny commented 2 years ago

Hey, since it was not possible to add support for downloading album categories as described in https://github.com/oSumAtrIX/DownOnSpot/issues/5 it would be cool to manually copy all album ulrs into a file and use this file to download albums with downonspot.

Something like:

down_on_spot albums_file.txt

Regards Jonas

oSumAtrIX commented 2 years ago

Clap is a good option to handle advanced CLI arguments. We then can specify multiple ways to handle input.

onny commented 2 years ago

This feature would be very helpful :)

binarybase commented 1 year ago

For now you can you use a little bash script :-) Only disadvantage is that the login process is made with every file in the list, so you will recieve multiple login notifications

#!/bin/sh while read f; do ./down_on_spot "$f" done <list.txt