English > Development
Kroozbox - PVD to media theatre solution
Nono:
--- Quote ---If I click on it, or copy link location, however, it does this: file:///E%3a%2fViewed%2fBarbarian%20Invasions%20%282003%29%207%2e8%2eavi, which, of course, doesn't work.
--- End quote ---
But its working fine on my machine - what's the error?
The link is UUEncoded as it should - normal.
--- Quote ---So, yes, I now understand there's a difference between entering it "manually" and using the link. And that reminds me I have another issue to deal with—Firefox blocks links to local files. I've installed the Policy Manager add-on as a means to allow it for Froozbox.
--- End quote ---
I don't have this issue with Firefox... hmmm.. this is all strange.
I'll send you my modified code with ASX wrapping and see what happens. It will be done for next Sunday/Monday dough (busybusy)... or maybe tonigh if I am couragous.
Thanks.
rick.ca:
--- Quote ---But its working fine on my machine - what's the error?
--- End quote ---
Just to be clear—I'm not talking about Froozbox now, just general behaviour in Firefox... When my file:///... examples are entered manually, the first one works and the second doesn't. A new tab is opened, but nothing happens. There's no error.
To test how such links work in Firefox, I created a HTML file with three links:
--- Code: ---<a href="file:///E:\Viewed\Barbarian%20Invasions%20(2003)%207.8.avi">Word Link</a>
<a href="file:///E%3a%2fViewed%2fBarbarian%20Invasions%20%282003%29%207%2e8%2eavi">Kroozbox Link</a>
<a href="file:///E:\Viewed\Barbarian Invasions (2003) 7.8.avi">Text Link</a>
--- End code ---
I made the first one by creating and saving a hyperlink in a Word document. It works fine. The second is copied from the Froozbox page source. It doesn't work (nothing at all happens—not even a new tab opened). Pondering what Word did, I thought "why bother," and made the third "plain text" link. It works fine too. So it looks like the issue has something to do with the UUencoding of the link.
BTW, my testing also seems to indicate the use of Policy Manager has no effect on local file access. ::)
--- Quote ---I'll send you my modified code with ASX wrapping and see what happens.
--- End quote ---
Maybe that's what's going to be required to handle multiple files anyway. They currently appear as separate links.
Nono:
I made an update of Kroozbox to QA.
http://rapidshare.com/files/155955130/Kroozbox1.2.zip
Please give it a try and let me know. If the link doesn't open in its own window (as before) you will have to set the "wrapMediaInASX" to "true" inside of the Kroozbox.properties file and restart Kroobox. you should first try without it first.
I couldn't remove the UUEncoding because it doens't work anymore on the media extender if I do it.... so I hope the link wrapping in ASX will do the job.
The file:/// might also work now... I'm saying "might" because I don't have the issues you have.
Also, the selection is now highlighted like the link hover and a few more things (internal).
Let me know.
rick.ca:
With wrapMediaInASX = false, the file is "downloaded" to C:\TEMP\&media=E__Viewed_Barbarian Invasions (2003) 7.8.avi, and then that is played.
With wrapMediaInASX = true, the current tab reloads (it seems), but nothing happens. The link appears in my status bar as http://my-ip:8008/&media=E:/Viewed/Barbarian Invasions (2003) 7.8.avi.asx. I don't see any sign of such an ASX file being created. If I copy the link location, I get http://my-ip:8008/&media=E%3a%2fViewed%2fBarbarian%20Invasions%20%282003%29%207%2e8%2eavi%2easx which suggests to me the uuencoding issue is still in play. Files for multi-part movies still appear as separate links—each link just has the ".asx" appended.
The behaviour with the file:/// change is the same as before.
The selection highlighting is nice. ;)
Nono:
fyi, the ASX file is transitory, it is normal that you don't see it. The template for it is in the config folder (ASXWrapper.txt).
Now, I finally know (hopefuly) why you are having issue and not me (and I should have seen it before). I use the media location transformation in the configuration and you don't. Meaning that the drive of the media will appear in your links (in some of your exemple: e:/). I'm suspecting that the ":" is confusing VLC since it is also a port separator.
Can you please try something for me to ensure that this is the problem?
Can you open your ./config/Kroozbox.properties file and activate the "localMediaRoot" and "dbaseMediaRoot" properties and put a value. For your environment, you should put the same value in both. From your exemple your should get:
localMediaRoot=e:/
dbaseMediaRoot=e:/
The idea here is that the drive: will be stripped out of the URL and VLC should not give you any issues.
Now, this may work or not without the ASX warpper but I'm pretty sure that you will need it (wrapMediaInASX=true).
Let me know and if it works and I will update the code not to have any drive delimiter (":") anymore.
Thank you.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version