Home of the Squeezebox™ & Transporter® network music players.
Page 6 of 14 FirstFirst ... 45678 ... LastLast
Results 51 to 60 of 140
  1. #51
    Junior Member
    Join Date
    Apr 2011
    Posts
    5
    Thank you, Ralphy for your answer and all the helpful information.
    I'll have another look into the code asap and I'll keep you informed.

  2. #52
    Senior Member gharris999's Avatar
    Join Date
    Apr 2005
    Location
    Santa Fe, NM
    Posts
    3,299
    Here's another squeezeslave-as-a-service setup script. This one will configure a squeezeslave service for debian distros and for fedora. Mostly, I worked this up as an exercise in creating an interactive service install script using whiptail and to create a script that supported both sysv style init scripts as well as systemd unit files. It turned out to be a much bigger chore than I anticipated. Anyway, here it is, in the attached zip file. And this is what the whiptail setup menu looks like:
    Attached Images Attached Images  
    Attached Files Attached Files

  3. #53
    Junior Member
    Join Date
    Dec 2011
    Posts
    14

    squeezeslave hangs after iddle

    Hi,

    I have a problem already reported by other people about squeezeslave that seems to hang after inactivity. I run squeezeslave on an linux/arm device using version 1.2.337 from http://code.google.com/p/squeezeslave/downloads/list. The problem is reproducible : I get it each time when a song ends and there is nothing more to play. Then I must stop squeezeslave using kill -9 and start it again. I use an usb audio card (same problem with the 2 different cards), so it is a generic driver, and I think I cannot upgrade it. I use the latest archlinux for arm device :
    3.1.10-11-ARCH

    My device is an iconnect from iomega (http://archlinuxarm.org/forum/viewtopic.php?f=27&t=1472)

    Can you help me ?

    Ty
    Minscof

  4. #54
    Junior Member
    Join Date
    Dec 2011
    Posts
    14
    I didn't find a solution to my trouble with squeezeslave, so I switch to squeezeplay + xvfb and it is perfect.

    See https://aur.archlinux.org/packages.php?ID=56769 to get squeezeplay for archlinux, just need to add xvfb (a dummy xserver)

  5. #55
    Senior Member gharris999's Avatar
    Join Date
    Apr 2005
    Location
    Santa Fe, NM
    Posts
    3,299
    Quick (trivial) question about squeezeslave-1.2-365-osx running on my 2011 Mac-Mini, OS X Lion:

    Despite using --name HDMI or --output 2 with squeezeslave, I can't get any sound if there is a stereo-miniplug plugged into the headphone socket. VLC, if it's ouput is set to HDMI, doesn't have this problem and I'll get sound from my HDMI connected monitor's speakers. Any idea why this should be so?

    Anyway, I'm finding that booting into Lion is such a PITA that I'm finding excuses not to do so. Lion doesn't play well with my KVM [unlike windows 7 or Fedora on the same hardware] so I end up having to now switch both video AND audio connectors.

  6. #56
    Senior Member ralphy's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    937
    Quote Originally Posted by gharris999 View Post
    Quick (trivial) question about squeezeslave-1.2-365-osx running on my 2011 Mac-Mini, OS X Lion:

    Despite using --name HDMI or --output 2 with squeezeslave, I can't get any sound if there is a stereo-miniplug plugged into the headphone socket. VLC, if it's ouput is set to HDMI, doesn't have this problem and I'll get sound from my HDMI connected monitor's speakers. Any idea why this should be so?

    Anyway, I'm finding that booting into Lion is such a PITA that I'm finding excuses not to do so. Lion doesn't play well with my KVM [unlike windows 7 or Fedora on the same hardware] so I end up having to now switch both video AND audio connectors.
    Do you see the same behaviour with r345?

    I updated the portaudio library in r365 and I've noticed a couple other "weird" issues with the windows build as well.

    Can you provide the output from -L with r365 so I can try to reproduce on my mini as well?
    Ralphy

    1-Touch, 4-Classics, 2-Booms, 2-Squeezeslaves, 3-Squeezeplays, 3-Squeezelites
    Squeezeslave donations always appreciated.

  7. #57
    Senior Member gharris999's Avatar
    Join Date
    Apr 2005
    Location
    Santa Fe, NM
    Posts
    3,299
    ./squeezeslave-1.2-345 -L (with mini-plug in headphone socket)
    Code:
    Output devices:
    * 1: (Core Audio) Built-in Output (2/12)
      2: (Core Audio) HDMI (3/12)
    ./squeezeslave-1.2-345 -L (WITHOUT mini-plug in headphone socket)
    Code:
    Output devices:
      1: (Core Audio) Built-in Output (2/12)
    * 2: (Core Audio) HDMI (3/12)
    ./squeezeslave-1.2-365 -L (with mini-plug in headphone socket)
    Code:
    Output devices:
    * 1: (Core Audio) Built-in Output (2/12)
      2: (Core Audio) HDMI (3/12)
    ./squeezeslave-1.2-345 -L (WITHOUT mini-plug in headphone socket)
    Code:
    Output devices:
      1: (Core Audio) Built-in Output (2/12)
    * 2: (Core Audio) HDMI (3/12)
    --so no difference there.

    Running squeezeslave-1.2-345 with the following plist:
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
            <key>KeepAlive</key>
            <true/>
            <key>OnDemand</key>
            <false/>
            <key>RunAtLoad</key>
            <true/>
            <key>Label</key>
            <string>Squeezeslave</string>
            <key>ProgramArguments</key>
            <array>
                    <string>/usr/local/bin/squeezeslave-1.2-345</string>
                    <string>--retry</string>
                    <string>--output 2</string>
                    <string>--debuglog /var/tmp/squeezeslave.log</string>
                    <string>--debug slimaudio_output</string>
                    <string>--mac 00:04:20:9b:61:1a</string>
                    <string>localhost</string>
            </array>
    </dict>
    </plist>
    ..it seems to exhibit the same behavior as 365.

    Interestingly, if I launchctl squeezeslave with the mini-plug out, it plays (as expected) -- but continues playing if I then plug in the mini-plug. With the mini-plug remaining in, if I launchctl unload & then load, it doesn't play.

    So...perhaps this is an annoying quirk of OS X Lion more than anything else. Still, I'd like to know how VLC manages to work around this problem.

  8. #58

    Updated OpenWRT Packages


    (Downloads code.google)
    Updated packages for 'Backfire' and added 'Attitude Adjustment'.

    Any package questions/problems feel free to PM me.

    Thanks again to Ralphy for his hard work on Squeezeslave and continued guidance.

    ~MusicManiac

  9. #59
    Senior Member ralphy's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    937
    Quote Originally Posted by gharris999 View Post
    ..it seems to exhibit the same behavior as 365.

    Interestingly, if I launchctl squeezeslave with the mini-plug out, it plays (as expected) -- but continues playing if I then plug in the mini-plug. With the mini-plug remaining in, if I launchctl unload & then load, it doesn't play.

    So...perhaps this is an annoying quirk of OS X Lion more than anything else. Still, I'd like to know how VLC manages to work around this problem.
    I suspect it's portaudio as it currently doesn't support hotplugging devices.

    VLC appears to use CoreAudio directly, I'll confirm on the weekend.

    Can you attach the debug log as you have enabled slimaudio_output it may provide additional clues?

    Thanks.
    Ralphy

    1-Touch, 4-Classics, 2-Booms, 2-Squeezeslaves, 3-Squeezeplays, 3-Squeezelites
    Squeezeslave donations always appreciated.

  10. #60
    Senior Member gharris999's Avatar
    Join Date
    Apr 2005
    Location
    Santa Fe, NM
    Posts
    3,299
    Quote Originally Posted by ralphy View Post
    I suspect it's portaudio as it currently doesn't support hotplugging devices.

    VLC appears to use CoreAudio directly, I'll confirm on the weekend.

    Can you attach the debug log as you have enabled slimaudio_output it may provide additional clues?

    Thanks.
    Actually, I never did get anything at all to show up in the log. I did everything I could think of to make the file writeable by squeezeslave (chmod 777, etc.) Not sure what I did wrong there, but I still have a zero-byte, empty file.

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
  •