bkueng/mediacontrollercompact

"Start player" feature not load player on button click

MurzNN opened this issue · 3 comments

In "Start player" field of plasmoid settings I put full path to my favorite media player (/usr/bin/MellowPlayer).

When MellowPlayer is unloaded - widget shows only one "play" button with "No media playing" popup. But when I click on that button or on any other place in plasmoid - it don't load my player, and don't do anything else.

Does this feature must work like described? If yes, how can I debug where can be the problem?

Yes this works for me. A few things you can try:

  • Make sure you have the path correct by executing /usr/bin/MellowPlayer on the shell
  • Change the entry to echo test > /tmp/file and check if that file gets created.

For referece, it's executed here: https://github.com/bkueng/mediacontrollercompact/blob/master/package/contents/ui/ExpandedRepresentation.qml#L156.

Command echo test > /tmp/file works well, also works with /usr/bin/vlc, seems problem is with only MellowPlayer startup script, near something like:

[W] [2019-08-06 11-51-22:016706] [qt] file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Dialogs/DefaultFileDialog.qml:102:33: QML Settings: Failed to initialize QSettings instance. Status code is: 1
[W] [2019-08-06 11-51-22:016764] [qt] file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Dialogs/DefaultFileDialog.qml:102:33: QML Settings: The following application identifiers have not been set: QVector("organizationName", "organizationDomain")

So, not related to mediacontrollercompact, closing, sorry for noise.

Solved via redirecting output to file using /usr/bin/MellowPlayer > /tmp/mp-output.txt