Noob Step by Step for Plexamp install on Pi2

Hi all I have the same problem.
I was able to fling to plexamp (v.2.) on pi4 from android plexamp for weeks. I would say about a month ago it just stopped showing on available players list in android plexamp. Hardware, pi software and the network stayed the same only plexamp on android got updated.

Now I can only fling using the android plexapp or browser interface to the pi plexamp it shows as an available player on those. So I would assume there has been some update to android plexamp that introduced the behaviour the op and I am affected by?

yes it all just broke for me as well, was working yesterday. can no longer cast to plexamps v1 or v2.

only change that I could identify is that my plex server updated to a new version 1.20.5.3562

Oh wow
I don’t know if I feel better, or worse lol. I loaded up Plexamp on my phone today, and it does show the pi now, but when I try to play music, it is back to saying ‘Could not switch to Player’. Here is the resulting log file in case anyone is interested:
Nov 12 15.txt (4.1 KB)

Clipping the actual error below.

Maybe something is not being initialized properly when you authenticate on the windows side?
I would go back and try a clean install and check for differences. Looks like this *.js file is corrupt.

Nov 12 15:01:06 RaspberryPi3 node[471]: #033[31merror#033[39m: Got exception playing media: Cannot read property 'substr' of undefined
Nov 12 15:01:06 RaspberryPi3 node[471]: #033[31merror#033[39m:  TypeError: Cannot read property 'substr' of undefined
Nov 12 15:01:06 RaspberryPi3 node[471]:     at Function.BuildPlexHostname (/home/pi/plexamp/server/server.prod.js:1:2953)
Nov 12 15:01:06 RaspberryPi3 node[471]:     at /home/pi/plexamp/server/server.prod.js:1:736720
Nov 12 15:01:06 RaspberryPi3 node[471]:     at Array.map (<anonymous>)

So, can you give me the exact process that you use to install Plexamp for Windows, and the steps you take to move over the server.json file? Maybe that is where I am goofing up. Here is what I did:

  • Uninstalled Plexamp

  • Rebooted laptop

  • Reinstall Plexamp

  • Ran Plexamp and logged into Plex.tv after browser launched

  • Closed Plexamp

  • Moved server.json from Windows to Pi

  • Restart Plexamp on laptop and log back into plex.tv

  • rebooted pi

Do I need to do anything on the pi after I move the server.json file over?

Thanks!

Sorry I’m not sure since it has been many months since I’ve set up the raspbi from scratch and I never wrote it down. Also coming from linux desktop and not windows.

random: disappointed that plexamp for pi is not getting the 3.x treatment, btw. installing the pi shouldn’t be this hard.

Thanks all for the attempt! I ended up just installing the full Plex Player on the pi and just sharing to that. Seems to work the same way. I can cast/fling to it no problem and it plays on my audio system. Let me know if you foresee any problems with that. Thanks again!

Unfortunately, doing this won’t get you either

  • volume levelling
  • sweet fades
  • gapless playback

Thanks @OttoKerner. My preference would be Plexamp, but it appears to not be as easy as it sounds to install, at least not for me. I don’t have any in depth skill at linux/bash so I hope that someone reads this thread and sees what I am doing wrong. I would really like to get Plexamp working. I have a Pi2 and Pi3 and I have tried multiple times with fresh OS installs to no avail.

Got it to work! There is something wrong with the plexamp raspberry service implementation or raspberry. I did a fresh install didn’t work but then I restarted the service via cmd and it started to work. On reboot no go but after cmd service restart plexamp on raspberry is castable and stable now I am happy


Have created a bash-script to do this, once I get some feedback on it, I can post it here! Only thing needed is the information from the server.json or the file itself.

Update!
Here is the link: PlexAmp-installer for Raspberry Pi with armv7l HW

Hi all, still working on getting headless Plexamp to run properly. Been working on some solutions with folks, but still having problems. We believe it may be a Plex Server issue? There seems to be some connectivity issues. Here is what DOES work for me:

  • Plex is accessible by all my devices on my network, including a Pi4 with Plex loaded
  • Plex is accessible remotely, off my network
  • Plexamp plays (and casts) on 2 different Windows machines as well as a few smart phones
  • My Pi2 (which is what I am trying to get Plexamp to work on) is wired into a switch on my network. I can ping and SSH no problem.

I have done a few fresh Buster / Plexamp installs and here is the latest status log:

pi@plexamp:~/.config/Plexamp $ sudo systemctl status plexamp
● plexamp.service - Plexamp
   Loaded: loaded (/lib/systemd/system/plexamp.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2020-12-08 13:41:55 EST; 1min 38s ago
 Main PID: 8620 (node)
    Tasks: 18 (limit: 2063)
   CGroup: /system.slice/plexamp.service
           └─8620 /usr/bin/node /home/pi/plexamp/server/server.prod.js

Dec 08 13:42:02 plexamp node[8620]: warn: DEVICE: Connection testing failed for RaspberryPi2
Dec 08 13:42:03 plexamp node[8620]: warn: DEVICE: Player connection http://XXX.XXX.XXX.XXX:32500 didn't work for Pixel 2 XL: connect ECONNREFUSED XXX.XXX.XXX.XXX:32500
Dec 08 13:42:03 plexamp node[8620]: warn: DEVICE: Connection testing failed for Pixel 2 XL
Dec 08 13:42:03 plexamp node[8620]: warn: DEVICE: The player uwvlblb8hw2buik9vkc28zfp wasn't found in available resources at https://**PLEX SERVER IP**:32400.
Dec 08 13:42:03 plexamp node[8620]: warn: DEVICE: The player uwvlblb8hw2buik9vkc28zfp wasn't found in available resources at https://**WANIP**:32400.
Dec 08 13:42:03 plexamp node[8620]: warn: DEVICE: Connection testing failed for LG 43UH6030-UD
Dec 08 13:42:07 plexamp node[8620]: warn: DEVICE: Player connection http://XXX.XXX.XXX.XXX:8324 didn't work for Kitchen: timeout of 5000ms exceeded
Dec 08 13:42:07 plexamp node[8620]: warn: DEVICE: Connection testing failed for Kitchen
Dec 08 13:42:07 plexamp node[8620]: warn: DEVICE: Player connection http://XXX.XXX.XXX.XXX:8324 didn't work for 50" Sharp Roku TV: timeout of 5000ms exceeded
Dec 08 13:42:07 plexamp node[8620]: warn: DEVICE: Connection testing failed for 50" Sharp Roku TV
Dec 08 14:03:01 plexamp node[8620]: error: [POWER] Error opening serial port! Error: Error: No such file or directory, cannot open /dev/ttyUSB0


Has anyone encountered anything similar, or have any ideas on where I can start troubleshooting?

Thanks!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.