bitfocus / companion-module-songbeamer-osc

Songbeamer OSC Module
MIT License
5 stars 0 forks source link

/presentation/page only updated on GUI click #30

Closed bensteUEM closed 1 year ago

bensteUEM commented 1 year ago

executing /presentation/nextslide Songbeamer changes to the next slide however it's not only not sending an update on the new pagenumber it's also reporting the old number when manually queried against /presentation/page

bensteUEM commented 1 year ago

Followup of #28

Lasibian commented 1 year ago

Fixed in SongBeamer 6.04.

bensteUEM commented 1 year ago

update recieved with 6.04a - however page 0 is reported after playlist changes - might be related to workaround though...

bensteUEM commented 1 year ago

@Lasibian there might be a bug remaining in the API implementation. sometimes when running

system: ** Log cleared **
debug: Sent OSC to 192.168.0.28:10023 with /presentation/nextpage and [{"type":"i","value":1}]
info: Songbeamer OSC reports wrong page numbers after update via OSC #30 ???
debug: Received OSC message from: {"address":"192.168.0.28","family":"IPv4","port":10023,"size":32}
debug: OSC Content is: {"address":"/presentation/nextpage","args":[{"type":"i","value":0}]}
debug: /presentation/nextpage or /presentation/nextpage 0
debug: Sent OSC to 192.168.0.28:10023 with /presentation/nextpage and [{"type":"i","value":1}]
info: Songbeamer OSC reports wrong page numbers after update via OSC #30 ???
debug: Received OSC message from: {"address":"192.168.0.28","family":"IPv4","port":10023,"size":28}
debug: OSC Content is: {"address":"/presentation/page","args":[{"type":"i","value":6}]}
debug: /presentation/page 6
debug: Received OSC message from: {"address":"192.168.0.28","family":"IPv4","port":10023,"size":56}
debug: OSC Content is: {"address":"/presentation/pagecaption","args":[{"type":"s","value":"I am a child of God "}]}
debug: /presentation/pagecaption I am a child of God 
debug: Received OSC message from: {"address":"192.168.0.28","family":"IPv4","port":10023,"size":32}
debug: OSC Content is: {"address":"/presentation/nextpage","args":[{"type":"i","value":1}]}
debug: /presentation/nextpage or /presentation/nextpage 1
debug: Received OSC message from: {"address":"192.168.0.28","family":"IPv4","port":10023,"size":32}
debug: OSC Content is: {"address":"/presentation/nextpage","args":[{"type":"i","value":0}]}
debug: /presentation/nextpage or /presentation/nextpage 0

upon first execution of nextpage there is a confirmation for "nextpage" but no "/presentation/page" feedback. I can't really safely reproduce it but it seems to occur most of the time when a new connection is established. Once one value was reported it safely continues to update.

bensteUEM commented 1 year ago

issue might be related to initial /xremote request beeing delayed