Thomas Göttgens 299be3c142
feat: use custom intro/outro playlists per show (#2941)
### Description

Having a global intro and outro playlist in settings is not very
flexible for special programming. This adds an override intro/outro
playlist per show. If it is not set, the global one is used. also it's
ignored if there's no autloading at all.

**I have updated the documentation to reflect these changes**:

Yes

### Testing Notes

**What I did:**
Schedule 2 shows, one without defining custom lists, one with defining
custom lists. one hour before the show starts it should be populated
correctly. If you define a global list it shojuld be replaced with the
per-show list.

---------

Co-authored-by: Thomas Göttgens <tgoettgens@mail.com>
2024-10-14 21:07:41 +01:00

84 lines
1.8 KiB
YAML

cc_show:
- id: "1"
name: "test show"
url: null
genre: null
description: null
color: ffffff
background_color: "364492"
live_stream_using_airtime_auth: false
live_stream_using_custom_auth: false
live_stream_user: null
live_stream_pass: null
linked: true
is_linkable: true
image_path: ""
has_autoplaylist: false
autoplaylist_id: null
autoplaylist_repeat: false
intro_playlist_id: null
outro_playlist_id: null
cc_show_days:
- id: "1"
first_show: "2044-01-01"
last_show: null
start_time: "00:00:00"
timezone: UTC
duration: "01:00"
day: "5"
repeat_type: "0"
next_pop_date: "2044-02-12"
show_id: "1"
record: "0"
cc_show_instances:
- id: "1"
starts: "2044-01-01 00:00:00"
ends: "2044-01-01 01:00:00"
show_id: "1"
record: "0"
rebroadcast: "0"
instance_id: null
modified_instance: false
- id: "2"
starts: "2044-01-08 00:00:00"
ends: "2044-01-08 01:00:00"
show_id: "1"
record: "0"
rebroadcast: "0"
instance_id: null
modified_instance: false
- id: "3"
starts: "2044-01-15 00:00:00"
ends: "2044-01-15 01:00:00"
show_id: "1"
record: "0"
rebroadcast: "0"
instance_id: null
modified_instance: false
- id: "4"
starts: "2044-01-22 00:00:00"
ends: "2044-01-22 01:00:00"
show_id: "1"
record: "0"
rebroadcast: "0"
instance_id: null
modified_instance: false
- id: "5"
starts: "2044-01-29 00:00:00"
ends: "2044-01-29 01:00:00"
show_id: "1"
record: "0"
rebroadcast: "0"
instance_id: null
modified_instance: false
- id: "6"
starts: "2044-02-05 00:00:00"
ends: "2044-02-05 01:00:00"
show_id: "1"
record: "0"
rebroadcast: "0"
instance_id: null
modified_instance: false
cc_show_rebroadcast:
cc_show_hosts: