Giter Site home page Giter Site logo

playbar2's People

Contributors

andrevmatos avatar dkadioglu avatar f1u77y avatar fademind avatar jsmitar avatar varlesh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

playbar2's Issues

Configure preferred source for controlling only favorite player

When system use multiple media players, Playbar use only one source for control, seems from which it got last event.

So very often this is web browser, that plays some short media file, that is not good, because after playing in browser I can't control my favorite media player.

Will be good to have option for force use preferred source to control in widget settings, can you please add this feature?

Play not worked after pause

Play action not worked with VLC after pause (on panel and widget too).
LOG plasmashell:

QDBusObjectPath: invalid path ""
Registering "org.kde.StatusNotifierItem-17871-1/StatusNotifierItem"
QDBusObjectPath: invalid path ""
QDBusObjectPath: invalid path ""
trying to show an empty dialog
QDBusObjectPath: invalid path ""
....

Step for reproduce:

  • run track on VLC
  • press pause on PlayBar
  • press play on PlayBar < this not worked, player paused.

KDE Neon 20170615
Plasma 5.10.1
KDE Frameworks 5.35
VLC 2.2.2
PlayBar 2.5

Keyboard shourtcut to easily move from player to player

I'd like to have a shortcut to move to next source. Would it be possible?

Also, I see in settings an option for "Toggle window media player", which at first I thought it was exactly this. But I don't see this shorcut does anything... Can you please clarify what is this functionality about?

Thank you!

Hard coded installation paths

My plasma location is /opt/kf5(/lib). It would seem however, the hard coded install path is /usr(/lib64). CMAKE_INSTALL_PREFIX seems to be ignored. Its a little annoying needing to manually move files into their correct places.

Picture Scaling

Hi,
first of all, thanks for the great widget. I would like to propose an enhancement for it: I like to see the album cover really large :-), but it does not scale with the widget. If automatic scaling is problematic an option to adjust the size in the settings would also work out for me.

I have attached two screenshots. The first one shows the widget in small. It looks nice in this setting. For the larger setting (screenshot2) however, the picture could use all the additional space. The skip and volume bar can stay vertically at the same position as before.

screenshot_20160614_222921
screenshot_20160614_223005

Show buttons on hover for extend text area with song info

At now widget button always visible, so they eats space in widget and cut text with current song info.
Will be good to implement mode for show only text info in widget, but on mouse hover - show buttons (pause, and next/prev/stop). This will extend area for displaying current song info, and allow to show more buttons on "Play/Pause and track info" mode. What do you think about this idea?

Dependencies of playbar in CMakeList.txt#find_package

There are some dependencies missing in CMakeList.txt and/or in README:md (that are currently only fulfilled in a transient way):

  • qtgui (both)
  • qtcore (readme)
  • qtwidgets (readme)
  • qtquickcontrols (readme)
  • frameworks KConfig (both)
  • frameworks KCoreAddons (both)
  • frameworks KI18n (readme)
  • frameworks KWidgetsAddons (both)

The dependency on the follwing packages is not necessary:

  • plasma-workspace (readme)

Furthermore the qml dependencies are only runtime dependencies (all the QML stuff, qtdeclarative), its nice to add them in cmake with the help of kde/extra-cmake-modules via:
ECMQMLModules#ecm_find_qmlmodule
You can find an example here: https://phabricator.kde.org/D7273

However, they are only present in frameworks >=5.28. Thus, you would need to require a recent frameworks version.

NEWS

On next days I will to liberate a new release.

new icon too small?

New icon of PlayBar seems to be very small in my system. Is there a way to make it bigger?

image

Support for KF 5.12

Greetings!
With new release of KF 12 the PlayBar stopped to work :(

LANG=C DEBUG=yes plasmawindowed audoban.applet.playbar
unversioned plugin detected, may result in instability
kf5.kservice.sycoca: Trying to open ksycoca from "/home/kv/.cache/ksycoca5"
Falling back to legacy separed QQmlEngine for applet "org.kde.desktopcontainment"
unversioned plugin detected, may result in instability
requesting config for "PlayBar" without a containment!
"file:///usr/share/plasma/plasmoids/audoban.applet.playbar/contents/ui/main.qml"
"Error loading QML file.
"
couldn't create slave: "Unable to create io-slave:
klauncher said: ??????????? ???????? ?plasmapackage?.

Last string is "Сообщение klauncher: Неизвестный протокол «plasmapackage»." Smth like "Unknouwn protocol "plasmapackage""

Trying to compile

Hey Im trying to compile playbar2
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
I typed this in but it keeps saying /home/username does does appear to contain CMakeLists.txt
how do I change the source also /home/username does not exist?
"username" referring my system's name
Thanks

Bigger icons size on panel

For KDE now default icon size 22px it's contained for status (on icon theme) and Plasma desktop theme.
Used icon media, but icons on Playbar bigger and blurred.
Please see screenshots for compare:
Original icon on Plasma theme:
image
Icons on panel:
image
Option toolbar not solve this, because icons not use 22px and very tiny (and blurred too):
image

Incorrect work on openSUSE 42.2

QObject::connect: Cannot connect (null)::settingsChanged(QString) to PlayBar::loadSettings()
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
qml: plugin name audoban.applet.playbar

[Feature Reguest] - Improve margins for Play/Pause layout

it would nice to have a little smaller margins in the right side of the Play/Pause layout. Playbar can not be added yet in the systray but it is possible to add it next to it.... Like the screenshot shows the only thing that distinguish the playbar applet from the systray items is a bigger margin on the right side. If this margin was changed a bit then the playbar applet would look like as it belonged in the systray when no media is playing...

image

Multiple bugs on Fedora KDE

I built your app from source, and it seems to have a few issues(used Spotify for that):
-No album cover is shown
-Cannot open the configuration window
-The 'Open Spotify' option does not work
-Next multimedia source does not do anything too.

However, the media buttons work.

Hope these issues get resolved soon - your widget looks great, looking forward to use it once it starts to work on Fedora.

[Feature request] Easy acces to change multimedia source

Could be interesting easy access icons to change the multimedia source, like in the next mockup:

playbar
There are two icons next to the Settings icon. This icons enable the fast change between the multimedia sources. In this example, between Clementine or VLC.

keyboard shortcuts to move back and forward

Playbar is very powerful, which now applies also to online multimedia players in common browsers like chromium and firefox via plasma-browser-integration. This is great to control pause/play, for instance.

There is however sth in online players that annoys me quite a bit, and playbar could perhaps help quite a lot: it is not easy to move the player position back and forward in a controlled manner. Instead, one needs to drag and drop the dot of the current player position, which is a very coarse way to do it.

It would be awesome to have the possibility to move back and forward the position of online multimedia players via Playbar. Ideally with an option in settings to set how many seconds to jump (so a user can configure it to her preference), and with keyboard shortcuts to activate the jump in each direction.

Do you think this is something doable?

Not possible in systray anymore

Is it not possible to have PlayBar in the systray anymore?
I really liked that feature, to replace Plasma's default media player control... Would it be possible to get it back?

Can't compile Playbar2 on Kubuntu (Ubuntu) 15.04 with KDE5 and Plasma2

I have install plasma-framework-devel and plasma5-workspace-devel packages (seems that it have other names in Ubuntu - plasma-workspace-dev and plasma-framework-dev).

But after this I see the errors on compiling Playbar2:

$ cmake -DCMAKE_INSTALL_PREFIX=/usr ..    
CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:77 (find_package):
  Could not find a package configuration file provided by "KF5DocTools"
  (requested version 5.9.0) with any of the following names:

    KF5DocToolsConfig.cmake
    kf5doctools-config.cmake

  Add the installation prefix of "KF5DocTools" to CMAKE_PREFIX_PATH or set
  "KF5DocTools_DIR" to a directory containing one of the above files.  If
  "KF5DocTools" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  CMakeLists.txt:14 (find_package)


-- Could NOT find KF5DocTools: found neither KF5DocToolsConfig.cmake nor kf5doctools-config.cmake 
CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:77 (find_package):
  Could not find a package configuration file provided by "KF5Declarative"
  (requested version 5.9.0) with any of the following names:

    KF5DeclarativeConfig.cmake
    kf5declarative-config.cmake

  Add the installation prefix of "KF5Declarative" to CMAKE_PREFIX_PATH or set
  "KF5Declarative_DIR" to a directory containing one of the above files.  If
  "KF5Declarative" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  CMakeLists.txt:14 (find_package)


-- Could NOT find KF5Declarative: found neither KF5DeclarativeConfig.cmake nor kf5declarative-config.cmake 
CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:77 (find_package):
  Could not find a package configuration file provided by "KF5WindowSystem"
  (requested version 5.9.0) with any of the following names:

    KF5WindowSystemConfig.cmake
    kf5windowsystem-config.cmake

  Add the installation prefix of "KF5WindowSystem" to CMAKE_PREFIX_PATH or
  set "KF5WindowSystem_DIR" to a directory containing one of the above files.
  If "KF5WindowSystem" provides a separate development package or SDK, be
  sure it has been installed.
Call Stack (most recent call first):
  CMakeLists.txt:14 (find_package)


-- Could NOT find KF5WindowSystem: found neither KF5WindowSystemConfig.cmake nor kf5windowsystem-config.cmake 
CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:77 (find_package):
  Could not find a package configuration file provided by "KF5ConfigWidgets"
  (requested version 5.9.0) with any of the following names:

    KF5ConfigWidgetsConfig.cmake
    kf5configwidgets-config.cmake

  Add the installation prefix of "KF5ConfigWidgets" to CMAKE_PREFIX_PATH or
  set "KF5ConfigWidgets_DIR" to a directory containing one of the above
  files.  If "KF5ConfigWidgets" provides a separate development package or
  SDK, be sure it has been installed.
Call Stack (most recent call first):
  CMakeLists.txt:14 (find_package)


-- Could NOT find KF5ConfigWidgets: found neither KF5ConfigWidgetsConfig.cmake nor kf5configwidgets-config.cmake 
CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:77 (find_package):
  Could not find a package configuration file provided by "KF5XmlGui"
  (requested version 5.9.0) with any of the following names:

    KF5XmlGuiConfig.cmake
    kf5xmlgui-config.cmake

  Add the installation prefix of "KF5XmlGui" to CMAKE_PREFIX_PATH or set
  "KF5XmlGui_DIR" to a directory containing one of the above files.  If
  "KF5XmlGui" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  CMakeLists.txt:14 (find_package)


-- Could NOT find KF5XmlGui: found neither KF5XmlGuiConfig.cmake nor kf5xmlgui-config.cmake 
CMake Warning at /usr/share/ECM/find-modules/FindKF5.cmake:77 (find_package):
  Could not find a package configuration file provided by "KF5GlobalAccel"
  (requested version 5.9.0) with any of the following names:

    KF5GlobalAccelConfig.cmake
    kf5globalaccel-config.cmake

  Add the installation prefix of "KF5GlobalAccel" to CMAKE_PREFIX_PATH or set
  "KF5GlobalAccel_DIR" to a directory containing one of the above files.  If
  "KF5GlobalAccel" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  CMakeLists.txt:14 (find_package)


-- Could NOT find KF5GlobalAccel: found neither KF5GlobalAccelConfig.cmake nor kf5globalaccel-config.cmake 
CMake Error at /usr/share/cmake-3.0/Modules/FindPackageHandleStandardArgs.cmake:136 (message):
  Could NOT find KF5 (missing: DocTools Declarative WindowSystem
  ConfigWidgets XmlGui GlobalAccel) (found suitable version "5.9.0", minimum
  required is "5.9.0")
Call Stack (most recent call first):
  /usr/share/cmake-3.0/Modules/FindPackageHandleStandardArgs.cmake:343 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/ECM/find-modules/FindKF5.cmake:113 (find_package_handle_standard_args)
  CMakeLists.txt:14 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/murz/temp/2015-07/PlayBar2-master/build/CMakeFiles/CMakeOutput.log".

Maybe I need to install some additional packages? Which names of packages can I try to install?

Icon names changed in KDE 5.17.3, missing icons

After an update to KDE 5.17.3 most media icons have been missing due to a rename of the icon names:

in icons/media

  • media-playback-start has changed to ww-hh-media-playback-start
  • media-playback-pause has changed to ww-hh-media-playback-pause
  • media-playback-stop has changed to ww-hh-media-playback-stop
  • media-skip-backward has changed to ww-hh-media-skip-backward
  • media-skip-forward has changed to ww-hh-media-skip-forward

where ww-hh- can be one of the following:

  1. 16-16-
  2. 22-22-
  3. 32-32-

Would it be poosible to use the renamed icons if available and otherwise the ones without the ww-hh--prefix (for downward compatibility)?

(With inkscape you can inspect /usr/share/plasma/desktoptheme/default/icons/media.svgz.)

Gentoo ebuild for your releases

Hi,
i like your plasmoid a lot (much better than the default media widget), but did not want to pollute my system with an unmanaged installation, so i have created a small ebuild (Gentoo Package file) for PlayBar2.

If you like, you can add this to your releases, or provide it at kde-look. By simply renaming the file to the desired version number, you can adjust the ebuild to new releases.

filename: playbar-2.3.ebuild

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=6
inherit cmake-utils

DESCRIPTION="Client MPRIS2, allows you to control your favorite media player"
HOMEPAGE="https://github.com/audoban/PlayBar2"
SRC_URI="https://github.com/audoban/PlayBar2/archive/v${PV}.tar.gz"

LICENSE="GPLv3"
SLOT="0"

KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"

DEPEND="kde-frameworks/kglobalaccel
        kde-plasma/plasma-workspace
        kde-frameworks/kdeclarative
        kde-frameworks/kconfigwidgets
        kde-frameworks/kxmlgui
        kde-frameworks/kwindowsystem
        kde-frameworks/kdoctools"

S="${WORKDIR}/PlayBar2-${PV}"

Force kwin to give focus to SMPlayer on "Toggle window media player" (it actually applies to all non-KDE media players using MPRIS)

This issue follows some discussion in issue #37

SMPlayer dev comment:

There's already code to raise the window in the mpris2 code (of SMPlayer), however it seems most desktops ignore it because they don't allow a window to go foreground on its own. The dragonplayer uses a specific function from the KDE libraries to do it (KWindowSystem::forceActiveWindow), but I can't use the KDE libraries, otherwise smplayer will depend on a lot of KDE packages.

Maybe the call to that function can be done by playbar2. According to
the KDE documentation that function should only be used by "pagers and
similar tools".

https://api.kde.org/frameworks/kwindowsystem/html/classKWindowSystem.html#aecb213d950a6615fc0e961273d72e166

Thanks for considering!

Vertical layout does not persist

In the last update I liked so much the vertical layout. I did configure my play bar widget in vertical mode, but when I turn on my pc, this layout does not persist. Then, I go to the settings of the widget: the vertical layout appears chosen. So, I have to chose horizontal layout and then go back to the vertical to apply the changes to get this mode.

Expanded view stopped working with Plasma 5.15

Preview
Was alright in 5.14.x. Tried rebuilding with plasma-framework-dev-5.44.0 and plasma-workspace-dev-4:5.15.0 but didn't really change anything appearance-wise.
Not sure how to debug this unfortunately.

Notification error

Notification with mouse area show this:
screen13
version 2.2
Kubuntu 15.04
KDE 5.3.2

Latest -devel version is broken.

Greetings!

I've build the latest version from remotes/origin/playbar-devel branch.
After start it shows these errors:

Ошибка загрузки файла QML: file:///usr/share/plasma/plasmoids/audoban.applet.playbar/contents/ui/main.qml:85:31: Type FullApplet unavailable
file:///usr/share/plasma/plasmoids/audoban.applet.playbar/contents/ui/FullApplet.qml:22:1: Type DefaultLayout unavailable
file:///usr/share/plasma/plasmoids/audoban.applet.playbar/contents/ui/DefaultLayout.qml:84:2: Type SliderSeek unavailable
file:///usr/share/plasma/plasmoids/audoban.applet.playbar/contents/ui/SliderSeek.qml:52:3: Property value set multiple times

Maybe smth wrong in install?
Thank You.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.