cheese_greater@lemmy.world to Ask Lemmy@lemmy.world · edit-214 hours agoWhat app/program do you wish existed and what does it do that you've not found elsewhere?message-squaremessage-square69fedilinkarrow-up156arrow-down11file-text
arrow-up155arrow-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-214 hours agomessage-square69fedilinkfile-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-up4arrow-down2·14 hours agoThat is like a 10 5 line bash script? Well a little more but not much.
minus-squaresolrize@lemmy.mllinkfedilinkarrow-up3·13 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·9 hours agoMinus that second pipe to shuf, it seems exactly what the person wanted.
minus-squaresolrize@lemmy.mllinkfedilinkarrow-up2·9 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·9 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.
That is like a
105 line bash script? Well a little more but not much.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.