iv-org / invidious

Invidious is an alternative front-end to YouTube
https://invidious.io
GNU Affero General Public License v3.0
15.91k stars 1.74k forks source link

[Enhancement] full MPRIS support #3472

Open avidseeker opened 1 year ago

avidseeker commented 1 year ago

Run some playlist. The following command works as expected.

playerctl play-pause

But

playerctl next
playerctl previous

results in

No player could handle this command.
SamantazFox commented 1 year ago

Could you please provide more details? playerctl isn't part of invidious, so I don't see how this issue is related.

avidseeker commented 1 year ago

playerctl is just a MPRIS utility.

Here's a simpler way to understand the problem.

In Gnome or KDE, run a playlist in Youtube, and you can play next/prev tracks from the media control panel. Run the same playlist in invidious, and you can't.

SamantazFox commented 1 year ago

Oooh, okay, thanks for the explaination! I've always wondered how it worked, so here's the answer!

That's definitely something that needs to be addressed, yes!

avidseeker commented 1 year ago

Beatbump is a similar project to Invidious that supports this feature, but it's focusing on music videos. Might be helpful for implementing this feature.