Giter Site home page Giter Site logo

qobuz-get's Introduction

qobuz-get

Tool to download FLACs from qobuz.com.

Setup

If git.fuwafuwa.moe is down, click here for the latest Windows binary.

Statically linked 64-bit Linux and Windows binaries are available in the Releases tab. On Linux, you should install sox, ffmpeg and mktorrent with your package manager, and insert the paths to the binaries (found using which sox, which ffmpeg, etc...) into magic.json.

There are three other values which must be inserted into magic.json. app_id and app_secret are listed on this page. user_auth_token is specific to your qobuz account. See the bottom of this README for instructions on finding it. These values could change from time to time, so if qobuz-get stops working suddenly, you probably need to get new ones.

On Windows, run the InitEnvironment.bat script to set things up. On Linux, just call the binary from your shell.

But what about FreeBSD, macOS, ARM....?

It should be easy to build qobuz-get on any platform supported by a D compiler. Just install libcurl, libphobos, dub and a D compiler (such as DMD), then run dub build -b release.

Troubleshooting

No such file or directory when trying to run qobuz-get

Some Linux distros might not have /lib/ld-linux-x86-64.so.2. If this is the case with yours, try ln -s /lib64/ld-linux-x86-64.so.2 /lib/ld-linux-x86-64.so.2, it's a bit of a hack but it works.

FFmpeg fails!

On Linux, try using the statically linked ffmpeg binary provided here.

Sox fails!

Sox might not be compiled with the right features. Try compiling it yourself, using ./configure --with-flac. Also, if you try and link sox statically, it might not work. Try with dynamic linking.

It's still not working!

Check that the values in magic.json are correct, then ask for help on IRC. Connect to irc.rizon.net and then join the channel #qobuz-get. If you want my attention, just highlight me (say "albino"). I'll try and respond quickly but please be patient.

Finding user_auth_token

  • Open http://play.qobuz.com in your browser and log in with your credentials.
  • Open the 'Network' tab of your browser's developer tools. (In Firefox, right click on page -> inspect element -> select the 'Network' tab)
  • Open the page for any album.
  • In the Network window, you should see a GET request beginning with get?album_id. Select it.
  • You should see a list of headers on the right hand side (in Chrome, you need to click the "Headers" tab). Scroll down to the one which says x-user-auth-token. Select the content, and copy and paste it into magic.json. Done!

qobuz-get's People

Contributors

albino avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.