Bugs item #1563365, was opened at 2006-09-22 10:21
Message generated for change (Settings changed) made by duncanwebb
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1563365&group_id=46652
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: music
Group: 1.5.4
>Status: Closed
Resolution: Accepted
Priority: 5
Submitted By: Duncan Webb (duncanwebb)
Assigned to: Nobody/Anonymous (nobody)
Summary: Failing to get mixer by name
Initial Comment:
Attached is a patch to fix a problem of the mixer not
being detected when called by getbyname.
This means that the plugin idlebar.volume is never
displayed.
And this code always fails:
mixer = plugin.getbyname('MIXER')
if mixer and config.MAJOR_AUDIO_CTRL == 'VOL':
mixer_vol = mixer.getMainVolume()
mixer.setMainVolume(0)
elif mixer and config.MAJOR_AUDIO_CTRL == 'PCM':
mixer_vol = mixer.getPcmVolume()
mixer.setPcmVolume(0)
The cause is that
plugin.__init__(self) called from
plugin.DaemonPlugin.__init__(self) reset the
plugin_name to ''
The fix is move the plugin_name after
plugin.DaemonPlugin.__init__(self).
----------------------------------------------------------------------
Comment By: Duncan Webb (duncanwebb)
Date: 2006-09-22 10:41
Message:
Logged In: YES
user_id=104395
Patch applied to revision 8225
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1563365&group_id=46652
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel