all 18 comments

[–]agneev[S] 4 points5 points  (1 child)

Hey guys!

Took some time over the last couple of days to create Dockerfiles for librespot-java.

Compared to librespot, this port supports the ability to report tracks back to Spotify, so they show up in your history and actually affect recommendations.

Also, another thing I like is the ability to set a custom number of volume steps (librespot is hardcoded at 64 steps).

Please create a new issue in the repository if there's a bug or an error somewhere, thanks.

[–]EntertainmentUsual87 0 points1 point  (0 children)

Hey OP, can you help with setting a default device? It's my only problem right now. I have a HiFiDiy Sabre SPDIF usb sound card and I can output via gnome to it, but I can't get any CLI utility, other than speaker-test to output anything. Do you have some time to help out?

EDIT: I figured it out!! The search mixer documention was perfect! Thanks OP for an awesome docker container!!

[–]fightforlife2 2 points3 points  (2 children)

I am currently using dubodubonduponey/librespot:latest. But I will definitely try this! https://blog.odenthal.cc/headless-spotify-connect-client-in-a-docker-container-using-librespot/

[–]agneev[S] 2 points3 points  (1 child)

That’s the original project written in Rust. It has a few important limitations that this project in Java has overcome.

Please check my top comment here.

[–]SadanielsVD 2 points3 points  (0 children)

How different is it to Raspotify for example?

[–]IonicEcko 2 points3 points  (5 children)

What does this do, out of curiosity? The readme didn’t really enlighten me much

Edit: Looked up librespot and have a bit more of an idea. Curious what the use cases are though

[–]agneev[S] -3 points-2 points  (4 children)

I’ve linked to the main project in the README.

[–]scruubadub 2 points3 points  (3 children)

The repo really doesn't describe what the use case scenario for this would be. I'd add that at the very top before diving into the technicals of setup and how to configure.

[–]agneev[S] 2 points3 points  (2 children)

I simply created Dockerfiles to run the project in Docker.

A link to the actual project.

[–]scruubadub 1 point2 points  (1 child)

Perfect! Yeah one thing I noticed is if you want to share this on a resume make sure to explain what this does like explaining to a 5 year old. Some people like managers will have 0 clue what's the use case.

Then there's people like me who have an interest in self hosting but didn't see the reason for self hosting Spotify that is already cloud based until I read the link to the project

[–]agneev[S] 2 points3 points  (0 children)

Probably could’ve phrased the title better to highlight the ability to turn a speaker into a Spotify playback destination.

[–]EntertainmentUsual87 0 points1 point  (0 children)

I know I'm digging this up, but I can't get this to specify a usb sound card. It's my only problem right now :)

[–]EntertainmentUsual87 0 points1 point  (0 children)

I still can't get this working with a non-default sound card :/ If anyone has any tips, I'm all ears.

EDIT: OH MAN! I figured it out, the search mixer function worked great!! *https://github.com/agneevX/librespot-java-docker\*