CC-5111: Please make upgrade detect the tracks already scheduled and added in playlist
This commit is contained in:
parent
b4dc17f7e8
commit
fae0b2f873
|
@ -3,3 +3,11 @@ INSERT INTO cc_pref (keystr, valstr) VALUES ('system_version', '2.4.0');
|
|||
|
||||
DELETE FROM cc_pref WHERE keystr = 'stream_type';
|
||||
INSERT INTO cc_pref (keystr, valstr) VALUES ('stream_type', 'ogg, mp3, opus, aac');
|
||||
|
||||
UPDATE cc_files
|
||||
SET is_scheduled = true
|
||||
WHERE id IN (SELECT DISTINCT(file_id) FROM cc_schedule WHERE playout_status != -1);
|
||||
|
||||
UPDATE cc_files
|
||||
SET is_playlist = true
|
||||
WHERE id IN (SELECT DISTINCT(file_id) FROM cc_playlistcontents);
|
||||
|
|
Loading…
Reference in New Issue