HiFiForum.nu
Home | Forums | Profile | Register | Active Topics | Links | Members | Articles | PM | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Private Messages
You must log in to check messages
 All Forums
 HiFiForum.nu - Mångfaldens forum
 HiFi-diskussion
 Spotify + Pinnacle Soundbridge = Sant
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

tobiasl
Member

95 Posts

Posted - 2009/04/01 :  23:32:10  Show Profile Send tobiasl a Private Message
Hej,

Fick en Invite sedan en tid tillbaka till spotify. Jag trodde det inte skulle vara så speciellt men efter att ha testat några dagar så öppnade sig en ny värld. Härligt.

Jag har sedan lång tid tillbaka en Pinnacle Soundbridge. Vilket i sig är en fantastisk maskin. Efter att ha sökt på forum efter hur man kopplar Spotify musiken ut till stereons högtalarna så hittade jag tillslut en förklaring som funkade för mig.

Hoppas det hjälper för någon. Det var super för mig.

/Tobbe

- - - - - - - -

Ok, I will try to explain how I set up my system step-by-step. When I started setting this up I was quite confused by what icecast really is, so let me start by explaining this a little. As I have now understood it, icecast is just the broadcast server, but it turns out that it can not send any audio by itself - it needs another program to encode the stream and provide it, and that is the purpose of the edcast program that we need to install as well.

Anyway, here goes:

1. Download and install the Windows version of Icecast2 from www.icecast.org on the PC that you use for running Spotify. This does not have to be the same computer that are running the Squeezecenter, I use a Netgear NAS box for that.

2. Start the icecast GUI using the "Icecast2 Version 2.x" shortcut on your start menu, and select the Edit Configuration menu option. If your icecast server will be available outside the firewall you should change the default "hackme" passwords to something a bit more secure. (I only use it on my own LAN so I left them at the default values.) The default port number is 8000, I did not change that either.

3. Start the server. (It can be configured to start as soon as Windows starts which is convenient.)

4. Download and install Edcast Standalone 3.1.21 from http://www.oddsock.org/tools/edcast/.

5. Due to licensing issues edcast is not allowed to redistribute the LAME encoder to be able to encode mp3 streams, so you have to get it separately. It is only officially distributed as source code, but compiled Windows binaries can easily be found, for example from http://www.free-codecs.com/download/L.... Extract the zip archive (I think I used the lame3.98.2.zip one) to C:\Program Files\edcast.

6. Start edcast and click Add Encoder, right-click the newly created encoder and select Configure. Change the encoder type to "MP3 Lame", server ip "localhost", server port 8000, and the encoder password to the one you set in step 2 above. Click Ok to close the config dialog, and then Connect to start streaming to the icecast server.

7. If everything is working properly, edcast is now encoding whatever sound that is entering the soundcard and streaming it live. Since we want the music from Spotify to stream, we need to make sure that it is looped back using the soundcard. This can differ somewhat depending on Windows version and your sound hardware. On my system, I can bring up the standard Windows volume control, select Properties from the Options menu and select Recording. Make sure that the source called "Mixer" is included in the checked items, click Ok to bring up the recording control, and make sure that the "Mixer" is selected as recording source.

8. Start Spotify and start playing some music. Mute the speakers on the PC if you like, since the purpose of all this is to use your Squeezebox to play it.

9. Go back to edcast and click the Peak Meter. If things are working, you will see a meter moving. Adjust the volume by dragging the slider or using the recording control if you still have it open.

10. On the squeezebox (or using the Squeezecenter web interface which is more convenient), go to Internet Radio and Tune in URL, and enter the following URL, but change the IP address to whatever your computer is called you your network: http://192.168.0.3:8000/stream.m3u (You can of course store this as a Favorite.)

11. You should now hear the Spotify music on the Squeezebox!

12. To make it work even cooler, you can go into edcast and click the Edit button at the top to configure the metadata for your radio station. I set the Metadata field to "Spotify" and checked the "Grab Metadata From Window Title" and set the Window Class to SpotifyMainWindow. This will make edcast fetch the current artist and song title from the Spotify window and send it as metadata so that it displays on the Squeezebox's display - how cool is that.

Quite a lot of steps, but it works great once you complete them all, so good luck!

Hi towytunes, I came to the same problem as you and many others seem to have. I then discovered if I change the .m3u to .ogg instead it works fine and I am playing Spotify over my Squeezebox all day long.
In my case the line looks like this, http://192.168.0.33:8000/stream.ogg

For buffering the internet tells me that:
- in the icecast configuration these settings should matter:

Code:

<queue-size>382301</queue-size>
<burst-on-connect>1</burst-on-connect>
<burst-size>349533</burst-size>

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

mer information finns på
http://getsatisfaction.com/spotify/topics/can_you_stream_to_a_squeezebox
- - - - - - - - - - - - - -
och på denna sida
http://www.networkedmediatank.com/printthread.php?tid=10307

Tobiasl
Mitt system:
http://www.hififorum.nu/forum/topic.asp?TOPIC_ID=34036

Pac
200.000-klubben

22003 Posts

Posted - 2009/04/02 :  07:20:06  Show Profile  Visit Pac's Homepage Send Pac a Private Message
Det här var intressant! Tack för tipset.

// Per Adelsson, pac(a)hififorum.nu, Admin och ägare HiFiForum.nu
// HiFiForum.nu's regler, Artikelregister

Go to Top of Page

Zalve
Nerikes Audiofiler

18938 Posts

Posted - 2009/04/02 :  07:54:00  Show Profile  Visit Zalve's Homepage Send Zalve a Private Message
Klart intressant!

"Vänner är de där ovanliga människorna som frågar dig hur det är och sen väntar på svaret. / Okänd"
Go to Top of Page

tobiasl
Member

95 Posts

Posted - 2009/04/02 :  14:02:50  Show Profile Send tobiasl a Private Message
Berätta gärna om era erfarenheter. Jag kör just nu på 320 bit som inställning i Edcast. Spotify sänder i 160 bit. Stäng av "public server" i edcast och glöm inte att ändra password till samma i både Icecast och Edcast. Grab metadata är hur coolt som helst. Informationen i Spotify kommer upp i din Soundbridge/slimline.

Jag hade problem först med buffring men efter att klippt in det som står i ovan förklaring i config på Icecast försvann problemet.

/Tobbe

Tobiasl
Mitt system:
http://www.hififorum.nu/forum/topic.asp?TOPIC_ID=34036
Go to Top of Page

Zalve
Nerikes Audiofiler

18938 Posts

Posted - 2009/04/02 :  14:56:43  Show Profile  Visit Zalve's Homepage Send Zalve a Private Message
Nåt att titta på i helgen, blir ju perfekt till Påskafton :)

"Vänner är de där ovanliga människorna som frågar dig hur det är och sen väntar på svaret. / Okänd"
Go to Top of Page

-AG-
Member

238 Posts

Posted - 2009/04/02 :  17:26:41  Show Profile Send -AG- a Private Message
Jag kör spotify via airfoil och airport express. Det går igång på en knapptryckning och funkar kanonbra. Vet inte om airfoil finns till windows?
Go to Top of Page

JWO
fd. OhmBoy

1713 Posts

Posted - 2009/04/02 :  17:32:49  Show Profile  Visit JWO's Homepage Send JWO a Private Message
fungerar detta för squeezebox också?

Det finns en genväg till det perfekta ljudet: Intelligent Sounds iS8pro mk2+!

http://www.hififorum.nu/forum/topic.asp?TOPIC_ID=77254
Go to Top of Page

tobiasl
Member

95 Posts

Posted - 2009/04/02 :  21:31:32  Show Profile Send tobiasl a Private Message
Funkar för squeezebox, soundbridge m m. Allt som kan plocka upp internetradio. Det du gör är att du plockar upp ljudet från din dators ljudkort med Edcast och sänder det till Icecast som stream i valt bit format. Typ du sänder en webradio till dig själv.

Det är rätt coolt. Du kan alltså plocka upp ljud från andra program än Spotify och sända till din stereo :)

Det lobbas för att det skall komma någon typ av "plug-in" till Squeezebox/Soundbridge.

Airfoil länk
http://www.rogueamoeba.com/airfoil/

Tobiasl
Mitt system:
http://www.hififorum.nu/forum/topic.asp?TOPIC_ID=34036

Edited by - tobiasl on 2009/04/02 21:38:19
Go to Top of Page

berglund
Member

189 Posts

Posted - 2009/04/05 :  00:34:01  Show Profile Send berglund a Private Message
Tackar för tipset. Funkar klockrent ihop med SB :-)
Go to Top of Page

geten
Member

320 Posts

Posted - 2009/04/05 :  16:26:37  Show Profile Send geten a Private Message
Bör även fungera till Sonos då eller?

// Johan
Go to Top of Page

berglund
Member

189 Posts

Posted - 2009/04/05 :  16:34:09  Show Profile Send berglund a Private Message
Lika glad som jag var igår kväll lika frustrerad har jag varit idag då det inte funkade efter omstart
Efter googlande och strulande rensade jag allt och fick det åter att funger efter ominstallation bara för att sluta fungera efter omstart.
Nu har jag kommit runt detta problem genom att disebla icacast servicen som drogs igång automatisk vid uppstart så nu funkar det igen
Go to Top of Page

Pac
200.000-klubben

22003 Posts

Posted - 2009/04/05 :  17:20:32  Show Profile  Visit Pac's Homepage Send Pac a Private Message
quote:
Bör även fungera till Sonos då eller?

Nu är inte jag någon sonos-specialist men jag skulle tippa att det funkar även på det systemet. Det är definitvt värt att prova i alla fall.

// Per Adelsson, pac(a)hififorum.nu, Admin och ägare HiFiForum.nu
// HiFiForum.nu's regler, Artikelregister

Go to Top of Page

tobiasl
Member

95 Posts

Posted - 2009/04/07 :  10:39:13  Show Profile Send tobiasl a Private Message
Berglund: Har du en fast IP adress eller är den dynamisk?

För att ta reda på IP:
1. Gå in under Start
2. Välj Kör...
3. Skriv cmd
4. Skriv ipconfig i rutan som kommer fram
5. Där ser du din IP
6. Skriv exit för att stänga

Geten: Om du kan skriva in en URL i din Sonos så kommer det att funka.

Tobiasl
Mitt system:
http://www.hififorum.nu/forum/topic.asp?TOPIC_ID=34036

Edited by - tobiasl on 2009/04/07 10:42:27
Go to Top of Page

berglund
Member

189 Posts

Posted - 2009/04/08 :  10:05:39  Show Profile Send berglund a Private Message
Jag har fast IP på hos BB men kör DHCP internt på Lanet.
Det var inte kopplingen från SB till datorn som strulade utan att få connection mellan Edcast och Icecast.
Go to Top of Page

poppen
Member

1570 Posts

Posted - 2009/04/08 :  10:09:05  Show Profile Send poppen a Private Message
Jag lyssnar på spotify via externa Ljudkort både hemma och på jobb.
har Philips små skit klot högtalare hemma och jobb till dator.

Go to Top of Page

tobiasl
Member

95 Posts

Posted - 2009/04/08 :  18:20:54  Show Profile Send tobiasl a Private Message
Berglund: OK, men det funkar nu?

Efter någon veckas testande så måste jag säga att Spotify är sååå underskattat. Om jag hade haft en platt LCD/Plasma så hade jag direkt kopplat den till datorn så att t ex Spotify vyn kommer upp på en 42" .

Det sägs att det blir olika kvalitet på ljudet med inställning 320 alt. 192/256? Har ni hört någon skillnad? Spotify sänder i 160 bit.

Tobiasl
Mitt system:
http://www.hififorum.nu/forum/topic.asp?TOPIC_ID=34036

Edited by - tobiasl on 2009/04/08 18:25:21
Go to Top of Page

berglund
Member

189 Posts

Posted - 2009/04/08 :  22:17:39  Show Profile Send berglund a Private Message
Jo nu funkar det klockrent. Det vara bara strulet med att det inte funkade med kopplingen till Icecast som strulade till att börja med.
Go to Top of Page

tobiasl
Member

95 Posts

Posted - 2009/04/10 :  07:30:15  Show Profile Send tobiasl a Private Message
Följande sida beskriver väldigt bra innehållet i config filen.

http://www.icecast.org/docs/icecast-2.3.2/icecast2_config_file.html

Tobiasl
Mitt system:
http://www.hififorum.nu/forum/topic.asp?TOPIC_ID=34036
Go to Top of Page

joaa
Starting Member

5 Posts

Posted - 2009/04/10 :  09:51:34  Show Profile Send joaa a Private Message
quote:
Jag kör spotify via airfoil och airport express. Det går igång på en knapptryckning och funkar kanonbra. Vet inte om airfoil finns till windows?

Jag kör Airfoil på Windows Vista och det funkar bra.
Go to Top of Page

tian
200.000-klubben

1550 Posts

Posted - 2009/04/10 :  10:23:32  Show Profile Send tian a Private Message
Kör Airfoil på Windows XP SP3 funkar bra här med.
Go to Top of Page

Zipp
Starting Member

2 Posts

Posted - 2009/04/15 :  19:58:35  Show Profile Send Zipp a Private Message
Fick allt att fungera igår med Icecast och Edcast, men idag så får jag bara time out i SqueezeCenter efter några sekunder. Jag har klippt in raderna för att undvika bufferproblem men utan att det hjälpte. Någon som vet vad som kan vara fel?
Go to Top of Page

Fella
Starting Member

6 Posts

Posted - 2009/04/16 :  07:55:53  Show Profile Send Fella a Private Message
Hejsan, problem, jag får ej till det.
Har installerat Edcast,Icecast2, dom hittar varandra.
Problemet är att få ljudet från Spotify till Soundbridgen.Hörs bara i PC-högtalarna, tycker jag har gjort allt efter beskrivningarna men............
WinXP
D-Link 635

Några tips?

//Fella

Edited by - Fella on 2009/04/17 06:37:33
Go to Top of Page

tobiasl
Member

95 Posts

Posted - 2009/04/16 :  18:52:32  Show Profile Send tobiasl a Private Message
FELLA:

Om du klickar på högtalar ikonen längst ner till höger så får du upp att du kan justera volymen.

Tryck på Alternativ -> Egenskaper. Klicka på inspelning. Se till så att Wave-utgångsmix är ikryssat.

Hjälpte det?

Rör sig Peak meter i Edcast? Klicka på den annars så att det inte står "off" till höger om den.

Tobiasl
Mitt system:
http://www.hififorum.nu/forum/topic.asp?TOPIC_ID=34036

Edited by - tobiasl on 2009/04/16 18:54:11
Go to Top of Page

tobiasl
Member

95 Posts

Posted - 2009/04/16 :  18:58:35  Show Profile Send tobiasl a Private Message
Zipp:

Jag har öppnat den port jag har satt i Edcast/Icecast. Det gör du i Router inställningarna. Det funkade för mig.

Hjälpte det?

Tobiasl
Mitt system:
http://www.hififorum.nu/forum/topic.asp?TOPIC_ID=34036
Go to Top of Page

Zipp
Starting Member

2 Posts

Posted - 2009/04/16 :  21:11:52  Show Profile Send Zipp a Private Message
Tack för tipset. Hittade inte någon vettig info för att öppna portar i min router, men har nu fått i gång det igen.

Jag har kört ett program som heter PFPortChecker för att kolla att porten jag vill använda är öppen och då såg jag att de portar som jag tidigare hade misslyckats med var låsta. Provade med en ny port som var öppen enligt PFPortChecker och startade Icecast FÖRE edcast.

Edited by - Zipp on 2009/04/16 21:13:33
Go to Top of Page

Fella
Starting Member

6 Posts

Posted - 2009/04/16 :  22:48:08  Show Profile Send Fella a Private Message
När jag väljer inspelning är Stereo Mix det närmaste jag kan komma.
Det finns i rutan "visa följande volymkontroller" den är ikryssad.
Längst nere i edcast står det "Recording from Stereo Mix"(nedanför encoderfönstret/rutan. Peak metern ser ut och fungera. Antagligen är det nåt problem med portinställningarna antigen i routern eller Icecast.
När man kollar i icecast står det både nåt om port 8000 och 8001.
Skall det vara så? Vilket skall man använda i routern?
<!-- You can use these two if you only want a single listener -->
<!--<port>8000</port> -->
<!--<bind-address>127.0.0.1</bind-address>-->

<!-- You may have multiple <listener> elements -->
<listen-socket>
<port>8000</port>
<!-- <bind-address>127.0.0.1</bind-address> -->
</listen-socket>
<!--
<listen-socket>
<port>8001</port>
</listen-socket>
-->

<!--<master-server>127.0.0.1</master-server>-->
<!--<master-server-port>8001</master-server-port>-->
<!--<master-update-interval>120</master-update-interval>-->
<!--<master-password>hackme</master-password>-->

//Fella


Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
HiFiForum.nu © HiFiForum.nu except: Logos and Trademarks are property of their owners, Comments are property of their posters Go To Top Of Page
Denna sida genererades på 0.94 sekunder. Snitz Forums 2000