PDA

View Full Version : Streaming to internet?



x-cimo
2009-07-03, 04:58
Hello :) I just bought a Squeezebox duet, and its on the way.

But I am wondering about one thing.

Is there anyway I could use Squeeze Center to stream music to a web browser from my home network to another location, such as Work. And be able to control what get played from that remote location.

I know it's not what's its made for, but I think it would do a better job than all the webbased music streamer I found so far..

Thanks

elziko
2009-07-03, 05:24
Yes, you can do what you want and you have several options.

A good point to start is here:

http://wiki.slimdevices.com/index.php/ConnectingRemotely

raven22
2009-07-04, 08:08
a very nice option i use is ampache (www.ampache.org), just use the buildin flash player and you can play all your music files on any computer with just a browser installed, no other programs needed.

pski
2009-07-05, 14:40
Hello :) I just bought a Squeezebox duet, and its on the way.

But I am wondering about one thing.

Is there anyway I could use Squeeze Center to stream music to a web browser from my home network to another location, such as Work. And be able to control what get played from that remote location.

I know it's not what's its made for, but I think it would do a better job than all the webbased music streamer I found so far..

Thanks

Actually, this IS one of the things it's designed to do.. Here's one of my previous write-ups. It has more detail than the current Wiki:

>
> Shredder;302232 Wrote:
> > I should know how to do this, but cannot figure it out. I would love to
> > stream my music collection from my Thecus 5200 NAS (located in my
> > house) to my computer at work. How is that accomplished?
> >
> > Also, I would love to be able to stream to an iPhone. Is that possible
> > and if so, how?
> >
> > ANy assisatance will be greatly appreciated. Thanks.
>
> General steps.. assuming you have a cable/adsl connection (and winders)
> and that your SC machine is connected to the cable/dsl box WITHOUT a
> router/wireless access point in-between...
>
> Most cable setups give you a "static" (unchanging IP address) and many
> phone companies DSL automatically give you a "static" address when you
> have higher speeds.
>
> 1. at the home computer, open a browser and go to www.whatismyip.com.
> Write down this "external IP address."
>
> 2. open a command window and type
> ipconfig <enter>
> write down the IP address and the default gateway (assuming you are on
> the machine running SC.)
>
> 3. in a browser window key http://default gateway address <enter>
> Mine is
> http://192.168.0.111
> This should display the configuration screen for your cable/dsl modem.
> This is the tricky part because there are so many different models.
> I've used Netopia and Westell (ATT) modems so I'll give you them as an
> example..
>
> 4. You will be looking for NAT setup. In my modems you go to expert
> mode/configure/NAT.
>
> BACKGROUND: what we want to do is to tell the modem that when it sees
> business from the "outside" world (internet/work) on a particular PORT
> number, forward that traffic to the SC machine. There are two ports
> involved, TCP 9000 and TCP 3483. "Default" behavior for these modems is
> to reject ANY inbound traffic from the internet that hasn't been
> requested by a computer on the "inside". This is a good thing,
> preventing the outside world from seeing the network in your home.
>
> In my netopia, I have to "define" a service (as port forwarding, range
> of ports) from ports 9000 through 9000 to base port 9000. Then I do the
> same for port 3483.
>
> When I tell the modem to "enable" these services, it asks which
> computer address I want them to be sent to. Here you enter the IP
> address from the ipconfig screen (the address of the machine that is
> running SC.) Some modems may let you fill this info into a form rather
> than having a two-step process and some modems will show the names of
> the machines in addition to IP addresses when you select the target.
>
> 5. go here http://www.rarewares.org/mp3-lame-bundle.php and download
> lame. This is the code that will compress your music on-the-fly as you
> play it remotely. Put LAME.EXE in
> C:\program files\squeezecenter\server\bin\mswin32-x86-multi-thread
> You don't need the .DLL version. You'll know it's the right place
> because it will have alac.exe, flac.exe, sox.exe, etc.
>
> 6. go to the outside world and open a browser, keying the address:
>
> http://<whatismyip>:9000
> where <whatismyip> is the "external IP address" from the earlier step.
>
> The http:// is very important if you are using a newer version of
> Internet Explorer because they don't make a guess about which protocol
> to use on non-standard ports (like 9000)
>
> If everything has been done right, you should see SC. If you don't,
> it's possible that port 9000 is blocked by your IT people. Tough luck.
> Try again from a public WiFi to see if you've got the configuration
> right.
>
> 7. go to extras and install SoftSqueeze.
>
> 8. things may be ok at this point, but I would rename the SoftSqueeze
> player and change it's Audio settings to about 128K. The Lame quality
> setting you use depends on how fast your SC machine is ...
>
> 9. advanced diddling: run SoftSqueeze. open SC, select the SoftSqueeze
> player and go to HELP/Server and Network Health. Pick a speed and the
> results will be shown on the SoftSqueeze display and in SC. This is
> testing the outbound speed of your home broadband connection.
>
> If you have a very fast connection at home, you can push this up but
> REMEMBER... you'll also be sucking bandwidth from your employer's
> inbound connection so it might be better to be reasonable (and not
> attract attention...)


Nice writeup. This needs to go on the wiki.

dd

NOTE: If you use SoftSqueeze (or it's replacement,) you MUST be running SoftSqueeze to remote stream. This software is the remote "player" made of software rather than a piece of hardware like a Squeezebox Boom. You can also stream to other products (like WINAMP) but the process is not self-evident. If you install SoftSqueeze from your SqueezeCenter, it will automagically point to that server and you can use SqueezeCenter to manage and maintain (like a name change) for your remote PC's SoftSqueeze.

As mentioned above, SoftSqueeze is in SqueezeCenter's main menu under "EXTRAS"

chris.mason
2009-07-06, 09:37
a very nice option i use is ampache (www.ampache.org), just use the buildin flash player and you can play all your music files on any computer with just a browser installed, no other programs needed.

Hey Raven, can you explain a bit more about what you did? I really like the idea of using a flash-based player. I really don't want all the other baggage.

elziko
2009-07-07, 02:28
I really don't want all the other baggage.

I don't know much about Ampache but I assume it is another media server of some sort.

This means that instead of saving on baggage won't you be doubling it? You'll have two servers (and two media libraries) to install and keep up to date.

raven22
2009-07-07, 02:44
I don't know much about Ampache but I assume it is another media server of some sort.

This means that instead of saving on baggage won't you be doubling it? You'll have two servers (and two media libraries) to install and keep up to date.

For ampache all you need is a running webserver. It is not much baggage at all. When you have ampache, there is hardly any maintenance to it. And you can access your music from anywhere with just a webbrowser. No need to install any applications on the remote computer, which is good because at my work i can not install anything on the computers.

chris.mason
2009-07-07, 04:44
The ampache installation requires you to create a mysql user, and setups a tablespace. I'd rather avoid that - any thoughts? Just want the flash player.

bernt
2009-07-07, 05:53
There is no out of the box solution for remote streaming.

As I see it there is two ways to do it.

Open port 9000 on your router pointing to your server.

On your office compter start WMP, iTunes or whatever and open url to http://your_routers_external_ip_address:9000/stream.mp3.

In your browser connect to http://your_routers_external_ip_address:9000 and controll your player.

or

Install Hamachi (LogMeIn) on your server and your computer at work.

Install Squeezeplay and of you go.

But the best combo for remote streaming is Hamachi, Moose and Squeezeslave.

chris.mason
2009-07-07, 08:08
I use SSH so I don't need to open ports 9000 and 3483, plus public/private key. It all works fine, but I liked the idea of the webserver+flash player solution.

raven22
2009-07-07, 15:10
The ampache installation requires you to create a mysql user, and setups a tablespace. I'd rather avoid that - any thoughts? Just want the flash player.

just try it, it is not difficult to install, and it will give easy access to your music (also flac files) anywhere in the world

elziko
2009-07-08, 02:32
The ampache installation requires you to create a mysql user, and setups a tablespace. I'd rather avoid that - any thoughts? Just want the flash player.

Well if you want to avoid that then installing TVersity will also give you the ability to use a flash based player.

http://tversity.com/

The only problem is security if using it outside your LAN, so a VPN is recommended.

Nikhil
2009-07-08, 02:42
There are a bunch of options. You could also try.

1) Sockso in your web browser
http://sockso.pu-gh.com/

2) Subsonic
http://subsonic.sourceforge.net/

3) Jinzora
http://en.jinzora.com/

4) SimplifyMedia along with a DAAP (e.g. iTunes) or UPnP media player
http://www.simplifymedia.com/