DVDID.xml

DVDID.xml

Postby Cambelious » Wed Jul 22, 2009 11:28 am

Have you ever thought about adding the ability to save Movie information using dvdid.xml? For native movie support in Media Center.
Cambelious
 
Posts: 153
Joined: Wed Jan 28, 2009 10:27 pm
Location: Vancouver B.C. Canada

Re: DVDID.xml

Postby <>< » Wed Jul 22, 2009 11:32 am

Cambelious wrote:Have you ever thought about adding the ability to save Movie information using dvdid.xml? For native movie support in Media Center.


No since i use media browser now, although I could add it in there...BUT, i would still create mymovies.xml files, along withe the dvdid.xml (and corresponding metadata in the DvdInfoCache folder), so any changes you make would be saved to the mymovies.xml and the DvdInfoCache....

If the above is acceptable it could be added at a later date....BUT, i do actually have some different plans in store for the future, just waiting for a few things.

Take Care
<><
 
Posts: 1987
Joined: Mon Dec 22, 2008 2:31 pm
Location: Atlanta, Ga

Re: DVDID.xml

Postby Cambelious » Wed Jul 22, 2009 11:44 am

<>< wrote:although I could add it in there...BUT, i would still create mymovies.xml files, along withe the dvdid.xml (and corresponding metadata in the DvdInfoCache folder), so any changes you make would be saved to the mymovies.xml and the DvdInfoCache....


That would be the idea. Have a checkbox (or something) to enable automatic saving of dvdid.xml and DvdInfoCache, and maybe a button to save dvdid's for individual movies (as I sometimes don't like to enable automation).

<>< wrote:If the above is acceptable it could be added at a later date.


How far away is "a later date"?
Cambelious
 
Posts: 153
Joined: Wed Jan 28, 2009 10:27 pm
Location: Vancouver B.C. Canada

Re: DVDID.xml

Postby <>< » Wed Jul 22, 2009 11:55 am

Cambelious wrote:That would be the idea. Have a checkbox (or something) to enable automatic saving of dvdid.xml and DvdInfoCache, and maybe a button to save dvdid's for individual movies (as I sometimes don't like to enable automation).


What do you mean save dvdid's for individual movies? What i'm thinking is everytime you hit save it would create a mymovies.xml and a dvdid.xml w/ corresponding metadata in the dvdinfocache folder.

Cambelious wrote:How far away is "a later date"?


Well, this really seems like an easy addition (although i don't know how real dvd id values are generated and i would create my own), so it could prob be added in a day or so, just provide me w/ the information and i could code it for a future release.
<><
 
Posts: 1987
Joined: Mon Dec 22, 2008 2:31 pm
Location: Atlanta, Ga

Re: DVDID.xml

Postby Cambelious » Wed Jul 22, 2009 12:49 pm

<>< wrote:What do you mean save dvdid's for individual movies? What i'm thinking is everytime you hit save it would create a mymovies.xml and a dvdid.xml w/ corresponding metadata in the dvdinfocache folder.


Yeah that is what I was thinking too.

<>< wrote:Well, this really seems like an easy addition (although i don't know how real dvd id values are generated and i would create my own), so it could prob be added in a day or so, just provide me w/ the information and i could code it for a future release.


The real DVDID's are generated by the info on the actual DVD, so without the original disk, you cannot generated the correct ID. But that doesn't matter. All you have to do it create your own ID.

Example for movie Max Payne:

The following dvdid.xml will be created in the Movie folder "Max Payne.dvdid.xml":

<?xml version="1.0" encoding="utf-8"?>
<DISC>
<NAME>Max Payne</NAME>
<ID>MaxPayne1234</ID>
</DISC>

and in the dvdinfocache folder, create the movie info file called MaxPayne1234.xml (the file name matches whatever is put in the <id> </id> of the dvdid file):

<?xml version="1.0"?>
<METADATA xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<MDR-DVD>
<MetadataExpires>0001-01-01T00:00:00</MetadataExpires>
<version>5.0</version>
<dvdTitle>Max Payne</dvdTitle>
<studio>20th Century Fox</studio>
<leadPerformer>Mark Wahlberg; Mila Kunis; Beau Bridges; Chris "Ludacris" Bridges; Olga Kurylenko</leadPerformer>
<director>John Moore</director>
<MPAARating>PG13</MPAARating>
<language />
<releaseDate>2008 01 01</releaseDate>
<genre>Action</genre>
<largeCoverParams>cov150/dru700/u745/u74576up9z4.jpg</largeCoverParams>
<smallCoverParams>cov075/dru700/u745/u74576up9z4.jpg</smallCoverParams>
<dataProvider>AMG</dataProvider>
<duration>100</duration>
<title>
<titleNum>1</titleNum>
<titleTitle>Max Payne</titleTitle>
<studio>20th Century Fox</studio>
<director>John Moore</director>
<leadPerformer>Mark Wahlberg; Mila Kunis; Beau Bridges; Chris "Ludacris" Bridges; Olga Kurylenko</leadPerformer>
<MPAARating>PG13</MPAARating>
<genre>Action</genre>
<synopsis />
</title>
</MDR-DVD>
<NeedsAttribution>true</NeedsAttribution>
<DvdId>MaxPayne1234</DvdId>
</METADATA>
Cambelious
 
Posts: 153
Joined: Wed Jan 28, 2009 10:27 pm
Location: Vancouver B.C. Canada

Re: DVDID.xml

Postby <>< » Wed Jul 22, 2009 1:10 pm

easy enough....hopefully ppl are using symbolic links to centralize their dvd libraries across htpcs/extenders....

couple of questions:

is this the same for vista and win7?
what is <MetadataExpires> used for?
what is <version> used for?
what is <synopsis /> used for...as it is blank.
can there be multiple studios/genres?
is <titleNum> always 1?
what is <NeedsAttribution> used for?

Take Care
<><
 
Posts: 1987
Joined: Mon Dec 22, 2008 2:31 pm
Location: Atlanta, Ga

Re: DVDID.xml

Postby Cambelious » Wed Jul 22, 2009 1:39 pm

<>< wrote:easy enough....hopefully ppl are using symbolic links to centralize their dvd libraries across htpcs/extenders....

For sure. I am looking into writing a little app to create and manage a symbolic link for the dvdinfocache folder.

<>< wrote:couple of questions:

is this the same for vista and win7?

Yes.
<>< wrote:what is <MetadataExpires> used for?

Not sure, in the real MS generated file it is set to some future date (not to far into the future). I looked at some other apps that already generate the XML file and they set MetadataExpires to "0001-01-01T00:00:00".
<>< wrote:what is <version> used for?

Not sure, but it is always set to 5.0 (from everything I have seen).
<>< wrote:what is <synopsis /> used for...as it is blank.

In all the files generated by MS, it is always blank. But in the third party apps, that is were they put the synopsis for the movie.
<>< wrote:can there be multiple studios/genres?

Not sure.
<>< wrote:is <titleNum> always 1?

From what I can see yes, but this value is only used by the files generated by MS. So I don't think it is needed.
<>< wrote:what is <NeedsAttribution> used for?

Not sure, but it is always set to true in both the files generated by MS and third parties.


I will research a little more into the tags (what is needed and what they are for), but I doubt MS will publish this information.


This is an example of a file generated by My Movie Finder. It seems like a lot of the tags generated by MS are not needed.

<?xml version="1.0"?>
<METADATA xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<MDR-DVD>
<MetadataExpires>0001-01-01T00:00:00</MetadataExpires>
<version>5.0</version>
<dvdTitle>Max Payne</dvdTitle>
<MPAARating>PG13</MPAARating>
<releaseDate>2008 01 01</releaseDate>
<genre>Action</genre>
<title>
<titleTitle>Max Payne</titleTitle>
<synopsis>Rockstar Games' double-gunned action franchise comes to the big screen thanks to director John Moore (The Omen) and Mark Wahlberg, who embodies the title character of Max Payne, a widowed cop hell-bent on delivering justice no matter what the cost as he investigates a string of killings in his city. Mila Kunis and Chris O'Donnell head up the supporting cast, with Beau Thorne adapting the screenplay for the 20th Century Fox production. </synopsis>
</title>
</MDR-DVD>
<NeedsAttribution>true</NeedsAttribution>
<DvdId>MaxPayne</DvdId>
</METADATA>
Cambelious
 
Posts: 153
Joined: Wed Jan 28, 2009 10:27 pm
Location: Vancouver B.C. Canada

Re: DVDID.xml

Postby <>< » Wed Jul 22, 2009 3:40 pm

well this was pretty easy, i've already added it in there, just need to add it to options for you to specify the location of where you want the DvdInfoCache xml files saved.

I look for an already existing *.dvdid.xml file, if one exits i use the same one otherwise i create a metabrowser.dvdid.xml file with my own dvdid.
I then update the NAME tag in dvdid.xml to that of the LocalTitle
I then save/overwrite the xml file in the DvdInfoCache location (or whatever location you specify in options to store the files).

Just let me know about the genre/studios etc or whatever tags that are not needed/used by DVD Library to display any info on the screen.

Take Care
<><
 
Posts: 1987
Joined: Mon Dec 22, 2008 2:31 pm
Location: Atlanta, Ga

Re: DVDID.xml

Postby ulrick65 » Wed Jul 22, 2009 8:07 pm

<>< wrote:well this was pretty easy, i've already added it in there, just need to add it to options for you to specify the location of where you want the DvdInfoCache xml files saved.

I look for an already existing *.dvdid.xml file, if one exits i use the same one otherwise i create a metabrowser.dvdid.xml file with my own dvdid.
I then update the NAME tag in dvdid.xml to that of the LocalTitle
I then save/overwrite the xml file in the DvdInfoCache location (or whatever location you specify in options to store the files).

Just let me know about the genre/studios etc or whatever tags that are not needed/used by DVD Library to display any info on the screen.

Take Care


Probably a dumb question...but...I assume it is going to be selectable on and off right?
ulrick65
 
Posts: 611
Joined: Sat Jun 27, 2009 3:55 am
Location: Juliette, GA

Re: DVDID.xml

Postby <>< » Thu Jul 23, 2009 4:15 am

ulrick65 wrote:Probably a dumb question...but...I assume it is going to be selectable on and off right?


Yes.
<><
 
Posts: 1987
Joined: Mon Dec 22, 2008 2:31 pm
Location: Atlanta, Ga

Next

Return to Meta Browser



Who is online

Users browsing this forum: No registered users and 1 guest