More > JRiver Media Center 21 for Linux
MC21 not preventing system standby during playback
terrym@tassie:
I am having a problem where MC21 does not prevent the system from going into standby during playback. Reporter shows Playback (disable automatic sleep) but the system goes into standby at the time set in the power manager.
Debian 8.1 AMD64 with Xfce4 desktop and power manager.
MC21 is being used as a client so no local file access is occurring.
New to using MC on Linux, is there anything I need to do to configure the power manager?
mwillems:
I have the same issue, I don't think JRiver has revised it's power management signals for systemd. Power management/blocking suspend is different in systemd than it was under the old system.
The documentation is here: http://www.freedesktop.org/software/systemd/man/systemd-inhibit.html
http://www.freedesktop.org/wiki/Software/systemd/inhibit/
I keep meaning to script something to deal with it using the new inhibitor system (it's trivial to query MC's web interface to determine if something is currently playing), but I haven't worked with this systemd module before, I'm not sure that all desktop environments have fully implemented the functionality (XFCE had not as of last year, but that may have changed), and I'm lazily hoping the MC team will sort it out ;D
EDIT: looks like it's implemented in XFCE now (as well as gnome and KDE): https://wiki.archlinux.org/index.php/Power_management#ACPI_events
terrym@tassie:
Thanks for the info, yes I can confirm I see the same issue if I use the Gnome desktop.
Also no block is being listed for Mediacenter21 (systemd-inhibit --list).
JRiver devs- any timescale for resolution of this issue?
A very quick and dirty work-around for me is to start my MC21 session using systemd-inhibit so that it blocks sleep until I terminate the session, at least that way the music doesn't suddenly cut off!
Edit: To my surprise the above didn't work, although it was listed as having a block.
Guess I'll have to wait for a proper fix and disable standby while using MC21.
bob:
The Options->Audio->Settings->Disable display from turning off (useful for HDMI audio) option might help keep the system from sleeping.
mwillems:
--- Quote from: bob on August 17, 2015, 02:32:25 pm ---The Options->Audio->Settings->Disable display from turning off (useful for HDMI audio) option might help keep the system from sleeping.
--- End quote ---
On Arch, I don't see an inhibitor lock from MC when I use that option (and my display doesn't stay on). I assumed the issue was related to the new inhibitor framework in systemd.
Bob are you saying that that option is working correctly for you on Jessie? If so that points to something other than systemd as the culprit.
Navigation
[0] Message Index
[#] Next page
Go to full version