cheese_greater@lemmy.world to Ask Lemmy@lemmy.world · edit-212 hours agoWhat app/program do you wish existed and what does it do that you've not found elsewhere?message-squaremessage-square67fedilinkarrow-up152arrow-down11file-text
arrow-up151arrow-down1message-squareWhat app/program do you wish existed and what does it do that you've not found elsewhere?cheese_greater@lemmy.world to Ask Lemmy@lemmy.world · edit-212 hours agomessage-square67fedilinkfile-text
I wish there was a good looping software that good take any song and cut the perfect infinite loop of it automatically.
minus-squaresolrize@lemmy.mllinkfedilinkarrow-up3·11 hours agoOk 6 lines (untested): while true; do album=$(ls albums | shuf -n 1) for song in $(ls albums/$album/*.mp3 | shuf); do mplayer $song done done
minus-squaresin_free_for_00_days@sopuli.xyzlinkfedilinkEnglisharrow-up1·7 hours agoMinus that second pipe to shuf, it seems exactly what the person wanted.
minus-squaresolrize@lemmy.mllinkfedilinkarrow-up2·7 hours agoThe first pipe to shuf chooses a random album and the second randomizes the order of the songs on that album. I thought that is what OP had asked for.
minus-squaresin_free_for_00_days@sopuli.xyzlinkfedilinkEnglisharrow-up2·7 hours agoI read it as play a random album straight through, first song to last song, but re-reading what they wrote, you may be right.
Ok 6 lines (untested):
Minus that second pipe to shuf, it seems exactly what the person wanted.
The first pipe to shuf chooses a random album and the second randomizes the order of the songs on that album. I thought that is what OP had asked for.
I read it as play a random album straight through, first song to last song, but re-reading what they wrote, you may be right.