[EPIC] Track Service to mark music tracks
Review if the Engine API model is well designed for this requirement
Currently playlog entries are either holding
- Single music tracks
- Complete shows, optionally also holding tracks
In order to properly implement the Track Service feature, we need some way to identify "music only" playlogs.
Proposal
Single music tracks, which are scheduled as individual media source, as part of a music pool or are playing as part of the fallback music feature, can be identified by having any of the artist, album or title fields set. Since metadata is not always complete, we want to introduce some additionally flag field is_music_track.
Shows may provide music track information in any supplied JSON metadata.
Sub Tasks
-
Add is_music_trackproperty in the payload of Engine APIPOSTendpoints. -
Extend Engine API /trackserviceand/trackservice/currentendpoints, to also renderis_music_track: true -
Engine Core: Always pass is_music_track=truein the payload of fallback music/music pools -
Engine: Always pass is_music_track=trueif they are single music tracks. For the start we can use a quick hack, by checking for artist/album/title data in the metadata fields. The exact logic is tbd. Later on we want to have truth about the is music state from actual data provided by AURA Web. When it is an actual show, passis_music_track=false. -
Add relevant test cases
Edited by David Trattnig