0
1
mirror of https://github.com/radio95-rnt/RadioPlayer.git synced 2026-02-26 21:53:54 +01:00

add crossfade choosing option for each playlist

This commit is contained in:
Kuba
2025-10-16 19:32:48 +02:00
parent fca5419ac4
commit fe934bf3d1

View File

@@ -256,7 +256,7 @@ def play_playlist(playlist_path):
else:
if (song_i + 1) < len(playlist): logger.info(f"Next up: {os.path.basename(playlist[song_i+1][0])}")
pr = procman.play(track_path, to_fade_in, to_fade_out)
pr = procman.play(track_path, to_fade_in, to_fade_out, cross_fade)
ttw = pr.duration
if to_fade_out: ttw -= cross_fade