KenT2 / pipresents-gapless

A retired version of Pi Presents. Please use Pi Presents KMS which works on legacy RPi OS Bullseye or Pi Presents GTK which works on RPi OS Bookworm and RPi Model 5
https://pipresents.wordpress.com
Other
210 stars 43 forks source link

Sending OSC commands to a local listener #147

Closed LevitatingBusinessMan closed 2 years ago

LevitatingBusinessMan commented 2 years ago

Currently it doesn't really seem possible for PiPresents to send OSC commands to itself.

I have a Raspberry Pi that is running pipresents, and also listens to OSC commands (on a seperate port than PiPresents) to control a Music Player Daemon server.

I want PiPresents to be able to control this Music Player Daemon by sending OSC commands to localhost. But this doesn't seem possible because PiPresents listens to the same port it sends OSC commands to (to listen for a reply).

KenT2 commented 2 years ago

Its been a long time since I implemented OSC but I wonder if PP and the MPD could use the same port. The /pipresents field of the message being used to filter out the MPD messages.

Otherwise could you use 2 PI's or use PP to play the sounds.

LevitatingBusinessMan commented 2 years ago

@KenT2 Thanks for your response Ken, I have decided to split the project into two Pi's. Much love to you and your project!

Cheers