Bug 378272 - Commandline feature request
Summary: Commandline feature request
Status: RESOLVED INTENTIONAL
Alias: None
Product: dragonplayer
Classification: Applications
Component: general (show other bugs)
Version: 2.0
Platform: Debian stable Linux
: NOR wishlist
Target Milestone: ---
Assignee: Harald Sitter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-30 12:14 UTC by Intense Red
Modified: 2017-03-30 12:23 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Intense Red 2017-03-30 12:14:42 UTC
While Dragon Player is great, it could be "more great" simply by adding a couple of simple commandline switches.

Commandline switches to be able to run DragonPlayer in fullscreen modeo, to turn on the fullscreen volume meter, and to fully exit/terminate when a video is finished would allow DragonPlayer to be easily integrated into KDE as a fullscreen video player.
Comment 1 Harald Sitter 2017-03-30 12:23:37 UTC
KDE is a community of people, I doubt dragon would easily integrate into humans.

The way to control dragon is over dbus.

# fullscreen
qdbus org.mpris.MediaPlayer2.dragonplayer /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Fullscreen true

# slider
qdbus org.mpris.MediaPlayer2.dragonplayer /dragonplayer/MainWindow_1/actions/volume org.qtproject.Qt.QAction.trigger

# quit 
# listen to property change on org.mpris.MediaPlayer2.Player.PlaybackStatus then
qdbus org.mpris.MediaPlayer2.dragonplayer /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Quit