PDA

View Full Version : Slimserver Webinterface over a PSP ( Playstation Portable )



profichiller
2006-01-04, 10:50
I tried to contact with my PSP Browser to the SlimServer Webinterface, but it didn't worked! With my other Computers it's no problem! I deactivated the firewall allready, but I can't get in.

I use a Fritz Box Router,where I activated Shared Connection at the WEP settings.

It doesn't work with http://localhost (my IP): 9000 or http://127.0.0.1:9000/ !

What do I do wrong??

mherger
2006-01-04, 11:14
> It doesn't work with http://localhost (my IP): 9000 or
> http://127.0.0.1:9000/ !

As long as you don't run slimserver on the PSP (which I'm sure you don't)
you'll have to put the server's IP or address. Something like
http://slimserver:9000 or http://192.168.1.2:9000

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
StringEditor Plugin (http://www.herger.net/slim/)

Mark Lanctot
2006-01-04, 11:16
You should use your SlimServer IP address as given
to your SlimServer by the router, not your public
IP. On a Windows SlimServer computer, open a
command prompt and type "ipconfig" to get its IP
address.

Also 127.0.0.1 won't work, it's a loopback
interface which redirects the machine back to
itself. Therefore it will work for the machine
running SlimServer (i.e. looped back to itself)
but it will not work for any other networked
machine, since it will try to reference itself
rather than SlimServer.

I assume your PSP is associated with your own
router. If it isn't, it's trying to access your
SlimServer from the Internet. In your router, you
will need to port-forward ports 9000 TCP and 3483
TCP/UDP for the SlimServer computer, so that from
the Internet, your public IP address will resolve
to the SlimServer's IP address with those ports
open. Note that this is inherently insecure
though. Follow this thread:

http://forums.slimdevices.com/showthread.php?t=19662

but since the PSP likely cannot be configured to
use SSH you cannot have a secure connection this way.

profichiller wrote:
> I tried to contact with my PSP Browser to the
SlimServer Webinterface,
> but it didn't worked! With my other Computers it's
no problem! I
> deactivated the firewall allready, but I can't get
in.
>
> I use a Fritz Box Router,where I activated Shared
Connection at the WEP
> settings.
>
> It doesn't work with http://localhost (my IP): 9000
or
> http://127.0.0.1:9000/ !
>
> What do I do wrong??
>
>

--
___________________________________


Mark Lanctot
___________________________________

Mark Lanctot
2006-01-04, 11:21
BTW I should also mention that "localhost" is the
same as 127.0.0.1, so that won't work on your PSP
either, but will work fine on the computer running
SlimServer.

Mark Lanctot wrote:
> You should use your SlimServer IP address as given
> to your SlimServer by the router, not your public
> IP. On a Windows SlimServer computer, open a
> command prompt and type "ipconfig" to get its IP
> address.
>
> Also 127.0.0.1 won't work, it's a loopback
> interface which redirects the machine back to
> itself. Therefore it will work for the machine
> running SlimServer (i.e. looped back to itself)
> but it will not work for any other networked
> machine, since it will try to reference itself
> rather than SlimServer.
>
> I assume your PSP is associated with your own
> router. If it isn't, it's trying to access your
> SlimServer from the Internet. In your router, you
> will need to port-forward ports 9000 TCP and 3483
> TCP/UDP for the SlimServer computer, so that from
> the Internet, your public IP address will resolve
> to the SlimServer's IP address with those ports
> open. Note that this is inherently insecure
> though. Follow this thread:
>
> http://forums.slimdevices.com/showthread.php?t=19662
>
> but since the PSP likely cannot be configured to
> use SSH you cannot have a secure connection this
way.
>
> profichiller wrote:
>
>>I tried to contact with my PSP Browser to the
>
> SlimServer Webinterface,
>
>>but it didn't worked! With my other Computers it's
>
> no problem! I
>
>>deactivated the firewall allready, but I can't get
>
> in.
>
>>I use a Fritz Box Router,where I activated Shared
>
> Connection at the WEP
>
>>settings.
>>
>>It doesn't work with http://localhost (my IP): 9000
>
> or
>
>>http://127.0.0.1:9000/ !
>>
>>What do I do wrong??
>>
>>
>
>

--
___________________________________


Mark Lanctot
___________________________________

profichiller
2006-01-04, 11:32
I know that I have to use the Server's IP Adress instead of "localhost". For me it's "http://192.168.116.23:9000" !
I know the adress by double clicking on my network connection and it's presented in the router interface.
When i use another computer as a client, it's no problem to use the WebInterface, but when I do the same with the PSP Browser I just get a "time out"!


I don't know why!

Mitch G
2006-01-04, 22:40
I just tried bringing up the slimserver web interface on my PSP and it works fine.
I was able to turn on the squeezebox; the screen updates automatically; etc. Basically, it works just like on my laptop.

Are you able to surf any websites with the PSP? In other words, does your web browser work in general?
Are you sure you entered zeroes in the "9000" and not O's?
Not trying to be insulting, just throwing out some ideas/thoughts.


Mitch

profichiller
2006-01-05, 02:45
Yes they are really just zero's 0, no O's and it's my own network with my own WEP Key! It's no problem to surf the web reguarly, just no way for slimserver ?!?

And I think it couldn't have anything to do with a "0 error" like in this http://forums.slimdevices.com/showthread.php?t=19436 post because my Server IP is 192.168.116.23.

Mitch G
2006-01-05, 08:12
I don't have my PSP in front of me, but are there any browser configuration settings that the PSP allows you to play with?

Do you have any sort of firewall software on your server box that is set up to only accept traffic from certain addresses?
Have you tried giving your PSP the same address as one of your other computers that work as a client and then see if it works?

Again, just throwing out some ideas,


Mitch

P.S. FYI, my server is running under Windows XP.

PoW
2006-01-05, 13:32
I don't mean to derail this thread but a while back I pulled up the slimserver from the psp browser and it was terribly formatted. I was using the Default2 skin and I also tried ExBrowse3. Anybody know a skin that works well with the PSP browser.

I was extremely disappointed when I discovered that I cannot setup a stream to the PSP using the slimserver streaming format. I created a custom rss xml file with the http://slim_srv_addr:9000/stream.mp3 address you would use to stream from the slimserver and when the PSP tried to load the file it gave the error that the server does not support this action or something along those lines.

Both of these problems are because of software flaws on the part of sony but I was hoping somebody was aware of a hack around these issues. BTW I'm using the 2.6 firmware.

Again I don't mean to derail the thread but I predict this issue will arise when profichiller gets his connection issues resolved.

kkitts
2006-01-05, 13:51
I also got browsing the SlimServer to work on the PSP - but it was rather unwieldy - not really very usable. The formatting was awkward and the speed the pages were updated left a lot to be desired.

I'd meant to try again with the "Handheld" skin - have you tried that?

I was also searching for a way to stream mp3s to the PSP - but have not been able to figure out a way to do it. If you find any interesting information about this I hope that you'll post it.

Good Luck,

Kevin

radish
2006-01-05, 15:50
Handheld and touchscreen skins both work well on the PSP. I wouldn't be surprised if the new Nokia 770 skin also looks good, the screens are a similar size and shape.

As for streaming, the PSP doesn't yet support streaming and there's not really any way around that, sorry.

profichiller
2006-01-05, 17:25
Thank you for your suggestions! As soon as I have time for it, I'll try it again on another network. Maybe it works with a network of a friend. When I have News, I'll tell you.
But if it won't work, do somebody know a device to control my MP3 Collection, which is as smart to handle as the SONOS System? I don't like Handhelds (neither PocketPc nor Palm) but it would be great to have something with the feeling of a PSP or another remote! Any suggestions?

PoW
2006-01-05, 21:19
Alright, I tried the handheld skin and Whoa! it is perfect! So at the very minimum I have a very full featured wireless control device.

Next I tried to get the rss streaming method to work. Here is the xml file I put on my web server and pointed the browser on the PSP at. The PSP browser recognized the file as a rss feed and it lets you add it. You can then go to the rss browser on the PSP and your new stream appears. However this is where everything goes terribly wrong. Not a single one of those streaming feeds: di.fm trance, xtcradio.com, nor http://192.168.1.48:9000/stream.mp3 (my slimserver) work. This must be fixed! The error I get for trying this :

The server does not support this feature. Hrmm I doubt it is the server that is the problem you lazy Sony bums...

Of course the big disappointment is Slimserver, as you all know the server can be used to stream music so the inability to access shoutcast streams doesn't matter much. I am pretty stumpted as what could be the source of the problem. I have played around with the meta type in the <enclosure> tag in the xml file but haven't had any luck. One possible idea is the slimserver is trying to stream at a bitrate higher than the PSP can handle, I'm going to play with that now. Any insight here?

An interesting note, I pointed the PSP browser at http://192.168.1.48:9000/stream.mp3 and it started downloading the stream as if it where a file. Of course it was a stream so it continued for many megs until I got bored and canceled the ill fated download attempt.

This file was named t1.xml so to add the rss feed properly to the PSP I pointed the PSP browser at http://192.168.1.102/~pow/t1.xml. Where the ip address is that of your local server.


<rss version="2.0">
<channel>
<title>Test Radio Stream</title>
<link>http://192.168.1.102/~pow/</link>
<description>Streaming Test Channel</description>
<language>en-us</language>
<image>
<url>http://192.168.1.102/~pow/piratetreasurehats.gif</url>
<title>Streaming Test Channel</title>
</image>
<copyright>&#xA9; 2006 Streaming Test</copyright>
<item>
<title>XTCRadio London</title>
<link>http://www.xtcradio.com/</link>
<description>XTC Radio London / PSP Mix</description>
<author>Bob Villa</author>
<pubDate>Sun, 1 Jan 2006 15:00:00 -0800</pubDate>
<enclosure url="http://stream.xtcradio.com:8069/listen.pls" type="audio/mpeg" />
</item>
<item>
<title>di.fm</title>
<link>http://di.fm/</link>
<description>di.fm Trance / PSP Mix</description>
<author>PoW</author>
<pubDate>Tue, 29 Nov 2005 14:00:00 +0900</pubDate>
<enclosure url="http://di.fm/mp3/trance.pls" type="audio/mpegurl" />
</item>
<item>
<title>Slimserver</title>
<link>http://192.168.1.48:9000/</link>
<description>Slimserver / PSP Mix</description>
<author>PW</author>
<pubDate>Tue, 29 Nov 2005 14:00:00 +0900</pubDate>
<enclosure url="http://192.168.1.48:9000/stream.mp3" type="audio/mpegurl" />
</item>
</channel>
</rss>

The 2.6 PSP firmware is required for all of this due to its requirement that you read from a rss feed.

PoW
2006-01-05, 21:57
Alright, I tried out a few combinations but didn't have any luck. First of all I tried a few different MIME types, none of these worked:

audio/MP3
audio/x-mpeg
audio/mpegurl
audio/x-mpegurl

I kind of doubt this is the source of the problem. I also installed lame on my server and tried setting the streaming bitrate and quality at a variety of different quality settings. These settings all generated the same error I mentioned in my previous post.

Third thing I tried was a bit of a longshot, when using the streaming method from work using foobar2000 I notice foobar spits out stream errors between tracks. I don't understand the source of these errors but I figured maybe the PSP requires a song to be playing.

I didn't mention this before but the PSP is showing up on the slimserver's list of clients. So on the PSP's playlist I placed a song and started it. However, same error when trying to play the stream on the PSP...I'm stumped

EnochLight
2006-01-15, 02:14
I use the "handheld" skin for my PSP and it works great. The refreshing takes 2-3 seconds after you make a selection (including pause or volume adjustments) but it's still functional.

If you change the display mode on your PSP to "Just Fit" it might help with other skins, but the "handheld" skin works great in my opinion.

What I would like to see is someone to design a good icon-based skin for the PSP. It's a great companian to aid in searching and fine-tuning while sitting in my livingroom in front of the Squeezebox, or especially when roaming the house and the IR remote is out of range.

YahooJames
2006-01-17, 18:15
I'm considering getting a SqueezeBox if I can use my PSP via web browser to control it. Does anyone know if one of the handheld skins shows the current track's real time state (i.e time remaining, time played) without having to refresh the page? I've messed around with browseamp and it does a good job of showing track state but the skin wasn't meant for handhelds like the PSP.

Could some post a screenshot? The one on the slimdevices site is rather small.

mherger
2006-01-18, 00:16
> Does anyone know if one of the handheld skins shows the
> current track's real time state (i.e time remaining, time played)
> without having to refresh the page?

This is a thing a web will hardly be able to do. While AJAX could give you
the impression to do so, I doubt the PSP's browser is able to use this
technology. And the Handheld skin does not use it anyway.

> I've messed around with browseamp

What is browseamp?

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
SlimString Translation Helper (http://www.herger.net/slim/)

Jacob Potter
2006-01-18, 06:46
On 1/18/06, Michael Herger <slim (AT) herger (DOT) net> wrote:
> This is a thing a web will hardly be able to do. While AJAX could give you
> the impression to do so, I doubt the PSP's browser is able to use this
> technology. And the Handheld skin does not use it anyway.

The PSP does have Javascript; I don't know if it supports the more
advanced AJAXy stuff (XMLHttpRequest mainly), but there's no reason
why a simple Javascript counter couldn't be done.

- Jacob

YahooJames
2006-01-18, 07:26
>
What is browseamp?

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
SlimString Translation Helper (http://www.herger.net/slim/)

http://www.google.com/search?q=browseamp

YahooJames
2006-01-18, 07:32
On 1/18/06, Michael Herger <slim (AT) herger (DOT) net> wrote:
> This is a thing a web will hardly be able to do. While AJAX could give you
> the impression to do so, I doubt the PSP's browser is able to use this
> technology. And the Handheld skin does not use it anyway.

The PSP does have Javascript; I don't know if it supports the more
advanced AJAXy stuff (XMLHttpRequest mainly), but there's no reason
why a simple Javascript counter couldn't be done.

- Jacob

Jacob, you are correct. They implemented it with a Javascript counter. I've thought about modifying their skin to work better on the PSP (it's not intended for the PSP LCD display size), just don't have the time. I've also looked at CoverBuddy for controlling iTunes with the PSP, but it is only for Mac right now (a Windows version is promised).

oreillymj
2006-01-18, 12:29
Just going back to the RSS feed topic.

I added an RSS image to the top of the default handheld page with a hyperlink to http://192.168.2.3:9000/Handheld/slim_rss.xml

This file exists and is a valid XML based on the Sony sample.

But no matter what I do I get a 404 error saying that the file does not exist.

I've checked paths, upper/lower case etc..

Any ideas or should I post in the dev forum.

EnochLight
2006-01-18, 15:31
I'm considering getting a SqueezeBox if I can use my PSP via web browser to control it.

Don't delay; get a Squeezebox now! Yes - the PSP can control it fine - just like you control it from any computer's web browser. In fact, the ability to control my Squeezebox from anywhere in and around my house with my PSP on my WiFi was one of the big selling points for me.


Does anyone know if one of the handheld skins shows the current track's real time state (i.e time remaining, time played).

As was said earlier, it does not - however, it *LOOKS* just like it does on your computer - especially the skin called "Handheld". The PSP's web browser handles it very well.

That said, I'm waiting for a PSP?Squeezebox enthusiest to make a cool icon-based skin that scales great for the PSP's screen. The "Handheld" skin works and looks great, but I'm all about pretty pictures. ;-)

bklaas
2006-01-18, 15:55
just out of curiosity, has anyone tried the Nokia770 skin (available in 6.5 only) on the PSP? The screen dimensions are similar, and really all Nokia770 is is an 800x480 optimized skin, so it might be perfect for it.
cheers,
#!/ben

EnochLight
2006-01-18, 16:49
just out of curiosity, has anyone tried the Nokia770 skin (available in 6.5 only) on the PSP? The screen dimensions are similar, and really all Nokia770 is is an 800x480 optimized skin, so it might be perfect for it.
cheers,
#!/ben

I'd like to, but I'm weary of running beta software for my server - and I think the beta is the only way you can get that skin. Unless - anyone know where you can get it for 6.2? ;-)

rick's cafe
2006-01-19, 07:33
i too use the PSP as a remote and whilst the handlheld skin works quite well... the icons in the 770 skin seem to look much better to use.... I am also interested to know if I can download the 770 skin into SS 6.2 or will it only work if I upgrade to 6.5...

rick's cafe
2006-01-19, 07:47
Bklass - just read thru some of yor earlier posts on the development work you did on the skin, particularly in relation to 'porting ' the skin back to ver 6.2

can you advise what the current position is on that.

I'd like to use the skin.. but being a newby to SB3 I am reluctant to upgrade the beta 6.5 ( I'd rather stay with the devil I know!! ;-)

alternatively.. can anyone explain in layman's terms how easy it is to upgrade to 6.5 and on whether you can step back down to 6.2 if you find the beta too much for a non-tech brain to handle

nuff respect!

bklaas
2006-01-19, 08:10
There are a lot of differences in the way skins are coded between 6.5 and 6.2. Early on, I considered porting it to 6.2, but the amount of work I'm putting in enhancing the skin for 6.5 is enough for me. I will not be making this skin available for 6.2.

6.5 is in beta, true, but it seems to be very stable for me. Obviously, results may vary. If you choose to use it, you can get it here--
http://www.slimdevices.com/downloads/nightly/latest/6.5/
My recommendation is to remove your 6.2 installation and then install the 6.5 version. If you don't like 6.5, you can always reinstall 6.2. Up to you.

FWIW, I think 6.5 is scheduled for March release.

#!/ben

rick's cafe
2006-01-19, 11:36
IF I upgrade to 6.5,...presumably I also need to rescan my library... but will I also need to reconfigure the Squeezebox or will the settings just carry across?

kdf
2006-01-19, 12:04
Quoting rick's cafe <ricks.cafe.21wa8o (AT) no-mx (DOT) forums.slimdevices.com>:

>
> IF I upgrade to 6.5,...presumably I also need to rescan my library...
> but will I also need to reconfigure the Squeezebox or will the settings
> just carry across?


The squeezebox itself will not need to be reconfigures. The slimserver
settings will also carry over, but it is always a good idea to back it
up because there are sometimes upgrade scripts that do make changes to
move settings to new formats, get rid of deprecated options, etc.

-kdf

oreillymj
2006-01-20, 12:56
BTW - The podcast functionality in PSP firmware 2.6 seems to only work with urls without port numbers.

So although I can browse to http://<slimserver ip>:9000/handheld/ in the PSP's web browser and click on the RSS icon (I added to the skin), the PSP will not display the image icon referenced within the RSS xml because it is on port 9000 and is also unable to find the stream.mp3 on port 9000.

As a test I changed the RSS XML file so that it didn't use ports and set up a a copy of handheld skins directory structure as a virtual directory in IIS on port 80. Then everything worked fine.

So there are 2 choices.
1) Config Slimserver to run on port 80.
2) Implement some sort of proxy/port mapper to re-direct port 80 requests to port 9000. I'm pretty certain I did some port mapping like this before.

BTW - I've reported this to Sony. I consider it a bug.

EnochLight
2006-01-20, 13:12
BTW - I've reported this to Sony. I consider it a bug.

Heheh - good luck with that one. Sony's browser advancement on the PSP seems to be accelerating at a snail's pace. It's a shame too - I love my PSP for compact WiFi on the web. It goes with me to Panara Bread for lunch every time so I can surf the web.

What dissappoints me additionally is the lack of a QWERTY keyboard accessory for the PSP. One was announced by a 3rd party manufacturer and then quickly pushed forward to an undetermined release date, presumably because Sony doesn't want to play nice.

Posting in forums and responding to emails on the PSP, needless to say, is a pain in the arse!

oreillymj
2006-01-20, 14:53
Actually I tested both of the methods I thought might work and neither do.

1) Slimserver will not listen on port 80. Web UI does not accept this as a valid port for some reason. Perhaps becuase the Linux folk are all running Webservers, not sure.

2) I downloaded the AnalogX port blocker/forwarder and configured it to forward port 80 requests to port 9000 but still not joy. Normal surfing of the web-site is fine, but when I click on the RSS feed icon, the browser still does not display the configured icon/image, and as expected the stream is not found.

I'm betting Sony adds Flash support to the browser before it'll fix basic stuff like this.

EnochLight
2006-01-20, 16:15
Yeah, Flash would be nice on the PSP - putting it one step closer to a real Internet browsing experience - but these little bug fixes should come first.

At any rate, my PSP rawks hard as a SlimServer controller - a match made in heeeevun!

oreillymj
2006-01-23, 08:44
You mis-understood. I absolutely hate Flash. I've yet to come acoss anything useful built with it. It's purely a case of style over substance and laziness by developers who can't be bothered to code in HTML.

I for one will not upgrade my PSP's firmware to any version which implements Flash.

EnochLight
2006-01-23, 09:31
Oh no I totally agree - Flash is completely overrated (and bloated, IMHO). However, if done right it can be very functional. Many sites that I use are formatted as such and viewing them on the PSP is close to impossible.

At any rate, I'd rather take live streaming of WMV and Quicktime over Flash on the PSP. WMV is posssible, however; Quicktime is unlikely. :-(

Ahh well - just as long as my PSP functions as a Squeezebox remote, I'm happy!

EnochLight
2006-02-04, 18:07
Just finished a review of the Nokia 770 skin on the PSP. Check it out below:

http://forums.slimdevices.com/showthread.php?t=20733