You've already forked RadioPlayer
mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-02-27 14:13:55 +01:00
add crossfade choosing option for each playlist
This commit is contained in:
@@ -256,7 +256,7 @@ def play_playlist(playlist_path):
|
|||||||
else:
|
else:
|
||||||
if (song_i + 1) < len(playlist): logger.info(f"Next up: {os.path.basename(playlist[song_i+1][0])}")
|
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
|
ttw = pr.duration
|
||||||
if to_fade_out: ttw -= cross_fade
|
if to_fade_out: ttw -= cross_fade
|
||||||
|
|||||||
Reference in New Issue
Block a user