https://bugs.kde.org/show_bug.cgi?id=399249

--- Comment #12 from Gerald Cox <gb...@bzb.us> ---
(In reply to Wyatt Childers from comment #11)
> (In reply to Gerald Cox from comment #10)
> I'm not fundamentally opposed to a generic KDE/Plasma MPRIS scrobbler
> instead of something builtin to Elisa. However, MPRIS is used for a lot of
> things beyond music, so there would need to be some way to distinguish Elisa
> music from say, a random video in Firefox.
> 
> Maybe that's just a configuration dialog that lets certain players be
> ignored, or maybe there's enough metadata in MPRIS to determine whether
> something is music or not?

TLDR: Not really an issue

rescrobbled only accepts one mpris connection at a time, and it needs to be
active.  In other words, if you have a browser open, it won't connect unless it
is playing something.  Additionally, I've found that playing from Chrome or
Firefox doesn't work.  It fails with "API error (400): required field
track_metadata.artist_name is empty." so apparently out of the box browsers
aren't compatible and require something else to get them working for scrobbling
purposes.  You would run into issues if you were playing Youtube music through
your browser and then started elisa-player.  Youtube would connect to
rescrobbled but would fail, because it doesn't send the required info to
rescrobbled.  However, it would be connected to rescrobbled until it was
stopped.  If you at the same time started elisa, it wouldn't be able to connect
to rescrobbled because the browser would be taking the active slot.  However,
once the player on the browser was stopped, elisa would automatically grab it.

Also, music players don't just by default support scrobbling by mpris.  They
have to be sending the correct information.  QMMP for example does this by
having a plugin that specifically supports mpris scrobbling.  Additionally,
QMMP has it's own standalone scrobbling plugin.  

I'm not against elisa having it's own standalone scrobbling plugin.  I was just
thinking that maybe the developer just intended to offload this to mpris - he
did build in full mpris support which does support scrobbling.  Maybe he wanted
to just concentrate on core functionality and keep elisa focused on that.  If
that was his intent, that is perfectly fine with me.  I was just thinking if
that is the case, he should just close this ticket so people understand the
path forward.

I will mention upstream to rescrobbled the weird situation of a browser
grabbing control of rescrobbled.  I'm not sure what can be done about that
however.  It appears that the browser has limited mpris capability, not enough
to scrobble, but enough to take control of rescrobbled.  Again, that's not a
huge problem, because when you stop playback, it releases.  I don't think you
should just ban all browsers either, because there may be an extension or
something that allows it to use rescrobbled correctly.  

It appears that when mpris support was added to the browsers, they weren't
considering scrobbling at all, just controlling volume, etc.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to