Show Posts

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


Messages - Nono

Pages: 1 [2] 3
21
Development / Re: Kroozbox - PVD to media theatre solution
« 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.

22
Development / Re: Kroozbox - PVD to media theatre solution
« 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).

23
Development / Re: Kroozbox - PVD to media theatre solution
« 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?


24
Development / Re: Kroozbox - PVD to media theatre solution
« 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?

25
Development / Re: Kroozbox - PVD to media theatre solution
« 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.



 

26
Development / Re: Kroozbox - PVD to media theatre solution
« 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.

27
Development / Re: Kroozbox - PVD to media theatre solution
« 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.

28
Development / Re: Kroozbox - PVD to media theatre solution
« 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?


29
Development / Re: Kroozbox - PVD to media theatre solution
« 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.

30
Development / Re: Kroozbox - PVD to media theatre solution
« 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.

31
Development / Re: Kroozbox - PVD to media theatre solution
« 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.



32
Development / Re: Kroozbox - PVD to media theatre solution
« 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).

33
Development / Re: Kroozbox - PVD to media theatre solution
« 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.

34
Development / Re: Kroozbox - PVD to media theatre solution
« 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

35
Development / Re: Kroozbox - PVD to media theatre solution
« 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.

36
Development / Re: Kroozbox - PVD to media theatre solution
« on: January 15, 2009, 04:49:55 pm »
Latest version 1.8 of Kroozbox:
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

37
Development / Re: Kroozbox - PVD to media theatre solution
« 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
(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.

38
Development / Re: Kroozbox - PVD to media theatre solution
« 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
(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.

39
Development / Re: Kroozbox - PVD to media theatre solution
« 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

Better handling of none latin characters, high def video in menu selection, code cleanup, and more...

40
Development / Re: Kroozbox - PVD to media theatre solution
« 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

Link also updated in original/first post.

Pages: 1 [2] 3