-
Notifications
You must be signed in to change notification settings - Fork 95
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
Add scrobble user filter function #324
Comments
@xsnaruto could you explain it more widely, making examples, sharing links etc? as I'm not familiar with the concept. |
Sorry, English is not my native language, maybe my expression is not good enough. Well, what I want to say is that I found that when I turn on the scrobble feature, all the playback records of plex users under my management, it will processes them. I have a few family members linked to my Plex, so even other users start playing, I will see my own trakt also got update. I hope scrobble feature could filter Plex user, to scrobble only my Plex user's status. I don't know how to explain it with share link or any other way, so, still in text, sorry. Cheers🤣 |
@xsnaruto yes, a longer explanation always better, I understand now. Anyway, when you configured this app, did you chose managed user? The current code acts on such message from websocket: {
'type': 'playing',
'size': 1,
'PlaySessionStateNotification': [
{
'sessionKey': '8',
'guid': '',
'ratingKey': '10623',
'url': '',
'key': '/library/metadata/10623',
'viewOffset': 5930000,
'playQueueItemID': 22306,
'state': 'playing',
'transcodeSession': 'jef0tvnla5gt8c18ira1ddz7'
}
]
} so as you can see, no user context there, may need to dig into |
Having this issue as well. I don't quite understand @glensc's post but I'm assuming it doesn't contain a user-side solution. For my part, I did not choose a managed user when configuring the app (none of the managed users is my main account). |
@glensc take a look at the |
I'm not really sure what the equivalent would be in the used Python PlexAPI package any thoughts? 😊 |
Dunno, try some code search: |
I guess this is the relevant method: https://python-plexapi.readthedocs.io/en/latest/modules/server.html#plexapi.server.PlexServer.sessions |
Any updates on this? I did some research and indeed |
Seems like for now, the
watch
function will scrobble all users status to my trakt account.It would be great if we could filter users at the time of scrobble.
The text was updated successfully, but these errors were encountered: