English > Development

Kroozbox - PVD to media theatre solution

<< < (16/27) > >>

Kotzlowski:
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

Nono:
- 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?

Kotzlowski:

--- 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.
--- End quote ---
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.
--- End quote ---
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.
--- End quote ---
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).
--- End quote ---
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.
--- End quote ---
With changes in details.css and the maxchar()-thing it's now perfect.

Thank you for your Help  :-*

Nono:
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).

Nono:
Oh forgot to mention that the images are cached for efficiency reason. So, you'll have to restart Kroozbox after that change.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version