Closed RunningUtes closed 2 years ago
Hi.
If the client can write to a file, you could try named pipe?
mkfifo /tmp/filename
Then set the client to write to:
/tmp/filename
And PiFmAdv to read from the above.
R.
On Sat, 9 Oct 2021, 18:47 RunningUtes, @.***> wrote:
I have a RPi zero w and have installed PiFMAdv working now with Sox (also works with mp3 now).
I would like to have PiFMAdv use the stdout provided by raspotify via librespot.
Raspotify allow Spotify to use the Rpi as a client so that it can be selected as a "Listening on device" target.
I can't seem to get ./pi_fm_adv -- audio - to use the stdout though. Unlike piping directly, raspotify is run as a service. Is there a way to access the stdout and transmit it through PiFMAdv?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/miegl/PiFmAdv/issues/86, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABFIVYSQ5TZKKYX6KSLILBDUGB54DANCNFSM5FVQPC5Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
I have a RPi zero w and have installed PiFMAdv working now with Sox (also works with mp3 now).
I would like to have PiFMAdv use the stdout provided by raspotify via librespot.
Raspotify allow Spotify to use the Rpi as a client so that it can be selected as a "Listening on device" target.
I can't seem to get ./pi_fm_adv -- audio - to use the stdout though. Unlike piping directly, raspotify is run as a service. Is there a way to access the stdout and transmit it through PiFMAdv?