Bug 411148 - Music playing from the ownCloud Music app does not show up
Summary: Music playing from the ownCloud Music app does not show up
Status: RESOLVED FIXED
Alias: None
Product: plasma-browser-integration
Classification: Plasma
Component: Firefox (other bugs)
Version First Reported In: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-21 20:42 UTC by thesola10
Modified: 2019-08-29 20:36 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 1.6
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description thesola10 2019-08-21 20:42:29 UTC
SUMMARY


STEPS TO REPRODUCE
1. Open the ownCloud Music app on ownCloud or Nextcloud in your browser
2. Start playing any music track

OBSERVED RESULT
Music playback cannot be controlled by Plasma Integration, and querying media state says that nothing is playing (or the last compatible page)

EXPECTED RESULT
Info for the currently playing track is shown on the desktop, and the user can pause playback and jump to previous/next track from the session-wide media controls.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 5.2.8-zen Archlinux
(available in About System)
KDE Plasma Version: 5.16.4
KDE Frameworks Version: 5.60
Qt Version: 5.13.0

ADDITIONAL INFORMATION
I have tested the exact same install of Plasma Integration with other services such as YouTube, and these work (that is, my particular install is not faulty)
Comment 1 carl 2019-08-22 10:01:53 UTC
I can confirm that this doesn't work.
Comment 2 Kai Uwe Broulik 2019-08-22 10:58:33 UTC
Can you try enabling "Enhanced media controls" in the extension settings? With that enabled it works on a nextcloud instance, both from File browser and Music app.
Comment 3 Kai Uwe Broulik 2019-08-22 11:20:53 UTC
Turns out in Firefox it doesn't work because of a content security policy set by Nextcloud which Firefox honors also for extension content scripts.
Comment 4 thesola10 2019-08-22 11:50:20 UTC
On Firefox, enhanced media controls do not change the situation. Though I can confirm that it is Firefox-specific. (Tested on Chromium, same machine, server and config, it works)
Comment 5 thesola10 2019-08-29 20:35:43 UTC
I'm currently going to mark the bug as resolved, since the playback control now works again on the latest version of the browser extension (tested today on same Nextcloud instance and config where the bug was discovered)

Still, I would kind of like to see advanced controls (like album art) on ownCloud Music.