I am new to Squeezebox.
I am trying to set up a system where the music being played can be controlled through a browser. I set up squeezebox server and loaded my music. So far so good.
For the player, I am using mplayer streaming:
mplayer -really-quiet -cache 8192 -cache-min 5 URL_WOULD_GO_HERE/stream.mp3
This works really well, except that the volume control in the Squeezebox server doesn't work. I need a volume control...
So... How should I set up Squeezebox server + some sort of software player to play music with a functional volume control in the squeezebox server?
Is there some way to hook the Squeezebox server directly into pulseaudio?
Results 1 to 6 of 6
Thread: Streaming volume control?
-
2012-04-21, 06:32 #1Junior Member
- Join Date
- Apr 2012
- Posts
- 10
Streaming volume control?
-
2012-04-21, 06:37 #2Senior Member
- Join Date
- May 2008
- Location
- United States
- Posts
- 8,217
install squeezeplay as your player. give it a name and "choose player" of that name within squeezeplay. And Squeezeplay can be a software player (and can control itself or any other Squeeebox player. install from here (all versions are beta, but they work fine)
http://downloads.slimdevices.com/nightly/?ver=7.7Location 1: VortexBox Appliance 6TB (2.2) > LMS 7.7.2 > Transporter, Touch, Boom, Radio w/Battery (all ethernet)
Location 2: VBA 3TB (2.2) > LMS 7.7.2 > Touch > Benchmark DAC I, Boom, Radio w/Battery (all ethernet except Radio)
Office: Win7(64) > LMS 7.7.2 > SqueezePlay
Spares: VBA 4TB, SB3, Touch (3), Radio (3), CONTROLLER
Controllers: iPhone4S (iPeng), iPad2 (iPengHD & SqueezePad), CONTROLLER, or SqueezePlay 7.7 on Win7(64) laptop
Ripping (FLAC) - dbpoweramp, Tagging - mp3tag, Spotify
-
2012-04-21, 08:32 #3Junior Member
- Join Date
- Apr 2012
- Posts
- 10
OK, I got squeezeplay installed. Tried both version 7.4 and 7.7 beta.
7.4 complains that it can't find a video output device.
7.7 throws tons of errors like this:
20120421 15:29:25.866 WARN squeezeplay.ui.draw - _load_image:207 Error loading tile image /opt/squeezeplay/share/jive/applets/WQVGAsmallSkin/images/Alerts/wifi_connecting.png: Unsupported image format
and eventually ends up at a black screen.
Since I'm running Ubuntu 64-bit, I'm guessing I'm missing a 32 bit png lib or utility somewhere. Any clues on which one? Or is there a 64 bit binary anwyere? The tarball is not source; it's binary as well....
Edit:
Is there a CLI client that I can use?Last edited by cptdondo; 2012-04-21 at 08:39.
-
2012-04-21, 08:47 #4Senior Member
- Join Date
- May 2008
- Location
- United States
- Posts
- 8,217
Location 1: VortexBox Appliance 6TB (2.2) > LMS 7.7.2 > Transporter, Touch, Boom, Radio w/Battery (all ethernet)
Location 2: VBA 3TB (2.2) > LMS 7.7.2 > Touch > Benchmark DAC I, Boom, Radio w/Battery (all ethernet except Radio)
Office: Win7(64) > LMS 7.7.2 > SqueezePlay
Spares: VBA 4TB, SB3, Touch (3), Radio (3), CONTROLLER
Controllers: iPhone4S (iPeng), iPad2 (iPengHD & SqueezePad), CONTROLLER, or SqueezePlay 7.7 on Win7(64) laptop
Ripping (FLAC) - dbpoweramp, Tagging - mp3tag, Spotify
-
2012-04-22, 06:45 #5Senior Member
- Join Date
- May 2008
- Location
- United States
- Posts
- 8,217
this thread may help:
http://forums.slimdevices.com/showth...ays-up-to-192kLocation 1: VortexBox Appliance 6TB (2.2) > LMS 7.7.2 > Transporter, Touch, Boom, Radio w/Battery (all ethernet)
Location 2: VBA 3TB (2.2) > LMS 7.7.2 > Touch > Benchmark DAC I, Boom, Radio w/Battery (all ethernet except Radio)
Office: Win7(64) > LMS 7.7.2 > SqueezePlay
Spares: VBA 4TB, SB3, Touch (3), Radio (3), CONTROLLER
Controllers: iPhone4S (iPeng), iPad2 (iPengHD & SqueezePad), CONTROLLER, or SqueezePlay 7.7 on Win7(64) laptop
Ripping (FLAC) - dbpoweramp, Tagging - mp3tag, Spotify
-
2012-04-22, 07:16 #6Junior Member
- Join Date
- Apr 2012
- Posts
- 10
I spent most of yesterday trying to get this to work. The goal was to have a player that is controllable via a web browser that needs no intervention to set up.
So.... After a lot of effort, I got it set up. Here's a mini-howto:
You need multi-seat. Really. Pulseaudio requires an X client running, and we want this to be invisible. So you need an X session in the background. So set up kdm as your login manager (gdm can't do multiseat right now).
Set up the user you want, use pavucontrol to configure the correct sound device, make sure it all works through reboots! Make sure to add your user to pulse-access and audio groups (I use ldap auth, and it doesn't like that. The pulse-audio membership has to be stated in /etc/group. Go figure.)
Then in kdmrc, set up the user you will use to autologin:
Xvfb is a virtual frame buffer; it acts just like a real X client but does not actually need any hardware. We autostart this session; that takes care of starting pulse audio and all of the other stuff. The -I option tells it to ignore all the options tht kdm throws at it; Xvfb barfs on vtNN which kdm always adds.Code:[X-:3-Core] AutoLoginEnable=true AutoLoginLocked=true AutoLoginUser=kitchen ClientLogFile=.xsession-errors ServerCmd=/usr/bin/Xvfb :3 -I
Build squeezeslave. Google for it; it's in the slimdevices wiki. It's a self-contained binary with no external libs; just copy it where you want when you're done.
Lastly, in the desktop of your background user, set up squeezeslave to start up on login. You want to use this invocation:
The -m option sets a virtual MAC address for the squeezeslave; it shows up in the squeeze server as "squeezeslave X".Code:/opt/squeezeslave/bin/squeezeslave -m 00:00:00:00:00:04 -F --daemon /tmp/sqs.4.log
You can have multiple squeezeslaves, playing on multiple sound cards, as long as each squeezeslave has a different mac address and connects to a different sound card.
Volume control works, playlists work, everything works.
That's it. Yaay!Last edited by cptdondo; 2012-04-22 at 18:00.

Reply With Quote

