client Chromium/localhost, Safari/iOS, Chrome/iOS, Safari/MacOS, Crome/MacOS, Chrome/Linux, Firefox/Ubuntu (I think we can rule out a client related issue)
==> and yes clients are casting to correct plexamp instance (image attached)
Audio Library - Plex Server in local network, in remote network or Tidal (again I think we can rule out audio source/format related issues)
PlexWeb client plays fine on same machine
Audio device: default, default audio device, USB audio out, HDMI out, pulse audio, or any other device with sample rate matching on or off
Log attached…
Any hint of what is wrong or where to look for is most appreciated
no endless spinning circle displayed when attempting playback
client app indicates that playback is progressing
note, your setup on the Pi … Plexamp headless run as a system service as one user while running a desktop/GUI and logging in as a different user … this is not the most common use case, but it shouldn’t break things (i just tried this setup on a Pi4 that I have here, everything works ok)
From your log, I can see that you are not properly logged in (403 Forbidden, 404 Not Found):
Jan 29, 2023 20:49:58.932 [Javascript] INFO - ViewState: Error loading from storage. Unexpected token u in JSON at position 0
Jan 29, 2023 20:49:59.015 [Javascript] INFO - METRICS: Error loading from storage. Unexpected token u in JSON at position 0Jan 29, 2023 20:49:59.198 [Javascript] WARNING - DEVICE: Error loading cloud players from plex.tv HTTP status 403
Jan 29, 2023 20:49:59.262 [Javascript] INFO - Cloud: [SharedItems] Error getting data: HTTP status 404
Jan 29, 2023 20:50:09.155 [Javascript] INFO - Cloud: [SharedItems] Error getting data: HTTP status 404
Is re-installing the OS and re-running the plexamp-installer-script an option? Would be the fastes in most cases. If not, you need to do some troubleshooting and find out why it is not working.
From your comments, I suspect you installed plexamp first as one user, and then as a different user? This might be the issue, you should only have one user run Plexamp, so cleanup on old user might be needed.
Also, in the future, if you are not absolutely sure you have the same issue, do not post on a similar thread with your issues! That is thread-hijacking! You can always refer to another thread in your post if you suspect it might be the same issue!
after a fresh install as the user ‘plexamp’ I get this after entering the token:
plexamp@poco:~ $ node /home/plexamp/plexamp/js/index.js
Starting Plexamp 4.6.1
Please visit https://plex.tv/claim and enter the claim token: claim-9vfvuFapqaM9pHQHQmzv
Please give the player a name (e.g. Bedroom, Kitchen): Garage
DEVICE: Error loading cloud players from plex.tv HTTP status 403
Plexamp is now signed in and ready!
can not confirm that I did or did not get this error when i tried the first time yesterday and whether it is relevant - in any case the result is exactly the same as before.
here is also the latest log with some errors that I have not seen Plexamp.log (34.7 KB)
Since you are getting the 403 Forbidden still, I am wondering if you have working credentials (possibly you do, since you are getting the login-token, right)? Has your password changed? Can you try and login on your plex server with those credentials to verify them?
If this is not it, do you have a problem with your internet connection towards Plex?
Also, maybe @elan has an idea on what could be wrong! If there is a connection-issue on the network, they should see a lot of these issues from you and many other users in your region on the servers.
Jan 30, 2023 15:02:22.291 [Javascript] INFO - ViewState: Error loading from storage. Unexpected token u in JSON at position 0
Jan 30, 2023 15:02:22.293 [Javascript] INFO - Cloud: [RecentPlays] Error loading from storage. Unexpected token u in JSON at position 0
Jan 30, 2023 15:02:22.299 [Javascript] INFO - Cloud: [SharedItems] Error loading from storage. Unexpected token u in JSON at position 0
Jan 30, 2023 15:02:22.499 [Javascript] WARNING - DEVICE: Error loading cloud players from plex.tv HTTP status 403
Jan 30, 2023 15:02:22.519 [Javascript] INFO - METRICS: Error loading from storage. Unexpected token u in JSON at position 0
Jan 30, 2023 15:02:22.646 [Javascript] INFO - Cloud: [SharedItems] Error getting data: HTTP status 404
Jan 30, 2023 15:02:30.621 [Javascript] WARNING - IMAGE: Error extracting palette from tv.plex.provider.music https://resources.tidal.com/images/e8204858/7e34/4f60/a49c/80dcb236f00b/750x750.jpg Error: Cannot find module 'fast-png'
Jan 30, 2023 15:02:32.131 [Javascript] WARNING - IMAGE: Error extracting palette from tv.plex.provider.music https://resources.tidal.com/images/e8204858/7e34/4f60/a49c/80dcb236f00b/750x750.jpg Error: Cannot find module 'fast-png'
Jan 30, 2023 15:02:32.515 [Javascript] INFO - Cloud: [SharedItems] Error getting data: HTTP status 404
Jan 30, 2023 15:02:37.176 [Javascript] WARNING - IMAGE: Error extracting palette from tv.plex.provider.music https://resources.tidal.com/images/e8204858/7e34/4f60/a49c/80dcb236f00b/750x750.jpg Error: Cannot find module 'fast-png'
you can ignore the message about cloud players etc.
the endless spinning circle on first attempted playback from web ui … this is a known issue (with fix hopefully coming soon) … usually resolved by disconnecting from the player in the cast menu, then reconnecting
I have installed Headless Plexamp 4.6.2 on my Raspberry Pi 4 (4GB) running Debian 11 (bullseye). I can connect to the Plexamp Web UI on port 32500. However, attempting playback fails. Checking the Plexamp settings there are no audio output devices listed. So no surprise playback fails.
I have the Allo Digione Signature SP-DIF hat installed on the Raspberry Pi and I have added the following to /boot/firmware/config.txt
dtoverlay=allo-digione
Any help or suggestions welcome!
I have to say, finding information on how to setup Headless Plexamp is very hard! Complete lack of support articles and even a mention on Plex Support. Only Forum posts by @elan got me started.
do you have a specific need to run basic debian rather than raspberry pi OS (which is debian based, but optimized for the raspberry pi)? i have not tried enabling an audio hat in debian, but some quick googling suggests it might not be straightforward
enabling the hat on raspberry pi OS is easy (enabled in /boot/config.txt … different location vs what you tried in debian)
I have a horrible feeling that you are right, the hat is only supported in Raspberry Pi OS.
I use Debian as I got used to its installation and maintenance as I run Home Assistant (on a different Pi).
This Pi has Plex Media Server installed which I use for music only as the Pi is hardly powerful enough for video media.
I used to use Volumio with the hat, but I hate all the restrictions of a locked down OS. Also, why have yet another music server when I have PlexPass?!? So I am trying to do an all in one solution, which would work if Plexamp recognised the hat. Having investigated further, I find other utilities such as aplay or mplayer don’t work with it either, so it is driver problem.
Before I rebuild the Pi, could you please confirm I can still run Plex Media Server in a docker container on RaspbianOS? Only for music as the Pi is not powerful enough for video. I want this Pi to be a self contained media server rather than use Volumio (which I dislike)