Cut-Throat
Posts: 24
Joined: Thu Dec 13, 2012 9:09 pm

Re: SqueezePlug Version 5 ready for download

Mon Dec 24, 2012 1:01 am

truehl wrote:Hi,
I like to inform you that there will be a small delay for the new release SqueezePlug 6. The reason for this is that I had some problems with SqueezeLite, a player for SqueezeBox Server (LMS). It took me 2 days to figure it out!

The good thing about this is that I learned a lot about internal an external sound cards and DACs you hopefully also find useful. I got a branch of external USB sound devices running and I like to include some scripts to configure them in an easy way.

So that will take some more time, but I think it's worth waiting. The last days I saw a lot of you struggling with sound issues.

So I hope I'll be ready the next days, but I will be a related X-MAS present.

Merry X-MAS,
Thomas
Thanks for doing this ! This is good news!
Are you planning on putting some Mods in to support Digital Output from the USB ports ?

castalla
Posts: 558
Joined: Thu Jul 19, 2012 3:46 pm

Re: SqueezePlug Version 5 ready for download

Mon Dec 24, 2012 1:09 am

Given my latest task is trying to install a paired bluetooth speaker, I'd really like to see a headless version of blueman (given that bluez-utils don't seem to work well on the Pi!). Just a suggestion for any programming enthusiasts out there!

giladgaron
Posts: 2
Joined: Tue Aug 07, 2012 1:13 pm

Re: SqueezePlug Version 5 ready for download

Mon Dec 24, 2012 7:18 am

Hello,

I've upgraded SqueezePlug to version 5.05 (from the first release), and ever since then I'm experiencing poor audio quality over HDMI...
I've tried both SqueezeSlave & SqueezeLite with the same results...
Any ideas?

User avatar
Trixster
Posts: 261
Joined: Sat Jul 07, 2012 3:53 pm

Re: SqueezePlug Version 5 ready for download

Tue Dec 25, 2012 10:30 pm

MyLastWord wrote:
Cut-Throat wrote:OK, Thanks; and Thanks for the Link....

I did connect the USB from the Pi into my USB port on the DAC, but there was no sound. I was not to surprised as the Pi FAQ indicates that there is only audio on the 3.5 mm jack and the HDMI connection.
if you have /etc/asound.conf, create a backup and try this in /etc/asound.conf. It work for me with my USB DAC.

pcm.!default {
type plug
slave.pcm "hw:0,0"
}

ctl.dmixer {
type hw
card 0
}
You dancer! Worked first time. None of the instructions in either Thomas' or ski552.s threads about using USB DACs were working and I was starting to pull my hair out!

castalla
Posts: 558
Joined: Thu Jul 19, 2012 3:46 pm

Re: SqueezePlug Version 5 ready for download

Wed Dec 26, 2012 8:58 pm

Clone or copy SD card

Due to my own stupidity, I managed to screw up my working squeezeplug!

It has taken me hours to reimage and setup as before ...

Is there an easy way to create a clone or copy of the working card? I don't have any other devices on which to do the 'official' clone.

cheers

User avatar
Trixster
Posts: 261
Joined: Sat Jul 07, 2012 3:53 pm

Re: SqueezePlug Version 5 ready for download

Wed Dec 26, 2012 9:37 pm

Once you have it set up again to as it was before the 'screw up', use something like USB Image Tool (on a windows pc) to make a backup image of your sd card, effectively a 'snapshot' of it in its current working form. Then, if there's another 'screw up', you can just re-image the sd card from the working snapshot you've created.

I do this regularly with the OpenELEC XBMC sd card which I use to test nighty builds from the xbmc forum.


User avatar
Trixster
Posts: 261
Joined: Sat Jul 07, 2012 3:53 pm

Re: SqueezePlug Version 5 ready for download

Wed Dec 26, 2012 9:44 pm

Download and install usb image tool. Run it. Insert the sd card. Select the card from the left-hand pane, click 'backup', input a name a location for the snapshot, wait whilst it does its work.

castalla
Posts: 558
Joined: Thu Jul 19, 2012 3:46 pm

Re: SqueezePlug Version 5 ready for download

Wed Dec 26, 2012 10:12 pm

A OK!

Cheers

castalla
Posts: 558
Joined: Thu Jul 19, 2012 3:46 pm

Re: SqueezePlug Version 5 ready for download

Thu Dec 27, 2012 11:38 am

Sound card config

I need some advice on how to set bluetooth as an output option for squeezelite.

At the moment the default output is via the Pi analog.

I would like to be able to switch between this and bluetooth.

Following google threads (very confusing!):

I added to the default asound.conf in /etc :-

------------------------------------------------

pcm.mmap0 {
type mmap_emul;
slave {
pcm "hw:0,0";
}
}

pcm.!default {
type plug;
slave {
pcm mmap0;
}
}

pcm.bluetooth {
type bluetooth
device 10:B7:F6:00:46:40
profile "auto"}

-----------------------------------------------------------

When I do squeezelite -l - only the analog output is shown.

Could somebody please advise on an appropriate asound.conf ?

There are so many google examples, I'm totally confused what to edit!

Thanks.

User avatar
Trixster
Posts: 261
Joined: Sat Jul 07, 2012 3:53 pm

Re: SqueezePlug Version 5 ready for download

Thu Dec 27, 2012 2:32 pm

When the Bluetooth dongle is attached, what does aplay -l and aplay -L show?

castalla
Posts: 558
Joined: Thu Jul 19, 2012 3:46 pm

Re: SqueezePlug Version 5 ready for download

Thu Dec 27, 2012 2:48 pm

Thanks for the reply.

Using a slightly different asound.conf, I now get the following:

Have I actually moved on? I'm totally new at this (as you may have guessed).

Do i test using something like:

aplay -D btheadset something.wav


Code: Select all

root@squeezeplug:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
  Subdevices: 7/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
root@squeezeplug:~# hcitool scan
Scanning ...
root@squeezeplug:~# aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
btheadset
    Bluetooth headset audio output device
sysdefault:CARD=ALSA
    bcm2835 ALSA, bcm2835 ALSA
    Default Audio Device
root@squeezeplug:~#

User avatar
Trixster
Posts: 261
Joined: Sat Jul 07, 2012 3:53 pm

Re: SqueezePlug Version 5 ready for download

Thu Dec 27, 2012 4:20 pm

Not sure tbh old chap, someone with more knowledge than I will have to wade in. There's a fellow on here called ski522 who seems to be a bit of a guru when it comes to this sort of stuff. Perhaps send him a message?

castalla
Posts: 558
Joined: Thu Jul 19, 2012 3:46 pm

Re: SqueezePlug Version 5 ready for download

Thu Dec 27, 2012 4:51 pm

Well, trying with an mp3 file, all the speaker produced was white noise ....

This is hard going!

Chapindad
Posts: 23
Joined: Wed Dec 26, 2012 1:21 am

Re: SqueezePlug Version 5 ready for download

Thu Dec 27, 2012 4:53 pm

The download is very slow and unstable for me. I have been trying for several hours. I have gotten as much as 200MB before it fails. Does anyone have a torrent seed?

I am rather excited by the work done on this project after watching the great video.

User avatar
Trixster
Posts: 261
Joined: Sat Jul 07, 2012 3:53 pm

Re: SqueezePlug Version 5 ready for download

Thu Dec 27, 2012 5:08 pm

Not sure if it'll be any help, but here's the result of my aplay -l and aplay -L for my usb dac:

Code: Select all

root@SqueezeLite:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: DAC [USB Audio DAC], device 0: USB Audio [USB Audio]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
root@SqueezeLite:~# aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
sysdefault:CARD=DAC
    USB Audio DAC, USB Audio
    Default Audio Device
front:CARD=DAC,DEV=0
    USB Audio DAC, USB Audio
    Front speakers
surround40:CARD=DAC,DEV=0
    USB Audio DAC, USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=DAC,DEV=0
    USB Audio DAC, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=DAC,DEV=0
    USB Audio DAC, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=DAC,DEV=0
    USB Audio DAC, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=DAC,DEV=0
    USB Audio DAC, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=DAC,DEV=0
    USB Audio DAC, USB Audio
    IEC958 (S/PDIF) Digital Audio Output
sysdefault:CARD=ALSA
    bcm2835 ALSA, bcm2835 ALSA
    Default Audio Device
root@SqueezeLite:~#
As you can see, the DAC is the default device 0.

I've just noticed your posts on the SqueezeLite thread of the slimdevices forum. That would see to be the best place to get what you're looking for - perhaps message Triode to see if he can help?

castalla
Posts: 558
Joined: Thu Jul 19, 2012 3:46 pm

Re: SqueezePlug Version 5 ready for download

Thu Dec 27, 2012 5:29 pm

Semi success!!!!!

I tried aplay with an actual wav file and it played!!!!

So, now to discover how to get squeezelite to use the bt device.

User avatar
truehl
Posts: 642
Joined: Sun Mar 04, 2012 6:47 pm
Contact: Website

Re: SqueezePlug Version 5 ready for download

Thu Dec 27, 2012 7:51 pm

Chapindad wrote:The download is very slow and unstable for me. I have been trying for several hours. I have gotten as much as 200MB before it fails. Does anyone have a torrent seed?

I am rather excited by the work done on this project after watching the great video.
I just tried the download and its fast like allways for me! it took me 5 minutes. So are you sure the problem is not on your side? Where do you come from?
truehl
http://www.squeezeplug.de

User avatar
truehl
Posts: 642
Joined: Sun Mar 04, 2012 6:47 pm
Contact: Website

Re: SqueezePlug Version 5 ready for download

Thu Dec 27, 2012 7:52 pm

castalla wrote:Semi success!!!!!

I tried aplay with an actual wav file and it played!!!!

So, now to discover how to get squeezelite to use the bt device.
Hi Castalla,
sounds interesting! Which Bluetooth hardware (dongle and Boxes) do you use?
truehl
http://www.squeezeplug.de

castalla
Posts: 558
Joined: Thu Jul 19, 2012 3:46 pm

Re: SqueezePlug Version 5 ready for download

Thu Dec 27, 2012 8:49 pm

Hi!

It's only half working - seems to cause some conflict between squeezelite and LMS (and LMS just becomes unresponsive ... I need to retest to check this).

The dongle is this one: http://www.amazon.co.uk/gp/product/B004 ... 00_s00_i00

The bluetooth is the Logitech MiniBoombox (ver 1)

I'm sure there must be some optimised settings but trying to find appropriate details via google is almost impossible!

User avatar
truehl
Posts: 642
Joined: Sun Mar 04, 2012 6:47 pm
Contact: Website

Re: SqueezePlug Version 5 ready for download

Thu Dec 27, 2012 9:07 pm

castalla wrote:Hi!

It's only half working - seems to cause some conflict between squeezelite and LMS (and LMS just becomes unresponsive ... I need to retest to check this).

The dongle is this one: http://www.amazon.co.uk/gp/product/B004 ... 00_s00_i00

The bluetooth is the Logitech MiniBoombox (ver 1)

I'm sure there must be some optimised settings but trying to find appropriate details via google is almost impossible!
I could take a deeper look at, the dongle is less expensive! But I fear I don't own a Bluetooth ready loudspeaker!
truehl
http://www.squeezeplug.de

castalla
Posts: 558
Joined: Thu Jul 19, 2012 3:46 pm

Re: SqueezePlug Version 5 ready for download

Thu Dec 27, 2012 11:28 pm

truehl!

Where are the files which load squeezelite on startup?

castalla
Posts: 558
Joined: Thu Jul 19, 2012 3:46 pm

Re: SqueezePlug Version 5 ready for download

Thu Dec 27, 2012 11:31 pm

I bought a cheap 14 euro bt speaker at Mediamarkt last year - you could check them out!

Argon
Posts: 109
Joined: Thu Aug 25, 2011 11:04 am

Re: SqueezePlug Version 5 ready for download

Thu Dec 27, 2012 11:31 pm

/etc/init.d/squeezelite ?

castalla
Posts: 558
Joined: Thu Jul 19, 2012 3:46 pm

Re: SqueezePlug Version 5 ready for download

Thu Dec 27, 2012 11:46 pm

Thanks.

No way I'm messing with that!

I'm a noob first class ....

Any ideas on how run squeezelite with 2 instances using 2 different option settings?

Return to “Media centres”