Server Version#: 1.42.2.10156 (issue also experienced with1.42.1.10060)
Player Version#: Plexamp Headless v4.12.4
I’m running Plexamp Headless on a Raspberry Pi 4B, and using a touchscreen connected to the Pi to control playback via the local web interface, running an audio out to my stereo. Playback works perfectly with my Primary (Plexpass) account. I’m also able to cast from the iOS app to the Pi using my Primary account.
However, I’m having 2 problems with Managed Accounts:
-
switching to a managed account on the Headless web interface results in the following error when I attempt to play a track: “Couldn’t start playback”. This applies to all music in my library. I’ve verified that audio settings are correct, and that no content restrictions are in place on the managed account. I’ve also tried logging into the web interface from another machine on my network, and have exactly the same problem. I can play tracks without issue using the managed account in the iOS app so I don’t think this can be an account or Plexpass problem.
-
when switching to a managed account on the iOS app I’m unable to see the Pi as a casting option (regardless of whether I’m using my ‘Primary’ account a managed account on the Raspberry Pi). Casting isn’t actually my use case - I’m only interested in controlling playback via the Pi web interface - but I mention this in case it’s relevant. Also worth noting that when using my Primary account, I can cast from the iOS app regardless of whether my Primary account or a managed account is signed in on the web interface on the Raspberry Pi plexamp instance.
EDIT: I’ve done some further digging and the casting point above may be the root of the problem. When I sign in with my primary account I can select my Pi as a casting device and play music. When I sign in with a managed account the casting dialog shows no players - I suspect this is why playback fails.
Looking at my server logs, when I attempt track playback on the Pi interface using a managed account I only see the following, with no further messages (whereas when I play a track with the ‘primary account’ I see similar messages to the below, followed by a very long chain of playback messages):
Auth: authenticated user 615632225 as [managed account name]
Request: [192.168.1.190:40608 (Allowed Network (Subnet))] GET /security/token?type=delegation&scope=all&includeFields=thumbBlurHash (9 live) #7fb TLS GZIP Signed-in Token ([managed account name])
Completed: [192.168.1.190:40608] 200 GET /security/token?type=delegation&scope=all&includeFields=thumbBlurHash (9 live) #7fb TLS GZIP 0ms 527 bytes (pipelined: 3)
I’ve tried restarting the server, and logging out and back in to my account on the Pi, without any effect.