1
0

Replaced depricated method map_metadata() with metadata.map.

This commit is contained in:
Alexander Andreev 2022-08-31 00:46:39 +04:00
parent 98b0a8085a
commit 3e39839df3
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F

View File

@ -27,11 +27,11 @@ settings.log.file.path.set(log_file_path)
settings.log.stdout.set(false)
fallback_song = mksafe(single(fullpath("fallback.mp3")))
fallback_song = map_metadata(fallback_alter_title, fallback_song)
fallback_song = metadata.map(fallback_alter_title, fallback_song)
live_mixin = input.harbor("adr-live-mixin", port = harbor_port, password = harbor_password)
live_show = input.harbor("adr-live-show", port = harbor_port, password = harbor_password)
live_show = map_metadata(fun (_) -> [("artist", radio_name), ("title", "Live Show")], live_show)
live_show = metadata.map(fun (_) -> [("artist", radio_name), ("title", "Live Show")], live_show)
playlist_random = playlist(fullpath("playlists/all-rand"),
prefix = fullpath("music/"),