r/OrangePI

Working on a Jukebox with OPi for gatherings, would like to hear your input

Working on a Jukebox with OPi for gatherings, would like to hear your input

Hello everyone! I finally decided to take the plunge and got myself some oranges to tinker with, and found myself deciding what my first proyect will be, i would like a Jukebox that works with local files as well as streaming services like youtube music/spotify/deezer and i am in a bit of an impass with some of my options given my lack of experience with linux/sbc's

FIrst of all let me tell you my use case, i go almost every friday with some friends to play some games, mtg, video games, do stuff; and we almost always have youtube music streaming on a sound bar, the player we have is an old laptop that a friend has from his work, given that its not supposed to be used for anything other than, we cannot login to my acc with premium to avoid ads, and no one is really willing to have their phone be the one playing the service (Me neither) because it ends up being taken hostage when we start adding songs to the queue, so i am currently in the look for the following features in the Jukebox

1- Youtube music streaming (Only audio if possible)
2- Client accesible through web
3- Jukebox Mode where anyone can join through the client and add songs to the queue
4- An option to download the current song to the library

Less important features that i would like to have but honestly wouldnt mind losing if it needs more resources from the SBC

1- MetaData library (Like musicbrainz)
2- Library Organizer
3- Download song to the phone as well as the server

I have a Fiio KA15 dac so it can go from the OPi to the dac to the soundbar and since im not really using it for anything else atm i am willing to just leave it there since while searching looks like OPi sound output is subpar, im not looking for the greatest sound output but a DAC filtering the noise is always appreciated IMO

Currently i have found some options but i am unaware which ones are doable with OPi's current software support

  • LetzPlay seems like a fine option and it having debian/ubuntu packet gives me hope with it
  • Mopidy Is also another choice i found but i am unsure if it can even run given the debian image available on the orange pi's
  • MPD Good ol MPD nothing beats it, my concern with this would be that i am unsure if a web client that controls it is available on the pi, i have only used MPD's most basic features so i am not as familiar with it
  • LMS LMS is another option that i found, when i started learning about dockers i tried to get a server running but was unable at the time and never tried it again, that said having a docker image would make it IMO easier to implement

I am not looking for this to be the most scalable project serving hundreds of users, or a high end hifi server, i just want to make listening music with my friends a bit easier, right now the most users it could possibly serve would be around 10

Right now i dont have the SBC's yet but ive been doing (and will continue to) research about this, sadly i find it difficult actually finding resources about this compared to a RPI as i am sure its the standard with a smaller community.

I will receive multiple sbc's so i have choices, but of course ideally id prefer to use the pi with less resources so i have more leeway with my other projects, the boards i got were

  • OPi Zero 3 (1GB)
  • OPi 4 Pro (4GB)
  • OPi Zero 3W (6GB)

Also my linux experience is not that high but i dont mind getting my hands dirty if this will need it, given that i dont have the boards with me i am unable to start just yet but i should get them this week

What would you guys do? how would you approach it? and which SBC would you pick for the task, would you pick another different model at all?

Any input would be appreciated and i am also planning to update the process of the project since even if its a simple proyect i dont see much documentation for this SBC's so im sure someone would find it useful

u/Judkauwe — 4 days ago
▲ 2 r/OrangePI+1 crossposts

Does anyone with an RK3588 board want to help me find out if a distributed LLM inference board is worth building? (one script, ~15 min, no root)

I'm designing an open-hardware board that runs frontier-scale Mixture-of-Experts models by streaming expert weights off NVMe instead of holding them in RAM. Design stage , nothing has been built, and I'm trying hard not to build the wrong thing.

The whole design rests on one number I can't get without hardware: real NVMe read throughput on RK3588, at large block sizes, with O_DIRECT. My architecture assumes ~3.2 GB/s on a PCIe 3.0 x4 link. If that's actually 1.5 GB/s in practice, most of my timing figures are wrong and I'd rather find out now than after ordering PCBs.

I don't own an RK3588 board yet. Plenty of you do.

The ask: run one Python script on your board and paste the output. It:

  • is a single file, stdlib-only , no pip install, no repo clone
  • needs no root (it'll tell you what root would additionally buy)
  • is read-only apart from one temp file it creates and deletes
  • takes ~15 minutes, most of which is a sustained thermal test
  • prints one block you can paste back

What it measures:

  • Whether your CPU has SDOT (asimddp) , decides if llama.cpp's fast quantized kernels work
  • NVMe sequential + random read at 16 MB blocks, with and without O_DIRECT
  • PCIe link width and speed actually negotiated (I especially want to know if anyone's board reports x1 when it should be x4)
  • Sustained CPU frequency and temperature over 10 minutes, not burst , I care about the throttled number, not the marketing number

What's in it for you: you get a straight comparison of your board's real storage and thermal behaviour against everyone else's, which is annoyingly hard to find. I'll post the collated results back here regardless of what they say, including if they kill the idea.

Boards I'd love numbers from: Orange Pi 5 / 5 Plus / 5 Max, Radxa Rock 5B / 5C, FriendlyElec NanoPC-T6 / CM3588, ArmSoM, Banana Pi ,and honestly any RK3588 variant, plus non-RK3588 boards for comparison.

Repo (all design docs, MIT/CERN-OHL-P): https://github.com/Techburst36/swarm (Apologies in advance as the repo is a bit of a mess right now and might still have a few conflicting figures while the docs catch up.)

Script: swarm_bench.py in the repo root, plus a README explaining exactly what it does before you run it. Please do read it first , you shouldn't run a stranger's script on faith, and it's short enough to skim.

Happy to answer anything about the design in the comments.

Edit: made some changes as per u/fortean and u/12345myluggage feedback. The test had some real bugs that needed catching and some improvements to be made. Thank you!

u/Indigo_Input — 9 days ago