iamdb / hifi.rs

a high resolution Qobuz streamer built in Rust
GNU General Public License v3.0
75 stars 10 forks source link

How use this? #125

Closed carrieroent closed 1 year ago

carrieroent commented 1 year ago

Hey! I installed this (extracted the tar, copied the binary to my PATH and gave execute permissions), but I dont know, how use this? :D What are first steps that I have to do? I just ran hifi-rs config username, hifi-rs config password and then hifi-rs play, but hifi-rs play or search or anything else doesn't work.

What causes database errors?

Where this store its configuration?


Thanks so much for this! This is a big favor for Qobuz on Linux.

iamdb commented 1 year ago

Sorry, I think I got confused between issues. Were you able to get the player to work?

carrieroent commented 1 year ago

I couldn't get this to work and I don't know how to use this, but I know how to install programs such this and I was able to do a PR already. The reason for the PR was this.

iamdb commented 1 year ago

I updated the README with some extra instructions. Can you see if those steps work better? If not, can you tell me the steps you took and the error you received?

The config should be stored in ~/.local/share/hifi-rs/.

However, you run it with RUST_LOG=hifi_rs hifi-rs, it should log the database location definitively.

And thank you for the link! I had no idea that was there. :-)

carrieroent commented 1 year ago

I updated the README with some extra instructions. Can you see if those steps work better? If not, can you tell me the steps you took and the error you received?

Thank you very much! I will test.

The config should be stored in ~/.local/share/hifi-rs/.

However, you run it with RUST_LOG=hifi_rs hifi-rs, it should log the database location definitively.

This could also add to the README.

And thank you for the link! I had no idea that was there. :-)

Honestly, this is the best work for Qobuz integration and also for bringing it to Linux. librespot is amazing, but the problem was that only Spotify had such before this.

iamdb commented 1 year ago

Sorry, but can we keep the conversation to this issue? I'm getting confused having to answer all of them.

To answer your question about the API, I do not have keys. It logs in through the website and uses the token from there. I ported over code from another project written in python.

carrieroent commented 1 year ago

Sorry, but can we keep the conversation to this issue? I'm getting confused having to answer all of them.

I'm sorry for "bombarding" you with these. So much new and interesting... But I didn't deviate (only this) much from the topic.

To answer your question about the API, I do not have keys. It logs in through the website and uses the token from there. I ported over code from another project written in python.

Oh. Do you know, does librespot uses API keys or this kind of website login and take token way? As far as I know, they somehow got the API keys from the official client, could we do something similar?

iamdb commented 1 year ago

I don't know librespot uses off the top of my head. I'm sure if you browsed the repo, you could find out.