PDA

View Full Version : Videobox / Rhapsody!



toby@musically.com
2004-03-30, 13:01
I've just installed Videobox (http://videobox.sourceforge.net) and have to
tell everyone how impressed I am.

This is exactly the kind of unique application that the Slim Devices company
have enabled by going open source. What's more, I had no idea this would be
possible with the Slim system and I imagined I would have to fork out for
extra hardware to be able to control video from my computer using a remote.

Thanks to everyone who made it possible.

Now if someone can just build an interface between the Slimp3 and Rhapsody
or Napster 2.0 my dream world will be complete...

Jason Holtzapple
2004-03-30, 13:22
> Now if someone can just build an interface between the Slimp3 and Rhapsody
> or Napster 2.0 my dream world will be complete...

http://realslim.sourceforge.net/

?

--Jason

Peter van der Landen
2004-03-31, 00:36
Hi Toby,

I've just uploaded a new release of Videobox to SourceForge with the
following changes:

Release 0.5.1
-------------
- Clearing playlist & bookmark has been made to behave more like the
Slimserver. Press 'Add' on the 'Now Playing' or 'Bookmarks' entry in
the root menu to clear either the playlist or the bookmark list.
- In fullscreen mode the cursor is now made hidden by moving it off
screen.
- When fullscreen is pressed with the Player iconized (minimized), the
the player will uniconize first. When pressing fullscreen again the Player
will exit fullscreen mode and iconize again. This allows you to run the
Player in the background and let it take over the screen when you need it.
- Changed delay for fullscreen accelerator (in vb-player.pl) to work around
duplicate events. (Wx::ActiveX bug)
- Added the Streams directory (with a number of live video streams) to the
main distribution.

http://sourceforge.net/project/showfiles.php?group_id=105298

Best regards,
Peter


> I've just installed Videobox (http://videobox.sourceforge.net) and have
> to tell everyone how impressed I am.
>
> This is exactly the kind of unique application that the Slim Devices
> company have enabled by going open source. What's more, I had no idea
> this would be possible with the Slim system and I imagined I would have
> to fork out for extra hardware to be able to control video from my
> computer using a remote.
>
> Thanks to everyone who made it possible.
>
> Now if someone can just build an interface between the Slimp3 and
> Rhapsody or Napster 2.0 my dream world will be complete...
>
>
>

kdf
2004-03-31, 01:08
Quoting Peter van der Landen <landen-slimp (AT) frg (DOT) eur.nl>:

> Hi Toby,
>
> I've just uploaded a new release of Videobox to SourceForge with the
> following changes:
>

leaps and bounds. This is a very good plugin! Really, its far more than a
plugin. Will the plugin be updated to include the streams dir by default?

I also found a bit of a bug. If the server is restart while in Videobox mode,
the player will start up in squeezebox mode, but the display will periodicly
display videobox messages. Pressing power doesnt get out of it. I had to go in
to the plugin again, and it would say 'waiting for player'. Pressing power at
this point exits and clears up the problem.

I'm not familiar with windows controls under perl, but do they include a
shutdown command? wake-on-lan packet from the player would also be fairly useful.

cheers,
kdf

Peter van der Landen
2004-03-31, 01:48
> Quoting Peter van der Landen <landen-slimp (AT) frg (DOT) eur.nl>:
>
>> Hi Toby,
>>
>> I've just uploaded a new release of Videobox to SourceForge with the
>> following changes:
>>
>
> leaps and bounds. This is a very good plugin! Really, its far more than
> a plugin. Will the plugin be updated to include the streams dir by
> default?

Thanks! The stream dir is included in the source distribution. To install
it for use you must place it somewhere where VB-Player (you're right this
is not a plugin but a stand alone app that can be controlled thru a
plugin) can find it. Then add it to the Menu via File -> Setup -> Media.

> I also found a bit of a bug. If the server is restart while in Videobox
> mode, the player will start up in squeezebox mode, but the display will
> periodicly display videobox messages. Pressing power doesnt get out of
> it. I had to go in to the plugin again, and it would say 'waiting for
> player'. Pressing power at this point exits and clears up the problem.

That's right. This problem stems from the fact that the plugin doesn't
know that the Slimserver is about to exit (while restarting). If there
were a way to catch that even, the plugin could send an 'end' packet to
Player which would stop sending status updates to the Slimserver. DOes
anyone know if it's possible to catch server shutdown from a plugin?

> I'm not familiar with windows controls under perl, but do they include a
> shutdown command? wake-on-lan packet from the player would also be
> fairly useful.

Shutdown? The player can be shutdown (actually the client connection is
shut down) of course by sending it an 'end' packet. What would teh wake on
LAN be used for?

Regards,
Peter

Peter van der Landen
2004-04-01, 11:02
> I'm not familiar with windows controls under perl, but do they include a
> shutdown command? wake-on-lan packet from the player would also be
> fairly useful.

I have made a new release 0.5.2 with the following additions:

- Player shutdown option added to the Settings menu (Add to activate)
- System shutdown option added to the Settings menu (Add to activate/abort)
- Wake On LAN option added to Slimserver plugin (Videobox.pm)
- VOB file extension added to supported file extensions (play DVD's!)

I can now shutdown my Windows workstation from my Slim remote and start it
again by entering the Videobox plugin menu. For WOL to work the MAC
address of the workstation must be entered in the header of Videobox.pm.
Also you must use LAN broadcast mode or a static ARP entry for the VB
Player machine on the machine running Slimserver.

Obviously Wake On LAN is only useful for people who don't have VB Player
running on the same host as Slimserver...

Sourceforge appears to be down so I put it on my home server for the time
being: http://wolkendek.nl/videobox/Videobox-0.5.2.zip

Regards,
Peter

kdf
2004-04-02, 00:11
Quoting Peter van der Landen <landen-slimp (AT) frg (DOT) eur.nl>:

>
> > I'm not familiar with windows controls under perl, but do they include a
> > shutdown command? wake-on-lan packet from the player would also be
> > fairly useful.
>
> I have made a new release 0.5.2 with the following additions:
>
> - Player shutdown option added to the Settings menu (Add to activate)
> - System shutdown option added to the Settings menu (Add to activate/abort)

It should probably be noted that this is the winXP shutdown. Win2k uses / for
options instead of -, and its only included as part of the resource kit.
However, the winXP version works fine if you copy it to a win2k system.

> - Wake On LAN option added to Slimserver plugin (Videobox.pm)
> - VOB file extension added to supported file extensions (play DVD's!)
>
WOL is not playing along for me, yet.
-kdf

Peter van der Landen
2004-04-02, 03:15
> Quoting Peter van der Landen <landen-slimp (AT) frg (DOT) eur.nl>:
>
> It should probably be noted that this is the winXP shutdown. Win2k uses
> / for options instead of -, and its only included as part of the
> resource kit. However, the winXP version works fine if you copy it to a
> win2k system.

Yeah, I guess I haven't done much cross-platform testing... ;-)

>> - Wake On LAN option added to Slimserver plugin (Videobox.pm)
>> - VOB file extension added to supported file extensions (play DVD's!)
>>
> WOL is not playing along for me, yet.

OK, there are some important points in getting that to work:

- Enable Wake On LAN on the PC running VB Player
- Enter the MAC address of the VB Player PC in Videobox.pm
- Enable broadcast mode in Videobox.pm and use the broadcast address of
your network with $vb_host (usually something like 192.168.1.255)
- OR: Use a static arp entry to link the VB Player's IP address with the
VB Player PC's MAC address.
- Restart the Slimserver

It becomes a little complicated because WOL is somewhere between the
ethernet and the IP layer. A powered off PC has no IP address and
therefore you can't just send a packet to it...

Broadcasts don't have that problem and a static arp entry is another work
around...

Regards,
Peter

kdf
2004-04-02, 03:42
Quoting Peter van der Landen <landen-slimp (AT) frg (DOT) eur.nl>:

> > Quoting Peter van der Landen <landen-slimp (AT) frg (DOT) eur.nl>:
> >
> > It should probably be noted that this is the winXP shutdown. Win2k uses
> > / for options instead of -, and its only included as part of the
> > resource kit. However, the winXP version works fine if you copy it to a
> > win2k system.
>
> Yeah, I guess I haven't done much cross-platform testing... ;-)
>
no problem. I just figured I should mention and save other people having to
learn what I just did.

> >> - Wake On LAN option added to Slimserver plugin (Videobox.pm)
> >> - VOB file extension added to supported file extensions (play DVD's!)
> >>
> > WOL is not playing along for me, yet.
>
> OK, there are some important points in getting that to work:
>
> - Enable Wake On LAN on the PC running VB Player
check :)

> - Enter the MAC address of the VB Player PC in Videobox.pm
first thing I did

> - Enable broadcast mode in Videobox.pm and use the broadcast address of
> your network with $vb_host (usually something like 192.168.1.255)

ah...didn't think of the broadcast IP.

> - OR: Use a static arp entry to link the VB Player's IP address with the
> VB Player PC's MAC address.

yup, did this and it worked. I'll lose it when I reboot, but thankfully thats
not very often at all. Currently been about 33 days since the last time. WOL
works very nicely, thanks

The only odd thing left, that I'm going to have to look around on, is that the
ATX power supply seems to refuse to turn off after shutdown. If I do a shutdown
from the start menu, it shuts off as its supposed to. Using the shutdown
command, it will only turn off the power supply after I press the power switch.
Everthing else shuts down just fine. clearly something in my setup has crap
hardware :)

-kdf

kdf
2004-04-02, 03:52
Quoting Peter van der Landen <landen-slimp (AT) frg (DOT) eur.nl>:

> > Quoting Peter van der Landen <landen-slimp (AT) frg (DOT) eur.nl>:
> >
> > It should probably be noted that this is the winXP shutdown. Win2k uses
> > / for options instead of -, and its only included as part of the
> > resource kit. However, the winXP version works fine if you copy it to a
> > win2k system.
>
> Yeah, I guess I haven't done much cross-platform testing... ;-)

here are the details, since I realised its not a simple case of s/-///g
http://www.ss64.com/nt/shutdown.html

of course, having it configurable would leave room for a different command
entirely to be used. an example:
http://www.stefan-kuhr.de/poweroff/main.php3

worst case, I might just try out a temp license for perlApp

-kdf