Commit Graph

6 Commits

Author SHA1 Message Date
jo 81f38fc9c6 fix(api_client): comply to legacy schedule events
- remove 5 seconds to stream_buffer_start start event key,
- use explicit variables names,
- split schedule events into multiple functions
- stream_output_start ends at the end of the scheduled period (fix #1556).
2022-03-06 15:17:44 +02:00
jo d42615eb6a feat(api_client): load config using shared helpers 2022-02-25 11:42:28 +02:00
jo 803152cb85 fix(api_client): properly enclose events in media dict 2022-02-02 17:13:52 +02:00
jo 51499f251f fix(api_client): use same date format as schedule key
The webstream end event are ignored by playout if they do not follow the right datetime format.
2022-02-02 15:15:24 +02:00
jo 32cb67806a chore: add pyupgrade pre-commit hook
- add --py3-plus flag to pyupgrade hook
- add --py36-plus flag to pyupgrade hook
2022-01-27 10:37:48 +02:00
jo be09f74af6 chore: rename api_clients dir to libretime_api_client 2022-01-04 09:18:58 +02:00