Merge lp:~ertain/elementaryos/pause-media-player-script into lp:~elementary-os/elementaryos/default-settings-trusty
Status: | Rejected | ||||
---|---|---|---|---|---|
Rejected by: | Danielle Foré | ||||
Proposed branch: | lp:~ertain/elementaryos/pause-media-player-script | ||||
Merge into: | lp:~elementary-os/elementaryos/default-settings-trusty | ||||
Diff against target: |
70 lines (+58/-0) 2 files modified
13_pause-media-players (+57/-0) debian/install (+1/-0) |
||||
To merge this branch: | bzr merge lp:~ertain/elementaryos/pause-media-player-script | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
David Hewitt | Disapprove | ||
Cameron Norman (community) | Disapprove | ||
Sergey "Shnatsel" Davidoff (community) | Needs Fixing | ||
Review via email: mp+244673@code.launchpad.net |
Description of the change
This is a script which could pause all currently playing media players. It utilizes MPRIS and D-Bus to do this. While this script isn't finished, it's a start.
It is suppose to fix bug #769598. The filer of this bug wanted to a feature which stops all currently playing media players because they don't want their music to start playing when their laptop comes back from hibernation.
A way of testing this script is to put it into the /etc/pm/sleep.d/ directory, then start a music player (such as Banshee), put the computer into suspension, and finally bring it out of suspension. What should happen is that the currently playing media player is paused. If this doesn't occur, check the logs for why this didn't happen. In the system logs there should be markings for the script (for instance, look for "[13_pause_
Unmerged revisions
- 144. By Jason Anderson
-
Moved the changelog to its own file
- 143. By Jason Anderson
-
Added code to unset DISPLAY variable after testing user for media player
- 142. By Jason Anderson
-
Switched to using sudo instead of su
- 141. By Jason Anderson
-
Changed sorting code for user logins
- 140. By Jason Anderson
-
Made script more compatible with eOS standards.
- 139. By Jason Anderson
-
Minor code and comment clean-up
- 138. By Jason Anderson
-
Changed some gdbus parameters and code for detecting DISPLAY variable
- 137. By Jason Anderson
-
Code clean-up
- 136. By Jason Anderson
-
Swapped out qdbus code for mdbus2 and gdbus code.'
- 135. By Jason Anderson
-
Put in setuid code and took out environmental variable code.
Cody asked me to review this, so I've commented on the diff.