Reply to thread

After some time, I have started to experiment with myfilms again. Using the nfo grabber (as I always do) and the same version of myfilms as above, i have found that at scanning the database I get entries like this

[code]<Movie Number="1" Checked="False" MediaType="HDD" Source="\\Nas\htpc\Videos\¡Tre amigos! (1986)\¡Tre amigos! (1986).mkv" Date="2015-02-01" Rating="6.4" OriginalTitle="¡Tre amigos!" TranslatedTitle="¡Tre amigos!" FormattedTitle="¡Tre amigos!" Director="John Landis" Country="Amerikas Förenta Stater" Category="Komedi, Västern" Year="1986" Length="99" Actors="Steve Martin (Lucky Day), Chevy Chase (Dusty Bottoms), Martin Short (Ned Nederlander), Alfonso Arau (El Guapo), Tony Plana (Jefe), Patrice Martinez (Carmen), Jorge Cervera Jr. (Bandito #1), Kai Wulff (German), Abel Franco (Papa Sanchez), Fred Asparagus (Bartender), Jon Lovitz (Morty), Joe Mantegna (Harry Flugleman), Philip Gordon (Rodrigo), Michael Wren (Cowboy), Gene Hartline (Silent Movie Bandito), William B. Kaplan (Silent Movie Bandito), Sophia Lamour (Silent Movie Senorita), Santos Morales (Telegrapher), Phil Hartman (Sam), Tino Insana (Studio Guard), Craig Berenson (Telegram Delivery Boy), Joshua Gallegos (Bar Patron), Norbert Weisser (German's Friend), Brian Thompson (German's Other Friend), Hector Elias (Pedro), Hector Morales (Carlos), Betty Carvalho (Mama Sanchez), Benita Telles (Rosita), Dyana Ortelli (Juanita), Humberto Ortiz (Pablo), Candy Castillo (Bandito #2), Jeff O'Haco (Bandito #3), Loyda Ramos (Conchita), Carl La Fong (Tortoise), Randy Newman (Singing Bush), Rebecca Ferratti (Señorita Kissing Ned), Cosmo Mata (Man in Bar), Brinke Stevens (Actress in Silent Movie), Tom Tangen (Stagecoach Passenger)" URL="\\Nas\htpc\Videos\¡Tre amigos! (1986)\¡Tre amigos! (1986).nfo" Description="Tre arbetslösa stumfilmsskådespelare får ett gig: de ska åka till en mexikansk by för att spela westernhjältar. Vad de inte vet är att deras motspelare, banditerna, är riktiga." VideoFormat="AVC" VideoBitrate="4730" AudioFormat="AC3" AudioBitrate="448" Resolution="1280x720" Framerate="50.000" Languages="engelska, spanska, tyska" Size="3667" Disks="1" Picture="pictures\¡Three Amigos!.jpg" MediaLabel="" Subtitles="" Producer="" Comments="">[/code]

If I edit all the entries like this (I remove the empty attributes at the end of these very long lines) :

[code]<Movie Number="1" Checked="False" MediaType="HDD" Source="\\Nas\htpc\Videos\¡Tre amigos! (1986)\¡Tre amigos! (1986).mkv" Date="2015-02-01" Rating="6.4" OriginalTitle="¡Tre amigos!" TranslatedTitle="¡Tre amigos!" FormattedTitle="¡Tre amigos!" Director="John Landis" Country="Amerikas Förenta Stater" Category="Komedi, Västern" Year="1986" Length="99" Actors="Steve Martin (Lucky Day), Chevy Chase (Dusty Bottoms), Martin Short (Ned Nederlander), Alfonso Arau (El Guapo), Tony Plana (Jefe), Patrice Martinez (Carmen), Jorge Cervera Jr. (Bandito #1), Kai Wulff (German), Abel Franco (Papa Sanchez), Fred Asparagus (Bartender), Jon Lovitz (Morty), Joe Mantegna (Harry Flugleman), Philip Gordon (Rodrigo), Michael Wren (Cowboy), Gene Hartline (Silent Movie Bandito), William B. Kaplan (Silent Movie Bandito), Sophia Lamour (Silent Movie Senorita), Santos Morales (Telegrapher), Phil Hartman (Sam), Tino Insana (Studio Guard), Craig Berenson (Telegram Delivery Boy), Joshua Gallegos (Bar Patron), Norbert Weisser (German's Friend), Brian Thompson (German's Other Friend), Hector Elias (Pedro), Hector Morales (Carlos), Betty Carvalho (Mama Sanchez), Benita Telles (Rosita), Dyana Ortelli (Juanita), Humberto Ortiz (Pablo), Candy Castillo (Bandito #2), Jeff O'Haco (Bandito #3), Loyda Ramos (Conchita), Carl La Fong (Tortoise), Randy Newman (Singing Bush), Rebecca Ferratti (Señorita Kissing Ned), Cosmo Mata (Man in Bar), Brinke Stevens (Actress in Silent Movie), Tom Tangen (Stagecoach Passenger)" URL="\\Nas\htpc\Videos\¡Tre amigos! (1986)\¡Tre amigos! (1986).nfo" Description="Tre arbetslösa stumfilmsskådespelare får ett gig: de ska åka till en mexikansk by för att spela westernhjältar. Vad de inte vet är att deras motspelare, banditerna, är riktiga." VideoFormat="AVC" VideoBitrate="4730" AudioFormat="AC3" AudioBitrate="448" Resolution="1280x720" Framerate="50.000" Languages="engelska, spanska, tyska" Size="3667" Disks="1" Picture="pictures\¡Three Amigos!.jpg">[/code]


This edited version is usable without any problem.

I can think of a number of workarounds/fixes:

  • I can write an xslt transform that runs as a postprocessor that filters away empty attributes
  • I can probably set AMC to not import the attributes that are sometimes (or almost always) empty
  • Maybe there is something in the nfo grabber that can be done
  • or maybe the code can be updated to handle this in a more elegant way.

I think I need to tell that the current number of films are 2587, so it could be that this issue need some size of the database to show itself.

Any comments?


Top Bottom