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

Spaming title, url and track id #45

Closed
jzbor opened this issue Oct 20, 2020 · 1 comment
Closed

Spaming title, url and track id #45

jzbor opened this issue Oct 20, 2020 · 1 comment

Comments

@jzbor
Copy link

jzbor commented Oct 20, 2020

I face the problem that whenever 'mpris:length' receives an update via MPRIS the title, the url and the track id get send two, even if they have not changed. This causes unneeded extra traffic on the MPRIS bus and may cause applications two act upon title updates even though there is no real update, which in turn causes unnecessary load.

EDIT: If you wonder why the length variable changes during playback: I tried watching livestreams via youtube-dl + mpv...

@hoyon
Copy link
Owner

hoyon commented Oct 24, 2020

I don't think it's possible to send specific fields when the current metadata is changed. I've tested this with gnome and if you send a metadata update without the track title for example, Gnome then shows unknown track.

I don't think the extra load is much of an issue, given how much it is dwarfed by streaming and video playback in the first place.

@hoyon hoyon closed this as completed Oct 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants