JBOPS icon indicating copy to clipboard operation
JBOPS copied to clipboard

Scripts do not work for Chromecast

Open bromanguydude opened this issue 1 year ago • 3 comments

Describe the bug

It looks like Chromecast is able to just bypass having the script run as the playing of the video originates from another device and then casts to the TV.

Provide logs

No logs needed as the script works as it should on the local device, but then does not recognize the remote stream.

Link to script with bug/issue

To Reproduce

Cast a video from PC or phone to a TV or cast ready device and the script will only run on the player that started the stream.

Expected behavior

My thought to solve this is may be using the time watched action, and write a script that will check on streams that are already running once they hit say 30 seconds or 60 seconds and run it then, instead of when the video playback starts in order to catch chromecasts.

bromanguydude avatar Aug 17 '23 17:08 bromanguydude

Which script?

blacktwin avatar Aug 21 '23 12:08 blacktwin

--jbop time --username {username} --sessionId {session_id} --duration {duration} --days 7 --limit hours=7 --killMessage

Looks like since it creates a session ID on the local device, then casts the content with a separate stream ID, the second one does not run the script and is able to bypass any limiterr scripts,

bromanguydude avatar Sep 04 '23 06:09 bromanguydude

Can you share your logs?

blacktwin avatar Jan 06 '24 16:01 blacktwin