Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 8 123 ... LastLast
Results 1 to 10 of 71
  1. #1
    Senior Member bluegaspode's Avatar
    Join Date
    Jul 2009
    Location
    Berlin, Germany
    Posts
    3,229

    Announce: Headphone Switcher for Squeezebox Duet

    Did you realize that your Controller has a headphones socket ? But the sounds comes through the speaker though you plugged in Headphones ?
    Actually this is a know bug (http://bugs.slimdevices.com/show_bug.cgi?id=10073) which didn't get fixed for quite some time now.
    So I decided to write a small applet, which would make me able to switch headphones manually via a menu:



    Please note:
    • this applet is tested and working with a 7.3 to 7.5 firmware
    • this applet will install a new menu-item 'headphone switch' on the 'extras'-menu, which leads to the submenu you can see in the screenshot. If you don't see the extras-menu, you need to turn it on under 'settings->menu'
    • this applet switches to headphone in the moment the menu-item is used. There is no built-in protection against any changes that the controller is doing. So if you remove headphones and insert them again then the controller was in charge and might override the setting from the applet. Same could happen when switching music-libraries, turning the controller on/off whatever ... I just don't know.
      You then have to go back to the menu to switch again.
      BEWARE: going to bed with headphones turned on and your wife sleeping beside you maybe isn't a good idea as long as you didn't test for sideeffects. I don't know if and under what circumstances the controller decides to switch back to speakers


    Hope that you will have more fun with this applet.

    If you like this work maybe take a short second to donate to third party developers who try to bring you joy in their free time.
    Use the following link if you want to send a small 'thank you' via PayPal: https://www.paypal.com/cgi-bin/websc...=ZXNEJ4HRZ3YNY (PayPal collects about 0.50USD from your donation)


    By the way: If you face the issue, that headphones aren't switching automatically, before you use this applet, PLEASE take the time, create a bugzilla account and vote for the bug !
    I think it also makes sense to leave a comment there.

    7.3.x install instructions
    ==========================
    • open WebUI of SqueezeboxServer, there open settings.
    • go to the 'Advanced'-Tab, select 'Extension Downloader'
    • under 'Additional Repositories' add 'http://www.stagessound.de/bluegaspode.xml' and apply. It looks as if nothing changed, but the fun part now is at the controller
    • take your controller, select 'Settings->Advanced->Applet Installer', there you will find the 'Headphone Switcher'.
    • select it and start the install, your controller will restart and you will find the applet under 'extras'-menu


    7.4.x + 7.5.x install instructions
    ==========================
    • actually you have to do the same steps as in 7.3, but menus on SqueezeboxServer and Controller have changed a bit:
    • Again on SqueezeboxServer go the the settings, this time to the tab 'Plugins'. At the lower end you will find 'Additional repositories' where you can add the URL from above.
    • On the Controller the menu-structure for installing applets changed a bit as well. Again go to 'Settings->Advanced->Applet Installer', select the Headphone-Switcher and then select the option 'Install'.
      No go one menu up where you will find a button 'Install/Remove 1/0', if you press it, all selected applets will be downloaded and installed. Your Controller then restarts.
    • On the 7.4 firmware the 'Extras' menu doesn't show by default. You have to activate it under 'Settings->Home Menu'.


    Tips for better playback
    ==========================
    If you are not satisfied with the playback of your controller (pops, crackles) the following tips might help:
    • Try to turn of the 'Now Playing' Screensafer while playing music (you can configure this under the screensafers setting). This screen draws some computational power which should be better used for playback
    • Try to use low-bitrate mp3 first (192kB/s). You might also try to have your server automatically transcode the music on the fly to lower bitrates (if it sends streams to the Controller only of course). Go to the Settings-Screen on the Web-UI, choose the Controller and than audio -> there you'll find appropiate settings.




    ChangeHistory:
    ===============
    28.08.2009: first version
    30.08.2009: added danish (thanks to Kuben72) + german translations.
    30.08.2009: added instructions for running under 7.4
    31.08.2009: full feature set under 7.4 (>r7335), automatic detection of 7.3/7.4 firmware
    01.09.2009: install from SqueezeCenter, no manual upload to SBC anymore
    30.09.2009: updated 7.4 install instructions
    01.10.2009: fixed unaligned popup-texts on 7.4
    01.10.2009: created new option 'Improve Audio Playback' for 7.4.0-users, see http://forums.slimdevices.com/showth...814#post464814 for details
    Last edited by bluegaspode; 2010-06-16 at 14:13.

  2. #2
    Senior Member gharris999's Avatar
    Join Date
    Apr 2005
    Location
    Santa Fe, NM
    Posts
    3,515
    Bravo! I'll give this a try!

  3. #3
    Senior Member tcutting's Avatar
    Join Date
    May 2008
    Location
    Southern California, USA
    Posts
    1,396

    Smile Thanks!

    Great work on the applet!
    The "automatic" headphone switching worked for me once or twice, but usually didn't. I voted for the bug quite some time ago. At one point I modified the settings to force the output to the headphone, but I like having the audio feedback on the speaker, so I reversed the change. Your applet is a nice solution. Hopefully you can figure out how to get it to work under V7.4 by the time I'm ready to switch version!
    Thanks!
    PS- I'm listening to some Stevie Ray Vaughan on headphones through my controller as I write this!

  4. #4
    Senior Member
    Join Date
    Feb 2008
    Location
    Denmark
    Posts
    603
    Yes, this is a great little applet.
    I took the liberty of adding localisation so it would speak danish to me.

    EDIT: And now I just realised that the english I have added is different that yours. Sorry I will change it back
    Last edited by Kuben72; 2009-08-29 at 09:13.
    /Kuben72

    2 Duet, 1 SB3, 1 Boom and 2 Radios

  5. #5
    Senior Member
    Join Date
    Feb 2008
    Location
    Denmark
    Posts
    603
    And now with the originally English translation
    /Kuben72

    2 Duet, 1 SB3, 1 Boom and 2 Radios

  6. #6
    Senior Member bluegaspode's Avatar
    Join Date
    Jul 2009
    Location
    Berlin, Germany
    Posts
    3,229
    Cool!

    I added german as well and reverted all log-messages to english.
    The current version is uploaded to the wiki.

  7. #7
    Senior Member
    Join Date
    Nov 2008
    Location
    Denmark
    Posts
    326

    Thumbs up

    Great, thanks.
    I will definately install this when I find the time for it. I already voted for the bug. Actually this was the bug that made me create a bugzilla-account.

    I made change to the controller described elsewhere in the forums, but to be able to switch back to the speaker for the system-sounds is great.
    Is there a way for you to monitor how many times the applet is installed? Just to get some indication how many suffers enough from this problem to do the effort og installing you applet.
    BR Mogens

    2 Radios (1 battery), 2 Controllers, 2 Receivers, SqueezeCommander, OrangeSqueeze and SqueezePlayer on Samsung Galaxy Nexus.

  8. #8
    Senior Member bluegaspode's Avatar
    Join Date
    Jul 2009
    Location
    Berlin, Germany
    Posts
    3,229
    Quote Originally Posted by Muele View Post
    Is there a way for you to monitor how many times the applet is installed?
    No - in the wiki there doesn't seem to be a download-count.

  9. #9
    Senior Member
    Join Date
    Feb 2008
    Location
    Denmark
    Posts
    603
    If anyone knows how-to we should get this applet under some sort of version control so we can make sure that we don't overwrite each others changes.

    Funny how such a small piece of software can make your life a bit easier.
    /Kuben72

    2 Duet, 1 SB3, 1 Boom and 2 Radios

  10. #10

    Thumbs up Yes!

    THANK YOU FOR THIS APP!!!!

    Well, this is open source doing what it does best. I will not say much about my thoughts as to why Logitech can't get this working (yes, its a Beta feature... and it has been a beat feature for oh soooo long), so this is where open source picks up the slack of the manufacturer.

    -Z

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •