Comments (9)
is there a dbus api that all music players share for this or something? Or am I only gonna support BeatBox?
Launchpad Details: #LPC Allen Lowe - 2011-04-25 17:36:01 +0000
from music.
If it's possible, we should do whatever happens when you press the pause media key on the keyboard. In that way it's respected by music and video players.
Launchpad Details: #LPC Daniel Fore - 2011-04-25 17:52:03 +0000
from music.
The best choice should be MPRIS. BeatBox is going to support as far as I was told, and further more Audacious, Banshee, Rhythmbox, XMMS and VLC support it (to different degrees):
Launchpad Details: #LPC Christian Dywan - 2011-04-25 18:05:36 +0000
from music.
I have tried tackling this problem.
It looks like we need to add a script to /etc/pm/sleep.d
Launchpad Details: #LPC Jason Anderson - 2014-12-03 04:34:08 +0000
from music.
...and use dbus to pause the media players. When the computer is about to go to sleep it fires off a signal on dbus to the listening programs. I have enclosed the script which may make this work.
Launchpad Details: #LPC Jason Anderson - 2014-12-03 04:35:51 +0000
from music.
Okay, I think this little feature is ready for testing. If anyone wants, they can clone my branch and test it out.
Launchpad Details: #LPC Jason Anderson - 2015-03-06 02:59:56 +0000
from music.
You need to listen for the PrepareForSleep() signal in Noise and pause the music when you get that signal.
www.freedesktop.org/wiki/Software/systemd/inhibit/
Launchpad Details: #LPC Cameron Norman - 2015-06-08 18:48:27 +0000
from music.
I believe this should be a system-wide pause command (MPRIS) and should not be limited to only VLC. I don't think the player should care what sleep state the system is in.
Launchpad Details: #LPC Zisu Andrei - 2016-05-26 21:33:17 +0000
from music.
Sorry, read should not be limited only to Noise.
Launchpad Details: #LPC Zisu Andrei - 2016-05-26 21:33:33 +0000
from music.
Related Issues (20)
- Open song or folder from Music HOT 11
- Music not displaying metadata HOT 1
- Adapt other gtk themes HOT 2
- Adapt other gtk themes HOT 1
- Adapt other gtk themes music HOT 1
- music player themes? HOT 2
- Performance: Use Multiple Threads when Scanning Local Files HOT 1
- Audio Metadata editor can't save the modified fields HOT 1
- Shortcuts improvements HOT 1
- Can't drag and drop folders into playlist HOT 2
- Right clicking anywhere in the window shows a popup menu with generic/unrelated options HOT 1
- Open and manage .m3u8 files (playlists) HOT 6
- Context menu is a mess HOT 1
- Flatpak: Cannot open files when built as Flatpak HOT 1
- Support .webm audio and .mp4 audio
- Daily build: No music player set in applications settings
- Search mechanism in the app HOT 2
- Build failed error: The name `drop' does not exist in the context of `Gtk.DropTarget' (gtk4) HOT 3
- Chronogical file order when importing a folder
- Re-adding a file causes a partially corrupt queue item
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from music.