playbar2
playbar2 copied to clipboard
Widget is empty
http://itmages.ru/image/view/6173594/3799b749 This picture shows that the widget is empty. This behavior of the widget is observed in kubuntu 16.04 and mint 18. At the same time its settings open normally.
Same here, openSUSE 42.3. Using DE: KDE 5.32.0 / Plasma 5.8.7 MP: Clementine 1.3.1 Just work the button Pause and not resume again.
What am I supposed to do?
I will fix, give me a hours.
What is your media player? @KOT040188
I updated kubuntu before 17.10 and the widget began to show its interface. But he works strange. It does not support lollypop and cantata. I do not have other audio players. The widget supports only kradio. Immediately after starting and pressing the pause button, the widget sets the sound in the system to zero. The following presses on this button work fine. Strange widget ...
Only occur with KRadio?
Immediately after starting and pressing the pause button, the widget sets the sound in the system to zero.
Do you have enable Mpris support in Cantata?
it does not support lollypop and cantata.
Only occur with KRadio?
I have no other applications.
Do you have enable Mpris support in Cantata?
The regular audio player management widget works well with lollypop and cantata. Why can not PlayBar2 do this?
Then it must be an bug from my widget.
The regular audio player management widget works well with lollypop and cantata. Why can not PlayBar2 do this?
I'm downloading cantata and lollypop to test my widget.
If I find the error, I will notify you.
I try to start Lollipop but it does not start.
With respect to cantata, my widget works normally, I can use play/pause, stop and seek slider. what exactly the problem?
Kubuntu 17.10 + backports. The playbar2 2.5 widget does not work with lollypop and cantata.
Please follow this steps:
- go to Cantata configure...
- Interface > click on tab: External
- check MPRIS D-Bus interface
- check show icon in notification area
play any song, close cantata from the titlebar and paste a screenshot.
show me a screenshot of cantanta and playbar
I can make it easier. I'll write a video tomorrow.
ok, dont worry
https://youtu.be/qV6zJld4dRY But I managed to get the PlayBar2 widget to work with lollypop and cantata. The problem is that PlayBar2 does not know how to switch between applications on the fly. The standard widget kde knows how to do this. Kradio starts with the system and hangs in the tray. Therefore, if you click on the play button in PlayBar2, it will turn on Kradio. If you close Kradio, then PlayBar2 will be able to switch to the next running player and become attached to it (eg lollypop). On the other players, he will not react until I turn off the lollypop.
https://youtu.be/VCYEiqHZ-Hc This video shows that the sound level in the system is set to zero when the pause button is first pressed.
I really liked PlayBar2. I want to use it. But these bugs interfere with me ...
@KOT040188 Hello again. Give me a few minutes I will try to understand what happens.
It is possible that it is an error of KRadio4, I was only able to reproduce the bug once, however I will continue testing with KRadio.
This video shows that the sound level in the system is set to zero when the pause button is first pressed.
I suppose it is an error in how PlayBar selects the source automatically.
The problem is that PlayBar2 does not know how to switch between applications on the fly.
Can you try to run playbar from the terminal and paste the output of the terminal?
plasmoidviewer -a audoban.applet.playbar
remember install plasma-sdk to use plasmoidviewer
It is possible that it is an error of KRadio4, I was only able to reproduce the bug once, however I will continue testing with KRadio.
No. If I do not run kradio, then the behavior of playbar2 with other players will be exactly the same.
I suppose it is an error in how PlayBar selects the source automatically.
Playbar2 does not know how to automatically select a active player. He is attached to the first running player. This is the problem. Standard widget can automatically select the active player.
Can you try to run playbar from the terminal and paste the output of the terminal?
I can do it tomorrow. It's night ...
Please test with this version, now you can select the prefered source. https://github.com/audoban/PlayBar2/tree/newfeatures

Sorry, but I can not compile
kot@kot-MS-7930:~$ plasmoidviewer -a audoban.applet.playbar QML debugging is enabled. Only use this in a safe environment. Invalid Context= "Panel" line for icon theme: "/usr/share/icons/Numix-Circle/16/panel/" Invalid Context= "Panel" line for icon theme: "/usr/share/icons/Numix-Circle/16@2x/panel/" Invalid Context= "Panel" line for icon theme: "/usr/share/icons/Numix-Circle/22/panel/" Invalid Context= "Panel" line for icon theme: "/usr/share/icons/Numix-Circle/22@2x/panel/" Invalid Context= "Panel" line for icon theme: "/usr/share/icons/Numix-Circle/24/panel/" Invalid Context= "Panel" line for icon theme: "/usr/share/icons/Numix-Circle/24@2x/panel/" Invalid Context= "Panel" line for icon theme: "/home/kot/.local/share/icons/Numix/16/panel/" Invalid Context= "Panel" line for icon theme: "/usr/share/icons/Numix/16/panel/" Invalid Context= "Panel" line for icon theme: "/usr/share/icons/Numix/16@2x/panel/" Invalid Context= "Panel" line for icon theme: "/usr/share/icons/Numix/22/panel/" Invalid Context= "Panel" line for icon theme: "/home/kot/.local/share/icons/Numix/22@2x/panel/" Invalid Context= "Panel" line for icon theme: "/usr/share/icons/Numix/22@2x/panel/" Invalid Context= "Panel" line for icon theme: "/usr/share/icons/Numix/24/panel/" Invalid Context= "Panel" line for icon theme: "/home/kot/.local/share/icons/Numix/24@2x/panel/" Invalid Context= "Panel" line for icon theme: "/usr/share/icons/Numix/24@2x/panel/" Invalid Context= "Notifications" line for icon theme: "/usr/share/icons/Numix/48/notifications/" Invalid Context= "Notifications" line for icon theme: "/home/kot/.local/share/icons/Numix/48@2x/notifications/" Invalid Context= "Notifications" line for icon theme: "/usr/share/icons/Numix/48@2x/notifications/" Icon theme "gnome" not found. Toolbox not loading, toolbox package is either invalid or disabled. Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion <Unknown File>: QML Plasmoid: Binding loop detected for property "preferredRepresentation" file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/Styles/Base/ButtonStyle.qml:153:31: QML QQuickItem: Binding loop detected for property "implicitWidth" file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/Styles/Base/ButtonStyle.qml:153:31: QML QQuickItem: Binding loop detected for property "implicitWidth"
How do I get the finished compiled widget?
Download the version of the branch newfeatures and install the dependences for build Playbar. and for install the widget:
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
make && sudo make install
Why can not you give me a finished package? I do not understand what to do.
I was told a little what to do. Some mistake.
kot@kot-MS-7930:~/bin/PlayBar2-newfeatures/build$ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .. -- The C compiler identification is GNU 7.2.0 -- The CXX compiler identification is GNU 7.2.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Error at CMakeLists.txt:11 (find_package): Could not find a package configuration file provided by "Qt5" (requested version 5.4.1) with any of the following names: Qt5Config.cmake qt5-config.cmake Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR" to a directory containing one of the above files. If "Qt5" provides a separate development package or SDK, be sure it has been installed. -- Configuring incomplete, errors occurred! See also "/home/kot/bin/PlayBar2-newfeatures/build/CMakeFiles/CMakeOutput.log".
I didn't have a environment with Debian build a package.
Why can not you give me a finished package? I do not understand what to do.
Run this commands from the terminal
# dependences in Kubuntu
sudo apt-get install g++ plasma-framework-dev plasma-workspace-dev libkf5declarative-dev \
libkf5globalaccel-dev libkf5configwidgets-dev libkf5xmlgui-dev \
libkf5windowsystem-dev kdoctools-dev cmake extra-cmake-modules kdelibs5-dev
# clone the repository
git clone https://github.com/audoban/PlayBar2.git
cd PlayBar2
git checkout newfeatures
# build the widget
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
make
sudo make install
Again the problem:
kot@kot-MS-7930:~/PlayBar2/build$ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .. -- The C compiler identification is GNU 7.2.0 -- The CXX compiler identification is GNU 7.2.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Installing in the same prefix as Qt, adopting their path scheme. -- Found KF5Plasma: /usr/lib/x86_64-linux-gnu/cmake/KF5Plasma/KF5PlasmaConfig.cmake (found version "5.39.0") -- Found KF5PlasmaQuick: /usr/lib/x86_64-linux-gnu/cmake/KF5PlasmaQuick/KF5PlasmaQuickConfig.cmake (found version "5.39.0") -- Found KF5WindowSystem: /usr/lib/x86_64-linux-gnu/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake (found version "5.39.0") -- Found KF5ConfigWidgets: /usr/lib/x86_64-linux-gnu/cmake/KF5ConfigWidgets/KF5ConfigWidgetsConfig.cmake (found version "5.39.0") -- Found KF5XmlGui: /usr/lib/x86_64-linux-gnu/cmake/KF5XmlGui/KF5XmlGuiConfig.cmake (found version "5.39.0") -- Found KF5GlobalAccel: /usr/lib/x86_64-linux-gnu/cmake/KF5GlobalAccel/KF5GlobalAccelConfig.cmake (found version "5.39.0") CMake Error at /usr/share/cmake-3.9/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find Gettext (missing: GETTEXT_MSGMERGE_EXECUTABLE GETTEXT_MSGFMT_EXECUTABLE) Call Stack (most recent call first): /usr/share/cmake-3.9/Modules/FindPackageHandleStandardArgs.cmake:377 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake-3.9/Modules/FindGettext.cmake:76 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) /usr/lib/x86_64-linux-gnu/cmake/KF5I18n/KF5I18NMacros.cmake:28 (find_package) /usr/lib/x86_64-linux-gnu/cmake/KF5I18n/KF5I18nConfig.cmake:43 (include) /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package) CMakeLists.txt:16 (find_package) -- Configuring incomplete, errors occurred! See also "/home/kot/PlayBar2/build/CMakeFiles/CMakeOutput.log".