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

Pages: [1]
1
Support / Database Specific Skin
« on: March 12, 2010, 04:37:32 pm »
Hello,
Is there a way to have a specific skin load when a different Database is loaded?

For instance, if I load a Database1, Skin1 will load.  If I load Database2, Skin2 would load.

Thanks
Banta

2
Support / Order of Custom Fields
« on: March 08, 2010, 05:54:38 am »
Hello,

I need to add a bunch of custom fields and would like them to appear grouped, such as...

group01_custom01
group01_custom02
group01_custom03

group02_custom01
group02_custom02
group02_custom03

group03_custom01
group03_custom02
group03_custom03


However, when I add them, in that order and save the list, it reorders itself willy nilly.
How can I get my custom lists to stay in the oder I add them. Or better, how can I re-arrange them after they are created?

Thanks
Banta

3
Support / Re: Exporting single or groups Records
« on: March 08, 2010, 05:49:27 am »
Yes, this appears to be how it works.
Thank You!
Banta

4
Support / Re: Exporting single or groups Records
« on: March 05, 2010, 10:40:42 pm »
Thanks for your reply.

I thought should be that easy also. But, it's not.  At least it doesn't appear top work as I expected.

For instance. I select a single movie in my database, then choose
Export>Plain List and choose a file name.

It still exports all the files in the list, not just the one I selected.

I want to know if I can only export the selected items as described.  If so, can you provide an example of what should work?

Thanks
banta

5
Support / Exporting single or groups Records
« on: March 05, 2010, 07:03:04 pm »
Hello,

How would I select an export only a single record? 

Or, say I wanted to selects a group of records, how can that be accomplished?

Thanks
Banta

6
"move multiple files from root record to separate episode records"

How is this done?

Thanks
Banta

7
Scripts and Templates / Re: Accessing Episode Values - How?
« on: February 24, 2010, 03:47:40 pm »
Thank you for the reply.

Can I somehow get the total number of episodes in an entry?

Do you think it would be difficult to add some additional values to the episodes to retrieve? Getting the path and image values for the individual episodes at the least would be a great help.

Thanks again. PVD is Great!

Banta67

8
Support / Passing / Swapping values in export - How?
« on: February 23, 2010, 03:42:09 pm »
Hello,

I am trying to figure out how to pass values in an export.

Example:
I am exporting an xml template of a single record. Popeye Season 1, which contains several episodes.
I can use this in my export template...
{%value=episodes template="pages\episode.ptm" grouptemplate="pages\season.ptm"}

And I get the list of Seasons, episodes and episode titles.

Now, suppose I wanted to pass
{%value=poster}
into a node in the episode.ptm
<myPoster>{%param=???}</myPoster>

Things that dont work are:
<myPoster>{%param=poster}</myPoster>
<myPoster>{%value=poster}</myPoster>


Basically I just want to pass any value from the main record, to a spot in the episode.ptm

I was thinking something like this in my main export template shoule work...

%OPTIONS%
replace="{%param=poster}<->{%value=poster}"

%OPTIONS%


But, that isn't working.  Any ideas how  I can pass a parameter to the other parts of the export?

Thanks
Banta67

9
Scripts and Templates / Accessing Episode Values - How?
« on: February 22, 2010, 04:34:16 pm »
Hello,

I have managed to get some of the values from episode records but, am having a hard time figuring out how to access some of the ones I still need.

For instance, if I use this code in an export template....
Code: [Select]
{%value=episodes template="pages\episode.ptm" grouptemplate="pages\season.ptm"}

I can specify what to retreive in the file pages\episode.ptm
Code: [Select]
{%param=epnum}. {%param=origtitle}
That will export each episode Number and Title.

How do I access other parameters such as the image assigned to the episode, or the POSTER . or the file path. etc.

Can I add a custom field to the episode and then access that field in a param such as
Code: [Select]
{%param=mycustomfield}
If not, what exact values CAN I access in this manner?

Thanks for your help
Banta67

10
Development / How To - PVD, Kroozbox and Trailer Files for NMT
« on: April 19, 2009, 01:18:01 am »
Hello Again,

I'd like to thank Nono and Bugman72 for thier guidance in helping me get this set up.

The Goal.
I would like to have a Link to my Trailer Files show in NMT through Kroozbox.

The Problem.
Due to the WAF, I cannot have Trailer links on movies that I don't have trailers for. The link can only appear if I have specified a trailer file.

The Sollution.
Read on. This works for both ISO/VIDEO_TS Trailer files, and other files such as QT .MOV, if you want. It is important that, if you want to use VIDEO_TS or ISO files, you have already set up your systems to work with VIDEO_TS and ISO.  I think some dufus wrote a How-To on that topic if you need it.  ;D

For this to work as described, you will need the latest PVD Beta (0.9.9.5 at the time of this How-To)  If you don't want to change your PVD version, you can still do this, see notes at end of the How-To.

Let get started!

Back up everything.
We will again work on our High Definition template filed located in templates\PVDTemplate-HD\

Open the file...
globalParam.properties

To Enable TRAILERS for NON ISO or VIDEO_TS files do the following.


Step 1 a).
Copy and then Paste directly benieth it, the following lines.....

# This is the default wrapper for all link that are not tie to any extension
PVD-MediaLinkStart = <tr><td colspan="4" align="left" style="vertical-align:middle;" valign="middle"><a href="&media=
PVD-MediaLinkEnd = " TVID="Play" name="nextlink" vod><img src="images/PlaySmall.png" onfocussrc="images/PlaySmallHi.png" style="vertical-align:middle;" align="middle">&nbsp;&nbsp;<!--TITLE-S--><!--KROOZCOUNTERCONDITIONAL--></a></td></tr>


Step1 b).
In the code you just pasted...Change
PVD-MediaLinkStart =
to
PVD-TrailerLinkStart =
and also change...
PVD-MediaLinkEnd =
to
PVD-TrailerLinkEnd =

Step1 c).
in the line that starts with PVD-TrailerLinkEnd, find ...
<!--TITLE-S--><!--KROOZCOUNTERCONDITIONAL-->
and replace it with
<B>PLAY&nbsp;TRAILER<!--KROOZCOUNTERCONDITIONAL--></B>

The new section will look like this when you are done...

# This is the default wrapper for all TRAILER links that are not tie to any extension
PVD-TrailerLinkStart = <tr><td colspan="4" align="left" style="vertical-align:middle;" valign="middle"><a href="&media=
PVD-TrailerLinkEnd = " TVID="Play" name="nextlink" vod><img src="images/PlaySmall.png" onfocussrc="images/PlaySmallHi.png" style="vertical-align:middle;" align="middle">&nbsp;&nbsp;<B>PLAY&nbsp;TRAILER<!--KROOZCOUNTERCONDITIONAL--></B></a></td></tr>


Next Do the same for the ISO and VIDEO_TS Trailer files

Step2 a).
Copy and then paste directly beneath it the following lines.....

# For ISO link going through SMB share - [myShare] value will be reaplce by what is specified above
PVD-MediaLinkStartForISO = <tr><td colspan="4" align="left" style="vertical-align:middle;" valign="middle"><a href="file:///opt/sybhttpd/localhost.drives/NETWORK_SHARE/[MyShare]/
PVD-MediaLinkEndForISO = " zcd="2" TVID="Play" name="nextlink" vod><img src="images/PlaySmall.png" onfocussrc="images/PlaySmallHi.png" style="vertical-align:middle;" align="middle">&nbsp;&nbsp;<B>PLAY - &nbsp; <!--TITLE-S--><!--KROOZCOUNTERCONDITIONAL--></B></a></td></tr>


Now Paste them directly below them to create a duplicate set ( we will alter the pasted code) ...

Step2 b).
Change
PVD-MediaLinkStartForISO =
to
PVD-TrailerLinkStartForISO =
and also change...
PVD-MediaLinkEndForISO =
to
PVD-TrailerLinkEndForISO =

Step2 c).
in the line that starts with PVD-TrailerLinkEndForISO, find...
<!--TITLE-S--><!--KROOZCOUNTERCONDITIONAL-->
and replace it with
<B>PLAY&nbsp;TRAILER<!--KROOZCOUNTERCONDITIONAL--></B>
The new section will look like this when you are done...

# TRAILER For ISO link going through SMB share - [myShare] value will be reaplce by what is specified above
PVD-TrailerLinkStartForISO = <tr><td colspan="4" align="left" style="vertical-align:middle;" valign="middle"><a href="file:///opt/sybhttpd/localhost.drives/NETWORK_SHARE/[MyShare]/
PVD-TrailerLinkEndForISO = " zcd="2" TVID="Play" name="nextlink" vod><img src="images/PlaySmall.png" onfocussrc="images/PlaySmallHi.png" style="vertical-align:middle;" align="middle">&nbsp;&nbsp;<B>PLAY&nbsp;TRAILER<!--KROOZCOUNTERCONDITIONAL--></B></a></td></tr>



Save and close the file
globalParam.properties

-------------------------------------------------------------------------------------

Step3 a).
Now, open the file templates\PVDTemplate-HD\html\MovieDetail-10.html and save it as templates\PVDTemplate-HD\html\MovieDetail-11.html
Close templates\PVDTemplate-HD\html\MovieDetail-11.html

Step3 b).
Now, open the file templates\PVDTemplate-HD\html\MovieDetail-9.html and save it as templates\PVDTemplate-HD\html\MovieDetail-10.html, overwriting the original.

Step3 c).
in the file MovieDetail-10.html, find the following....
REQUEST=SELECT "MOVIES".* FROM "MOVIES" WHERE "MOVIES"."mid"=[parentref] AND "MOVIES"."epid" IS NULL

and change it to...

REQUEST=SELECT FIRST 1 "CUSTOM_VALUES_SHORTSTR"."value", "MOVIES"."mid" FROM "CUSTOM_VALUES_SHORTSTR" INNER JOIN "MOVIES" ON "MOVIES"."mid" = "CUSTOM_VALUES_SHORTSTR"."mid" WHERE "MOVIES"."mid" = [parentref]


Step3 d).
Next Find...
#For all links except ISO define below
MEDIAHTTPLOCATIONSTART= [PVD-MediaLinkStart]
MEDIAHTTPLOCATIONEND= [PVD-MediaLinkEnd]
# For ISO link and VIDEO_TS
MEDIAHTTPLOCATIONSTART,ISO=[PVD-MediaLinkStartForISO]
MEDIAHTTPLOCATIONEND,ISO=[PVD-MediaLinkEndForISO]
MEDIAHTTPLOCATIONSTART,=[PVD-MediaLinkStartForISO]
MEDIAHTTPLOCATIONEND,=[PVD-MediaLinkEndForISO]
MEDIAHTTPLOCATION=path

and change it to....

#For all links except ISO TRAILERS define below
MEDIAHTTPLOCATIONSTART= [PVD-TrailerLinkStart]
MEDIAHTTPLOCATIONEND= [PVD-TrailerLinkEnd]
# For ISO link and VIDEO_TS TRAILERS
MEDIAHTTPLOCATIONSTART,ISO=[PVD-TrailerLinkStartForISO]
MEDIAHTTPLOCATIONEND,ISO=[PVD-TrailerLinkEndForISO]
MEDIAHTTPLOCATIONSTART,=[PVD-TrailerLinkStartForISO]
MEDIAHTTPLOCATIONEND,=[PVD-TrailerLinkEndForISO]
MEDIAHTTPLOCATION=value


Save and close the file.

Guess what, your done modyfying Kroozbox!

Now we will make some changes to Personal Video Database.
Again, for this step you will need the latest PVD Beta which was 0.9.9.5 at the time of this writing.
BACK UP YOUR DATABASE BEFORE YOU UPGRADE - Save a copy in a safe place. ( Just in case )

After you have the latest version, do the following in PVD...

Step4 a).
go to TOOLS>PREFERENCES
on the left choose
MOVIES>CUSTOM ITEMS
then, in the NAME text field at the bottom type:
Trailer Path:
and set a TYPE in the drop down to
SHORT TEXT
Click ADD and you should see the new setting in the preferences box.
Select OK to exit the Preferences Dialog.

Step4 b).

Now, edit a movie and put in the path to a trailer in the new Trailer Path field.

Step4 c).
Restart Kroozbox and navigate to the web interface. You probably know how to load the web interface into a browser by now but, if you don't, put..

http://192.168.1.122:9008

Into your browser address bar and hit enter. YOU MUST REPLACE THE IP ADDRESS WITH YOUR OWN.
To find what IP address Kroozbox is using, look in the DOS box that loads when you run STARTUP.BAT for...


[Kroozbox PVD Movie Jukebox HD] Service: Kroozbox PVD Movie Jukebox HD - startin
g HTTP server on: 192.168.1.122:9008


That will give you your IP address.  If all went well you will have a trailer link with your movie listing.


NOTES....
Now if you don't want to upgrade to the latest Beta of PVD, you can still do this.
Just alter the steps...
Skip Step3 c).
in Step3 d) use MEDIAHTTPLOCATION=features instead of MEDIAHTTPLOCATION=value
Skip Step4 a).
in Step4 b)., Put your trailer path in the Features Field, which already exists.

That should do it too!

I really hope that helps others who might be interested in adding the trailer files to thier listings. I was really happy to see that the latest version of PVD allowed for CUSTOM FIELDS! ROCK!!!
I am going to ask the developer to add FILE PATH to the available options for custom fields. This way, selecting the trailer path will be just like selecting the movie path. I will then bug Nono to help me figure out how to use that path in place of
MEDIAHTTPLOCATION=value  ;)

Again, A BIG THANKS to the developers of both PVD and Kroozbox! You are the best!

If I have jacked up any of this, please let me know and I will correct my errors.

GO WINGS!!!!
Banta67

11
Development / How To - PVD, Kroozbox and ISO or VIDEO_TS Files
« on: April 19, 2009, 12:26:25 am »
Hello All,

I was having a hard time getting my combination of PVD, Kroozbox and NMT to play nice together to display and actually play my DVD rips with full DVD menu functionality. All of my files are ripped to my hard drive in either the VIDEO_TS folder structure or ISO files. I had read several topics/replies on this matter. It seems that others are also experiencing difficulties trying to get this combination working. There are several explanations on how to get this working but, I couldn't get it to work following the instructions given.

The Good News.  I think I have cracked this nut!
The Bad News. I am probably going to be long-winded in my explanation. I want to do this in small steps, as I would have liked to find this. I ask the advanced users to forgive me.

To be honest, it is actually very easy. I hope this will help others. So, if interested, read on.

I start with a fresh copy of Kroozbox v2. Your current version of will most likely work. I have upgraded to the latest beta 0.9.9.5 at the present time. Not important for this "How-To" but, will become important for the next one.  I hesitate to call these "How-To's" tutorials because, I could be totally wrong in my instructions. Anyway, let's get to it!

We will be working with the High Definition Template files located in folder ...
templates\PVDTemplate-HD

Step 1)...
Open the file ...
kroozbox.properties
and change the parameter and value..
dbName = ./PVDMovieSample/KROOZMOVIES.PVD
to wherever your PVD database is located. The default is in your document and settings folder as such..
dbName = C:/Documents and Settings/Banta67/My Documents/Personal Video Database/MOVIES.PVD

For my set-up, D:/Video/ is the name of the shared drive and folder where I will store all my ISO and VIDEO_TS files. You will use your path in place of mine as appropriate.

Step 2)...
Next change the Parameter and Value..
#dbaseMediaRoot = c:/
to
dbaseMediaRoot = D:/Video/

and

#localMediaRoot = m:/
to
localMediaRoot = D:/Video/

Save and close the file kroozbox.properties

Step 3)...
Open the file ...
globalParam.properties
and change the parameter and value..

MyShare = Put the name of your PCH share here if needed (for ISO files)
to
MyShare = DVDs 01

DVDs 01 is the NAME of the SHARE (SHARE NAME) I gave my share in the NMT (Not the smb://path). You will use your Share Name in place of mine as appropriate.

Finally, if you would like, you can alter the way the MOVIE LINK looks. In this example, I just added the word "PLAY" in bold so that the link to play the movie read "PLAY - I Am Legend"

Step 4)...

Around line 114, like so..
PVD-MediaLinkEndForISO = " zcd="2" TVID="Play" name="nextlink" vod><img src="images/PlaySmall.png" onfocussrc="images/PlaySmallHi.png" style="vertical-align:middle;" align="middle">&nbsp;&nbsp;<B>PLAY - &nbsp;<!--TITLE-S--><!--KROOZCOUNTERCONDITIONAL--></B></a></td></tr>

Save and close file globalParam.properties

At this point you're really done. But, in the spirit of being long-winded, I must continue with a little more explanation.


Edit the file you want to test in PVD. You want to change the path to the files. In this example our files are located on a shared drive (D) on our local machine. On that drive, we have a folder called "Video" where we are storing all of our video files. We have specified a LOCAL share name of VideoStorage, but the LOCAL share name is really only important when establishing the NETWORK SHARE in the NMT. After that, and for the purposes of this tutorial, the Share Name we gave the local folder that is holding our files will not be referenced again. It is important to remember that the Share Name for the local folder is different than the Share Name given in the NMT.
To break it down, a share on the NMT is set up by going to  SETUP/NETWORK SHARE and then BROWSE. You will then find the location of the folder you shared with the network and your files live there. In our case the URL became smb://my-machine-name/VideoStorage and the Share Name in the NMT settings became DVDs 01. It is DVDs 01 that you will specify the as the MyShare Value in Step 1.
Confused enough yet? Well, if you can wrap your head around that, you're home free because you're just about ready to test.

Anyway, change the value File Path in PVD. In this example we will use "I Am Legend", which again, is located in the local drive D:/Video/.
Originally, selecting the VIDEO_TS folder for this rip produced...
D:\Video\I Am Legend\|D:\Video\I Am Legend\VIDEO_TS\VIDEO_TS.IFO|D:\Video\I Am Legend\VIDEO_TS\VTS_01_0.IFO|D:\Video\I Am Legend\VIDEO_TS\VTS_01_0.VOB|D:\Video\I Am Legend\VIDEO_TS\VTS_01_1.VOB|D:\Video\I Am Legend\VIDEO_TS\VTS_01_2.VOB|D:\Video\I Am Legend\VIDEO_TS\VTS_01_3.VOB|D:\Video\I Am Legend\VIDEO_TS\VTS_01_4.VOB|D:\Video\I Am Legend\VIDEO_TS\VTS_01_5.VOB|D:\Video\I Am Legend\VIDEO_TS\VTS_01_6.VOB|D:\Video\I Am Legend\VIDEO_TS\VTS_02_0.IFO|D:\Video\I Am Legend\VIDEO_TS\VTS_02_1.VOB|D:\Video\I Am Legend\VIDEO_TS\VTS_03_0.IFO|D:\Video\I Am Legend\VIDEO_TS\VTS_03_1.VOB|D:\Video\I Am Legend\VIDEO_TS\VTS_04_0.IFO|D:\Video\I Am Legend\VIDEO_TS\VTS_04_1.VOB
We want it to simply be..
D:\Video\I Am Legend\
and nothing else. It could also be...
D:\Video\I Am Legend\VIDEO_TS\
Both will work.
Save your Movie Entry in PVD. Kroozbox should adjust for the change in PVD within a few seconds but, just to be certain restart Kroozbox.
I need an explanation on why Kroozbox will sometimes update changed made in PVD automatically and sometimes Kroozbox needs to be re-started? Anyone?

Now, navigate to Kroozbox using a web browser like this...
http://IP ADDRESS OF MACHINE RUNNING KROOZBOX:9008 (similar to this >>> http://192.168.1.122:9008)
Navigate to the "I Am Legend" (or whatever movie you updated) and you should notice that there is only one link to play the movie and, it is named the same as the movie itself.
Mouse over the link, it should read in the Status Bar as follows...
file:///opt/sybhttpd/localhost.drives/NETWORK_SHARE/[MyShare]/My Video Name
or specifically in the example given
file:///opt/sybhttpd/localhost.drives/NETWORK_SHARE/DVDs%2001/I%20Am%20Legend/
Just FYI spaces are replaced with the characters "%20".
If your links look similar and you set up your shared properly, your good to go!

The above example is for a bunch of .VOB in a VIDEO_TS folder. If you want to us an .ISO file instead, everything is the same except you specify the path in PVD to be..
D:\Video\I Am Legend\I_AM_LEGEND.ISO or whatever the path to your ISO file is. then your link would look like..
file:///opt/sybhttpd/localhost.drives/NETWORK_SHARE/DVDs%2001/I%20Am%20Legend/I_AM_LEGEND.ISO
Selecting a folder in File Path: that contains an ISO file should automatically select the ISO file.

That's it. You should now be able to play your ISO and VIDEO_TS rips through your NMT using Kroozbox in combination with PVD ( what a GREAT couple of Programs! )  And FREE? WOW. Thank you to the developers on both of these programs. You rock!

I hope I got this right and that this post will help someone. Please let me know if I forgot a step or am totally wrong. It wouldn't be the first time.

Next How-To....
Trailer Files !

Banta67




Pages: [1]
anything