QuantumSpecter@lemmy.world to Technology@lemmy.worldEnglish · 1 年前Spotify fans threaten to return to piracy as music streamer introduces new face-scanning age checks in the UKwww.techradar.comexternal-linkmessage-square423linkfedilinkarrow-up11.6Karrow-down17cross-posted to: privacy@programming.devprivacy@lemmy.dbzer0.com
arrow-up11.59Karrow-down1external-linkSpotify fans threaten to return to piracy as music streamer introduces new face-scanning age checks in the UKwww.techradar.comQuantumSpecter@lemmy.world to Technology@lemmy.worldEnglish · 1 年前message-square423linkfedilinkcross-posted to: privacy@programming.devprivacy@lemmy.dbzer0.com
minus-squarevacuumflowerlinkfedilinkEnglisharrow-up2arrow-down1·1 年前An algorithm for them: set rand [clock microseconds] set len [mpc_pl_len] set to [expr {$rand%$len}] mpc_pl_jmp $to
minus-squaresad_detective_man@leminal.spacelinkfedilinkEnglisharrow-up1·1 年前mpc, is that shuffling media player cassic with the system clock? isn’t that what shuffle already does ?
minus-squarevacuumflowerlinkfedilinkEnglisharrow-up3·1 年前mpc as in mpd CLI client, where mpc_pl_len and mpc_pl_jmp procedures are not listed, but just call it with some other Unix commands to get playlist length and jump to a playlist position.
An algorithm for them:
set rand [clock microseconds] set len [mpc_pl_len] set to [expr {$rand%$len}] mpc_pl_jmp $tompc, is that shuffling media player cassic with the system clock? isn’t that what shuffle already does ?
mpcas inmpdCLI client, wherempc_pl_lenandmpc_pl_jmpprocedures are not listed, but just call it with some other Unix commands to get playlist length and jump to a playlist position.