User(s) browsing this thread: 1 Guest(s)
|
Kroozbox localMediaRoot not working
|
|
06-10-2009, 06:11 PM
|
|||
|
|||
|
Kroozbox localMediaRoot not working
I have been running Kroozbox on my PCH-110 for a while now and never had a problem with this before. I just installed v2.0 on my Vista box and set everything up. Weird thing is the localMediaRoot value is not being added into my link location.
I tried getting the PVDLinkRelocation.properties and PVDMediaLocation.properties files to do the substitution after commenting out the dbaseMediaRoot and localMediaRoot values, but that didn't work either. When I pull up the file in the browser, I get something like: http://192.168.1.50:9008/&media=%2FBabyl...n%20AD.mkv for .mkv or .avi files. ISO files bring up: file:///opt/sybhttpd/localhost.drives/NETWORK_SHARE/Server:Movies/%2FA%20Mighty%20Wind%2FA%20Mighty%20Wind.iso and they work fine. I have listed my config below. If anyone can help, it would be appreciated. Video Database - PVD 0.9.9.10 Movie Link in PVD - N:\Movies UNC Movie Location - \\Server\Movies (Windows 2003 Server) SMB Share on PCH - Server:Movies kroozbox.properties file: dbaseMediaRoot = N:/Movies localMediaRoot = //Server/Movies #mediaPathTable #mediaLinkPathTable |
|||
|
06-10-2009, 09:42 PM
|
|||
|
|||
|
RE: Kroozbox localMediaRoot not working
Hi,
Some clarifications: dbaseMediaRoot ---> will remove the drive:path specified in the full location of the movie from PVD (and create link from that). localMediaRoot ---> will add the specified drive:path to the beginning of the &media= value when requested from the browser to reconstruct the real location mediaLinkPathTable ---> In the pointed file you set any link transformation (result seen in the browser link). mediaPathTable ---> In the pointed file you set server side path transformation (you won't see any differences in the browser link - all Kroozbox internal) You have to be carreful when using dbaseMediaRoot,localMediaRoot in combination with the transformation tables. It can become confusing. So, as a rule, if you only have simple video file (mkv, avi, etc) on only one drive use dbaseMediaRoot and localMediaRoot (if necessary). If you have ISO, VIDEO_TS and need to access them through a share (or anything else that need share access) or have multiple drives and access PVD from a different computer then the one running Kroozbox (so the drive letter are different), you would use teh transformation table (mediaLinkPathTable preferably - easier to debug). Even more confused (I just reread myself )!? forget about dbaseMediaRoot and localMediaRoot - just use transformation table.OK, lets try this, Are the movies seen by Kroozbox at the same location as in PVD (n:\movies)? If yes, just comment out dbaseMediaRoot and localMediaRoot in your Kroobox.properties *and* comment out "mediaPathTable" and "mediaLinkPathTable" for now (seems to be already commented out). Yes, that will probably break your ISO link but this is the way to go. All avi, mkv, etc are working properly now. Restart kroozbox, test with STARTME (instead of the service - juuuust to be sure - service might gives issue with UAC and firewall setting). Now you have to adjust "PVDLinkRelocation.properties" for ISO and whatever is using share. Open in browser look at the link and spot what should be transform. You would get something like: file:///opt/sybhttpd/localhost.drives/NETWORK_SHARE/N:/Movies/Movies/... So you put the following in "PVDLinkRelocation.properties": N:/Movies = Server/Movies N%3A%2FMovies = Server/Movies N:\Movies = Server/Movies N%3A%5CMovies = Server/Movies Line 2 to 4 is to ensure that it will change any UUEncoding as well... the transformations table is quite strict. Restart is see result in browser - readjust if necessary (the "N:" migh be "n:"). You can always set the flag "debug=true" in krozbox.properties and restart Kroozbox to see output when a call to the link is done - kroozbox will tell you whats happening on the console window. Make sense? |
|||
|
06-10-2009, 11:57 PM
|
|||
|
|||
|
RE: Kroozbox localMediaRoot not working
lol, yeah it can be confusing. I thought I had it figured out, and with your explanation it is even clearer. The transformation table probably wasn't working because I wasn't including the UUEncoded transformation. After adding that in, the transformation is working but the ISOs are broken.
What I have done that actually solves the problem (although it is a bit of a hack) and allows me to play all of my media using the SMB share which is a bit faster is this: In the globalParam.properties file, I have modified the PVD-MediaLinkStart to look the same as the PVD-MediaLinkStartForISO parameter. In the kroozbox.Properties I kept just the dbaseMediaRoot = N:/Movies/. Everything is now working perfectly as well as avi and mkv files loading almost instantly where before I used to see the "Buffering" message for a few seconds. I am going to play around some more with the transformations as it seems more flexible. I was just confused as to why localMediaRoot wasn't doing what it was supposed to and like it had in the four previous versions that I have run. Oh, well, it is working the way I want so I am happy. Thanks for taking the time to put a nice reply together. Regards, Shawn |
|||
|
06-11-2009, 02:41 AM
|
|||
|
|||
|
RE: Kroozbox localMediaRoot not working
good. thanks.
I will probably update the transformation mechanism in the next release to be more permissive (no uuencoding discrimination). Nono |
|||
1 user says Thank You to Nono for this post |
|
« Next Oldest | Next Newest »
|

Twitter
Facebook
NMT Wiki
Search
Member List
Help
A-400 [13 May 2013]




![[+]](images/collapse_collapsed.gif)

)!? forget about dbaseMediaRoot and localMediaRoot - just use transformation table.