Mpris + obs-tuna fixes #480

Merged
Araxeus merged 8 commits from mpris+tuna-fix into master 2021-12-02 20:03:04 +00:00
Araxeus commented 2021-11-10 16:45:56 +00:00 (Migrated from github.com)

I've been testing on discord with @JoeJoeTV (many thanks for all the hours invested 😃 ) and we managed to fix all mpris issues (play/pause not working + update progress attribute + seek from mpris + seek to mpris)
should close #372

original comment with mpris bugs: https://github.com/th-ch/youtube-music/issues/65#issuecomment-964235549

docs:
https://www.npmjs.com/package/mpris-service
https://github.com/dbusjs/mpris-service/blob/master/src/index.js#L26-L132
https://github.com/dbusjs/mpris-service/search?q=seeked
https://github.com/dbusjs/mpris-service/blob/master/examples/player.js

For obs-tuna this implements a live update to the progress

also fix #487 by changing status from Playing/Paused to playing/stopped

this pr also adds a songInfo.album for both mpris and tuna (when available, never is available if current song has a video)

ps. mpris could maybe be moved to its own plugin instead of 'camping' inside the shortcuts plugin

I've been testing on discord with @JoeJoeTV (many thanks for all the hours invested 😃 ) and we managed to fix all mpris issues (play/pause not working + update progress attribute + seek *from* mpris + seek *to* mpris) should close #372 original comment with mpris bugs: https://github.com/th-ch/youtube-music/issues/65#issuecomment-964235549 > docs: https://www.npmjs.com/package/mpris-service https://github.com/dbusjs/mpris-service/blob/master/src/index.js#L26-L132 https://github.com/dbusjs/mpris-service/search?q=seeked https://github.com/dbusjs/mpris-service/blob/master/examples/player.js For obs-tuna this implements a live update to the progress also fix #487 by changing status from `Playing`/`Paused` to `playing`/`stopped` this pr also adds a songInfo.album for both mpris and tuna (when available, never is available if current song has a video) > ps. mpris could maybe be moved to its own plugin instead of 'camping' inside the shortcuts plugin
mesmerx commented 2021-11-11 22:04:46 +00:00 (Migrated from github.com)

great work man, i planning to try add this feature(time update) in this week, i`ll try that ASAP

great work man, i planning to try add this feature(time update) in this week, i`ll try that ASAP
mesmerx commented 2021-11-16 17:38:32 +00:00 (Migrated from github.com)

as i can test seems to be ok, i`ll try in a clean env just to make sure

as i can test seems to be ok, i`ll try in a clean env just to make sure
th-ch (Migrated from github.com) approved these changes 2021-12-02 20:02:59 +00:00
th-ch (Migrated from github.com) left a comment

Looks ok, thanks for the contribution!

Looks ok, thanks for the contribution! ✅
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: YTMD/youtube-music#480
No description provided.