Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bitrate information #95

Closed
mtree opened this issue May 20, 2015 · 4 comments
Closed

Bitrate information #95

mtree opened this issue May 20, 2015 · 4 comments

Comments

@mtree
Copy link

mtree commented May 20, 2015

Is there any way to get bitrate of currently played song?

@FrontierPsychiatrist
Copy link
Owner

Hm, not in node-spotify. libspotify allows setting the preferred bitrate but I can't find a function to get the current bitrate that I could wrap.

@mtree
Copy link
Author

mtree commented May 29, 2015

@FrontierPsychiatrist: some time ago when i checked their app "Spotiamp" which is based on libspotify it allowed to see current song bitrate.
I remember that 50% of songs where at "middle quality" even though there was hq option turned on.

@FrontierPsychiatrist
Copy link
Owner

Interesting, I'll look it up. I have some free time in July and will hopefully be able to continue node-spotify a bit

@felixhammerl
Copy link

there seems to be this:

libspotify.sp_session_preferred_bitrate(sessionPtr, libspotify.sp_bitrate.BITRATE_320k);

see here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants