Gaps between tracks
-
Detachment of offtopic comments from the Feature Request thread about an option to insert silent intervals between tracks: alternatives using shell scripts ( https://forum.strawberrymusicplayer.org/topic/3417/optional-gap-between-each-song-playback ).
A little update on the variant that would not need to modify the playlist: right now it has been running for several hours without a glitch but it is dangerous. When the problem arose, not only Strawberry got frozen but sometimes mpv (pipewire), kid3 (gstreamer) and even the whole audio system stopped producing sound.
Everything can be restored, though I have yet to find a precise procedure to do it (no single recipe works every time) and understand the problem better to reproduce it at will. I'll tell you about that, either because the script seems safe to test or as a case of a problematic situation for the devels to be aware of.
After that I'll give a try to the rebuild & replace way (gap fellows: don't hold your breath) if nobody has come up with their own suggestion.
-
-
A first version of a different script from the one mentioned above. No more freezes, but this could be related also to the new official version of Strawberry. I'd recommend you to update it beforehand. Read the comments about that and the script limitations at its beginning.
You're very welcome to bash it and share any fixes or ideas.
-
Public exposure was deactivated, sorry. Fixed now.
-
/usr/bin/env: ‘bash\r’: No such file or directory /usr/bin/env: use -[v]S to pass options in shebang line
Not nice on pastebin's part to add \r characters to the end of lines of the downloaded file, and I don't see any setting to prevent it.
Use
dos2unix myscript
or copy&paste https://pastebin.com/raw/Y2GxuzaY to an empty file. Make it executablechmod a+x myscript
and run./myscript -h
-
Fortunately, it seems nobody broke their systems with the script. If there's no need of improvements, I'll put it on hold as a proof of concept, along with the attempts to the interspersed-track variants. Comments on this are welcome anytime.
For newer testers:
cd ~/tmp wget -O testscript https://pastebin.com/raw/Y2GxuzaY dos2unix testscript chmod a+x testscript less testscript # ---> mind the configurable countdown_step echo ; echo ./testscript -h