• General
  • Karaoke-Version.com - Download script?

It's my first day here 🙂. I wasn't aware you were on the board (although I suppose it should have been obvious).

While I have you, I made a fork this morning, I was going to make a couple updates for a merge request.

  1. If for some reason the "Click Track" is already on "solo" your click deselects that. I noticed the there is a class ".is-active" when the element is engaged. I was going to put a condition around the "button.click" even to skip is it was already soloed.
  2. considering a couple of command line arguments "enable count in" and create a folder with artist/trackname/ to download the tracks.
  3. add a line in the dontenv to specify a download location
  4. options to pass in a file containing a list of links.

Thoughts?

I ran into that as well, I wasn’t sure why the click was pre-selected on some tracks.

I don’t recommend enabling count-in unless you’re going to do it with a single track only. If you do it on all tracks they sum together and it’s really loud, so you have to edit regardless.

dotenv is really for secrets only. I could see a command line option for that.

For the list of tracks, I would worry you would start to trigger some sort of alert on your account. I don’t know if this is a good idea.

Anyway, for further discussion, let’s use Github Issues and not derail Peter’s forum 🙂

Unfortunately, I'm not that technically sound - so I would like one of you who makes it work, made a Youtube instruction in the use of the script.

@bens What an amazing idea to simplify downloading the tracks. I need this in my life. I'm trying to run the script but I'm not too familiar with this kind of code. I've got it to the point of running (with help from ChatGPT) but it's erroring out trying to find the env file. I don't know if I'm not naming it correctly or what the issue is but it's returning this error "Missing KV_USERNAME or KV_PASSWORD in environment".

I've named the file dotenv.env
contents of the file look like:
KV_USERNAME=My_UserName
KV_PASSWORD=MyPassword

Any advice you'd be willing to provide me would be very much appreciated. Thanks.

    Ray9s The only way I got it to work was to name the .env literally ".env". If you have anything before the dot as a prefix it doesn't work for wouldn't for me.

      Ray9s MacOS you have to create the file using Terminal and the VIM command. I had a colleague help me but it wasn’t terrible to do.

      Yay, I got it working properly. Thanks so much for the assistance. I just wish I'd discovered this tool before I wasted so much time manually downloading these files 😆

        I would still like to hear if one of you who has solved the problem would make an instructional video - for those of us who are not so technically proficient

          prixmulti I can do that, I was waiting to see if the script's author was going to pick it up.

          You need to have node.js installed, so.. if you do not have it currently installed, please do that first. There are videos on youtube for that step if you need it.
          You can check to see if you have it installed by opening the terminal and typing
          node --version

          Ray9s Dude I've downloaded like 400 songs with individual stems over the years before I found this! If only I had it way back LOL!

          6 months later

          I don't have any experience with Java script. When I downloaded and attempted to install Node 16+, my Malwarebytes Protection blocked part of the installation. The block was an "exploit.payloadprocessblock". Is this something I should be worried about or is it safe to allow it?

          I can't get the script to work either, but I have a different issue where it runs, logs into the website, finds the song then appears to log me out and add the file to my basket and just sits there. Ive tried saving my password and user in chromium (as well as the env file, but it can't be that, as it initially logs in ok)/ .. any ideas?

          Great automation idea but I can see endless hours trying to figure out how to install and run it. So I'm leaving it alone, and hoping that Karaoke-Version will upgrade their process to all multiple simultaneous downloads. One file at a time ain't fast, but it works.

          What OS are you using? I agree that setting up a dev environment can be a challenge.
          You should be able to simple run all the steps that I posted in the video.