Git Product home page Git Product logo

Comments (9)

elementaryBot avatar elementaryBot commented on September 16, 2024

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.

elementaryBot avatar elementaryBot commented on September 16, 2024

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.

elementaryBot avatar elementaryBot commented on September 16, 2024

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):

http://xmms2.org/wiki/MPRIS

Launchpad Details: #LPC Christian Dywan - 2011-04-25 18:05:36 +0000

from music.

elementaryBot avatar elementaryBot commented on September 16, 2024

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.

elementaryBot avatar elementaryBot commented on September 16, 2024

...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.

elementaryBot avatar elementaryBot commented on September 16, 2024

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.

elementaryBot avatar elementaryBot commented on September 16, 2024

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.

elementaryBot avatar elementaryBot commented on September 16, 2024

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.

elementaryBot avatar elementaryBot commented on September 16, 2024

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)

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.