playlist = mksafe(playlist("/<path to music folder>"))
day = mksafe(playlist(reload = 3600, mode="random", "/home/***/music/deep")) night = mksafe(playlist(reload = 3600, mode="random", "/home/***/music/chill")) jingles = mksafe(playlist(reload = 3600, "/home/***/music/jingles")) playlist = switch([({9h-24h}, day), ({0h-9h}, night)]) music = playlist radio = crossfade(fade_out = 6.0, fade_in = 6.0, start_next = 8.0, music) radio = smooth_add(normal=radio, special=switch([({ 00m0s or 30m0s }, jingles)]))