Giter Site home page Giter Site logo

Comments (6)

mincequi avatar mincequi commented on May 28, 2024 1

@eriqjaffe

Ok, i started working on this. It will take some more days.

from cornrow.

mincequi avatar mincequi commented on May 28, 2024

Is Snapcast a bluetooth receiver on its own? Never heard of it...

Well, one could implement such an integration. Shouldn't be too hard.

from cornrow.

eriqjaffe avatar eriqjaffe commented on May 28, 2024

Snapcast is a multi-room audio solution that can run on a Raspberry Pi. I suppose I should have added a link:

https://github.com/badaix/snapcast

from cornrow.

mincequi avatar mincequi commented on May 28, 2024

@eriqjaffe
Done. Please checkout the 0.8.0 release and edit the /etc/cornrowd.conf file accordingly.

Cornrowd will act as TCP client. So, you have to configure snapcast as TCP server.
Adding this line to your snapcast server should do the trick. Please notice the sample rate of 44100 (most Bluetooth sources will use 44.1k instead of 48k).
source=tcp://127.0.0.1:4953?name=cornrow&sampleformat=44100:16:2

Looking forward to your feedback.

from cornrow.

eriqjaffe avatar eriqjaffe commented on May 28, 2024

That works perfectly, thank you!

As a side note, I've run into errors where the snapcast service fails to start with a TCP entry referencing 127.0.0.1 in the .conf file. I have found that using 0.0.0.0 instead of 127.0.0.1 works around that issue, so simply modifying both the snapserver.conf and the cornrowd.conf files appropriately does the job.

Thanks again, this is fantastic!

from cornrow.

mincequi avatar mincequi commented on May 28, 2024

Good to hear, you're welcome. Btw. there is a donation option for cornrow 😉

Hmm, that's strange. For me "127.0.0.1" works on both sides. Maybe the ports had been used already by other streams?

from cornrow.

Related Issues (20)

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.