Personal Video Database

English => Development => Topic started by: Nono on October 09, 2008, 10:22:47 pm

Title: Kroozbox - PVD to media theatre solution
Post by: Nono 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 (http://mediaplayersite.com/Kroozbox)

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

(http://img12.imageshack.us/img12/9151/kroozboxscreen1.th.jpg) (http://img12.imageshack.us/my.php?image=kroozboxscreen1.jpg)


(http://img27.imageshack.us/img27/4986/kroozboxscreen2.th.jpg) (http://img27.imageshack.us/my.php?image=kroozboxscreen2.jpg)

Title: Re: Kroozbox - PVD to media theatre solution
Post by: rick.ca on October 10, 2008, 01:58:02 am
WOW! Great job. Also, the ease of installation and clear instructions are much appreciated.

I hope you don't mind your post being moved. I think this is a more logical place to look for such "add-ons," and it won't get buried in support requests here.

I can offer a few comments after a brief trial. I don't have a theatre system, so I'm just accessing Kroozbox with my browser (in case that makes any difference to what I'm seeing).

I assume this is a bug... the All - Newest - A - B - C links are producing pages that do not filter-out "invisible" movies. My 700 movie database includes over 100,000 of those, making it a little difficult to find things that way. ;)  The genre links work as expected.

You'll need to add more means of filtering. I've seen most of the movies in my database. There's usually 50 or so I haven't seen or am likely to want to see again in the near future (in which case I've turned-off their seen flag). So while I'll want to see all my movies initially, I'd normally need to filter-out the seen ones to make a selection. For me, that's the most necessary one, but I suppose it would be desirable to be able to filter and sort in as many ways possible without cluttering the display or otherwise making the interface too confusing.

Clicking on a media link causes the media to play within the browser. I understand this is not the intended use, but in case anyone is interested in using Kroozbox in a browser, is it possible to change the links to the media is launched in the associated external application?

I'm impressed how it handles series—allowing selection of available seasons, then episodes.

Up/down navigation arrows mean different things to different people. Maybe the page navigation would be clearer with left/right arrows. I think it's more obvious that left means "back" and right means "forward."

I'm really unsure if this behaviour in a browser is relevant, but... I couldn't figure out how to navigate with the keyboard (which, in my mind, I need to establish as something my remote can emulate). Moving through links/covers with tab/shift-tab works fine, but the links aren't highlighted (as with a mouse-hover), so I can't tell where I am. 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. :(

What are the prospect for user-modification of the information Kroozbox displays? Can users change things by tinkering with the template files, or is it more involved than that?
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono 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
Title: Re: Kroozbox - PVD to media theatre solution
Post by: nostra on October 10, 2008, 04:57:58 pm
Quote
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.

Generaly you need only visible movies ("visible" = -1). Invisible movies are automatically added from filmographies.
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono 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 (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.
Title: Re: Kroozbox - PVD to media theatre solution
Post by: rick.ca on October 10, 2008, 09:59:17 pm
Quote
Don't forget that this is for TV viewing. At one point it becomes too much for a TV+ remote control interface.

Yes, as one who has tried to program everything into my remote control, I understand very well. :-[  It's a very challenging design issue. It's always nice to be able to do more with a remote, but if the result is just a little less simple or intuitive, the overall result is usually negative. What you need is selection scheme (i.e., method of zeroing-in on a movie) that is quick and intuitive, and works for most collections. To illustrate the problem, consider what you have now—selection by first letter of title or by genre. In the unlikely event I remember the title, I'm still going to be unhappy about having to scroll to first letter to find it. If I select the genre, I still may have 10 pages to wade through. For me, filtering out seen movies reduces the numbers to a manageable size, but others have much larger collections.

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.
Title: Re: Kroozbox - PVD to media theatre solution
Post by: rick.ca on October 10, 2008, 10:34:42 pm
Quote
I updated the templates with "visibility" check and added the "unseen" selection.

Much better, thanks, but there's still a problem... The movie count after selecting All - Newest - A - B - C is still includes the invisible movies, and the navigation arrows attempt to use that—producing blank pages. Unseen works fine.

More on filtering... This is obvious, but it just noticed now—wish list movies are included, but are not distinguished from other movies. I suppose the best way to deal with that is to provide a configuration parameter to include/exclude them.
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono 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 (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.
Title: Re: Kroozbox - PVD to media theatre solution
Post by: rick.ca on October 11, 2008, 07:21:09 am
Quote
Try this and let me know

The invisible movie problem seems to be resolved.

I thought I had found another problem where a handful of movies were appearing without a title. After struggling to see a pattern, I finally realized Kroozbox was displaying the original title, and these were the movies in my database that happened to have no original title. [Not the easiest thing to spot, since PVD only displays the original title if it exists and is different than the title.] From the templates, it looks like both titles are being retrieved, but I didn't attempt to figure out if some logic was being used to decide which title to display. 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.
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono 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.
Title: Re: Kroozbox - PVD to media theatre solution
Post by: rick.ca on October 11, 2008, 08:34:59 pm
Here's a rationale for title use: Some movies acquire a "popular" or "common" title in addition to their official original title. PVD provides for both, but they have a broader use. Title is used in the movie list, and may be changed to anything that makes it easier for the user to find the movie (e.g., an original foreign title translated to the user's language). If used in this way, original title (if available) will be displayed in the information card. So the appropriate use in Kroozbox would be to use title on the main page—since the purpose is to find movies—and perhaps original title for the title tag. On the details page, the original title (if available) could be used instead of title—since the movie has been found.

BTW, I haven't forgotten...

Quote
I still need to do some code cleanup and mostly the documentation for configuration and templates building

...I've been able to make some changes, but it's sort of hit and miss when I don't understand what's what. It does look very organized, however, so I expect modifications will be straightforward once the documentation is done.
Title: Re: Kroozbox - PVD to media theatre solution
Post by: rick.ca on October 11, 2008, 09:59:03 pm
Would you happen to know if I should be able to access Kroozbox from VLC media player (http://www.videolan.org/)? I've been trying to figure that out, thinking it might provide a more realistic simulation than a browser.
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono 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 (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
Title: Re: Kroozbox - PVD to media theatre solution
Post by: rick.ca on October 13, 2008, 09:30:21 pm
Quote
I doubt that there is an HTML browser in VLC

I'm sure you're right. I saw a references to it having a "UPnP client" and a "HTTP server" so I imagined it might display Froozbox, but I think it just displays files it finds in a playlist. That's rather pointless. I still need a way to make the files play in their associated player, rather than the browser (which, BTW, has the VLC plugin—which obviously doesn't help). Wait a minute! That's my problem. The VLC plugin was trying (and failing) to play the file. Now the only problem with playing a file is Firefox had to "download" it, and my virus scanner has to scan it... ::)

Quote
Added search capabilities to the front end...

The search capabilities are fine—and I'm able to work them with my remote—but they seem kind of out-of-place in a theatre interface. I suppose my bias is as indicated before—most operations should be possible with a few direction key and select/enter presses. If possible, you should increase the font size used in the search boxes to at least the same as used elsewhere. And a nice embellishment would be to not require accented characters—so "leon" finds Léon, for example.
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono 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
Title: Re: Kroozbox - PVD to media theatre solution
Post by: rick.ca on October 14, 2008, 01:56:04 am
Quote
HOuuuu.. that's a tough one.

Hey, this is why I like making suggestions—I'm completely unencumbered by knowledge of how to do anything.  ;D

Quote
...unless there is something in SQL...

I believe nostra has made a similar comment about Firebird's sorting/handling of special characters, so I suspect not.

Title: Re: Kroozbox - PVD to media theatre solution
Post by: Knighted on October 14, 2008, 03:50:35 pm
thanks for the great add-on.
seems to work great with the 64-bit version of IE.  When using the 32 bit version it crashes.  My OS is the 64 bit version of vista.
I also tried installing xbmc (windows version) http://xbmc.org to try to use it under that, but it wouldn't work.   I enabled the UPnP client in the options, and then added the upnp source in the video options.  upnp://192.168.1.100:8008, but with that it'd only browse the partition where xmbc and kroozbox were installed.  Chances are I'm just not doing it right.  Can anyone else get it working with xbmc?
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono 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).
Title: Re: Kroozbox - PVD to media theatre solution
Post by: rick.ca on October 15, 2008, 08:23:00 pm
Quote
I am unsure of what you want to accomplish...

So am I. It's a challenge to get my mind around what these things do and how they might be used. So I thought it might be illuminating to "try to use it under" XBMC. I wasn't able to get it working—nor was I able to understand how it might "work." Isn't the purpose of Kroozbox the same as XBMC? I could understand the idea of XBMC having a plugin to do the same thing as Kroozbox—pull data from a PVD database—but not Kroozbox "running under" XBMC.

I wonder if this is the same as me thinking Kroozbox might run (under, with?) VLC media player. Both XBMC and VLC will run web servers. But I think in both cases the only purpose is to allow them to receive remote commands—their existence should not imply any capability beyond this.

Does this make sense, or am I underestimating what something like XBMC should be able to do with a UPnP service? ???
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono on October 16, 2008, 08:41:22 pm
Update to version 1.1a done at:
http://rapidshare.com/files/154675753/Kroozbox1.1a.zip (http://rapidshare.com/files/154675753/Kroozbox1.1a.zip)

Few small bug fix and documentation added.

Cheers.

Title: Re: Kroozbox - PVD to media theatre solution
Post by: rick.ca on October 17, 2008, 12:51:50 am
Nice documentation! And now I can see the search boxes from 10 feet. ;)

I think there are just two issues in the way of Kroozbox being usable (i.e., operated at a distance with a remote) when run in a browser...

First, there is no highlighting of links to indicate where the cursor/mouse is. If links would change the same way they do on mouse-hover, that would suffice. Then making the movie titles (i.e., as they appear under posters) links instead of plain text would make those visible when selected too. I don't know about the navigation icons and search boxes—is there a HTML code that changes images on selection/mouse-hover?

Second, when a media link is selected, it returns http://my.ip:8008/&media=moviepath/filename.avi, which causes the browser to "download" the file which in turn invokes a virus scanner. It seems to me, if it just returned moviepath/filename.avi, the movie would be launched in it's associated player.

In Firefox, a workaround for the first issue is to add something like the following to the Stylish extension (http://userstyles.org/). This is borrowed from MoreFocus style (http://userstyles.org/styles/6474)—so please don't ask me how it works :P. I was able to figure out that by changing the url-prefix variable in the second line from http to http://my ip address:8008, the style is applied only to Kroozbox (it may be too annoying for general use).

Code: [Select]
@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document url-prefix(http), url-prefix(file) {

/* NormalLink - hover */
*:link:hover   {
-moz-outline: 14px solid rgba(0,200,0,0.5) !important;
-moz-outline-offset: -14px !important;
/* -moz-outline-radius: 5px !important; */
}

/* FocusedElements & FocusedImages*/
:focus, :focus img {
-moz-outline: 12px solid rgba(255,255,0,0.5) !important;
-moz-outline-offset: -12px !important;
/* -moz-outline-radius: 5px !important; */
}

/* FocusedFormElements */
textarea:focus, input:focus, select:focus,button:focus, input[type="submit"]:focus
{
-moz-outline: 4px solid rgba(255,0,0,0.5) !important;
-moz-outline-offset: -2px !important;
/* -moz-outline-radius: 5px !important; */
}

/* HoveredFormElements */
textarea:hover:not(:focus), input:hover:not(:focus), select:hover:not(:focus),button:hover:not(:focus), input[type="submit"]:hover:not(:focus)
{
-moz-outline: 4px solid rgba(0,255,0,0.5) !important;
-moz-outline-offset: -2px !important;
/* -moz-outline-radius: 5px !important; */
}

/* Disables inner border in button */
*::-moz-focus-inner {border: 1px dotted transparent !important;}

}
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono 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.
Title: Re: Kroozbox - PVD to media theatre solution
Post by: rick.ca on October 17, 2008, 07:20:40 pm
Quote
Can you find me a link (on the internet) pointing to a video that would launch your media player like you want?

http://911myths.com/wtc7moresmoke.avi launches in my media player. This is not a link, just something found in my browser history. But I can make it a LINK (http://911myths.com/wtc7moresmoke.avi), and that does the same thing. Remember, I'm near clueless about TCP/IP. All I'm saying is if I enter the complete pathname of a media file in my location bar (which seems to be the equivalent of File - Open), it will be launched in my media player. That may be unique to my configuration of Firefox and my system—I don't know. Perhaps what I should be asking for is the use of the local file URL scheme (i.e., file:\\\moviepath/filename.avi). And I'm not suggesting there's anything wrong with Froozbox—I imagine this would be a user-modification or (preferably) a configuration option for running it in a browser. 
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono 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.
Title: Re: Kroozbox - PVD to media theatre solution
Post by: rick.ca on October 17, 2008, 09:57:21 pm
What timing! When I got your post, I had M-5.html and O-4.html open for editing. And I would have thought your change would do it, but...

As displayed in my status bar, the link seems to be okay: e.g., file:///E:/Viewed/Barbarian Invasions (2003) 7.8.avi.

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.

Quote
You will see that the links themselves works if you manually enter the media URL in the "open" option...

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 (http://kb.mozillazine.org/Links_to_local_pages_don%27t_work). I've installed the Policy Manager (http://addons.mozilla.org/en-US/firefox/addon/7066) add-on as a means to allow it for Froozbox.

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

Great. I'm sure others will appreciate not having to implement my solution. :D
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono 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.
Title: Re: Kroozbox - PVD to media theatre solution
Post by: rick.ca on October 18, 2008, 01:28:12 am
Quote
But its working fine on my machine - what's the error?

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: [Select]
<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>

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.

Maybe that's what's going to be required to handle multiple files anyway. They currently appear as separate links.
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono on October 20, 2008, 11:06:57 pm
I made an update of Kroozbox to QA.

http://rapidshare.com/files/155955130/Kroozbox1.2.zip (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.
Title: Re: Kroozbox - PVD to media theatre solution
Post by: rick.ca on October 21, 2008, 01:52:34 am
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. ;)
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono 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.


Title: Re: Kroozbox - PVD to media theatre solution
Post by: rick.ca on October 22, 2008, 03:28:48 am
Quote
I'm suspecting that the ":" is confusing VLC since it is also a port separator.

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.
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono 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 (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.
Title: Re: Kroozbox - PVD to media theatre solution
Post by: rick.ca on October 22, 2008, 09:23:15 pm
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.

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)?

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." ;)
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono 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!?
Title: Re: Kroozbox - PVD to media theatre solution
Post by: rick.ca on October 22, 2008, 11:31:32 pm
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... ???
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono on October 23, 2008, 01:47:52 pm
Under IE you could always try without the "file:///" protocol part (just remove it in M5 and O4). The link would become only the file path without the protocol. That won't work under Firefox but IE would understand it. Might get better results.

Update done to version 1.2a
http://rapidshare.com/files/156881983/Kroozbox1.2a.zip (http://rapidshare.com/files/156881983/Kroozbox1.2a.zip)

Link also updated in original/first post.
Title: Re: Kroozbox - PVD to media theatre solution
Post by: rick.ca on October 23, 2008, 09:56:19 pm
Quote
Under IE you could always try without the "file:///" protocol part (just remove it in M5 and O4). The link would become only the file path without the protocol. That won't work under Firefox but IE would understand it. Might get better results.

It doesn't work with that change either. It seems Kroozbox still adds the "file:///" (according to the appearance of the link in the status bar). I appreciate your help in trying to resolve this, but I'm the wrong person to test it in IE. I detest it to a degree that I'm probably totally blind to problems on my end. At least I learnt something about the security structure of Firefox. A simple explanation I came across was:

Mozilla employs a strict security model which distinguishes between "chrome" (components of your browser, accessible by chrome://-URLs), "local" (files on your machine, i.e. accessible by file://-links) and outside. "chrome" can access everything, "local" can access everything but "chrome", outside content can only access outside content.

While I still don't understand exactly what's going on, this suggests to me why a link (local?) won't work, but the same string entered in the location bar (chrome) will. Maybe Firefox sees my hard drive as "local" and my external drive as "outside," explaining that issue as well.
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono on November 25, 2008, 10:18:07 pm
Kroozbox update done to 1.4 (first post updated):

http://rapidshare.com/files/167372714/Kroozbox1.4.zip (http://rapidshare.com/files/167372714/Kroozbox1.4.zip)

Better handling of none latin characters, high def video in menu selection, code cleanup, and more...
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono on December 14, 2008, 05:30:32 pm
Update done to accomodate ISO on the NMT (Popcorn jour) and better code structure.

Version 1.5 can download at:
http://www.omertron.com/pch/node/65 (http://www.omertron.com/pch/node/65)
(better this site then rapidshare - thanks to Omertron).

If you are using a previous version you should uninstall (REMOVESERVICE, shutdown down) and delete it (take note of any modifications you may have done) before installing this one. The installation structure is different.
To play other type(s) of media (ISO) through share you will have to add your share name to the ./config/globalParam.properties file (should be obvious or check overview documention).

Cheers.
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono on January 02, 2009, 09:21:15 pm
Update done to Version 1.7.

It can download at:
http://www.omertron.com/pch/node/77 (http://www.omertron.com/pch/node/77)
(better this site then rapidshare - thanks to Omertron).

Inludes Music Jukebox and....

Not directly related to PVD but there are also some templates changes for PVD.
Cheers.
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono on January 15, 2009, 04:49:55 pm
Latest version 1.8 of Kroozbox:
http://www.omertron.com/pch/node/77 (http://www.omertron.com/pch/node/77)

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

Enjoy,
Nono
Title: Re: Kroozbox - PVD to media theatre solution
Post by: cwdean on January 25, 2009, 11:42:58 pm
Forgive me if I'm a little off topic.  I'm very new to PCH, Kroozbox and PVD...but I'm absolutely loving what you can do with these utilities.  Great work by all. 

Anyway, I have PVD set up and about 50 movies in the database.  I've configured Kroozbox and everything seems to be working correctly via HTTP.  The problem I'm experiencing is that I don't see Kroozbox available from the PCH menu.  The documentation states that Kroozbox should appear as an option automatically in the menu since it supports UPnP.  Unfortunately, I'm not seeing it.

Any suggestions on what I should look for to fix this?  I appreciate any assistance you can offer.  And again, sorry if this isn't the appropritate forum for this question.

Thanks in advance!
CD
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono on January 26, 2009, 01:45:11 am
Hello,

Hmmm... never saw this problem. Maybe a firewall issue on the server running Kroozbox? Network connectivity of the NMT box!? Router?

Sorry cannot be more help. Of course, you could also set the "ssdpDebug = true" in the ./config/SSDP.properties file, restart kroozbox with startme.bat and see what you get in the screen output (wait at least 20 seconds for the NMT to send its request). If nothing get listed it would clearly be the NMT SSDP dispatch not geting to Kroozbox.
Does MyHome works properly from the same server running Kroozbox? if yes, I am out of ideas...

Let me know.
Title: Re: Kroozbox - PVD to media theatre solution
Post by: cwdean on January 26, 2009, 02:11:58 am
Hello,

Hmmm... never saw this problem. Maybe a firewall issue on the server running Kroozbox? Network connectivity of the NMT box!? Router?

Sorry cannot be more help. Of course, you could also set the "ssdpDebug = true" in the ./config/SSDP.properties file, restart kroozbox with startme.bat and see what you get in the screen output (wait at least 20 seconds for the NMT to send its request). If nothing get listed it would clearly be the NMT SSDP dispatch not geting to Kroozbox.
Does MyHome works properly from the same server running Kroozbox? if yes, I am out of ideas...

Let me know.


Thanks for the help, Nono.  Much appreciated!

I did as you requested.  I set "ssdpDebug = true" and this is the error message that gets posted to the screen output:

 [upnpDevice]  ***ERROR Cannot start UPNP listener. No HTTP server to publish (see properties files)

I'm not sure what is meant by no HTTP server to publish...as I can browse my movie collection in IE just fine.  Anything specific that I should be looking for here?

Thanks again,
CD
Title: Re: Kroozbox - PVD to media theatre solution
Post by: 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: [Select]
My PVD Movie = 192.168.1.200:9008  (put your own IP and port)
but it shoudn't be necessary.


N
Title: Re: Kroozbox - PVD to media theatre solution
Post by: cwdean on January 26, 2009, 03:12:28 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: [Select]
My PVD Movie = 192.168.1.200:9008  (put your own IP and port)
but it shoudn't be necessary.


N

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
Title: Re: Kroozbox - PVD to media theatre solution
Post by: 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.
Title: Re: Kroozbox - PVD to media theatre solution
Post by: cwdean on January 26, 2009, 03:53:55 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.

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
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono on January 26, 2009, 03:35:13 pm
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).
Title: Re: Kroozbox - PVD to media theatre solution
Post by: cwdean on January 27, 2009, 11:30:17 pm
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
Title: Re: Kroozbox - PVD to media theatre solution
Post by: cwdean on January 28, 2009, 06:38:15 am
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).

Nono,

I can't seem to get Kroozbox to stream my movies.  I'm certain it's something that I have misconfigured.  I have PVD and Kroozbox both running on the same server.  The media files are located on drive G: ... so both the database and Kroozbox would find the media on drive G.  Thus I have "dbaseMediaRoot = G:/" and "localMediaRoot = G:/".  I can successfully watch movies locally from the server using my browser, but if I try to stream a movie from PCH the television (browser) just flickers and nothing happens.

Any suggestions on what I should change?

Thanks!
CD
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono on January 28, 2009, 03:09:31 pm
Few points:

* Run Kroozbox using the startme.bat - Not as a service. Service may not have access to G:. Is G: a local drive or a network mapped drive? (i'm guessing a USB external drive - but still try with startme instead - you'll have the screen output). Be sure NOT to have multiple Kroozbox running at the same time on the same machine (one as a service and one with startme for instance) - that would break communication.

* Since Kroozbox is running on same machine as PVD you don't need to setup the localMediaRoot and the dbaseMediaRoot properties. Just comment them out (with # in front). Mind you, it should not hurt.

* Are your movies ISO files or VIDEO_TS? what are the extensions (.AVI, .MKV)? Are you able to watch those movies on the PCH through other means (share or..) ? (just checking here if the format is proper for the PCH and if the PCH is properly working with those).

* You may have change something else.... what about re-installing completely and just change the "dbName" value (to point to database) in .\templates\PVDTemplate-HD\Kroozbox.properties file!? That's really the only change you should need to do.

* You could always set "debug = true" in .\templates\PVDTemplate-HD\Kroozbox.properties file, restart Kroozbox and look at the Kroozbox screen output when you click on the link of the movie to play. Post it here.

* Is your PCH firmware up to date? It shoudl work with older firmware but I have no way to test.


Title: Re: Kroozbox - PVD to media theatre solution
Post by: cwdean on January 28, 2009, 04:51:47 pm
Few points:

* Run Kroozbox using the startme.bat - Not as a service. Service may not have access to G:. Is G: a local drive or a network mapped drive? (i'm guessing a USB external drive - but still try with startme instead - you'll have the screen output). Be sure NOT to have multiple Kroozbox running at the same time on the same machine (one as a service and one with startme for instance) - that would break communication.

* Since Kroozbox is running on same machine as PVD you don't need to setup the localMediaRoot and the dbaseMediaRoot properties. Just comment them out (with # in front). Mind you, it should not hurt.

* Are your movies ISO files or VIDEO_TS? what are the extensions (.AVI, .MKV)? Are you able to watch those movies on the PCH through other means (share or..) ? (just checking here if the format is proper for the PCH and if the PCH is properly working with those).

* You may have change something else.... what about re-installing completely and just change the "dbName" value (to point to database) in .\templates\PVDTemplate-HD\Kroozbox.properties file!? That's really the only change you should need to do.

* You could always set "debug = true" in .\templates\PVDTemplate-HD\Kroozbox.properties file, restart Kroozbox and look at the Kroozbox screen output when you click on the link of the movie to play. Post it here.

* Is your PCH firmware up to date? It shoudl work with older firmware but I have no way to test.


Hi Nono,

I'm at work right now so I can't try your suggestions, but I will do so as soon as I get home this evening.  In the meantime, to answer a few of your questions:

* Right now I am only using startme.bat (I've uninstalled the service as you recommended in a prior post  ;) )
* I didn't think I needed to set the localMediaRoot and the dbaseMediaRoot properties based on my configuration, but didn't think it would hurt anything either.  I do have some ISO files so tried to base the Kroozbox configuration to support ISOs.
* My movies are primarily WMV files, with some ISO and several .TS thrown in for good measure.  They all work perfectly fine from the USB-attached drive on the PCH.
* It won't hurt me to try re-installing from scratch.  It should only take a few minutes to reconfigure.
* I have the PCH A-110 with the latest firmware (this is confirmed as I'm anxiously awaiting some of the new enhancements with the latest firmware that is imminent).

Another quick question that you may be able to help me with:  I am attempting to modify the MoviesDetails-8 template file to include the Media Label field.  Unfortunately, I cannot seem to get the Firebird ODBC driver to successfully complete a test connection.  I've also installed several Firebird clients but they give me an error message similar to "unsupported on-disk structure".  Can you recommend a good Firebird client and ODBC driver?  Also, would you happen to know the field attribute name for the media label field?

Thanks again for all your help.  I'll let you know how things go this evening.

Regards,
CD
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono on January 28, 2009, 05:30:29 pm
Since the PCH cannot display ISO file through HTTP, Kroozbox cannot deliver the stream. So, for ISO file you will have to also modify the globalParam.properties file to put the name of your PCH share as argument for "MyShare" parameter. Create the share on the PCH, mount your share first on the PCH (by just selecting it from top menu) and then use Kroozbox interface. TS folder that's another story...
First test with your WMV files.

Kroozbox is NOT using ODBC. I think you mean for testing your SQL statement before putting it in Kroozbox?
I suggest not to use ODBC bridge if you can. Just install Firebird 2.1 and use something like JDBStudio to connect (free). In JDBStudion the "DB Path" would be the location of your PVD file, user: SYSDBA, password: masterkey.

To get the "Media label" field (is that the one you want) in Kroozbox interface!?
I looked at the database - this value is in the "LABELS" table (mine is always "Multimedia" in PVD frontend). And I cannot see any "relation" to the "MOVIES" table (maybe the "type" column but mine is always empty). Anyway, if the value you want is not in the MOVIES table you will have to create another HTML file after MoviesDetails-8.html (named MoviesDetails-9.html and pushing down all the rest). This file would have the SQL request with the relation with table TYPE. If the value is in MOVIES table then it is just a matter of adding the field in the DBINFO header and putting the reference in the content.
Title: Re: Kroozbox - PVD to media theatre solution
Post by: cwdean on January 28, 2009, 06:44:48 pm
Since the PCH cannot display ISO file through HTTP, Kroozbox cannot deliver the stream. So, for ISO file you will have to also modify the globalParam.properties file to put the name of your PCH share as argument for "MyShare" parameter. Create the share on the PCH, mount your share first on the PCH (by just selecting it from top menu) and then use Kroozbox interface. TS folder that's another story...
First test with your WMV files.

Kroozbox is NOT using ODBC. I think you mean for testing your SQL statement before putting it in Kroozbox?
I suggest not to use ODBC bridge if you can. Just install Firebird 2.1 and use something like JDBStudio to connect (free). In JDBStudion the "DB Path" would be the location of your PVD file, user: SYSDBA, password: masterkey.

To get the "Media label" field (is that the one you want) in Kroozbox interface!?
I looked at the database - this value is in the "LABELS" table (mine is always "Multimedia" in PVD frontend). And I cannot see any "relation" to the "MOVIES" table (maybe the "type" column but mine is always empty). Anyway, if the value you want is not in the MOVIES table you will have to create another HTML file after MoviesDetails-8.html (named MoviesDetails-9.html and pushing down all the rest). This file would have the SQL request with the relation with table TYPE. If the value is in MOVIES table then it is just a matter of adding the field in the DBINFO header and putting the reference in the content.


I have Firebird 2.1 installed.  I downloaded JDBStudio based on your recommendation and installed both it and JRE 6.  I'm doing my testing in a Virtual Machine with Windows 2000.  When attempting to connect to my PVD database file using JDBStudio, I get the following error message:

6. 28-01-2009 9:28:55  [USRERROR]  Database connection failed: GDS Exception. 335544379. unsupported on-disk structure for file C:\Documents and Settings\cwdean\My Documents\Personal Video Database\MOVIES.PVD; found 32779.10, support .
Reason: unsupported on-disk structure for file C:\Documents and Settings\cwdean\My Documents\Personal Video Database\MOVIES.PVD; found 32779.10, support .

Any ideas what might be causing this?  Seems like this process should be pretty simple and straight-forward, but for some reason is turning into a bigger challenge than I would have expected.

BTW, when you associate a media file with the PVD record, the Media Label field gets auto-populated with the media disk label (I'm assuming if this is a removable media, which I'm using).  By displaying this on the Kroozbox page I will know which removable media disk the associated movie file is on.

Thanks,
CD
Title: Re: Kroozbox - PVD to media theatre solution
Post by: cwdean on January 29, 2009, 06:44:21 am
Since the PCH cannot display ISO file through HTTP, Kroozbox cannot deliver the stream. So, for ISO file you will have to also modify the globalParam.properties file to put the name of your PCH share as argument for "MyShare" parameter. Create the share on the PCH, mount your share first on the PCH (by just selecting it from top menu) and then use Kroozbox interface. TS folder that's another story...
First test with your WMV files.

Kroozbox is NOT using ODBC. I think you mean for testing your SQL statement before putting it in Kroozbox?
I suggest not to use ODBC bridge if you can. Just install Firebird 2.1 and use something like JDBStudio to connect (free). In JDBStudion the "DB Path" would be the location of your PVD file, user: SYSDBA, password: masterkey.

To get the "Media label" field (is that the one you want) in Kroozbox interface!?
I looked at the database - this value is in the "LABELS" table (mine is always "Multimedia" in PVD frontend). And I cannot see any "relation" to the "MOVIES" table (maybe the "type" column but mine is always empty). Anyway, if the value you want is not in the MOVIES table you will have to create another HTML file after MoviesDetails-8.html (named MoviesDetails-9.html and pushing down all the rest). This file would have the SQL request with the relation with table TYPE. If the value is in MOVIES table then it is just a matter of adding the field in the DBINFO header and putting the reference in the content.



I reinstalled Kroozbox and made the required changes...it looks like it's working quite nicely.  I am able to stream both my WMV and TS files via HTTP.  I am, however, having difficulties with ISO files.  I'm not very familiar with creating shares on the PCH.  I created a share on my server where the media files are located (and called it PCHMEDIA).  Then on the PCH I created a Network Share called PCHMEDIA mapped to "smb://192.168.0.163/pchmedia".  But when I try to browse the PCHMEDIA share on the PCH I get an invalid username and/or password error.  The strange thing is that the share is not password protected.  Just for grins I supplied my administrator account and password but I still get the same error message.  Not sure what I'm doing wrong or what to look for.

MyShare in Kroozbox is set to PCHMEDIA.  Any ideas?

Also, I figured out how to browse the database.  My problem was that I didn't specify embedded database in the client application.  So my next task will be to modify the MoviesDetails-8 to include the Media Label field.

Look forward to your reply.

Thanks,
CD
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono on January 29, 2009, 02:51:05 pm
The share is by default password protected.. Add the "guest" account (maybe "everyone" as well - for testing) in your permission of your share in Windows (XP?,Vista?, Server?)..
Don't forget to choose the share from the PCH top menu (in effect: mounting the share) before going in Kroozbox otherwise when selecting the movie nothing will happen. Automount feature is something that was asked many times as a firmware update feature... hope it comes.
Title: Re: Kroozbox - PVD to media theatre solution
Post by: cwdean on January 29, 2009, 04:00:50 pm
The share is by default password protected.. Add the "guest" account (maybe "everyone" as well - for testing) in your permission of your share in Windows (XP?,Vista?, Server?)..
Don't forget to choose the share from the PCH top menu (in effect: mounting the share) before going in Kroozbox otherwise when selecting the movie nothing will happen. Automount feature is something that was asked many times as a firmware update feature... hope it comes.

When I created the share under Windows XP it is automatically assigned to "everyone" with Read only access -- i.e. no password.  I did change permissions to Write and Execute as well, just to see if it made a difference, and it didn't.  I have no idea why it thinks the share is password protected.  I will go ahead and associate the share with the Guest account as well, just to see if that makes a difference.

To test, I am trying to mount the share from the PCH top menu, that is where I'm seeing the permissions error message.  I do appreciate you clarifying that this is required before selecting a movie in Kroozbox.

Thanks!  I'll let you know how it goes tonight.
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Chelli on February 01, 2009, 05:26:07 am
After trying to figure out how to get this up and displaying correctly and getting my own PVD database to be displated  the information comes up fine but still unable to play the media files at all just shows a blank webpage and no media player associated with it
 So how am I suposed to play the files haven't even tried music or other files as yet
even when the files are all displayed under the All selection They don't show up under the Alphabetical lists Airspeed shows up under view ALL but not when A is selected and so forth less than half show up under the letter listing
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Chelli on February 01, 2009, 05:14:02 pm
 be beter if you have all your settings siting in one place top or beneath and your comments above or below them
krozebox propertied should be more like this sothe cmd your talking about would be easier to see and grasp
 rather than hiding them in the midedle of your comments and make things less confusing

samp;le idea

 StartService = true
httpPort = 9007
ssdpOn = true
httpOn = true
debug = false
ServiceClass = org.gdgsystems.kroozbox.kroozboxservice.SQLService
dbName = C:/Documents and Settings/HP_Administrator/My Documents/Personal Video

Database/CHELLIS MOVIES02.PVD
dbaseMediaRoot = c:/
HTMLRoot = PVDTemplate-HD/htm
DefaultCategory = NewestList
UUEncodeMediaLink = false
jdbcDriver = org.firebirdsql.jdbc.FBDriver
dbURL = jdbc:firebirdsql:embedded
dbAccount = sysdba
dbPassword = masterkey
copyLocal = true will save the co
mediaPathTable = PVDMediaLocation.properties
mediaLinkPathTable = PVDLinkRelocation.properties

----------------------------------------------------------------------------------------------------
 explanations and comments here would be easier to find and understand then


 Took me hours to find where to change the sample database with my own
 not certain I found them all but when I am will change it from a txt.ext to the unknown app you already set it as


that pllus when I try to play a file nothing happens other than a blank page appearing
 how do I resolve that
 and how is  media tank differ from an XBOX or a Dlink Media Server as I don't own aMedia tank but do own a D-Linkk DSM 520 Media Center that transfers from the Hard drive to the TV set
 with more media centers out there iwhqat makes Media Tank any different than any other
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Chelli on February 01, 2009, 06:33:31 pm
Ok after viwing a youtube video of the pocorn mour Media Tank think thats not like D_link Dsm 520 Media center at all so don.t seem to fit the needs I was thinking of
sinch the PCH has it's own idolated hard drive contained within it and possibly can access the web in a way or ways that mine can't
 my system has 9 hard drives attached 5 of which are totally dedicated to my music and video collection  enclosed in a separete server case and share a sata mulyiplexor and using just a hard drive listing is really boring
looking thru 500 plus tirtles  in a Dos format without things such as alphabetical listings or by genre or descriptions or graphical displays
krooxebox may work fine as a web based system on the pc but it is a far cry from I what I hoped it would
and how often do I watch or even want to watch videos on my computer screen only
unless it can adress the web functionality of the DSM 520 and other similar models or get a video card with an hdmi or compononet output that I can transfer the computer to an available componoent or HDMi port have little use for it
Title: the startme,bat ostarts be placed inWindows startup so it starts when Win does
Post by: Chelli on February 08, 2009, 09:17:17 am
I.d like to know if the startme.bat or installservices,bat can be placed inWindows startup so it automatically loads when does
 also when trying to play a video or audiofile just get an empty webpage and nothing plays Do I hsve to assign it a Media player and if so where do I do that
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono on February 16, 2009, 04:23:09 pm
Sorry for the delay,

An NT service exists so the program will automatically starts when Windows is starting up. You don't need to put the service or the STARTME in the Windows 'startup' folder.
Just run INSTALLSERVICE once and Kroozbox will start automatically each time Windows start (you don't even need to log in).

Now, there are some specifics to Kroozbox running as a service (look at the 'overview...pdf' documentation for details). It needs the proper credentials to access the music/video if they are located on a network drive. If they are located on local drives there is no issue and you can install as a service without more configuration. However, for debugging purpose, I suggest to make Kroozbox work as a simple application (with STARTME) first - make sure that everything is working and only then make it run as a service.

Your other problem is that you see Kroozbox user ineterface on the PCH or on your PC browser but you cannot start the movie!? That's a comon problem. It probably means that Kroozbox is unable to find the media using the location specified in PVD.
Try to make it work in the browser first (http://192.168....:9008) <-- put Kroozbox IP address in there.
Check the link assign to the movie play link. You should see something with "&media=..... " inside the link. This is the location that Kroozbox will use to get to the movie. Be sure that Kroozbox have access to that location. If the movies are entered in PVD from another machine then where Kroozbox is running from, you may have to do a link relocation in Kroozbox. If your movies are localed on multiple drives you should use the 'PVDLinkRelocation.properties' file located in the template root folder. If you have only one drive you can set the value of 'dbaseMediaRoot' and 'localMediaRoot' located in the kroozbox.properties file located in the root of your template (explanation provide in the file).

Another way to see what is happening is to set the 'debug' flag to 'true' in the corresponding Kroozbox.properties (located in the root of your template location) and restart Kroozbox with STARTME. Check the screen output when you click on the Play link (from browser or PCH). Kroozbox will tell you what is wrong - you can also post the output here so we can help more.

Make sense or are you lost?

Title: Re: Kroozbox - PVD to media theatre solution
Post by: Chelli on February 17, 2009, 03:51:59 am
 you lost me
tall /Ican say is the video link appears correct
the address bar  of the blank screen says
 my ip add.9008/&media=G:/Tinker Bell/Tinker Bell/Tinker Bell.avi which is where the file is stored but no video player starts only the blamk webpage
  I need to know where I set the default video player up to play it
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono on February 17, 2009, 04:00:43 pm
I don't have a DSM520 to test Kroozbox with. So, my help would be limited.
There is NO place to select your player. Kroozbox is HTTP based and as such is expected to behave with any box that can stream through HTTP.

It seems from the DSM520 specs that it should work. Make sure that you can play that file properly without kroozbox (with the default DSM520 interface).

You could try to force UUEncoding on the link... it might work:

* Open the kroozbox.properties file located in your template folder.
* Change the value of the 'UUEncodeMediaLink' parameter from 'false' to 'true' (without the quotes)--> UUEncodeMediaLink = true
* Restart Kroozbox and test.

You could also try with a very simple link (like G:/TinkerBell.avi )... without any spaces or none-english characters.
I will check if I can dig up more information on the DSM and development.
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Chelli on February 17, 2009, 05:44:00 pm
  found the problem it wasn;t with krozebox but assigned the wromg drive location on PVD so rescanned that and restarted the web browser again plan on using sp;ittimg the  signal so can run KKroozebox straight thrru the HDMI or Component inputsof the TV set
Would be better if I could just use THE DSM520 so krrp checking into that for me
know that tigerripper keeps recording youtube videos that are being sent directly to The DSM 520 though
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono on March 02, 2009, 10:05:09 pm
Update to kroozbox done to version 2.0.

Can be download at same place at:
http://www.omertron.com/pch/node/77

* Better display + more control on template + a bunch of fixes.
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Paul T on March 23, 2009, 12:51:50 pm
Hi All, not sure where to start with this.
 I am using Popcorn pointing towards a PC containing all my films on local drive S:  Database using PVD and Kroozebox to display the films. 95% films are .ISO everything works well and plays with no problems

My S: drive is running out of space. I cannot add to it as it is at the XP max of 2TB
I need to create a new drive, say a R:. What is the best way to get it to integrate with my exising setup ? Ideally films on both drives should be display at the same time but I am not sure if I need to/how to configure Kroozebox to work with the 2 Drives. They both be local drives on the same PC.

Any Ideas ?

Regards
Paul T   :-\
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono on March 23, 2009, 02:03:01 pm
If you are using PVD on the same machine as Kroozbox, you shouldn't have to do anything for anything but ISO. i.e if the drives saved in the path of the film in PVD are seen by Kroozbox.

Now for ISO, that's an issue. Not for Kroozbox per say but for the PCH that cannot mount two share drive at the same time and that doesn't have automounting of SMB share.

What you have right now is "MyShare" property in globalParam.properties set to the name of PCH share (pointing to your S:/ drive) and "dbaseMediaRoot" in kroozbox.properties set to "s:/".. right? or are you using MMLinkRelocation.properties file?
Let me know details of your config and we will expand on solution. But, in any case (unless there was something new about share in the newest PCH firmware) you will have to manually switch share on the PCH depending on the movie you want to see.



 
Title: Re: Kroozbox - PVD to media theatre solution
Post by: coolmani on June 02, 2009, 04:04:12 am
Hi All, not sure where to start with this.
 I am using Popcorn pointing towards a PC containing all my films on local drive S:  Database using PVD and Kroozebox to display the films. 95% films are .ISO everything works well and plays with no problems

My S: drive is running out of space. I cannot add to it as it is at the XP max of 2TB
I need to create a new drive, say a R:. What is the best way to get it to integrate with my exising setup ? Ideally films on both drives should be display at the same time but I am not sure if I need to/how to configure Kroozebox to work with the 2 Drives. They both be local drives on the same PC.

Any Ideas ?

Regards
Paul T   :-\

Paul
Did you figure out the solution to this problem? I'm going through the same thing now and I'm trying to figure out the solution.
Stay cool
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Paul T on June 09, 2009, 08:14:54 am
Sorry for the delay in answering.

On My Setup I have 2 Drives both with a folder called "Films eg S:\Films\  and a New one R:\Films\
O/K for a start CREATE  a NEW folder in the directory where all your existing films are in my case I created a folder called "Films on R Drive" so I have S:\Films\Films on R Drive\
Right Click on your "My Computer" Icon on your Desktop
Left Click "Manage"
Left Click "Disk Management"
In the list of Hard Drives disk 0, disk 1 etc Right Click on your NEW Drive (my example you would Right Click on the R Drive).
After a Right Click select "Change Drive Letter and Paths"
Click "Add" and browse to the New folder you created above ie browse to S:\Films\Films on R Drive\
Click O/K
Click O/K

If you have set it up correctly you should see 2 entries entries when you Right Click on your NEW drive under "Disk Management"

I Have 1) R:
and     2) disk name (S:) \Films\Films on R Drive

Good luck

Paul T  :)
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Jeramiah on June 11, 2009, 08:56:10 pm
KroozBox Version: 2.0
Operating System: Windows XP

I am having a bit of trouble with this, I have been trying to figure out how to play the movie without it copying to the Temorary Files directory, I would just like it to play automatically with my media player when I click on the 'play button' link.

Also, is there a way I can change the media player that it opens up with?

P.S. Keep up the good work, the support on this project is outstanding!

Thanks,
           Jeramiah
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono on June 11, 2009, 10:18:19 pm
This is more an issue with the browser and player that you are using.

What is the player?
What type of files (avi. mkv, etc)?
What browser are you using?

As to change the player... I think the easiest way is to right click on one of your video file from the location where your browser is running, choose "open with...", select "Choose default program...", select Windows Media Player (this one should start right away), make sure that "Always use the selected program..." checkbox is selected, ok. It will start to play and next time you call it from kroozbox the selected player should be use.

Make sense?
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Garcia005 on June 12, 2009, 05:04:50 am
I two am having similar problems with version 2.0, let me give you a short run down on my issue.

I am using 3 hard drives to store my files all in AVI Format.
Drive t is for cartoons ( grand daughter loves them)
Drive u is for movies
Drive v is for recorded TV show's

When i click on a selection using IE nothing happens. I would like to use WMP but am open to others.
My open with selection is for WMP.

I have tried to read all of you posts and documentaton (boy you are good) but since I am not a programmer and have no idea what I am doing Im lost.

I am sure that this is just a simple change that I have mised but like i say IM SOOO LOST.

Thank you for any and all help you can give.
Title: Re: Kroozbox - PVD to media theatre solution
Post by: coolmani on June 12, 2009, 06:57:55 am
Sorry for the delay in answering.

On My Setup I have 2 Drives both with a folder called "Films eg S:\Films\  and a New one R:\Films\
O/K for a start CREATE  a NEW folder in the directory where all your existing films are in my case I created a folder called "Films on R Drive" so I have S:\Films\Films on R Drive\
Right Click on your "My Computer" Icon on your Desktop
Left Click "Manage"
Left Click "Disk Management"
In the list of Hard Drives disk 0, disk 1 etc Right Click on your NEW Drive (my example you would Right Click on the R Drive).
After a Right Click select "Change Drive Letter and Paths"
Click "Add" and browse to the New folder you created above ie browse to S:\Films\Films on R Drive\
Click O/K
Click O/K

If you have set it up correctly you should see 2 entries entries when you Right Click on your NEW drive under "Disk Management"

I Have 1) R:
and     2) disk name (S:) \Films\Films on R Drive

Good luck

Paul T  :)
Thanks for the detailed instructions. It worked like a charm.
I tried that method a while back but I didn't share my new drive so it never worked.
Thanks
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Kotzlowski on June 26, 2009, 03:34:15 pm
Kroozbox is so cool 8). Thank you very much.

I have some questions ???. I use the SD Version for my Videos on a 70 cm tube TV, Kroozbox Version kroozbox2_0a_zip_68101, Windows XP 32 SP3, Sun Java SE 6.13, Personal Video Database 0.9.9.11, Popcorn Hour A-110

Can i make myself / Is it possible to
- only display a single row on listing? 'PVD_EnableSecondLine=false' doesn't work. I want to just 4 covers in a row.
- sort the movies according to the field 'title', not 'origtitle' on listing?
- disable the lines 'Series' and 'Movies Genre' to get more space on listing?
- just display the covers? If there are screenshots, they will be displayed instead.
- use 'title' to show, instead of 'origtitle' in movie detail?
- cut off the movie description text on a given number of rows? Some texts are much too long.

Thanks
Kotzlowski
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono on June 26, 2009, 05:00:52 pm
- only display a single row on listing? 'PVD_EnableSecondLine=false' doesn't work. I want to just 4 covers in a row.

There is no way to disable the second line from globalParam. You would have to modify the template yourself.

- sort the movies according to the field 'title', not 'origtitle' on listing?

There is no config for that(I should have put one - I forgot). So, you would have to change the databse requests in all the appropriate html files.
In all the categories that have 11 html files - change the files number -4, -6, -8 and -10.html. The end of the first request line should end with "ORDER BY 3 ASC" (without the quotes) instead of "ORDER BY 2 ASC". You should also change PVD_POPTitleFieldListing to PVD_POPTitleFieldListing=::uuencode::maxchar(80)::title in globalParam.properties.

- disable the lines 'Series' and 'Movies Genre' to get more space on listing?

Again, that's a matter of HTML editing. The easiest to remove the genre is probably to remove the content of the files numbered -2.html when a category has 11 files (AlphaList-2.html, HDList-2.html, etc). Just open with any text editor (like notepad), remove content and save.
For the series you would have to open all the -1.html (from the categories that have 11 files) and remove the second <div class=navigation to the end.

- just display the covers? If there are screenshots, they will be displayed instead.

Nope. Too complex to explain... sry, you're on your own.

- use 'title' to show, instead of 'origtitle' in movie detail?

Open Moviedetails-2.html and change ORIGTITLEDB-S to TITLEDB-S in the *content* (not in the DBINFO header).

- cut off the movie description text on a given number of rows? Some texts are much too long.

Open up MovieDetails-7.html and change
MOVIEDESCRITION-S=::htmlencode::description
to
MOVIEDESCRITION-S=::htmlencode::maxchar(280)::description

Adjust 280 to whatever length you want. You should also do that for MOVIECOMMENT and MOVIETAGLINE in the same file
Note that this number is the number of maximum characters. The content will be trim to the value you specify.

Make sense?

Title: Re: Kroozbox - PVD to media theatre solution
Post by: Kotzlowski on June 27, 2009, 09:46:21 am
Quote
- only display a single row on listing? 'PVD_EnableSecondLine=false' doesn't work. I want to just 4 covers in a row.

There is no way to disable the second line from globalParam. You would have to modify the template yourself.
After the changes 2 rows are perfect ;D

Quote
- sort the movies according to the field 'title', not 'origtitle' on listing?

There is no config for that(I should have put one - I forgot). So, you would have to change the databse requests in all the appropriate html files.
In all the categories that have 11 html files - change the files number -4, -6, -8 and -10.html. The end of the first request line should end with "ORDER BY 3 ASC" (without the quotes) instead of "ORDER BY 2 ASC". You should also change PVD_POPTitleFieldListing to PVD_POPTitleFieldListing=::uuencode::maxchar(80)::title in globalParam.properties.
except RatingsList-*.html

Quote
- just display the covers? If there are screenshots, they will be displayed instead.

Nope. Too complex to explain... sry, you're on your own.
Oki, i must live with the screenshots. Maybe i'll delete them in pvd  8)

Quote
- use 'title' to show, instead of 'origtitle' in movie detail?

Open Moviedetails-2.html and change ORIGTITLEDB-S to TITLEDB-S in the *content* (not in the DBINFO header).
works fine

Quote
- cut off the movie description text on a given number of rows? Some texts are much too long.

Open up MovieDetails-7.html and change
MOVIEDESCRITION-S=::htmlencode::description
to
MOVIEDESCRITION-S=::htmlencode::maxchar(280)::description

Adjust 280 to whatever length you want. You should also do that for MOVIECOMMENT and MOVIETAGLINE in the same file
Note that this number is the number of maximum characters. The content will be trim to the value you specify.
With changes in details.css and the maxchar()-thing it's now perfect.

Thank you for your Help  :-*
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono on June 27, 2009, 10:11:25 pm
OK.. I misunderstand your request for the cover versus the screenshot issue. I reread and tried to reproduce issue. In fact, this fix will go in next release as well - seems important.

Easy to fix (kind of).

Open the file that have a image request inside that's (nearly) all files -4, -6, -6, -8 and -10.html in categories that have 11 files (you already know them) and the "MovieDetail-2.html" file.

Change in all those file the image request from:
IMAGEREQUEST=SELECT * FROM IMAGES WHERE IMAGES."mid"=[image]

to:
IMAGEREQUEST=SELECT * FROM IMAGES WHERE IMAGES."mid"=[image] AND IMAGES."imgtype"=0

(adding    AND IMAGES."imgtype"=0   at the end of the image request).

That will do the trick. Would be better to use a "find all - replace all" type of program for this if you have (I'm using Visual Studio).
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono on June 27, 2009, 10:18:12 pm
Oh forgot to mention that the images are cached for efficiency reason. So, you'll have to restart Kroozbox after that change.
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Kotzlowski on June 28, 2009, 09:48:06 am
Works fine, thank you very much.

I have still one last problem  ::)

In listing view the german characters ÄäÖöÜüß below the covers do not display correctly.
On mouseover at the bottom of the screen and in detail view it is displayed properly but it's not so very tragic  8)
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono on June 28, 2009, 05:00:36 pm
Damn... I should increase the size of my QA department.
This is improtant for me too - french language speaking - but I don't use the listing mode anymore.

In GlobalParam.properties you can change:
PVD_TitleFieldListing=::maxchar(20)::origtitle (or "PVD_TitleFieldListing=::maxchar(20)::title" if you use the title instead)
to
PVD_TitleFieldListing=::htmlencode::maxchar(20)::origtitle

Adding the ::htmlencode:: statement. That will do the trick.
Title: Cant play VIDEO_TS (IFO) nor ISO files with PVD + Krooxbox
Post by: mag09 on August 22, 2009, 08:56:33 pm
Hello
I have installed this wonderful PVD app (0.9.9.11) in combination with KroozBox 2.0 , to be able to stream files from my Vista Machine to my NMT (Egreat M34a, same chipset as PopCornHour A-110).
I am able to see the Kroozbox interface and play the majority of my files from my TV-NMT (avi, mkv, mp3, etc) but I was not able to see my DVD collections stores either as a DVD Structured file (VIDEO_TS + AUDIO_TS) or ISO image.
I have followed all the instructions I saw in this forum plus the documentation provided by Kroozbox, and I am able to see my NetworkShare and all my video collection (organized with PVD) from Krooxbox and from the NMT (same with music, I can see all).

I worked in the kroozbox.properties (HDTemplate) modifiying :
dbName = C:/Users/marcelo/Documents/Personal Video Database/MOVIES.PVD   (so I can see my PVD database)
dbaseMediaRoot = J:/Digital Library/Videoteca 2/  (This is the drive where I have my movie collection, using subfolders per genre/movie)
localMediaRoot = J:/Digital Library/Videoteca 2/

I have also modified the globalParam.properties :
MyShare=Digital Library (this is the name of the share as seen by the NMT)

Any ideas of what am I doing wrong?
THANKS!



But when I hit "Play" nothing happens (from the NMT) and after a while It returns to the same screen







Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono on August 23, 2009, 10:25:56 pm
Maybe this:

There is no automatic mounting of a share on the NMT (grrr). So, you have to activate the share in the NMT box before Kroozbox can access it. Doing this is simple; just open your share once from the top menu of the NMT. Come back to the top menu and open Kroozbox - go to movie and play.

If that doesn't work, it means the share link build by Kroozbox is not proper. Tell us what the complete link is. You can get it by using your browser to connect to Kroobox on port 9008  (http://<ip address of Kroozbox>:9008). And go to your movie where the ISO file is located (or the Video structure) and get the link from the browser status bar (on bottom) when you put the cursor over the link.


Title: Re: Kroozbox - PVD to media theatre solution
Post by: mag09 on August 30, 2009, 05:35:13 pm
Nono, thanks a lot
After mounting the share first in the NMT (like browsing a file or something like that) and then using the movies in the PVD pointing to a "/VIDEO_TS/" forlder or just the "/I am a legend/" folder (root of VIDEO_TS and AUDIO_TS) it worked fine
Again, many thanks for your time , support and these great applications!
mag09
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono on August 30, 2009, 06:06:45 pm
Good... and I think the trailing "/" is necessary when you enter the folder in PVD.
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Kotzlowski on September 28, 2009, 10:26:31 pm
Hi again,

with the change of pvd version to 0.9.9.14 or maybe an Java Update ??? i now have problems with the presentation of the posters. The size of newly added posters will not change.
Kroozbox says:

*** WARNING-Image2: Could not resize image. Using original (type/error): jpg/java.lang.NullPointerException
java.lang.NullPointerException
at java.awt.color.ICC_Profile.intFromBigEndian(Unknown Source)
at java.awt.color.ICC_Profile.getNumComponents(Unknown Source)
at java.awt.image.ColorConvertOp.filter(Unknown Source)
at com.sun.imageio.plugins.jpeg.JPEGImageReader.acceptPixels(Unknown Source)
at com.sun.imageio.plugins.jpeg.JPEGImageReader.readImage(NativeMethod)
at javax.imageio.ImageIO.read(Unknown Source)
at javax.imageio.ImageIO.read(Unknown Source)
at org.gdgsystems.kroozbox.kroozboxservice.ImageContent.getResizedContent(IamgeConten.java:118)
at org.gdgsystems.kroozbox.kroozboxservice.SQLService.processImage(SQLservice.java:535)
at org.gdgsystems.kroozbox.Kroozboxservice.SQLService.httpRequestRecieved(SQLService.java:765)
at org.cybergarage.http.HTTPServer.performRequestListener(HTTPServer.java:166)
at org.cybergarage.http.HTTPSServerThread.run(HTTPServerThread.java:47)

My Environment:
- Kroozbox Version kroozbox2_0a_zip_68101
- SD Version for Movies on a 70 cm tube TV
- Windows XP 32 SP 3 fully patched
- Personal Video Database 0.9.9.14
- Popcorn Hour A-110
- Sun Java SE 6 Build 1.6.0_15-b03

Is this only in my case?

Thanks
Kotzlowski

Quote
Screenshot
(http://img1.pixhost.org/thumbs/192/755804_kroozboxscreen.jpg) (http://www.pixhost.org/show/192/755804_kroozboxscreen.jpg)
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono on September 29, 2009, 03:05:22 pm
I am pretty sure that is has to do with this specific image only (some encoding that kroozbox doesn't recognize). Try a different one and let me know (you may have to restart Kroozbox if the image cache is 'on' - not sure anymore).

Originaly the template would not allow those big images by asking the browser (or the NMT) to force-resize the image - I removed those browser side instructions to have a faster rendering (NMT can be quite slow on some stuff). Maybe I should have left it there - as a fall back in case Kroozbox failes the resize... oh well.

N
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Kotzlowski on October 01, 2009, 09:03:56 pm
You're right.

I changed the pictures and they were reduced as before.
My mistake, sorry. :o

Thanks a lot!

Kotzlowski
Title: Force browser client to refresh
Post by: dee2000 on February 15, 2010, 10:55:54 pm
Hi,
I used Kroozbox along with my PS3 and has been working great. However, when I add or delete movie, PS3 is not detecting until I manually refresh. Is there a switch or paramer to force client browser to fresh every time?  Thank you in advance.
Title: Re: Kroozbox - PVD to media theatre solution
Post by: mats on March 20, 2010, 10:43:57 pm
Great application. I used to use Oversight, but Kroozbox is better. But I would like to have the simple skin where I just see the names of the movies, not the images. Is that possible?
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono on April 07, 2010, 02:52:04 pm
Well.. yes it is possible. You can edit the html files located under the "html" folder of your template. Check the template documentation in the "documentation" folder. Always make backup of the original before making modifications (no need to restart Kroozbox when making HTML changes). Now, I understand that this might be overwelming if you don't know html. Maybe you can be more specific on what you need in terms of template. Any examples out there I can look at?

Nono.
Title: Re: Kroozbox - PVD to media theatre solution
Post by: mats on April 27, 2010, 08:36:53 pm
Something in the style of Oversight with just parallell columns with names of movies, no images at all. When clicking on a movie name you get to a detailed screen like the one on the default skin.
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Paul T on November 11, 2010, 06:43:42 pm
Hi All,
  using Kroozebox with PVD and my Popcornhour. Always worked perfectly until today. I think I was prompted to update JAVA (this may or maynot be relevant )  and now no pictures are display in the Kroozebox menus. Tried running from PC that hosts the files http://192.168.0.20:9008/
but all I get is the normal listing minus Cover pictures. The web page just displays a white background with a red X were the DVD cover picture is usually shown.
Did modify the template to display 4 lines of films instead of the normal 3 but this has worked with no problems in the past.

All latest plugins loaded and running version 0.9.9.21 of PVD

Tried stopping and restarting the service but still the same

Any Ideas  ???
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Paul T on November 11, 2010, 06:55:28 pm
Started to wonder if it is the Skin I am using rather that Kroozebox. Will investigate a little further !!
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Paul T on November 11, 2010, 07:08:17 pm
Hi All again. I think the skin is the one that came with Kroozebox. Any ideas regarding the display ?
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Paul T on November 11, 2010, 07:16:52 pm
Sorry all, problem solved. Restarted PC.

All now ok  :)
Title: Re: Kroozbox - PVD to media theatre solution
Post by: pupgus on November 29, 2010, 12:42:15 pm
let me start by saying great work on this...its soooo what id like to use. however, im a pretty green newbie and at a bit of a loss on some of what is explained in the thread. so ill tell everyone what im workin with and let ya'll tell me what i need to do to make this work for me....in newbie terms would be much appreciated...im big believer in K.I.S.S.=Keep It Simple Stupid.

os- win7 ult x86
2tb of media in pc
ps3

that might show just how green i am if im a missing an important piece like the popcorn media box lol. it just occured to me, if theres a link to a guide that tells me what im asking for in the terms im asking for...let me know that too. thanks
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono on November 29, 2010, 02:33:33 pm
Hi,

I like to believe that Kroozbox is easy to install even if there is no user interface for the installation. Most of the posts on this thread relates to specific problems or adjustments that users would like to have. You don't need to understand all of the posts.
You should at least open the readme.txt file inside the package. Windows have what it takes to extract all the files from the zipped package.
Extract:
* Make sure that Java runtime 1.5 or more is installed. Run "Java -version" from the cmd prompt to ensure its availability.
  (Java can be downloaded from http://www.java.com/en/download/index.jsp)
* Unzip the content of Kroozbox package to the forlder of your choice.
* Start the software by running the "STARTME.bat" file.
* Turn on your Media Tank and TV and select the service you want (standard or high definition service)

When this is working (with the sample provided), point Kroozbox to your PVD file and restart it.
You do that by opening  ./template/PVDTemplate-HD/Kroozbox.properties
Change the value of the "dbName" property to point to your PVD file.


Hope that helps,
Nono
Title: Re: Kroozbox - PVD to media theatre solution
Post by: pupgus on November 30, 2010, 09:08:15 am
thanks for the quick reply nono, however after a lil more researching..
i get the idea that im missing a key hardware component...the media tank lol. (unless the ps3 serves as that role???) but i checked my java and im good there. run the startme.bat and a "dos" looking screen appears (again im pretty green here lol) turn on ps3 and tv and...no luck. not even sure how to get to kroozbox properties or even how to "point" in its direction. i can only assume that these steps are made possible with a "media tank"??
i thought that this would allow me to find my movies for streaming, thru my ps3, using the pvd listing and template appearance, and then choose the movie and have it stream to my tv thru my ps3. wishful thinking on my part perhaps, just not wanting to buy another media componet when i have a ps3.
if im waaayy off of how this intended to work thanks for your help any ways, if not then appearently i need waaayyy simpler, and more specific tutorial.  either way thanks :-[
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono on November 30, 2010, 03:10:49 pm
It its running from the dos box, all is nice. Now the PS3 might have issue with UPNP (or Kroozbox needs to be configured specifilcally for the PS3 requests - it can probably be done but I don't have a PS3 to test with). Other users are using Kroozbox with the PS3. If there is a web browser on it, should be ok.
The only thing you need to do at this point (after Kroozbox has started) is to point the PS3 web browser to Kroozbox. For that you need to know the IP address of the machine where Kroozbox is running and enter it in the PS3 browser address. It would be something like: http://192.168.2.111:9008   - 182.168.2.111 being the IP adress of the Kroozbox machine (this will be different in your environment) and 9008 being the ip port that Kroozbox is listening on (this is the default port and should not be change).

To find out the ip address of the Kroozbox machine, you can do a run (or search) on "cmd" from the start button. A DOS box will open. Type "ipconfig" <enter>. THe IPv4 address will give you the adress to use.

Hope this help.

Title: Re: Kroozbox - PVD to media theatre solution
Post by: newsky on January 15, 2011, 01:25:44 pm
Kroozbox - SUPER!
Help please with links on video start.
I have Dune BD Prime 3.0 (http://dune-hd.com/hd_players/111-dune-bd-prime-3.0.html)
In base PVD files have a way:
Quote
\\Newsky-server\share-server\HD\Мультфильмы\Ш\Шрэк Навсегда (2010)\Shrek_Forever_After_(2010)(multi)(1080).mkv
And in the browser I receive here such way:
Quote
http://172.18.0.13:9013/&media=%2F%2FNewsky-server%2Fshare-server%2FHD%2F%D0%9C%D1%83%D0%BB%D1%8C%D1%82%D1%84%D0%B8%D0%BB%D1%8C%D0%BC%D1%8B%2F%D0%A8%2F%D0%A8%D1%80%D1%8D%D0%BA%20%D0%9D%D0%B0%D0%B2%D1%81%D0%B5%D0%B3%D0%B4%D0%B0%20%282010%29%2FShrek_Forever_After_%282010%29%28multi%29%281080%29.mkv
And the file isn't started. What I need to make, what files would be reproduced?
How to make that the reference wouldn't change and remained as is in base PVD?
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono on January 15, 2011, 05:50:49 pm
Hi,

I have created the same structure that you show here (Мультфильмы\Ш\Шрэк Навсегда (2010)\Shrek_Forever_After_(2010)(multi)(1080).mkv) and I was *not* able to reproduce your problem.  Working fine with my setup.

Soooo, a few points:

* Make sure that the Kroozbox machine has access to the "\\Newsky-server" machine - try kroozbox in a *none* service mode by running the STARTME.bat file (and the service turned off). If that works it means that the service account under which Kroozbox is running doesn't have proper access to the "\\Newsky-server" serveur - change in the service management.

* You can play with UUEncodeMediaLink value (true or false) in the kroozbox.properties of your template to see if it change anything (kroozbox has to be restarted for this to take effect).

* I didn't try your link using the path with a server name - it should work but maybe mapping the server to a drive on the machine running kroozbox might be an option. You can then add entry to your "PVDLinkRelocation.properties" of your template to change the link from the PVD entry to the drive mapping that you used. For instance:
\\Newsky-server\=n:\
(replace n: with whatever drive name you use in your mapping - Kroozbox need to be restart after that)
You can verify the link value in your browser.

* You could always set the "debug" flag to true in the kroozbox.properties file of your template, run with startme.bat and see the output on the screen when you click your media link in the borwser. Kroozbox would tell you more information on what is happening.

Let me know,
Nono
Title: Re: Kroozbox - PVD to media theatre solution
Post by: newsky on January 15, 2011, 08:32:14 pm
Nono, Thank you so much for the help!
Although at this point I nothing has changed. Don't understand all, does the Dune BD Prime 3.0 (http://dune-hd.com/hd_players/111-dune-bd-prime-3.0.html) playback after clicking in the browser. Link type:
< a href = smb://server/share/hd/video.mkv > play </a> does not launch video
However, the record in the dune_folder.txt file:
media_url = smb://server/share/hd/video.mkv starts the video. So I think, does this player function Kroozbox  :(
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono on January 15, 2011, 10:22:24 pm
Not sure if I understand.

Note that Kroozbox for mkv, avi, etc type of file is *not* using smb but act as its own http server.
I am not familiar with Dune DB Prime so I cannot comment much on any shortcoming.
Kroozbox can also serve as just file pointer - changing the path with an smb references if you need that but... that's a long trip.

Please answer those:
* What is your level of success with Kroozbox? can you see the sommary pages in DB Prime and in your computer browser?
* Can you launch a movie through Kroozbox using your computer browser (Internet Explorer or the like) or is the file get downloaded or "404 Not found" ?

Try to be precise on the error/problem you get. Maybe using google translator from russian?
I can read/write/speak french and can communicate to a certain extend in italian, spanish and german.. sorry no russian. Thanks.

Nono
Title: Re: Kroozbox - PVD to media theatre solution
Post by: newsky on January 16, 2011, 05:38:31 am
Please answer those:
* What is your level of success with Kroozbox? can you see the sommary pages in DB Prime and in your computer browser?
* Can you launch a movie through Kroozbox using your computer browser (Internet Explorer or the like) or is the file get downloaded or "404 Not found" ?
1. Yes!
2. Yes!  file get downloaded
I was hoping that Kroozbox can run links to SMB
This feature player like that can be used with Kroozbox?
Quote
•Access to network: browser of network shares (SMB, UPnP), user-defined shortcuts to network shares (SMB, NFS), links to HTTP media streams

D:\share-server\HD\Фильмы\А\Аватар (2009)\Avatar_(2009)(multi)(Remux).mkv - Yes!  file get downloaded
\\Newsky-server\share-server\HD\А\Аватар (2009)\Avatar_(2009)(multi)(Remux).mkv - No. file does not run in a browser

maybe I need to configure some access (non SMB) to the player?


sorry ... Forgive me for my english: (
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono on January 16, 2011, 04:46:26 pm
I've been reading Dune specification.
You don't (should not) need smb protocol to play your movie through Kroozbox. Kroozbox can be configure for it but it would be a long road to make it work.

From what you told me here - Kroozbox should work. I suspect some type of right access to the file.

We need to know your network layout for this...
Please provide more details on your configuration:

* Is Kroozbox running as a service - for now you should make it run with STARTME.bat.
* Where are the movie file located? on the Dune machine directly? on a dedicated network machine/nas.
* Is Kroozbox running on the same machine where the movie files are located (\\Newsky-server) ? if not, where is it running in regards to Dune and movie file location?
* Are you using PVD program on the same machine where the movie files are located? I suspect the anser is "no" but need to be sure.
* Is "\\Newsky-server" the Dune machine (that has an internal hard disk)?
* You do see the Kroozbox interface on the Dune machine - only the movie doesn't play. Right?

You are saying that the movie get downloaded when you click on the play link in Kroozbox interface in the browser. It means that it should also work with the Dune machine. I am puzzled.
Really need more information on your configuration/layout. There are a zillion way to install all this.

Thanks,
Nono
Title: Re: Kroozbox - PVD to media theatre solution
Post by: newsky on January 16, 2011, 07:01:42 pm
(http://img.maryno.net/preview/e5e341a9177002f00efd4b09fcb85ab7/2fe733b9aeba0c927d0c0f4e577e60c1.gif) (http://img.maryno.net/images/e5e341a9177002f00efd4b09fcb85ab7/2fe733b9aeba0c927d0c0f4e577e60c1.jpeg)
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono on January 16, 2011, 10:02:53 pm
Ok should be easy enough.

Soooo, isn't there a machine missing here!? if I understand, you also connect to your "newsky-server" from another machine running PVD client from where you populate your PVD database. I suspect this since the link in kroozbox have a pointer to the "\\Newsky-server\" .
(aka.: http://172.18.0.13:9013/&media=%2F%2FNewsky-server%2Fshare-server%2FHD%2F%D0%9C%D1%83%D0%BB%D1%8C%D1%82%D1%84%D0%B8%D0%BB%D1%8C%D0%BC%D1%8B%2F%D0%A8%2F%D0%A8%D1%80%D1%8D%D0%BA%20%D0%9D%D0%B0%D0%B2%D1%81%D0%B5%D0%B3%D0%B4%D0%B0%20%282010%29%2FShrek_Forever_After_%282010%29%28multi%29%281080%29.mkv)
If you would use the PVD client on newsky-server it would normaly point to the d: drive. Anyway, not a big deal.

FYI. The play link that you should see in your browser should point to http://172.18.0.13:9013... - that's kroozbox. But the info link after the "&media=" part should be the path of the movie as seen by Kroozbox (since Kroobox will be the server - not as seen by the dune or any otehr machine).

Basically, instead of seing the link  http://172.18.0.13:9013/&media=%2F%2FNewsky-server%2Fshare.... we want to see something like:
http://172.18.0.13:9013/&media=D:\share-server\.... or encoded as http://172.18.0.13:9013/&media=D%3A%2Fshare-server%2F....

Solution to force change the link in Kroozbox without changing the link in the PVD database:

Open the file PVDLinkRelocation.properties located in your template root.
Add the lines:

\\Newsky-server\=d:\
%2F%2FNewsky-server%2F=d%3A%2F
\\Newsky-server\=d%3A%2F

Here I'm putting all the combination of coded/not coded so we are shure to get proper results (but its the second line that should do the trick in your case).

Save file. Restart Kroozbox. Test. Check link in browser to confirm - don't forget to reload/refresh Kroozbox page on the dune machine too.
That should work.

Let me know.
Nono
Title: Re: Kroozbox - PVD to media theatre solution
Post by: kotten on January 18, 2011, 09:43:49 pm
Hi

I have just downloaded your jukebox for the first time and have now tried to get it to work and i think
i have come a bit on the way. I have installed the service and now i can see the jukebox
in the first meny of my A110 (upnp works). I start that and i can see the sample of the PVD file.
So far so good i believe.

Now i want to see my movies in the PCH and if i have understood correct i must create my own
PVD file of my movie library, but how do i do that?

The command java - version is working from a comand prompt.  (ver 6.0)

I have tried to start the file startme.bat but i recieve this error (not sure if i must do that)

C:\Users\kotten>java -cp ./library/Kroozbox.jar;./library/jaybird-full-2.1.6.jar
;./library/mysql-connector-java-5.1.6-bin.jar;./library/jtds-1.2.jar;./library/*
; org.gdgsystems.kroozbox.Kroozbox
Exception in thread "main" java.lang.NoClassDefFoundError: org/gdgsystems/kroozb
ox/Kroozbox
Caused by: java.lang.ClassNotFoundException: org.gdgsystems.kroozbox.Kroozbox
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: org.gdgsystems.kroozbox.Kroozbox.  Program will e
xit.


I belive if i can create a pvd-file all is working i hope.

I have two different ways of watch movie on my PCH.

1. Internal HD (only temporary movies)
2. A share is mapped from PCH to my PC there i have most of the movies


Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono on January 19, 2011, 02:46:24 am
Hi,

Quote
I must create my own PVD file of my movie library, but how do i do that?

Heu... we are here in forum of the PVD software. Meaning that the PVD file is created by the PVD software that you can download from http://www.videodb.info/forum_en/index.php?action=down

To start the STARTME file you might need to be in the working folder of Kroozbox. Not sure how you are starting it.
Note that if Kroozbox is working in service mode, you don't need to start it with STARTME.

The only thing you have to do is build your movie database with PVD and point Kroozbox to it by changing the value of "dbName" in the Kroozbox.properties file located in your template folder (typically: \Kroozbox2.0\templates\PVDTemplate-HD\kroozbox.properties).

Restart Kroozbox. that should work providing that the path of the movie provided in the PVD software is the same path for Kroozbox. (ex.: if PVD point to d:\mymovie\title\title.avi , the machine running kroozbox should see this movie with this path). Otherwise there are ways to dynamically cahnge the path but that's for another time when/if you provide us with a a mapping of your network.

Noet that Kroozbox won't be able to play  the movie file located on the PCH local drive.

Nono
Title: Re: Kroozbox - PVD to media theatre solution
Post by: kotten on January 19, 2011, 09:03:19 pm
sorry for the stupid question but i have to pass the threshold first. :-)

I have downloaded the PVD application and installd it. It starts correct, but now what?

I was hoping the this app could search my movie directory with all my mkv-files and then
import them. But that is maybe not how it works. Must i manually put all my movies in this database?

And how do i do that, please help me.

Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono on January 19, 2011, 09:34:26 pm
PVD top menu->Tools->Scan Folder for new movies/file path...
Title: Re: Kroozbox - PVD to media theatre solution
Post by: kotten on January 19, 2011, 09:44:36 pm
sorry, i should have find that.

I have now started the search and sometime i got a question what movie i really have
because it cant translate my filename. Sometimes i can see my movie of suggestion
but some movies it just cant find. It is still common movies and not very unusual.
Title: Re: Kroozbox - PVD to media theatre solution
Post by: newsky on January 20, 2011, 11:09:57 am
Dear Nono! Thank you very much for your help!

Just as I expect, Dune BD Prime 3.0 (and other players of the brand) are not able to run the file from the link in your browser. According to this, until Kroozbox use with this player can not. BUT! Representatives of this player in Russia, this possibility seemed interesting, and they promised to implement a media launch at the link from a browser in a future firmware. I will wait!

Came the question directly on the Kroozbox: Why are some films so "scattered"?


(http://img.maryno.net/preview/5b7d9945d2ee3f812ae81bee6ec8cc3e/ad2c82768fe7ec97dc505aa6a57742c2.gif) (http://img.maryno.net/images/5b7d9945d2ee3f812ae81bee6ec8cc3e/ad2c82768fe7ec97dc505aa6a57742c2.jpeg)

I have an external IP and my base is "looking to the Internet, " I could give you a link if it helps to understand why. Do you mind?
Title: Re: Kroozbox - PVD to media theatre solution
Post by: kotten on January 20, 2011, 11:47:21 pm
I have now a fine pvd-file wich is working correct on my computer if i browse to port 9008. The problem is now
that i have static path to my movies because i had this path (mapped drive) on my computer.

Therefore it wont work on the popcorn. What shall i do to solve this?

In my computer i have, Z:\HD-Movies and on the popcorn i have samba to 192.168.1.4/hd-movies
Title: Re: Kroozbox - PVD to media theatre solution
Post by: kotten on January 25, 2011, 08:10:33 pm
It works now and i am happy, thanks.

There is something that i dont understand, how does the sort order work? If i have a movie that should be on one other place, how do i change that?
Title: Re: Kroozbox - PVD to media theatre solution
Post by: kotten on February 06, 2011, 02:16:24 pm
Some problem now. Suddenly after a restart of my win7 64-bit computer the kroozbox service is hanging. I wont start, it only say starting.

is there any log-file i can read?

I have tried to remove the service and install it again. I have also downloaded the kroozbox package and use these files
instead of mine, if i maybe have change something in some file. No change.

What can it be?
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Paul T on March 10, 2011, 09:59:36 pm
Hi All,
running PVD and Kroozebox, on a Windows XP Pro  machine and a Popcorn hour, for the last couple of years with no problems. Getting to the stage when my raid card is getting past it as it only supports 1TB drives and max raid 5 size of 2TB. Already have 3 raids setup each pointing to the next holding all my files . All works well.
Have ordered a 12 port Sata 2 card which hopefully supports > 2TB drives and raid sizes to the limit of the OS. I know about the problems with raid but have found no problems running it.

My question is, what is the way forward as far as an OS is concerned ?
Not a fan of Linux etc so am down to Windows.
My thoughts are go with Win 7 but think will have a problem as my drives are different sizes, 4 x 750, 4x 500 amd 4 x 320 so there may be little advantage in going this route.
My other idea was a Windows Home server using drive extender. I have one running at the moment using different drives sizes for a total of approx 11 TB. I use this to store backups of my films and the computer backups.
Will PVD/Kroozebox etc run on WHS or has anyone any other ides ?

All the best
Paul
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Paul T on March 11, 2011, 09:11:05 am
Forgot to say , running Win XP pro 32 bit. Would XP Pro 64 bit be an easier path ?
Title: Sorting Newest Series in PVD using Kroozbox
Post by: delto on May 17, 2011, 02:29:06 pm
I have a problem in Series Newest using Kroozbox and PVD

Earlier when I added a new episode in PVD, that episode (Series) came first in Series Newest (Kroozbox)
this does not happen anymore, do someone know why ??

There has been no changes in either of the PC's, Kroozbox or PVD (Exept new episodes and movies)
I'm using PVD 0.9.9.21 and Kroozbox 2.0, PVD is running on Windows 7 and Kroozbox is running on Windows Server 2003 x64
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono on May 17, 2011, 08:47:40 pm
It still happens but only when you create a new entry in the series episode list not when you change it (adding or setting the path to the actual video file for instance).

It has been a problem for me as well and finally decided to fix it.

Attached you will find the file that you need.
Extract and overwrite the file in your "template/PVDTemplate-HD/html" folder.
The zip file only contains the necessary file - not the whole folder. And please, make a backup first of your template... juuust in case.

With this update you will always see the series that got the lastest modification and the listing of the episode will state the modification date and not the creation date.

This is for Kroozbox 2.0a. Shoudl work with 2.0. No need to restart Kroozbox.

Let me know.
Nono



[attachment deleted by admin]
Title: Re: Kroozbox - PVD to media theatre solution
Post by: delto on May 18, 2011, 08:42:51 am
Thanks Nono that worked perfectly  :D

Delto
Title: Re: Kroozbox - PVD to media theatre solution
Post by: delto on May 21, 2011, 07:14:23 pm
Hi Nono

After I copied SeasonDetail-4.html,  all episodes in a specific season was listed twice like this 1,2,1,2

I restored my backup of that file and it lists  it correctly (1,2 )

My restored file only contants "</table> </td> </tr> </table> </body> </html>", my question is do Kroozbox read the html files sequentially SeasonDetail-1.html then SeasonDetail-2.html and so on??

If Kroozbox read them sequentially, do each new file a new layer to the final result??

Did you make a mistake by calling it SeasonDetail-4.html should it not be called SeasonDetail-3.html??
cos the diff between my SeasonDetail-3.html and your SeasonDetail-4.html is  a new line DATEADDED-D=moddate
and  a rem of #DATEADDED-D=dateadded

Delto

It still happens but only when you create a new entry in the series episode list not when you change it (adding or setting the path to the actual video file for instance).

It has been a problem for me as well and finally decided to fix it.

Attached you will find the file that you need.
Extract and overwrite the file in your "template/PVDTemplate-HD/html" folder.
The zip file only contains the necessary file - not the whole folder. And please, make a backup first of your template... juuust in case.

With this update you will always see the series that got the lastest modification and the listing of the episode will state the modification date and not the creation date.

This is for Kroozbox 2.0a. Shoudl work with 2.0. No need to restart Kroozbox.

Let me know.
Nono



Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono on May 21, 2011, 10:13:50 pm
hmmm.. It is more than possible that I have made modifications to my template after the published version and that the seasonDetail*.html file are not the same in yours. Sorry about this.
You are right in your understanding on how Kroozbox construct the page (sequencially n final numbers). Check the manual under the Documentation folder for more details.

You can change the corresponding file yourself  (the one with the "DATEADDED" in the DBINFO header - maybe file number 3 for you) from "DATEADDED-D=dateadded" to DATEADDED-D=moddate in the DBINFO header.

Alternatively, you can download my complete HTML template folder - attached here. And, of course, always make backup first.

Let us know.
Nono


[attachment deleted by admin]
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono on February 08, 2013, 06:18:36 pm
Hello Gang,

New version of Kroozbox available at:

http://www.mediaplayersite.com/Kroozbox

Modification done to accomodate new Syabas flash based templates (for Popcorn hour C-300, Popbox ,etc) and LG Smart TV template.

The LG template requires download from the LG market - search for 'Kroozbox' on the LG TV. Note that, at this time, the app is not yet available. Still under review by LG staff - hopefully available soon. In the mean time, connection can still be made using LG browser.

Enjoy,
Nono
Title: Re: Kroozbox - PVD to media theatre solution
Post by: fabs on July 17, 2013, 12:50:58 am
First of all I wanted to say that this is an amazing piece of code.

I've been able to slightly modify the templates to my liking, but I'd like the possibility to filter by number as first character in title. Is there an easy way to add that option?

Also, is there a way to add more info to the movie details (i.e., a link to imdb)?
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono on July 17, 2013, 02:23:19 pm
Hello,

Thanks for the nice words.

If you choose the # sorting you should see the listing with the titles with numbers at first location (might depends on the template you are using).
As for adding more details, I would need to know what template you are using (LG, Popcorn, Music, or.... ).. detailsdetails!??

Thanks,
Nono

Title: Re: Kroozbox - PVD to media theatre solution
Post by: fabs on July 17, 2013, 04:09:13 pm
I downloaded the latest version of PVDTemplate-HD that appears in the website and it doesn't have filtering by #. If there's another one that has it, let me know and I'll just copy the code.

I found how to add the links or extra info. Is there a way to make the changes to all the corresponding files (for example, when editing the listings) at the same time or do I have to go one by one?

Thanks!

Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono on July 17, 2013, 04:26:10 pm
You do have the number listing (kind of). If you select "all" entries at the top, the listing will be sorted alphabetically starting with the movies having their titles starting with space, numbers and none-English characters. Make sense?

As for you second question, I'm not sure to understand. Are you asking if there is a way to edit the movies in batch in PVD? or if a change to an sql request within the DBINFO header in the template can be easily change in all the necessary template files?

PVDTemplate was the first template I made, it is tedious to change something because it has a lot of files but its a much simpler template (to understand) then the LG template for instance.

What is your rendering engine? using a PC, a Porcorn hour (which model?) or ...?

Nono

Title: Re: Kroozbox - PVD to media theatre solution
Post by: fabs on July 17, 2013, 05:36:02 pm
Nono,

I'm rendering using a browser in a PC, as I want it mostly as movie catalogue. The main problem is that changing the HTML in the template requires going through many similar files to do the same change.

Additionaly, I cannot seem to find the way to use custom fields in Kroozbox. Are they stored under a special name in the DB?
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono on July 17, 2013, 11:18:06 pm
yes, many files... simplicity but redundancy. With the new version of Kroozbox engine, I should be able to simplify a lot but not enough time to do it. You also have the flash version that you can access with :
http://your server address:9009/debug.html (called PVD Syabas flash template or something like that).
But I don't think you will like it - need to move with keyboard.

Yes, you can have access to custom PVD field... There were some posts about this. I'll dig tomorrow and let you know how to do it. (remind me if I forget).

Nono
Title: Re: Kroozbox - PVD to media theatre solution
Post by: Nono on July 18, 2013, 04:43:58 pm
For the custom field:
There are 4 SQL tables that store the data. They are:
CUSTOM_VALUES_DATE - for date custom fields
CUSTOM_VALUES_INT - for?? custom fields
CUSTOM_VALUES_LONGSTR - for long text fields (memo I guess as well)
CUSTOM_VALUES_REAL
CUSTOM_VALUES_SHORSTR - for short text fields.

You will have to choose the proper table for the type of data you store.
The CUSTOM_FIELDS_MOVIES holds the reference of the fields display value and types.

To add a custom field to your Movie details for instance. You would insert a new file into the MovieDetail-x sequence. Rename all the MovieDetail-*.html from 8 to 10 with an increment of 1 making them 9 to 11. So you can now create a file called MovieDetail-8.html.

Put this content in the -8.html file:

Code: [Select]
<!--DBINFO
REQUEST=SELECT FIRST 1 "value" FROM "CUSTOM_VALUES_SHORTSTR" INNER JOIN "MOVIES" ON "MOVIES"."mid" = "CUSTOM_VALUES_SHORTSTR"."mid" INNER JOIN "CUSTOM_FIELDS_MOVIES" ON "CUSTOM_FIELDS_MOVIES"."cmfid" = "CUSTOM_VALUES_SHORTSTR"."cmfid" WHERE "CUSTOM_FIELDS_MOVIES"."dispname" = 'My custom display' AND "MOVIES"."mid"=[parentref]
MYCUSTOMFIELD-S=value
RECORDCHARSET=UTF-8
-->

<tr>
           <td class="title3" colspan="1">My field</td>
     <td class="normal" colspan="3"><!--MYCUSTOMFIELD-S--></td>
</tr>

Replace all occurrence of CUSTOM_VALUES_SHORTSTR with the proper table name for the type of custom field you use.
Replace the 'My custom display' value with want you see in PVD for your custom field.
We could use the globalParam file to store table names or what not and/or other SQL request but I think this is the simplest way.

Make sense?