Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Plex casting scrobble issue #230

Open
2 tasks done
snaplekap opened this issue Nov 17, 2024 · 2 comments
Open
2 tasks done

bug: Plex casting scrobble issue #230

snaplekap opened this issue Nov 17, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@snaplekap
Copy link

Please check existing knowledge before opening an issue

Describe the Bug

When I scrobble from plex/plex amp (using the standard plex webhook, not tautulli) it doesn't scrobble the song to maloja if I am casting the song, only scrobbles if played natively. It still detects the song being played, but seems that it's an issue where it doesn't capture the listened portion, log provided below as an example:

Platform

Docker

Versions

newest version of multi-scrobbler and maloja

Logs

[2024-11-17 02:31:08.415 -0800] DEBUG  : [App] [Sources] [Plex - unnamed] Last activity was at 2024-11-17T02:31:08-08:00 | Next check interval: 5.00s
[2024-11-17 02:31:08.414 -0800] DEBUG  : [App] [Sources] [Plex - unnamed] No new tracks discovered
[2024-11-17 02:31:08.388 -0800] DEBUG  : [App] [Sources] [Plex - unnamed] Refreshing recently played
[2024-11-17 02:31:03.384 -0800] DEBUG  : [App] [Sources] [Plex - unnamed] Last activity was at 2024-11-17T02:31:03-08:00 | Next check interval: 5.00s
[2024-11-17 02:31:03.383 -0800] DEBUG  : [App] [Sources] [Plex - unnamed] No new tracks discovered
[2024-11-17 02:31:03.360 -0800] DEBUG  : [App] [Sources] [Plex - unnamed] Refreshing recently played
[2024-11-17 02:30:58.357 -0800] DEBUG  : [App] [Sources] [Plex - unnamed] Last activity was at 2024-11-17T02:30:58-08:00 | Next check interval: 5.00s
[2024-11-17 02:30:58.356 -0800] DEBUG  : [App] [Sources] [Plex - unnamed] No new tracks discovered
[2024-11-17 02:30:58.338 -0800] VERBOSE: [App] [Sources] [Plex - unnamed] [Player c4b74183-8-Plex for Sonos-Jay] (plex://track/5d07d206403c640290568a56) Eliot Lipp - Brand New not added because did not meet thresholds with tracked time of 0.00s (wanted 240s) and tracked percent of 0.00% (wanted 50%).

Additional Context

N/A

@snaplekap snaplekap added the bug Something isn't working label Nov 17, 2024
@FoxxMD
Copy link
Owner

FoxxMD commented Dec 11, 2024

Thanks for the report, I will see if I can reproduce this soon. In the meantime, you could set up Google Cast as a source to capture just Plex plays like this using chromecast.json in your config directory:

[
  {
    "name": "MyCast",
    "data": {
      "devices": [
        {
           "name": "MyFriendlyCastName",

           // replace with your cast device IP
           "address": "192.168.0.100"
        }
      ],
      "whitelistApps": ["plex"]
    }
  }
]

@FoxxMD
Copy link
Owner

FoxxMD commented Dec 27, 2024

I was able to reproduce this only one time (using plexamp). Afterwards I was able to get scrobbles without an issue when using a casted device. The time it did not work I also did not see the music I was playing show up in the Plex Dashboard or in Tautulli, which leads me to believe it was an issue with Plex itself and how it tracks sessions on casted devices.

Do you have steps that I can use to reproduce this consistently? If you can reproduce it please verify that Plex Dashboard and/or Tautulli reports that you are listening to music -- if they do not show music playing then its likely a Plex issue (somehow) since MS uses the same method Tautulli uses to detect user activity.

If you can reproduce it the issue with MS AND your activity is also showing up in Plex Dashboard then please list the steps you take to make this occur, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants