Run pre-commit on legacy code

This commit is contained in:
jo 2021-10-12 11:17:57 +02:00
parent fea11ac752
commit 83b7e4162e
323 changed files with 6126 additions and 6462 deletions

View file

@ -1,179 +1,166 @@
cc_music_dirs:
-
id: '1'
directory: '/tmp/libretime-test'
type: 'stor'
exists: 't'
watched: 't'
- id: "1"
directory: "/tmp/libretime-test"
type: "stor"
exists: "t"
watched: "t"
cc_files:
-
id: '1'
mime: 'audio/mp3'
ftype: 'audioclip'
directory: '1'
filepath: 'imported/1/oneminute.mp3'
mtime: '2017-08-06 04:27:36'
utime: '2017-08-06 04:26:47'
track_title: 'oneminute.mp3'
bit_rate: '320000'
sample_rate: '44100'
length: '00:01:00'
channels: '2'
genre: 'test'
label: 'nada'
owner_id: '1'
file_exists: 't'
hidden: 'f'
silan_check: 'f'
is_scheduled: 'f'
is_playlist: 'f'
filesize: '2586748'
- id: "1"
mime: "audio/mp3"
ftype: "audioclip"
directory: "1"
filepath: "imported/1/oneminute.mp3"
mtime: "2017-08-06 04:27:36"
utime: "2017-08-06 04:26:47"
track_title: "oneminute.mp3"
bit_rate: "320000"
sample_rate: "44100"
length: "00:01:00"
channels: "2"
genre: "test"
label: "nada"
owner_id: "1"
file_exists: "t"
hidden: "f"
silan_check: "f"
is_scheduled: "f"
is_playlist: "f"
filesize: "2586748"
-
id: '2'
mime: 'audio/mp3'
ftype: 'audioclip'
directory: '1'
filepath: 'imported/1/fiveminute.mp3'
mtime: '2017-08-06 04:28:36'
utime: '2017-08-06 04:27:47'
track_title: 'fiveminute.mp3'
bit_rate: '320000'
sample_rate: '44100'
length: '00:05:00'
channels: '2'
genre: 'test'
label: 'nada'
owner_id: '1'
file_exists: 't'
hidden: 'f'
silan_check: 'f'
is_scheduled: 'f'
is_playlist: 'f'
filesize: '5126748'
- id: "2"
mime: "audio/mp3"
ftype: "audioclip"
directory: "1"
filepath: "imported/1/fiveminute.mp3"
mtime: "2017-08-06 04:28:36"
utime: "2017-08-06 04:27:47"
track_title: "fiveminute.mp3"
bit_rate: "320000"
sample_rate: "44100"
length: "00:05:00"
channels: "2"
genre: "test"
label: "nada"
owner_id: "1"
file_exists: "t"
hidden: "f"
silan_check: "f"
is_scheduled: "f"
is_playlist: "f"
filesize: "5126748"
-
id: '3'
mime: 'audio/mp3'
ftype: 'audioclip'
directory: '1'
filepath: 'imported/1/track1.mp3'
mtime: '2017-08-06 04:28:36'
utime: '2017-08-06 04:27:47'
track_title: 'track1'
album_title: 'album1'
bit_rate: '320000'
sample_rate: '44100'
length: '00:01:30'
channels: '2'
genre: 'test'
label: 'nada'
owner_id: '1'
file_exists: 't'
hidden: 'f'
silan_check: 'f'
is_scheduled: 'f'
is_playlist: 'f'
filesize: '5126748'
- id: "3"
mime: "audio/mp3"
ftype: "audioclip"
directory: "1"
filepath: "imported/1/track1.mp3"
mtime: "2017-08-06 04:28:36"
utime: "2017-08-06 04:27:47"
track_title: "track1"
album_title: "album1"
bit_rate: "320000"
sample_rate: "44100"
length: "00:01:30"
channels: "2"
genre: "test"
label: "nada"
owner_id: "1"
file_exists: "t"
hidden: "f"
silan_check: "f"
is_scheduled: "f"
is_playlist: "f"
filesize: "5126748"
-
id: '4'
mime: 'audio/mp3'
ftype: 'audioclip'
directory: '1'
filepath: 'imported/1/track2.mp3'
mtime: '2017-08-06 04:28:36'
utime: '2017-08-06 04:27:47'
track_title: 'track2'
album_title: 'album1'
bit_rate: '320000'
sample_rate: '44100'
length: '00:01:30'
channels: '2'
genre: 'test'
label: 'nada'
owner_id: '1'
file_exists: 't'
hidden: 'f'
silan_check: 'f'
is_scheduled: 'f'
is_playlist: 'f'
filesize: '5126748'
- id: "4"
mime: "audio/mp3"
ftype: "audioclip"
directory: "1"
filepath: "imported/1/track2.mp3"
mtime: "2017-08-06 04:28:36"
utime: "2017-08-06 04:27:47"
track_title: "track2"
album_title: "album1"
bit_rate: "320000"
sample_rate: "44100"
length: "00:01:30"
channels: "2"
genre: "test"
label: "nada"
owner_id: "1"
file_exists: "t"
hidden: "f"
silan_check: "f"
is_scheduled: "f"
is_playlist: "f"
filesize: "5126748"
-
id: '5'
mime: 'audio/mp3'
ftype: 'audioclip'
directory: '1'
filepath: 'imported/1/track3.mp3'
mtime: '2017-08-06 04:28:36'
utime: '2017-08-06 04:27:47'
track_title: 'track3'
album_title: 'album1'
bit_rate: '320000'
sample_rate: '44100'
length: '00:01:30'
channels: '2'
genre: 'test'
label: 'nada'
owner_id: '1'
file_exists: 't'
hidden: 'f'
silan_check: 'f'
is_scheduled: 'f'
is_playlist: 'f'
filesize: '5126748'
- id: "5"
mime: "audio/mp3"
ftype: "audioclip"
directory: "1"
filepath: "imported/1/track3.mp3"
mtime: "2017-08-06 04:28:36"
utime: "2017-08-06 04:27:47"
track_title: "track3"
album_title: "album1"
bit_rate: "320000"
sample_rate: "44100"
length: "00:01:30"
channels: "2"
genre: "test"
label: "nada"
owner_id: "1"
file_exists: "t"
hidden: "f"
silan_check: "f"
is_scheduled: "f"
is_playlist: "f"
filesize: "5126748"
- id: "6"
mime: "audio/mp3"
ftype: "audioclip"
directory: "1"
filepath: "imported/1/track1-2.mp3"
mtime: "2017-08-06 05:28:36"
utime: "2017-08-16 04:27:47"
track_title: "track1"
album_title: "album2"
bit_rate: "320000"
sample_rate: "44100"
length: "00:01:30"
channels: "2"
genre: "test"
label: "nada"
owner_id: "1"
file_exists: "t"
hidden: "f"
silan_check: "f"
is_scheduled: "f"
is_playlist: "f"
filesize: "5126748"
-
id: '6'
mime: 'audio/mp3'
ftype: 'audioclip'
directory: '1'
filepath: 'imported/1/track1-2.mp3'
mtime: '2017-08-06 05:28:36'
utime: '2017-08-16 04:27:47'
track_title: 'track1'
album_title: 'album2'
bit_rate: '320000'
sample_rate: '44100'
length: '00:01:30'
channels: '2'
genre: 'test'
label: 'nada'
owner_id: '1'
file_exists: 't'
hidden: 'f'
silan_check: 'f'
is_scheduled: 'f'
is_playlist: 'f'
filesize: '5126748'
-
id: '7'
mime: 'audio/mp3'
ftype: 'audioclip'
directory: '1'
filepath: 'imported/1/track2-2.mp3'
mtime: '2017-08-06 04:28:36'
utime: '2017-08-06 04:27:47'
track_title: 'track2'
album_title: 'album2'
bit_rate: '320000'
sample_rate: '44100'
length: '00:01:30'
channels: '2'
genre: 'test'
label: 'nada'
owner_id: '1'
file_exists: 't'
hidden: 'f'
silan_check: 'f'
is_scheduled: 'f'
is_playlist: 'f'
filesize: '5126748'
- id: "7"
mime: "audio/mp3"
ftype: "audioclip"
directory: "1"
filepath: "imported/1/track2-2.mp3"
mtime: "2017-08-06 04:28:36"
utime: "2017-08-06 04:27:47"
track_title: "track2"
album_title: "album2"
bit_rate: "320000"
sample_rate: "44100"
length: "00:01:30"
channels: "2"
genre: "test"
label: "nada"
owner_id: "1"
file_exists: "t"
hidden: "f"
silan_check: "f"
is_scheduled: "f"
is_playlist: "f"
filesize: "5126748"

View file

@ -1,11 +1,9 @@
cc_pref:
-
id: '1'
subjid: null
keystr: shows_populated_until
valstr: '2014-02-01 00:00:00'
-
id: '2'
subjid: null
keystr: timezone
valstr: UTC
- id: "1"
subjid: null
keystr: shows_populated_until
valstr: "2014-02-01 00:00:00"
- id: "2"
subjid: null
keystr: timezone
valstr: UTC

View file

@ -1,270 +1,234 @@
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: false
is_linkable: true
image_path: ''
has_autoplaylist: false
autoplaylist_id: null
autoplaylist_repeat: false
- 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: false
is_linkable: true
image_path: ""
has_autoplaylist: false
autoplaylist_id: null
autoplaylist_repeat: false
cc_show_days:
-
id: '1'
first_show: '2014-01-05'
last_show: null
start_time: '00:00:00'
timezone: UTC
duration: '01:00'
day: '0'
repeat_type: '0'
next_pop_date: '2014-02-02'
show_id: '1'
record: '0'
-
id: '2'
first_show: '2014-01-06'
last_show: null
start_time: '00:00:00'
timezone: UTC
duration: '01:00'
day: '1'
repeat_type: '0'
next_pop_date: '2014-02-03'
show_id: '1'
record: '0'
-
id: '3'
first_show: '2014-01-07'
last_show: null
start_time: '00:00:00'
timezone: UTC
duration: '01:00'
day: '2'
repeat_type: '0'
next_pop_date: '2014-02-04'
show_id: '1'
record: '0'
-
id: '4'
first_show: '2014-01-08'
last_show: null
start_time: '00:00:00'
timezone: UTC
duration: '01:00'
day: '3'
repeat_type: '0'
next_pop_date: '2014-02-05'
show_id: '1'
record: '0'
-
id: '5'
first_show: '2014-01-09'
last_show: null
start_time: '00:00:00'
timezone: UTC
duration: '01:00'
day: '4'
repeat_type: '0'
next_pop_date: '2014-02-06'
show_id: '1'
record: '0'
-
id: '6'
first_show: '2014-01-10'
last_show: null
start_time: '00:00:00'
timezone: UTC
duration: '01:00'
day: '5'
repeat_type: '0'
next_pop_date: '2014-02-07'
show_id: '1'
record: '0'
-
id: '7'
first_show: '2014-01-11'
last_show: null
start_time: '00:00:00'
timezone: UTC
duration: '01:00'
day: '6'
repeat_type: '0'
next_pop_date: '2014-02-01'
show_id: '1'
record: '0'
- id: "1"
first_show: "2014-01-05"
last_show: null
start_time: "00:00:00"
timezone: UTC
duration: "01:00"
day: "0"
repeat_type: "0"
next_pop_date: "2014-02-02"
show_id: "1"
record: "0"
- id: "2"
first_show: "2014-01-06"
last_show: null
start_time: "00:00:00"
timezone: UTC
duration: "01:00"
day: "1"
repeat_type: "0"
next_pop_date: "2014-02-03"
show_id: "1"
record: "0"
- id: "3"
first_show: "2014-01-07"
last_show: null
start_time: "00:00:00"
timezone: UTC
duration: "01:00"
day: "2"
repeat_type: "0"
next_pop_date: "2014-02-04"
show_id: "1"
record: "0"
- id: "4"
first_show: "2014-01-08"
last_show: null
start_time: "00:00:00"
timezone: UTC
duration: "01:00"
day: "3"
repeat_type: "0"
next_pop_date: "2014-02-05"
show_id: "1"
record: "0"
- id: "5"
first_show: "2014-01-09"
last_show: null
start_time: "00:00:00"
timezone: UTC
duration: "01:00"
day: "4"
repeat_type: "0"
next_pop_date: "2014-02-06"
show_id: "1"
record: "0"
- id: "6"
first_show: "2014-01-10"
last_show: null
start_time: "00:00:00"
timezone: UTC
duration: "01:00"
day: "5"
repeat_type: "0"
next_pop_date: "2014-02-07"
show_id: "1"
record: "0"
- id: "7"
first_show: "2014-01-11"
last_show: null
start_time: "00:00:00"
timezone: UTC
duration: "01:00"
day: "6"
repeat_type: "0"
next_pop_date: "2014-02-01"
show_id: "1"
record: "0"
cc_show_instances:
-
id: '1'
starts: '2014-01-05 00:00:00'
ends: '2014-01-05 01:00:00'
show_id: '1'
modified_instance: false
-
id: '2'
starts: '2014-01-12 00:00:00'
ends: '2014-01-12 01:00:00'
show_id: '1'
modified_instance: false
-
id: '3'
starts: '2014-01-19 00:00:00'
ends: '2014-01-19 01:00:00'
show_id: '1'
modified_instance: false
-
id: '4'
starts: '2014-01-26 00:00:00'
ends: '2014-01-26 01:00:00'
show_id: '1'
modified_instance: false
-
id: '5'
starts: '2014-01-06 00:00:00'
ends: '2014-01-06 01:00:00'
show_id: '1'
modified_instance: false
-
id: '6'
starts: '2014-01-13 00:00:00'
ends: '2014-01-13 01:00:00'
show_id: '1'
modified_instance: false
-
id: '7'
starts: '2014-01-20 00:00:00'
ends: '2014-01-20 01:00:00'
show_id: '1'
modified_instance: false
-
id: '8'
starts: '2014-01-27 00:00:00'
ends: '2014-01-27 01:00:00'
show_id: '1'
modified_instance: false
-
id: '9'
starts: '2014-01-07 00:00:00'
ends: '2014-01-07 01:00:00'
show_id: '1'
modified_instance: false
-
id: '10'
starts: '2014-01-14 00:00:00'
ends: '2014-01-14 01:00:00'
show_id: '1'
modified_instance: false
-
id: '11'
starts: '2014-01-21 00:00:00'
ends: '2014-01-21 01:00:00'
show_id: '1'
modified_instance: false
-
id: '12'
starts: '2014-01-28 00:00:00'
ends: '2014-01-28 01:00:00'
show_id: '1'
modified_instance: false
-
id: '13'
starts: '2014-01-08 00:00:00'
ends: '2014-01-08 01:00:00'
show_id: '1'
modified_instance: false
-
id: '14'
starts: '2014-01-15 00:00:00'
ends: '2014-01-15 01:00:00'
show_id: '1'
modified_instance: false
-
id: '15'
starts: '2014-01-22 00:00:00'
ends: '2014-01-22 01:00:00'
show_id: '1'
modified_instance: false
-
id: '16'
starts: '2014-01-29 00:00:00'
ends: '2014-01-29 01:00:00'
show_id: '1'
modified_instance: false
-
id: '17'
starts: '2014-01-09 00:00:00'
ends: '2014-01-09 01:00:00'
show_id: '1'
modified_instance: false
-
id: '18'
starts: '2014-01-16 00:00:00'
ends: '2014-01-16 01:00:00'
show_id: '1'
modified_instance: false
-
id: '19'
starts: '2014-01-23 00:00:00'
ends: '2014-01-23 01:00:00'
show_id: '1'
modified_instance: false
-
id: '20'
starts: '2014-01-30 00:00:00'
ends: '2014-01-30 01:00:00'
show_id: '1'
modified_instance: false
-
id: '21'
starts: '2014-01-10 00:00:00'
ends: '2014-01-10 01:00:00'
show_id: '1'
modified_instance: false
-
id: '22'
starts: '2014-01-17 00:00:00'
ends: '2014-01-17 01:00:00'
show_id: '1'
modified_instance: false
-
id: '23'
starts: '2014-01-24 00:00:00'
ends: '2014-01-24 01:00:00'
show_id: '1'
modified_instance: false
-
id: '24'
starts: '2014-01-31 00:00:00'
ends: '2014-01-31 01:00:00'
show_id: '1'
modified_instance: false
-
id: '25'
starts: '2014-01-11 00:00:00'
ends: '2014-01-11 01:00:00'
show_id: '1'
modified_instance: false
-
id: '26'
starts: '2014-01-18 00:00:00'
ends: '2014-01-18 01:00:00'
show_id: '1'
modified_instance: false
-
id: '27'
starts: '2014-01-25 00:00:00'
ends: '2014-01-25 01:00:00'
show_id: '1'
modified_instance: false
- id: "1"
starts: "2014-01-05 00:00:00"
ends: "2014-01-05 01:00:00"
show_id: "1"
modified_instance: false
- id: "2"
starts: "2014-01-12 00:00:00"
ends: "2014-01-12 01:00:00"
show_id: "1"
modified_instance: false
- id: "3"
starts: "2014-01-19 00:00:00"
ends: "2014-01-19 01:00:00"
show_id: "1"
modified_instance: false
- id: "4"
starts: "2014-01-26 00:00:00"
ends: "2014-01-26 01:00:00"
show_id: "1"
modified_instance: false
- id: "5"
starts: "2014-01-06 00:00:00"
ends: "2014-01-06 01:00:00"
show_id: "1"
modified_instance: false
- id: "6"
starts: "2014-01-13 00:00:00"
ends: "2014-01-13 01:00:00"
show_id: "1"
modified_instance: false
- id: "7"
starts: "2014-01-20 00:00:00"
ends: "2014-01-20 01:00:00"
show_id: "1"
modified_instance: false
- id: "8"
starts: "2014-01-27 00:00:00"
ends: "2014-01-27 01:00:00"
show_id: "1"
modified_instance: false
- id: "9"
starts: "2014-01-07 00:00:00"
ends: "2014-01-07 01:00:00"
show_id: "1"
modified_instance: false
- id: "10"
starts: "2014-01-14 00:00:00"
ends: "2014-01-14 01:00:00"
show_id: "1"
modified_instance: false
- id: "11"
starts: "2014-01-21 00:00:00"
ends: "2014-01-21 01:00:00"
show_id: "1"
modified_instance: false
- id: "12"
starts: "2014-01-28 00:00:00"
ends: "2014-01-28 01:00:00"
show_id: "1"
modified_instance: false
- id: "13"
starts: "2014-01-08 00:00:00"
ends: "2014-01-08 01:00:00"
show_id: "1"
modified_instance: false
- id: "14"
starts: "2014-01-15 00:00:00"
ends: "2014-01-15 01:00:00"
show_id: "1"
modified_instance: false
- id: "15"
starts: "2014-01-22 00:00:00"
ends: "2014-01-22 01:00:00"
show_id: "1"
modified_instance: false
- id: "16"
starts: "2014-01-29 00:00:00"
ends: "2014-01-29 01:00:00"
show_id: "1"
modified_instance: false
- id: "17"
starts: "2014-01-09 00:00:00"
ends: "2014-01-09 01:00:00"
show_id: "1"
modified_instance: false
- id: "18"
starts: "2014-01-16 00:00:00"
ends: "2014-01-16 01:00:00"
show_id: "1"
modified_instance: false
- id: "19"
starts: "2014-01-23 00:00:00"
ends: "2014-01-23 01:00:00"
show_id: "1"
modified_instance: false
- id: "20"
starts: "2014-01-30 00:00:00"
ends: "2014-01-30 01:00:00"
show_id: "1"
modified_instance: false
- id: "21"
starts: "2014-01-10 00:00:00"
ends: "2014-01-10 01:00:00"
show_id: "1"
modified_instance: false
- id: "22"
starts: "2014-01-17 00:00:00"
ends: "2014-01-17 01:00:00"
show_id: "1"
modified_instance: false
- id: "23"
starts: "2014-01-24 00:00:00"
ends: "2014-01-24 01:00:00"
show_id: "1"
modified_instance: false
- id: "24"
starts: "2014-01-31 00:00:00"
ends: "2014-01-31 01:00:00"
show_id: "1"
modified_instance: false
- id: "25"
starts: "2014-01-11 00:00:00"
ends: "2014-01-11 01:00:00"
show_id: "1"
modified_instance: false
- id: "26"
starts: "2014-01-18 00:00:00"
ends: "2014-01-18 01:00:00"
show_id: "1"
modified_instance: false
- id: "27"
starts: "2014-01-25 00:00:00"
ends: "2014-01-25 01:00:00"
show_id: "1"
modified_instance: false
cc_show_rebroadcast:
cc_show_hosts: