English > Development
Kroozbox - PVD to media theatre solution
cwdean:
--- Quote from: Nono on January 26, 2009, 02:48:30 am ---Well, make sure that the "ssdpOn" property is set to "true" (ssdpOn = true) in the corresponding template kroozbox.properties file. Else then that.... next time send me the complete screen output when you start Kroozbox. By theway.. using version 1.8.. yes!?
You could always add your service manually in the "./config/extraSSDP.properties". Something like:
--- Code: ---My PVD Movie = 192.168.1.200:9008 (put your own IP and port)
--- End code ---
but it shoudn't be necessary.
N
--- End quote ---
Thanks for the prompt reply, Nono. I checked as you recommended and ssdpOn is already set to True. I did add the service manually, just in case. Then restarted the service and re-ran the startme.bat file. By the way, if Kroozbox is running as a service do I still need to run startme.bat?
This time there was a bunch of UPnP activity in the command window. I checked PCH and there are three UPnP entries on the menu for Kroozbox...one for HD, one for SD and one for notices. Unfortunately, when I selected the SD entry the activity monitor kept spinning for about two minutes and then PCH indicated that the request could not be processed (some kind of timeout, I'm assuming).
Getting much closer. Any suggestion what to look for next?
Thanks again!
CD
Nono:
You cannot run Kroozbox as a Windows service and with Starme.bat. Its like runnning teh same application twice, each asking for the same resource (server port, database access, etc). This will result in unpredictable behavior - maybe... oh... like you have seen.
Stop the service, uninstall it to be sure (REMOVESERVICE.bat). And run startme. You may have to hard boot your PCH as well after that (to be sure).
Install Kroozbox Windows service when all is nice.
cwdean:
--- Quote from: Nono on January 26, 2009, 03:19:37 am ---You cannot run Kroozbox as a Windows service and with Starme.bat. Its like runnning teh same application twice, each asking for the same resource (server port, database access, etc). This will result in unpredictable behavior - maybe... oh... like you have seen.
Stop the service, uninstall it to be sure (REMOVESERVICE.bat). And run startme. You may have to hard boot your PCH as well after that (to be sure).
Install Kroozbox Windows service when all is nice.
--- End quote ---
You're awesome. That was the problem. I'll re-install the service once everything is working perfectly.
I can now browse my databse via PCH. I have a quick question for you. But first, background. I have a Thermaltake USB Hard Drive docking station that I use with PCH. This way I can have many movies on multiple hard drives and just plug in the one with the movie that I want to watch. With this said, I can now browse the Kroozbox server and once I find hte movie I want to watch...plus that hard drive into the docking station and away I go.
The question I have, how do I configure Kroozbox to support this configuration? On the Kroozbox server, the movie library drive is plugged in to the server as drive G (G:/). On the PCH, it will always be referenced as USB_DRIVE_A-1. So how should this be referenced in the Kroozbox config files?
Once I have this last detail figured out I should be all set (other than a template change to display the movie Location on the screen -- so I know which hard drive to grab).
Thanks!
CD
Nono:
Hmmm... I think you are missing the most important point of Kroozbox. (maybe you should read the manual ;) )
If I understand you, you first enter the movies in PVD and then move your hard disk to your PCH.... ouch - not good - it defeats the purpose.
Kroozbox is build to deliver the movie to the PCH through the network. Do NOT unplug your hard disk from your computer where Kroozbox is running, just leave it there. Selecting the movie from kroozbox will deliver it to the PCH.
Now, there are situations where the movie you enter in PVD might not be find at the same drive/location by Kroozbox. For instance, on my system I use PVD on my personal computer that sees the movies on drive "m:". The database is physicaly located on a hard disk on my home server that is using "e:" as drive letter (where the movies are). Kroozbox is also running on this home server. In essence, the PVD database have the movies entered on drive "m:" but Kroozbox must get them on drive "e:".
There are multiple ways to adjust this. The simplest way is to adjust the value of "dbaseMediaRoot" and "localMediaRoot" in the corresponding kroozbox.properties. In my example, I would set "dbaseMediaRoot = m:/" and "localMediaRoot = e:/". You could adjust that and have "localMediaRoot = USB_DRIVE_A-1:/" or something like that. But you would miss some of the important feature of Kroozbox (delivering to multiple medias, etc) and you would have to alwyas move your hard disk (yurk).
You could also use the "mediaLinkPathTable" and/or the "mediaPathTable" correspondance tables, but these should be use for more complex re-mapping where you have multiple hard disks on different drive assignments or exotic network.
But I think that in your case, you just have to plug and play.... isn't it working properly when you start the movie ? (from browser or PCH).
cwdean:
Thanks for the reply, Nono. You're correct, I need to read the manual...but you know how us IT types can be ;) I will do so tonight.
I am able to get my movies to stream locally (from the server). To be honest, I haven't tried this from the PCH. My preference was to do it as I described earlier, thinking that streaming locally via PCH-attached USB would be much faster (and therefore better performance) than streaming via my network. I don't have the most efficient network configuration. But it may be fine...I'll try this evening.
I did try the config change ("localMediaRoot = USB_DRIVE_A-1:/") as you suggested but it didn't work. I may be wrong (and probably am) but I don't think that Kroozbox understands the local mapping from PCH since the request is made from the server.
But I can live with this. If it streams fine via my network then I can use my docking station on the server. And if my network performance isn't good enough, I can still use Kroozbox/PVD to manage my movie collection and use the Location field to determine which drive to put in the USB docking station (attached to the PCH).
Keep up the great work :)
Thanks,
CD
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version