Skip to content
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

auto disconnect of dj/live shows not working #2796

Open
unosonic opened this issue Dec 11, 2023 · 1 comment
Open

auto disconnect of dj/live shows not working #2796

unosonic opened this issue Dec 11, 2023 · 1 comment

Comments

@unosonic
Copy link

Describe the bug

dj/live shows don't terminate after scheduled end time

To reproduce

  1. create a dj/live show in calendar
  2. schedule it at a certain time and with a certain duration
  3. wait and listen...
  4. show doesn't end at the expected end date. dj has to end live streaming in order to terminate the show. If dj continues, his/her sho continues.

Expected behavior

a live show should stop at the scheduled end date of this show

Relevant log output or error messages

2023/12/11 16:25:07 [show_input:3] user 'djane' connected
2023-12-11 16:25:07,731 | INFO     | libretime_playout.notify.main:live_auth:120
 - Checking 'show' live stream user authentication 'djane'
2023/12/11 16:25:07 [show_input:3] user 'djane' authenticated
...
2023/12/11 16:30:00 [server:3] New client: 127.0.0.1.
2023/12/11 16:30:00 [server:3] Client 127.0.0.1 disconnected.
2023/12/11 16:30:00 [server:3] New client: 127.0.0.1.
2023/12/11 16:30:00 [decoder:3] Method "FFMPEG" accepted "/var/lib/libretime/playout/scheduler/4.mp3".
2023/12/11 16:30:00 [server:3] Client 127.0.0.1 disconnected.
2023/12/11 16:30:00 [s3:3] Prepared "/var/lib/libretime/playout/scheduler/4.mp3" (RID 2).
2023/12/11 16:30:00 [lang:3] timeout --signal=KILL 45 libretime-playout-notify media '10' &
2023/12/11 16:30:00 [switch_9442:3] Switch to insert_metadata_9427.
2023/12/11 16:30:00 [lang:3] Using message format 1
2023/12/11 16:30:00 [lang:3] Using message format 1
2023/12/11 16:30:00 [lang:3] Using message format 1
2023/12/11 16:30:00 [server:3] New client: 127.0.0.1.
2023/12/11 16:30:00 [lang:3] web_stream.get_id
2023/12/11 16:30:00 [server:3] Client 127.0.0.1 disconnected.
2023-12-11 16:30:00,345 | INFO     | libretime_playout.notify.main:media:72 - Sending currently playing media id '10'
### source feeding from djane stopped manually
2023/12/11 16:30:27 [harbor:input_show:2] Feeding stopped: Mad.End_of_stream.
2023/12/11 16:30:27 [lang:3] timeout --signal=KILL 45 libretime-playout-notify live 'live_dj' 'false' &
2023-12-11 16:30:28,154 | INFO     | libretime_playout.notify.main:live:100 - Sending currently playing live source 'live_dj' status 'false'
2023/12/11 16:30:28 [server:3] New client: 127.0.0.1.
2023/12/11 16:30:28 [lang:3] sources.stop_input_show

LibreTime version

3.2.0

Installation method and OS / Environment

Operating system: Ubuntu 20.04 LTS
Method: installer script

Installation details

No response

Client Environment

Operating system: Linux Mint
Browser: Firefox

Screenshots

No response

@caveman99
Copy link
Contributor

I tried tracing this through the instances... looks like a communication problem between playout and liquidsoap. the kick is scheduled but never executed.

Same happens for webstreams. if i have a webstream with 3 hours default length and schedule it in an one hour show it keeps playing for 3 hours.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants