English > Development
Kroozbox - PVD to media theatre solution
rick.ca:
--- Quote ---I'm suspecting that the ":" is confusing VLC since it is also a port separator.
--- End quote ---
From the behaviour I've seen, I don't think the issue extends beyond Firefox, but I'll give this a try...
Nope. I may be wrong, but after trying it all sorts of different ways in Firefox, Opera and IE, and with different media players, I'm convinced this is not going to work the way you're trying to make it work. The closest I got to seeing anything working was (1) the file being "downloaded" and played from the temp directory or browser cache, or (2) the media player being launched immediately, but not being passed a valid file path.
I wonder if you're insisting the browser send the link selection back to Kroozbox, so Kroozbox can issue a command to play the file referred to in the link. Isn't there a way to make a plain file:\\\ link for the browser to use directly? In other words, like the <a href="file:///E:\Viewed\Barbarian Invasions (2003) 7.8.avi">Text Link</a> I mentioned before—the file:/// modification, but also somehow preventing the uuencoding. I understand that's what you were trying to do with the ASX wrapper, but is there not a more direct way? Yes, I know, I'm reaching for straws... ::)
To repeat my previous experiment—because I've changed so many things since trying it last—if I save <a href="file:///E:\Video\Elite Squad (2007) 8.1 Disc 1.avi">Text Link</a> in a HTML file, selecting the link produces file:///E:/Video/Elite%20Squad%20(2007)%208.1%20Disc%201.avi, which launches in my media player. The Froozbox link source is <a href="file:///E%3a%2fVideo%2fElite%20Squad%20%282007%29%208%2e1%20Disc%201%2eavi"..., which produces file:///E%3a%2fVideo%2fElite%20Squad%20%282007%29%208%2e1%20Disc%201%2eavi, which does nothing. So the problem seems to be the path is uuencoded in the source.
Nono:
OK... I hear you loud and clear now. I just wanted to make the Kroozbox internal HTTP server work properly.
Please get revised version of Kroozbox.jar file here:
http://rapidshare.com/files/156467029/Kroozbox.jar
Need to overwrite the one present in teh root of your installation.
You will have to add this line to the "./config/kroozbox.properties" file:
UUEncodeMediaLink = false
Make sure that "wrapMediaInASX" is false. Restart Kroozbox. After that the media link won't be UUEncode at all.
It would be nice if you could test it with "file:///" and "&media=" refs in the M-5 and O-4 files with "wrapMediaInASX" false and true. So, I can update the documentation properly.
I get strange behavior with VLC where it takes up to a minute to start the link playing (nice with WMP) but that's probably my config.
Rick.ca... are you from Canada (.ca)? from Ottawa myself.
Cheers.
rick.ca:
YES! It works. Sort of. Sometimes. :-\
With wrapMediaInASX=false and using file:///, it works—sometimes. I have video on drives E:, L: and R:. It works only for files on E:. Files on other drives result in page load errors like Firefox can't find the file at /R:/Movies/Fight Club (1999) 8.7 #26.avi. (It looks like the leading "/" is the problem.) Using &media=, the file is "downloaded."
With wrapMediaInASX=true and using file:/// results in the same page load error, regardless of the file location. Using &media=, nothing happens for files on E:. Files on other drives result in errors like The requested media file cannot be found (adjust 'dbaseMediaRoot' and/or 'localMediaRoot' properties: R:\Movies\Fight Club (1999) 8.7.
--- Quote ---I get strange behavior with VLC where it takes up to a minute to start the link playing (nice with WMP) but that's probably my config.
--- End quote ---
I haven't been using VLC (my default player is J River Media Center), but I wonder if that delay might be because the file is downloading. I've seen this with MS Media Player—it starts up and looks like its going to play a file normally, but its actually downloading the file in the background.
--- Quote ---Rick.ca... are you from Canada (.ca)?
--- End quote ---
You've blown my cover! Here I had everyone believing I was Rick from Casablanca. Yes—Victoria. Now I'll have to find another avatar that conveys "crazy man on an island in the pacific." ;)
Nono:
--- Quote ---I have video on drives E:, L: and R:. It works only for files on E:. Files on other drives result in page load errors
--- End quote ---
damn... that's weird
Have you tried to access those files (on L: and/or R:) from a hand made HTML like the one you did before:
--- Code: ---<html>
<a href="file:///R:/Movies/Fight Club (1999) 8.7 #26.avi">A link</a>
</html>
--- End code ---
Does it work!?
rick.ca:
No, links to files on R: do not work. Links to files on E: do work. I tried the same in IE, and both work. So it seems the problem is with Firefox. I tried Firefox in safemode—same result. I can't see anything in my configuration settings that would cause this. I suppose this might have something to do with the fact E: is a hard drive partition, and R: is a USB drive partition—but I can't imagine what.
This is so weird, I'm almost willing to use Kroozbox with IE. Oh, but wait... While the HTML file links work fine, the identical Kroozbox links do nothing in IE! I haven't tried all possibilities (just wrapMediaInASX=false with file:\\\), but I need to take a break before my head explodes... ???
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version