No description
Find a file
2024-12-30 13:38:11 +01:00
.cargo chore: Update dependencies and remove unused code 2024-07-14 23:53:40 +02:00
.github chore: Remove SSH authentication for free-librespot because it is now a public repo 2024-08-27 21:22:51 +02:00
src Fix hrs and min printing 2024-12-30 12:03:11 +01:00
.gitignore feat: Add env_logger (#72) 2024-02-12 20:38:01 +01:00
build.rs Add initial files 2021-10-11 02:12:22 +02:00
Cargo.lock Crude relink, pin dep, FLAC support (?) 2024-09-08 23:05:21 +02:00
Cargo.toml Crude relink, pin dep, FLAC support (?) 2024-09-08 23:05:21 +02:00
LICENSE Add initial files 2021-10-11 02:12:22 +02:00
mp3lame.lib Add initial files 2021-10-11 02:12:22 +02:00
README.md Update README.md 2024-09-10 13:42:35 +02:00
rustfmt.toml format code 2022-01-27 17:08:47 +01:00

DownOnSpot


⚒️ Building

  1. Clone the repository using git and change to the local repository directory:

    git clone https://github.com/oSumAtrIX/DownOnSpot.git
    cd DownOnSpot
    
  2. Install dependencies

    If you are on Linux, make sure you have the libasound2-dev package installed.
    Additionally, you need the libmp3lame library.
    On Mac OS, run brew install lame, provided you have Homebrew installed.

  3. Build

    cargo build --release
    

🕹️ Usage

  1. Run DownOnSpot

    $ ./down_on_spot
    Settings could not be loaded because of the following error: IO: NotFound No such file or directory. (os error 2)...
    ..but default settings have been created successfully. Edit them and run the program again.
    
  2. Edit the settings.json file

    The settings.json file is located in the following directories:

    • Windows: C:\Users\<user>\AppData\Roaming\down_on_spot\settings.json
    • Unix: ~/.config/down_on_spot/settings.json

🎉 Now you can use DownOnSpot

$ ./down_on_spot
Usage:
down_on_spot.exe <search_term> | <track_url> | <album_url> | <playlist_url> | <artist_url>

⚙️ Template variables

You can use the following template variables for path and filename_template in the settings.json file:

  • %0disc%
  • %0track%
  • %album%
  • %albumArtist%
  • %albumArtists%
  • %artist%
  • %disc%
  • %id%
  • %title%
  • %track%

🧭 Additional scripts

🐞 Known issues

  • Slow MP3 downloads due to libmp3lame
  • Sporadic channel error when downloading tracks

🔑 License

DownOnSpot is licensed under the GPLv3 licence. Please see the licence file for more information. tl;dr you may copy, distribute and modify DownOnSpot as long as you track changes/dates in source files. Any modifications to DownOnSpot must also be made available under the GPL, along with build & install instructions.