Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Nono

Pages: 1 2 [3]
41
Development / Re: Kroozbox - PVD to media theatre solution
« on: October 22, 2008, 09:46:31 pm »

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
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: [Select]
<html>
<a href="file:///R:/Movies/Fight Club (1999) 8.7 #26.avi">A link</a>
</html>

Does it work!?

42
Development / Re: Kroozbox - PVD to media theatre solution
« on: October 22, 2008, 03:03:05 pm »
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.

43
Development / Re: Kroozbox - PVD to media theatre solution
« on: October 21, 2008, 02:19:29 pm »
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.



44
Development / Re: Kroozbox - PVD to media theatre solution
« on: October 20, 2008, 11:06:57 pm »
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.

45
Development / Re: Kroozbox - PVD to media theatre solution
« on: October 17, 2008, 10:50:47 pm »
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.

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.
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.

46
Development / Re: Kroozbox - PVD to media theatre solution
« on: October 17, 2008, 08:15:32 pm »
This link also launch automatically with me but it is because of its small size (618k). It does get loaded completely before being given to the player (for me anyway).
Its funny because I use to have my browser streaming my video properly to the player and now it doesn't do it anymore (from all location - not only Kroozbox). Something has change in the last few months in my config and don't know what.. damn..

You will see that the links themselves works if you manually enter the media URL in the "open" option of VLC (or WMP)... so it is just a matter of browser/association/mimetype adjustment....

I have find another way to do it but it is somewhat of a patch. It involves wrapping the link into a .asx file descriptor that get sent to the browser. Works well under IE and Firefox /WMP/VLC but I'm reluctant to go that way until I have find the real reason for this behavior. I'll let you know.

If your movie files are all local (as your discussion seems to indicate), you could always change the link in the template to stream it with file:// instead of http.
Try this:
In the M-5.html file header you have this line:
Code: [Select]
MEDIAHTTPLOCATIONSTART= <tr><td colspan="4" align="left" style="vertical-align:middle;" valign="middle"><a href="&media=
Change it to:
Code: [Select]
MEDIAHTTPLOCATIONSTART= <tr><td colspan="4" align="left" style="vertical-align:middle;" valign="middle"><a href="file:///
Notice "&media=" changed to "file:///"

For series it is located in O-4.html
Change the line in the body that start with:
Code: [Select]
<a href="&media=<!--MEDIAHTTPLOCATION-->" TVID="Play" name="nextlink" vod>....
To
Code: [Select]
<a href="file:///<!--MEDIAHTTPLOCATION-->" TVID="Play" name="nextlink" vod>....
Notice the &media link replacement again.

Let me know.

Oh.. I have fix the "active" link behavior so you can now see much better what is your current link selection.

47
Development / Re: Kroozbox - PVD to media theatre solution
« on: October 17, 2008, 02:02:23 pm »
Quote
if it just returned moviepath/filename.avi, the movie would be launched in it's associated player

That wouldn't make any difference... and even... Kroozbox needs a way to know that the link is a media link and that it should get the movie from the original location and not under the template folder. The &media= tag is essential. The problem/solution is elsewhere.. Note that all is done properly in terms of the returned HTTP header (of the proper type). The media extender is working very well with it (skip forward, backward, seek, etc). Maybe another type or someting in the href link has to be specified... Can you find me a link (on the internet) pointing to a video that would launch your media player like you want? with it I would surely find the answer.

Quote
First, there is no highlighting of links to indicate where the cursor/mouse is
Ok.. i'll see what I can do. Thanks for pointing out the Firfox trick.

48
Development / Re: Kroozbox - PVD to media theatre solution
« on: October 16, 2008, 08:41:22 pm »
Update to version 1.1a done at:
http://rapidshare.com/files/154675753/Kroozbox1.1a.zip

Few small bug fix and documentation added.

Cheers.


49
Development / Re: Kroozbox - PVD to media theatre solution
« on: October 15, 2008, 02:14:04 pm »
I am unsure of what you want to accomplish but is there really such a thing as a URL with this form ? :
upnp://192.168.1.100:8008. If this URL relates to Kroozbox it would be on http://192.168.1.100:8008


Sorry cannot help you more (i am not familiar enough with xmbmc).

50
Development / Re: Kroozbox - PVD to media theatre solution
« on: October 13, 2008, 11:43:44 pm »
Quote
And a nice embellishment would be to not require accented characters—so "leon" finds Léon, for example.

HOuuuu.. that's a tough one. I'm trying to be as generic as possible related to database access. All the SQL requested are within the templates (as you may have seen). If you look in S4 and T4 you'll see that even to get to the level where diacritics are recognize was not easy (damn.. looking at it, I just realise that I forgot to put the COLLATE UNICODE on the movie search template - S4-6 - something to fix. grr). I understand your request (and agree with it) but unless there is something in SQL that I don't know, it won't happen.

I'll try to adjust the font aspect/size for the search. My issue here is really with the media box that doesn't always respond well (or the same as the browser) to HTML syntax.

I didn't tried very hard to look at Kroozbox for a web interface for PC. I'll try to see what can be done for VLC integration.

Cheers.
Nono

51
Development / Re: Kroozbox - PVD to media theatre solution
« on: October 13, 2008, 05:15:45 pm »
Quote
Would you happen to know if I should be able to access Kroozbox from VLC media player? I've been trying to figure that out, thinking it might provide a more realistic simulation than a browser.

Well you can surely stream the http of a movie to VLC (open stream->put he URL of the movie as specified in the movie detail page). But to use VLC as a front end - I doubt that there is an HTML browser in VLC (???). You should be able to get VLC to be the streamer of the movie when selected from the browser/movie detail page but I am unsure on how to do that. More a OS/browser/vlc config. I tried (a little) without success. I'll give it another shoot.

Please update to version 1.1. Link:
http://rapidshare.com/files/153628498/Kroozbox1.1.zip

Added search capabilities to the front end (by actor and movie name).
I didn't change the "original title" to the "title" in the template. For me the original title is more important. You can always change it in the template of course (as describe above). However, the movie search will dig the "original title" and "title".

I'll work on the template documentation this week (I should have the time). And I'll let you know.

Thanks.
Nono

52
Development / Re: Kroozbox - PVD to media theatre solution
« on: October 11, 2008, 04:00:01 pm »
Quote
From my data, it seems that only the original title is used. Since an original title doesn't have to exist in PVD, I would have thought Kroozbox would use the title, and perhaps instead the original title, if it exists.

Yes... the template display the "original title" (the "name" is use as a title tag in the link but that's about it).
You could always change the <!--ORIGTITLEDB-S--> tag to <!--TITLEDB-S--> in the HTML body of all the (A,C,D,E,U)-4.html and (A,C,D,E,U)-6.html files. But I'll make an update to the template to include a search box so I'll change that also.

I'll let you know.
Cheers.

53
Development / Re: Kroozbox - PVD to media theatre solution
« on: October 10, 2008, 11:21:43 pm »
Quote
The movie count after selecting All - Newest - A - B - C is still includes the invisible movies

Oops.. didn't test very well - I don't have any invisible movie. Try this and let me know:
http://rapidshare.com/files/152800975/PVDTemplate2.zip

Quote
This make break the simplicity rule, or be a nightmare to implement, but here's a thought: Provide a set of useful selection criteria, for example: title, genre, viewed, year, rating, director, movie/series. They might be presented as icons across the top of the screen. For each one, when selected, present a manageable secondary selection that will fit on screen (e.g., titles: abc, def...; viewed: unseen, seen, all; year: decades; etc). Allow them to be applied in any order, each applied to the results of the previous. If that's not complicated enough, make sure one can "back up"—that is, undo the last filter without having to start all over again.

A few checkbox accross the top ("seen", "whish", "sort by rate", "by director", "by actor"..) along with a generic search box.. ok.. I'll think about it.

54
Development / Re: Kroozbox - PVD to media theatre solution
« on: October 10, 2008, 09:09:55 pm »
Understood.

I updated the templates with "visibility" check and added the "unseen" selection.
You can grab them here:
http://rapidshare.com/files/152769799/PVDTemplate.zip

Just overwrite the existing folders (PVDTemplate-HD and PVDTempplate-SD). Also some fix of SQL requests that were not giving appropriate results.

Cheers.

55
Development / Re: Kroozbox - PVD to media theatre solution
« on: October 10, 2008, 02:17:37 pm »
Quote
A - B - C links are producing pages that do not filter-out "invisible" movies

Indeed it does not. I saw the "visible" column in the database but didn't understand what it implies and just didn't include it in the SQL requests. So.. the question.. what does it mean and how can you make a movie invisible? I'll update the template.

Quote
You'll need to add more means of filtering

Adding filters is easy (kind of). i'll post an update for the "unseen" filter. Maybe I can add text search functionallity!? Don't forget that this is for TV viewing. At one point it becomes too much for a TV+ remote control interface.

Quote
is it possible to change the links to the media is launched in the associated external application?
I guess it could. I though it would already do that... strange... Right now, it is build with the Popcorn Hour in mind so the tag association is declare for it but it shouldn't have any impact on a PC calling the file. I'll play with it and let you know.

Quote
Hmmm. Now that I think about it, it's definitely a browser issue—the same one that's been preventing me from browsing from the couch
Noted.. I'll keep my eye open for a solution.

Quote
What are the prospect for user-modification of the information Kroozbox displays?
Kroozbox is completely open. I need to put a real documentation together for template building and adjustment.
Example: if you open one of the template html file you will see at the beginning a <!--DBINFO ...--> tag. this is were the database request are configured for the current page and relates to the HTML content tags below. There is a bunch of commands and flags that can be set there but most of the keyword are user configurable and relate to the column that are returned.

For instance, in you desire to have only the "visible" movies when you select the "all" movie link, you could replace the line:
Code: [Select]
SELECT "mid","origtitle","title" FROM "MOVIES" WHERE "MOVIES"."epid" IS NULL ORDER BY 2 ASC by:
Quote
SELECT "mid","origtitle","title" FROM "MOVIES" WHERE "MOVIES"."epid" IS NULL AND "MOVIES"."visible" = '-1' ORDER BY 2 ASC
in A-4.html and A-6.html.

No need to restart Kroozbox after a change - just a refresh of the browser. The templates are cached but it will update automatically if there is a date change on the file.

Thanks.
Nono

56
Development / Kroozbox - PVD to media theatre solution
« on: October 09, 2008, 10:22:47 pm »
Hello Nostra, Rick, Gang,


Latest version of Kroozbox now supports LG smart TV and Syabas Flash based media player (C-300, Popbox, etc) with corresponding template.


Latest version 2.3 of Kroozbox (February 2013):
Kroozbox media player for NMT

Version 2.0 added title display on status line and 3D+mirror effect on images.

For PVD users versoin 1.8  now have a playlist for movie and series with multiple files (click once to play all).
Versoin 1.7 now includes a Music Jukebox.

For those new to the conversation:
The idea is to make the PVD database available to any Media theater system without any exporting/conversion/rekluging,etc.
I own a Media Tank Popcorn Hour based on Syabas chipset and I needed something that would give me access to PVD ripository from my TV automatically (no copy/export/update.. just turn it on).

I finally decided to write it in Java. I call it Kroozbox.

Basically, this is a SSDP (read "UPNP") device on top of a HTTP server used to stream out information from SQL database (like Firebird.. used in PVD). I have decided to put together a complete open system. Meaning it can work with any/all SQL database providing that a Java JDBC driver exists for it.

The package link above includes everything for PVD (and MySQL driver if someone needs them). You just need to have Java 1.5 and up installed and start it. Just one thing to configure in the database.properties file is the location of your .PVD file (read the README).
There is no hook into PVD application, so they can run independentely. All the syntax for SQL access are within the templates, easily customisable (had to do some reverse engeneering on your database Nostra  ;) ).

There are two templates, one for HD (High Definition) TV and one for SD (Standard Definition).  Choose the one you want from the config file. Of course, they can all be seen from the internet browser as well (port 8008 by default).(http://<your ip>:8008)

The download file size may seems a little big (6.4M) but I decided to include a small PVD file inside so you can just start the application without any configuration.

It can also be use to publish your PVD content directly online I guess (as I saw another user asking for it) but bare in mind that this is not a very efficient SQL extractor(no connection pool and request caching). So under heavy use (1000+ requests per minutes) it may barf and it is not build with security in mind.

I still need to do some code cleanup and mostly the documentation for configuration and templates building (this is where I think it shines - simple database acess language within the templates).

This should be considered beta release and I really need feedback.

Let me know. Thanks.
Nono







Pages: 1 2 [3]
anything