This issue is happening again, I’ve had to enable the “Move Playback with Selection” remote control setting as it’s not really usable.
I have some steps to reproduce reliably:
- on iphone disable “Move Playback with Selection” remote control setting
- with a play queue on iPhone, connect to another Plexamp player and start playing (it doesn’t seem to matter what that is - I reproduced with a player on both a Pi and Mac)
- close Plexamp on the iPhone (by swiping up from the app switcher)
- re-open the app and it gets stuck in the play/pause loop
Closing and re-opening the app seems to trigger something, which also happens when you open up the app after it’s been in the background for a while.
There’s a snippet at the bottom from the iPhone logs when it’s in the loop. It just keeps sending play/pause events.
Maybe you can try to reproduce @elan ? I really like being able to switch between players without moving playback, so would love to get this working properly.
I did check my server logs as well and saw some of these errors, I’m not sure if related
ERROR - [Req#eaeee] Unable to find client profile for device; platform=macOS, platformVersion=24.1.0, device=macOS, model=
Dec 16, 2024 20:06:56.675 [Javascript] INFO - Audio: State changed from paused to playing.
Dec 16, 2024 20:06:56.675 [0x6d6c3000] DEBUG - BASS: Stopping silence.
Dec 16, 2024 20:06:56.675 [Javascript] INFO - PlayQueue: Saving state {"source":"23c42a82fbb76b21f0af00c085c2407a604156f0","state":"playing","time":6228,"rate":1,"volume":20,"playQueueID":"284","playQueueVersion":1,"playQueueItemID":"15023"}
Dec 16, 2024 20:06:56.686 [Javascript] INFO - PlayQueue: Sending timeline in state playing time 6228 token false.
Dec 16, 2024 20:06:56.686 [Javascript] INFO - ViewState: Progress 3% (6228 ms) on item 23c42a82fbb76b21f0af00c085c2407a604156f0/4623 with token (no).
Dec 16, 2024 20:06:56.686 [Javascript] INFO - ViewState: Trying to send directly.
Dec 16, 2024 20:06:56.686 [0x6d867000] DEBUG - Networking: Create request 1944: (GET https://192-168-1-244.e2f07b400b1842e5b9cda278bcbb8ccc.plex.direct:32400/:/timeline?state=playing&duration=219000&time=6228&playQueueItemID=15023&key=%2Flibrary%2Fmetadata%2F4623&ratingKey=4623&playQueueID=284&playQueueVersion=1&containerKey=%2FplayQueues%2F284&hasMDE=1&includeFields=thumbBlurHash&X-Plex-Device-Name=iPhone) network type 2.
Dec 16, 2024 20:06:56.704 [0x6dddf000] DEBUG - Networking: Completed request 1944: (GET https://192-168-1-244.e2f07b400b1842e5b9cda278bcbb8ccc.plex.direct:32400/:/timeline?state=playing&duration=219000&time=6228&playQueueItemID=15023&key=%2Flibrary%2Fmetadata%2F4623&ratingKey=4623&playQueueID=284&playQueueVersion=1&containerKey=%2FplayQueues%2F284&hasMDE=1&includeFields=thumbBlurHash&X-Plex-Device-Name=iPhone) with code 200 (have 98 bytes) in 17 ms.
Dec 16, 2024 20:06:56.704 [Javascript] INFO - ViewState: Server reports playback state ignore.
Dec 16, 2024 20:06:57.280 [0x6eca3000] INFO - BASS: Pausing audio output (after delay: 1)
Dec 16, 2024 20:06:57.280 [0x6eca3000] INFO - BASS: Suspending player.
Dec 16, 2024 20:06:57.285 [0x6eb8b000] INFO - Audio Route: Keeping a note of when we last paused.
Dec 16, 2024 20:06:57.348 [0x6d51f000] DEBUG - BASS: Playing silence.
Dec 16, 2024 20:06:57.348 [Javascript] INFO - Audio: State changed from playing to paused.
Dec 16, 2024 20:06:57.348 [Javascript] INFO - PlayQueue: Saving state {"source":"23c42a82fbb76b21f0af00c085c2407a604156f0","state":"paused","time":6228,"rate":1,"volume":20,"playQueueID":"284","playQueueVersion":1,"playQueueItemID":"15023"}
Dec 16, 2024 20:06:57.355 [Javascript] INFO - PlayQueue: Sending timeline in state paused time 6228 token false.
Dec 16, 2024 20:06:57.355 [Javascript] INFO - ViewState: Progress 3% (6228 ms) on item 23c42a82fbb76b21f0af00c085c2407a604156f0/4623 with token (no).
Dec 16, 2024 20:06:57.355 [Javascript] INFO - ViewState: Trying to send directly.
Dec 16, 2024 20:06:57.355 [0x6d867000] DEBUG - Networking: Create request 1949: (GET https://192-168-1-244.e2f07b400b1842e5b9cda278bcbb8ccc.plex.direct:32400/:/timeline?state=paused&duration=219000&time=6228&playQueueItemID=15023&key=%2Flibrary%2Fmetadata%2F4623&ratingKey=4623&playQueueID=284&playQueueVersion=1&containerKey=%2FplayQueues%2F284&hasMDE=1&includeFields=thumbBlurHash&X-Plex-Device-Name=iPhone) network type 2.
Dec 16, 2024 20:06:57.365 [0x6eca3000] INFO - BASS: Setting audio session active to 0.
Dec 16, 2024 20:06:57.369 [0x6dddf000] DEBUG - Networking: Completed request 1949: (GET https://192-168-1-244.e2f07b400b1842e5b9cda278bcbb8ccc.plex.direct:32400/:/timeline?state=paused&duration=219000&time=6228&playQueueItemID=15023&key=%2Flibrary%2Fmetadata%2F4623&ratingKey=4623&playQueueID=284&playQueueVersion=1&containerKey=%2FplayQueues%2F284&hasMDE=1&includeFields=thumbBlurHash&X-Plex-Device-Name=iPhone) with code 200 (have 98 bytes) in 13 ms.
Dec 16, 2024 20:06:57.369 [0x6d51f000] INFO - BASS: Setting audio session active to 1.
Dec 16, 2024 20:06:57.369 [0x6d51f000] DEBUG - BASS: Resetting device (soft: 1, force: 0, initialized: 1).
Dec 16, 2024 20:06:57.370 [Javascript] INFO - ViewState: Server reports playback state ignore.
Dec 16, 2024 20:06:57.446 [0x6d51f000] DEBUG - BASS: Suspending device (sample rate: 44100, num channels: 2, soft: 1, decode only: 0, force: 0)
Dec 16, 2024 20:06:57.446 [0x6d51f000] DEBUG - BASS: We have 0 dying streams which we're going to kill immediately.
Dec 16, 2024 20:06:57.446 [0x6d51f000] INFO - BASS: Resuming audio output (started: 1)
Dec 16, 2024 20:06:57.446 [0x6d51f000] DEBUG - BASS: Sliding volume to 100.0 over 0 ms.
Dec 16, 2024 20:06:57.468 [0x6d51f000] INFO - BASS: Setting audio session active to 1.
Dec 16, 2024 20:06:57.495 [Javascript] INFO - Audio: State changed from paused to playing.