ANT Movie Catalog import

Any trouble you encounter with the Pedias, here's the place to ask for help.
Post Reply
upollaehne
Contributor
Contributor
Posts: 5
Joined: Sat Mar 13, 2010 5:04 pm

ANT Movie Catalog import

Post by upollaehne »

Hi,

is there a chance to configure or modify the import from ANT Movie Catalog (AMC)?

There are some fields in the AMC XML file that seem to be ignored.
For example there is the Date attribute in the Movie element that is not read (on import all movies are "added on" the current date).

Since there is no specific attribute for a location I used the MediaLabel to define the location of the movie and it would be helpful if a mapping from this MediaLabel to DVDpedias location field could be defined.

In the Actors attribute I do have a list of actors and their role names. How should this list be formatted so that the import can read the actors name and the corresponding role name?
Currently most entries in the AMC XML file look like this: "Cary Grant (als Roger O. Thornhill), Eva Marie Saint (als Eve Kendall)"

Then there is the MediaType attribute that tells me what type of media the movie is stored on/in (i.e. DVD, SVCD, MKV). Most probably this could be stored in a user defined field since I currently do not see a standard field for this type of information.

Please tell me what options I do have to get the above informations into the DVDpedia library.
User avatar
Conor
Top Dog
Posts: 5346
Joined: Sat Jul 03, 2004 12:58 pm
Contact:

Re: ANT Movie Catalog import

Post by Conor »

Thank you for the details on the missing information in the Ant Movie Catalog. Due to the XML exports all being different and the complexity of reading them for mapping the imports are hard coded (for example AMC is the only one to use attributes for the values instead of actual elements). I have updated DVDpedia beta 71 to include the "Date" and "MediaType" attributes as well as look for " (als " in the credit name and pull out the role information. All these changes will make it into the next official version. For the beta only I added "MediaLabel" mapped to location. You can download the beta and reimport your movie collection with the new additions.
upollaehne
Contributor
Contributor
Posts: 5
Joined: Sat Mar 13, 2010 5:04 pm

Re: ANT Movie Catalog import

Post by upollaehne »

Hi Conner,

thanks for this fast and positive response.

The Date and MediaLabel are working as expected. Great!

MediaType is mapped to which field?
Maybe I just do not see the corresponding field, or was MediaLabel meant?

The Actors are read differently.
The release version shows (on the cast tab, " used to show blanks):
actor -- role
"Morgan Freeman (als Dr. Alex Cross)" -- ""

The beta shows:
actor -- role
" (als Dr. Alex Cross)" -- "Dr. Alex Cross"

On the info tab the actors list shows (like the release version):
"Morgan Freeman (als Dr. Alex Cross), ..."

Oh, one more thing. ;-)
The option "Artikel in der Spalte 'Titel' ignorieren" (third option on the first page).
As it seems this option only takes german articles into account (the pedias are running on a german OS X).
I have disabled the option and get a list like this:
Big Fish
The Big Lebowski
Big Nothing
(yes, in germany not every title is translated into german. Sometimes they even create different english titles)

I do not know how this option works but it would be really nice to have all articles ignored.

Ullrich.
User avatar
Nora
Site Admin
Posts: 2155
Joined: Sun Jul 04, 2004 5:03 am
Contact:

Re: ANT Movie Catalog import

Post by Nora »

The option "Artikel in der Spalte 'Titel' ignorieren" (third option on the first page).
As it seems this option only takes german articles into account (the pedias are running on a german OS X).
I have disabled the option and get a list like this:
Big Fish
The Big Lebowski
Big Nothing
(yes, in germany not every title is translated into german. Sometimes they even create different english titles)

I do not know how this option works but it would be really nice to have all articles ignored.
When you check that preference the program will ignore all foreign articles, including German ones, when sorting the title column. English articles are always ignored. The list as you have it above is the expected behaviour since 'the' is ignored. If you want to sort the "The Big Lebowski" under 'T' for the then you have to use the 'Sort Title' field to tell the program. You can turn the field on the Preferences/Fields. Once it appears in your edit window you can enter 'the' to have the entry sorted under t.
User avatar
Conor
Top Dog
Posts: 5346
Joined: Sat Jul 03, 2004 12:58 pm
Contact:

Re: ANT Movie Catalog import

Post by Conor »

Thank you for the information. I fixed the name in the credits I used the wrong function; not having an export from Ant Movie Catalog with the roles I was unable to test it and just did the change in code. There is a new version Beta 72 that will have the fix.

The MediaType is being mapped to the media field. By default this field should be under the extras tab in the edit window. This field is by default not shown in the info view, to display the media in the info view go to preferences -> fields tab and change the pop up to Info view and check the media field.
upollaehne
Contributor
Contributor
Posts: 5
Joined: Sat Mar 13, 2010 5:04 pm

Re: ANT Movie Catalog import

Post by upollaehne »

Nora wrote:If you want to sort the "The Big Lebowski" under 'T' for the then you have to use the 'Sort Title' field to tell the program. You can turn the field on the Preferences/Fields. Once it appears in your edit window you can enter 'the' to have the entry sorted under t.
Ok, this leaves me with two options:
1. Modify the Sort Title field for all titles that are out of (sort) order
2. Get rid of the habit to sort the titles as they are written
:)
upollaehne
Contributor
Contributor
Posts: 5
Joined: Sat Mar 13, 2010 5:04 pm

Re: ANT Movie Catalog import

Post by upollaehne »

Conor wrote:Thank you for the information. I fixed the name in the credits I used the wrong function; not having an export from Ant Movie Catalog with the roles I was unable to test it and just did the change in code. There is a new version Beta 72 that will have the fix.
Yep, this one does a way better job with these complicated credits.
ANT.zip contains a two movie ANT catalog.
I have chosen these two movies to show minor issues with the parsing of the credits.
Conor wrote:The MediaType is being mapped to the media field. By default this field should be under the extras tab in the edit window. This field is by default not shown in the info view, to display the media in the info view go to preferences -> fields tab and change the pop up to Info view and check the media field.
Ok, I enabled all fields for everything except fullscreen, but there is nothing shown that looks like "MKV".
But wait a minute. With the above catalog and the beta 72 I do not get the location either.
User avatar
Conor
Top Dog
Posts: 5346
Joined: Sat Jul 03, 2004 12:58 pm
Contact:

Re: ANT Movie Catalog import

Post by Conor »

Thank you for the file, all the minor issues have been taken care of and I added the location import back to the beta for your particular import; download beta 73.
upollaehne
Contributor
Contributor
Posts: 5
Joined: Sat Mar 13, 2010 5:04 pm

Re: ANT Movie Catalog import

Post by upollaehne »

Conor wrote:Thank you for the file, all the minor issues have been taken care of and I added the location import back to the beta for your particular import; download beta 73.
Yep, great. Works like a charm.
If there is nothing else on your list...

BTW: My iPad 2 is keen on showing the catalog too ;-)
Post Reply