Skip to content

bug: Plex Live TV knocks MS Plex into Idle #405

@thehfic

Description

@thehfic

Please check existing knowledge before opening an issue

Describe the Bug

I have Multi-scrobbler working fine across all devices with Plex. I noticed that sometimes the Plex task on the web front end for multiscrobbler would go idle. After testing further, it happens whenever I play a Plex Live TV stream with my OTA antenna. If I start a stream, the Plex task in Multiscrobbler goes idle and then when stopping the stream it returns to running status. However if I am watching a long program, the retry time keeps compounding so it becomes multiple minutes or more between attemped relaunches.

I have tried to block libraries that aren't music related, allow only libraries that are music related, blocking sectionTypes, ignore missing is set to true. The only way I have prevented it is by blocking a device as a whole. This doesn't work as a solution for me unfortunately since I use other devices to play Live TV that I also play music on.

I included one section of the log which is what repeats and the restarting polling time seems to double every time.

When I block the device as a whole, this is how it registers in the log
[2025-11-29 01:52:46.583 -0500] WARN : [App] [Sources] [Plex - NastyNAS] Player State for -> 17B01E82-F-Plex for Apple TV-Apple TV-MY_PLEX_USERNAME-Session376 News 4 NY at 11 - News 4 NY at 11 <-- is being dropped because 'devicesBlock includes a phrase found in 17B01E82-F-Plex for Apple TV-Apple TV

Let me know if there is any other information I can provide to troubleshoot.

Platform

Docker

Versions

-Multi-scrobbler 0.10.4
-Plex server version: 1.42.2.10156

Logs

[2025-11-29 11:41:11.244 -0500] INFO   : [App] [Sources] [Plex - MY_PLEX_SERVER_NAME] Poll retries (0) less than max poll retries (5), restarting polling after 3 second delay...
[2025-11-29 11:41:11.205 -0500] ERROR  : [App] [Sources] [Plex - MY_PLEX_SERVER_NAME] Error occurred while polling
Error: Error occurred while polling
    at PlexApiSource.doPolling (CWD/src/backend/sources/AbstractSource.ts:512:31)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async PlexApiSource.startPolling (CWD/src/backend/sources/AbstractSource.ts:361:27)
    at async PlexApiSource.poll (CWD/src/backend/sources/AbstractSource.ts:329:9)
caused by: Error: Error occurred while refreshing recently played
    at PlexApiSource.doPolling (CWD/src/backend/sources/AbstractSource.ts:430:27)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async PlexApiSource.startPolling (CWD/src/backend/sources/AbstractSource.ts:361:27)
    at async PlexApiSource.poll (CWD/src/backend/sources/AbstractSource.ts:329:9)
caused by: TypeError: Cannot read properties of undefined (reading 'toLocaleLowerCase')
    at <anonymous> (CWD/src/backend/sources/PlexApiSource.ts:273:99)
    at Array.some (<anonymous>)
    at PlexApiSource.isActivityValid (CWD/src/backend/sources/PlexApiSource.ts:273:65)
    at PlexApiSource.getRecentlyPlayed (CWD/src/backend/sources/PlexApiSource.ts:397:36)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async PlexApiSource.doPolling (CWD/src/backend/sources/AbstractSource.ts:428:32)
    at async PlexApiSource.startPolling (CWD/src/backend/sources/AbstractSource.ts:361:27)
    at async PlexApiSource.poll (CWD/src/backend/sources/AbstractSource.ts:329:9)

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwaiting for releaseFix/feature has been committed and waiting for a release to be cut

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions