-
-
Notifications
You must be signed in to change notification settings - Fork 78
refactor add DeviceId check #333
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
base: unstable
Are you sure you want to change the base?
Conversation
|
Hey @sususu98 , the reason it was removed at first was because when playing on certain clients. the device id was being refreshed on jellyfins side every second. resulting in a new playback every second. I do get where your coming from though as this is also not ideal. but we'll need to find a way to implement this without re-introducing the new activity per second bug. |
|
What if I change it to check the Client? |
|
You could test it out and try. Im not sure what the naming scheme for clients are of the top of my head. Im worried there may be some clients sharing the same name. Eg using web but on different devices should use the same Client Name. eg |
What was the situation in which this occurred? |
If the client uses the same client's name, say |
|
This would work, not 100% accurate but atleast it narrows down the scope for merged and non merged activities |
|
Mainly I found that transcoding may occur when I switch clients, but Jellystat does not record my transcoding information correctly. |
When you say it doesnt record the transcoding information correctly. What behavior are you experiencing? |
|
Could you log that as a bug? il check out this weekend |



I found that when I switch devices and play in a short time, Jellystat will merge my activities. I think the playback on different devices should not be merged, so I added a check for DeviceId before activity merging