Future of Plexamp on Raspberry Pi?

If your user name is pi already then leave it as pi. Sorry for the confusion I posted that comment before I saw that you said your user name is still pi.

I can’t seem to hit the pi at 32500 from web browser. I feel like I am missing something simple.

Edit: I was missing something very simple, and made a few dumb mistakes. I messed up installing Node.js. I didn’t realize I had to go to claim the raspberry pi first before I could access it via the web browser. Very obvious to more experienced people, not as obvious for a beginner. So to help anyone who might do the same dumb thing I offer a order of steps that got me up and running.

  1. Fresh install of Raspberry PI OS or an update / upgrade of your pi OS if you already have it installed.

  2. Install Node.js and npm. I used this article to help me. How to Install Node.js and npm

I used the first method from the article which was two lines of code.

curl -sL https://deb.nodesource.com/setup_12.x | sudo bash -

After that install Node.js:

sudo apt install nodejs

  1. Follow elans instructions. When you get to the claim part. Go to web browser and type in the address from elans instructions. Wait for the claim page to do its thing, take that token and input into terminal and then wait for terminal to do its thing.

  2. Go back into web browser at the address elan says to go to http://<ip.of.pi>:32500 and sign in.

2 Likes

if you ā€œcannot statā€, then you are probably not in the plexamp directory when you are doing the cp command.

1 Like

Delighted to see that this is (basically) working! I set it up and… I can’t seem to get any sound. I can connect through other Plex clients and it’s definitely playing something according to them and the server dashboard. I’m running sound through USB output into a USB to optical converter. This worked fine when using the browser on the GUI side of Pi OS, and I THINK that it’s set to use that output now as well (it should be set to default and I went into raspi-config and manually selected it too). Where and at what should I be looking to solve this?

Also, how do I enable sample rate matching?

Edit: okay I missed the post where the log file location is listed. I found that at least

Actually, how do I get to the settings at all?

I have it working perfectly with an AudioQuest Dragonfly Black
OS: Debian GNU/Linux 11 (bullseye) aarch64
Host: Raspberry Pi 4 Model B Rev 1.1

clean install
npm install 12

beautiful.

Okay, I realized I can get to settings and whatnot by going through the web portal you mentioned with the pi’s ip address. Though the default output was set to the USB, no sound came through. Setting it in plexamp to the USB fixed that and I’m getting music now. Wonderful, thanks. Also got the sample rate matching turned on.

1 Like

Eye-rolling question, I know, but:
What directory should I change to? You said the plexamp one, but should it actually be something like: cd home/pi/plexamp ?
Thanks.

Okay, last question, I swear.
So I’m playing a file that is 192/24 for testing. It isn’t stuttering or anything, so that’s good. However, I’m wondering if it’s playing at the full quality or not and I’m not sure how to tell.
On my laptop’s plexamp, which I am using to control it, I see this:
Capture
However, when I go to the settings on the Pi using the web browser, I see this:
Screenshot 2022-05-04 at 13-28-37 Plexamp
Is it converting the file for output? It says the 44.1 kHz/2 channels thing regardless of which audio output I select

@Taxman29 Any chance the USB optical unit you are using can’t hit the 192/24?

yes, exactly that if you followed @elan’s directions up to that point.

also, this or something like it might come in handy:

It claims to be able to: https://www.amazon.com/dp/B07VSFBT82 And I saw no reviews calling it out for not being able to handle that level of quality. Also, it says 44/2 channel regardless of if it’s set to the USB or headphones or whatever (all the ones I checked, at least). That line doesn’t seem to change.

You should have a directy calles plexamp
cd plexamp/

I see same (audio output description always says 44.1), but in my case I’m using an external DAC … I can hear the relays switching when I change between tracks with 48 and 44.1 base clocks … so sample rate switching works, and I’m ignoring the reference to frequency in the audio output description

@Taxman29 Yeah looks like it should be able to hit the frequencies. Maybe just a UI display bug? Maybe?

I think it is the same story as here :frowning:

It converts everything to PCM and only 44.1kHz!

I’m going to hope so… not that I’m sure I can tell the difference anyway
new post pops in as I write this
Or maybe it’s not just a display bug??? Insert ASCII Shrug here

  1. enable ā€œstrictā€ sample rate matching in the preferences
  2. the audio interface must support the sample rate of the file
  3. DSD is not supported
  1. It has been on strict since the start.
  2. By audio interface, you mean what, USB? The converter? Both? The converter seems to support it. I don’t know about an RPi’s USB but I thought it supported that too. I’m completely ignorant as to most audio stuff AND Rpi stuff, so I could be wrong.
  3. DSD means… googles… Direct Stream Digital? I’ve never even heard of that before. Certainly don’t use them, only FLAC
    Future of Plexamp on Raspberry Pi? - #236 by tpavey seems to suggest that it could be a UI bug.

I’ve not been able to get it to work on a Raspberry Pi 3b (non +) running NodeJS 12.22.12 on the latest version of RPi OS 64bit (fresh install).

I can start plexamp and get the ā€œStarting Plexampā€ message, but visiting http://<ip.of.pi>:32500 fails. After closer inspection, netstat -tunlp doesn’t show anything listening on port 32500.

Are there and logs I can check to see if this is being caused by something simple?

Edit: it works, you have to enter the claim code.

Sound from the integrated audio port is definitely not correct, though.