![]() |
Unable to play random tracks - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7) +--- Thread: Unable to play random tracks (/showthread.php?tid=4646) |
RE: Unable to play random tracks - SoundMan57 - 01-09-2022 After reading See https://github.com/joshkunz/ashuffle/issues/89 It sounds like if I use ashuffle 3.12 or higher it may resolve my issue but I have no idea how to install this newer version into my system Does this sound like this would be a fix and if so, would you be able to direct me to how I could implement this newer version? Thank you. RE: Unable to play random tracks - TheOldPresbyope - 01-09-2022 (01-09-2022, 01:28 AM)SoundMan57 Wrote: After reading See https://github.com/joshkunz/ashuffle/issues/89 No idea if more recent versions solve your issue but it's straightforward to try because the ashuffle maintainer provides binaries. Oops, I just checked and it looks like all the recent 'ARM' binaries (v3.12.5 - v3.13.0) in the repo were mis-compiled to x86-64 instead. I've posted an issue to the repo. v3.12.3 *might* be ok although it declares itself to be v3.11.1, same as the existing version in moOde 7.6.1. At least the two binaries are slightly different sizes. In broad strokes, you have to download the binary, mark it executable, and move or copy it over to /usr/local/bin/ashuffle; e.g., log into the moOde command line and Code: #make sure we're in our home directory Taking the symlink approach means we can easily switch back and forth between multiple versions. Of course you can also build your own binary. Consult the README.md file in the ashuffle repo. As above, copy or move the resulting binary to /usr/local/bin/ashuffle Regards, Kent RE: Unable to play random tracks - Tim Curtis - 01-09-2022 I just tried to build v3.13.0 and got some errors. https://github.com/joshkunz/ashuffle/issues/123 RE: Unable to play random tracks - TheOldPresbyope - 01-09-2022 (01-09-2022, 05:18 PM)Tim Curtis Wrote: I just tried to build v3.13.0 and got some errors. It built just now for me with moOde 7.6.1 on an RPi3B+. I'll try again on an RPi4B since that's the model you reported on. ETA - my build on an RPi4B failed exactly as yours did. Need to scan the respective console outputs to see if I can spot something obvious. Regards, Kent RE: Unable to play random tracks - Tim Curtis - 01-09-2022 Very odd. It could be some sort of additional compile flag thats needed. Can you report the result in the ashuffle issue? Thanks :-) RE: Unable to play random tracks - SoundMan57 - 01-09-2022 I downloaded v3.13.0 on my RPi3B+ using wget https://github.com/joshkunz/ashuffle/releases/download/v3.13.0/ashuffle.armv6h-linux-gnueabihf -O ashuffle.3130 and when I ran ./ashuffle.3130 --queue-buffer 1 I got this error message: -bash: ./ashuffle.3130: cannot execute binary file: Exec format error If I run the same thing using v3.12.3 I do not get this error. Thank you RE: Unable to play random tracks - TheOldPresbyope - 01-09-2022 (01-09-2022, 10:52 PM)SoundMan57 Wrote: I downloaded v3.13.0 on my RPi3B+ using Like I said in a previous post, recent ARM (e.g, Raspberry Pi) binaries on that site appear to be mis-compiled. Later tonight I’ll put up a copy of v3.13.0 on Dropbox or some such. Regards, Kent RE: Unable to play random tracks - TheOldPresbyope - 01-10-2022 @Tim Curtis I may have to retract my claim that I built ashuffle on an RPi3B+ or at least ashuffle v3.13.0 In a fit of madness I re-imaged the uSD card to make sure I didn't have any insidious cruft left over from other, previous experiments and whaddaya know, I didn't first save off the ashuffle work "just in case". Now the v3.13.0 build consistently fails. Did it magically work once? Did I forget to make sure I checked out v3.13.0 instead of, say, v3.12.8? Don't know. What you posted in Issue #123 should suffice for Josh. I did some searching on the error message content and found a post which makes it seem likely there's a missing library (libstdc++fs) in the meson-generated build instructions. I'll add this info to the issue. Tried hacking the meson output to include the library I found in RaspiOS (usr/lib/gcc/arm-linux-gnueabihf/8/libstdc++fs.a) but the ninja build failed anyway. Strike two for me. I suppose I could try building on my x86_64 laptop to see what's different but don't hold your breath. Regards, Kent PS - I can build every ashuffle version up to and including v3.12.8. RE: Unable to play random tracks - TheOldPresbyope - 01-10-2022 @SoundMan57 Check your private messages. Regards, Kent RE: Unable to play random tracks - TheOldPresbyope - 01-13-2022 @SoundMan57 With hints from Tim and me, the ashuffle maintainer has identified the root cause of recent build failures on Raspberry Pis and pushed new code to his repo with the tag v3.1.11.1 (It has to do with RaspiOS, which is based on debian 10, using an older version of the compiler than the version he uses in his builds). I have confirmed that ashuffle v3.11.1 successfully builds in moOde 7.6.1. The problem with non-ARM binaries being generated for the ashuffle github repo has been traced to the CI (continuous integration) script but the maintainer hasn't fixed that yet. You can build the binary yourself with the following recipe (taken from the ashuffle README.md, mostly). Assuming it is followed, the resulting binary will be found at /home/pi/ashuffle/build/ashuffle Code: # on your moOde player The proof of the pudding is in the eating, as my grandmother would say Code: pi@CM4:~/ashuffle $ /home/pi/ashuffle/build/ashuffle -v Regards, Kent |