Skip to content

Commit

Permalink
feat: use custom intro/outro playlists per show (#2941)
Browse files Browse the repository at this point in the history
### 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 <[email protected]>
libretime/libretime@299be3c
  • Loading branch information
libretime-bot committed Oct 14, 2024
1 parent 866fa01 commit e298667
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6409,6 +6409,12 @@ components:
type: boolean
auto_playlist_repeat:
type: boolean
intro_playlist:
type: integer
nullable: true
outro_playlist:
type: integer
nullable: true
PatchedShowDays:
type: object
properties:
Expand Down Expand Up @@ -7241,6 +7247,12 @@ components:
type: boolean
auto_playlist_repeat:
type: boolean
intro_playlist:
type: integer
nullable: true
outro_playlist:
type: integer
nullable: true
required:
- auto_playlist_enabled
- auto_playlist_repeat
Expand Down

0 comments on commit e298667

Please sign in to comment.