1
0
Fork 0

Default new_track to false.

liquidsoap-2.2
Icedream 2022-04-02 04:28:29 +02:00
parent ba3f802e1d
commit 61a703941d
Signed by: icedream
GPG Key ID: 468BBEEBB9EC6AEA
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ def setup_harbor_metadata_api(~metadata_api_port=21338, s) =
# TODO - we remove cover art for now as it disturbs REKT, this needs fixing # TODO - we remove cover art for now as it disturbs REKT, this needs fixing
# m = metadata.cover.remove(m) # m = metadata.cover.remove(m)
new_track = if list.assoc.mem("new_track", m) then bool_of_string(string_of(list.assoc("new_track"))) else true end new_track = if list.assoc.mem("new_track", m) then bool_of_string(string_of(list.assoc("new_track"))) else false end
# merge old metadata except for the ones we expect to change # merge old metadata except for the ones we expect to change
oldm = s.last_metadata() ?? [] oldm = s.last_metadata() ?? []