-
Notifications
You must be signed in to change notification settings - Fork 2
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
Possible Issue with Remote Falcon Trigger and Playlist Idle Behavior #2
Comments
My guess is that is has something to do with the way the plugin handles playlist start/stop actions triggered by RemoteFalcon https://github.com/FalconChristmas/fpp-PixelRadio/blob/master/src/FPPPixelRadio.cpp#L282-L285 Checking to see what RemoteFalcon triggers |
from what I can tell: https://github.com/whitesoup12/remote-falcon-plugin/blob/e7dca92f4aff416bafdfa54f8c3b9b6ba10efa18/remote_falcon_listener.php#L299 "/Insert%20Playlist%20Immediate/" The recommendation is that the RemoteFalcon (RF) Playlist is a seperate playlist than the main show - perhaps when the main show playlist is interrupted, resume isn't handled correctly. |
Logs seem to support that:
Going to check the resume command to see if a case isn't handled correctly |
https://github.com/FalconChristmas/fpp/blob/d5c86f5e2adaecc4b8dac71b45685e02d222f9f8/src/playlist/Playlist.cpp#L662 seems like Playlist::Resume doesn't send an event to key off of. My guess is that:
Likely, we need FPP to send something like a 'resume' event for the playlist for PixelRadio to key off of, but in the meantime, wondering if we can key off the mediaCallback as well and check if the radio isn't on and do a 'hack' that way....... Thoughts? |
For now - I just setup the "Platlist Idle Behavior" to "Leave Alone", and then added a command to enable the radio in the lead in of the playlist, and a disable the radio in the "lead out" of the playlist. This handles correct behavior in the show. I think the real fix is to have a better hook to not send a 'disable' when switching playlists occurs due to the 'stop' of the second playlist. |
Cross posted a maybe related solution: FalconChristmas/fpp#1723 But if I can clarify any use cases - please let me know! |
I have Remote Falcon setup as well (https://github.com/whitesoup12/remote-falcon-plugin). When Remote Falcon is triggered to play a requested song, Pixel Radio disables the RF Carrier (I believe per the setting Playlist Idle Behavior). Additionally, when the Remote Falcon requested song is finished, and the 'normal' playlist resumes, it doesn't seem to turn the PixelRadio back on.
I'm willing to dive into the code for the plugin as needed, but would like some guidance on where to dig into unless it's a quick fix you know about.
Thanks!
The text was updated successfully, but these errors were encountered: