Mixed XML & URLl video NFO bug?
#1
this is something i noticed a while back but never got around to reporting it but since its still present in builds (i have r21082 at the moment running)

basically i REALLY like the idea of mixed url and xml nfo's .. it lets me have the abililty to specify certain fields in the db while having xbmc import from imdb.com the latest info for other fields when i upgrade or want to reload

anyway .. what i found is that some (not all tags) get pulled and entered into the db from both the nfo and imdb

i created a nfo file with MIP and added a imdb.com url to the movies page at the end of the file .. after i imported the movie into xbmc i open up the myvideos34.db file in SQLiteSpy and took a look at the movie in the movie table

looking through the columns i noticed some have dupes
genre (Action / Adventure / Thriller / Action / Adventure / Thriller)
director (Lee Tamahori / Lee Tamahori)
studio (Eon Productions / Eon Productions)

the only reason i bring this up is that i want to be able to set studio manually in some movies since some skins now have studio flags and not every default scrape from imdb gives a good studio (like in my example i rather set studio to United Artists

when i manually set studio in the nfo file <studio>United Artists</studio> and i looked into the db i had "Eon Productions / United Artists" in the column

hope this makes sense

copy of my test nfo file to fine duplicates
Code:
<?xml version="1.0" encoding="utf-8"?>
<movie xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <title>007 (2002) Die Another Day</title>
  <rating>6.0</rating>
  <year>2002</year>
  <top250 />
  <votes>59,322</votes>
  <outline>James Bond is sent to investigate the connection between a North Korean terrorist and a diamond mogul who is funding the development of an international space weapon. </outline>
  <plot>Pierce Brosnan gives one last mission as James Bond. Starting off in North Korea, Bond is betrayed and captured. 14 months later, Bond is set free, but traded for Zao who was captured by MI6. When back in his world, Bond sets off to track down Zao. Bond gets caught up in yet another scheme which sends him to millionaire Gustav Graves. Another MI6 agent known as Miranda Frost is also posing as a friend of Graves. Bond is invited to a presentation held by Graves about a satellite found in space which can project a huge laser beam. Bond must stop this madman with a fellow American agent, known as Jinx. Whilst Bond tries to stop Graves and Zao, will he finally reveal who betrayed him?</plot>
  <tagline>Events don't get any bigger than... </tagline>
  <runtime>133 min </runtime>
  <thumb />
  <fanart url="http://www.themoviedb.org/" />
  <mpaa> Rated PG-13 for action violence and sexuality. (theatrical version); Rated PG-13 for intense sequences of action violence, and sexual content including innuendo. (2006 video version)</mpaa>
  <playcount />
  <File />
  <Path />
  <filenameandpath />
  <id>tt0246460</id>
  <genre>Action / Adventure / Thriller</genre>
  <credits>Lee Tamahori / Ian Fleming (characters) / Neal Purvis (written by) &amp;  / Robert Wade (written by)</credits>
  <director>Lee Tamahori</director>
  <premiered />
  <status />
  <studio>Eon Productions</studio>
  <album />
  <trailer />
  <watched>no</watched>
  <actor>
    <name>Pierce Brosnan</name>
    <role>James Bond</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMTIwMzU0NzAyOF5BMl5BanBnXkFtZTcwODg5NjYyMQ@@._V1._SY275_SX400_.jpg</thumb>
  </actor>
  <actor>
    <name>Halle Berry</name>
    <role>Jinx</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMjAzNDc1MzMyNF5BMl5BanBnXkFtZTcwMzk3NTYyMQ@@._V1._SY275_SX400_.jpg</thumb>
  </actor>
  <actor>
    <name>Toby Stephens</name>
    <role>Gustav Graves</role>
    <thumb>http://i.media-imdb.com/images/tn15/addtiny.gif</thumb>
  </actor>
  <actor>
    <name>Rosamund Pike</name>
    <role>Miranda Frost</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMjA1MzM1MDA2Nl5BMl5BanBnXkFtZTcwNzQxMzEyMQ@@._V1._SY275_SX400_.jpg</thumb>
  </actor>
  <actor>
    <name>Rick Yune</name>
    <role>Zao</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMTY0MDU2OTkyMV5BMl5BanBnXkFtZTcwOTIzMDQ0Mg@@._V1._SY275_SX400_.jpg</thumb>
  </actor>
  <actor>
    <name>Michael Madsen</name>
    <role>Damian Falco</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMjE3NTEyMzI2Nl5BMl5BanBnXkFtZTcwMTY0MDkzMQ@@._V1._SY275_SX400_.jpg</thumb>
  </actor>
  <actor>
    <name>Will Yun Lee</name>
    <role>Colonel Moon</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMjA1MDUxMzEwNV5BMl5BanBnXkFtZTcwNTc2NjcyMQ@@._V1._SY275_SX400_.jpg</thumb>
  </actor>
  <actor>
    <name>Kenneth Tsang</name>
    <role>General Moon</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMTU4ODYwODg4Ml5BMl5BanBnXkFtZTcwMDE0MTUxMQ@@._V1._SY275_SX400_.jpg</thumb>
  </actor>
  <actor>
    <name>Mikhail Gorevoy</name>
    <role>Vlad</role>
    <thumb>http://i.media-imdb.com/images/tn15/addtiny.gif</thumb>
  </actor>
  <actor>
    <name>Lawrence Makoare</name>
    <role>Mr. Kil</role>
    <thumb>http://i.media-imdb.com/images/tn15/addtiny.gif</thumb>
  </actor>
  <actor>
    <name>Colin Salmon</name>
    <role>Charles Robinson</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BOTE3OTg3MDYyM15BMl5BanBnXkFtZTYwODUwODI4._V1._SY275_SX400_.jpg</thumb>
  </actor>
  <actor>
    <name>Samantha Bond</name>
    <role>Miss Moneypenny</role>
    <thumb>http://i.media-imdb.com/images/tn15/addtiny.gif</thumb>
  </actor>
</movie>
http://www.imdb.com/title/tt0246460/

copy of my test nfo file to inject "United Artists" instead of "Eon Productions"
Code:
<?xml version="1.0" encoding="utf-8"?>
<movie xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <title>007 (2002) Die Another Day</title>
  <studio>unitedartists</studio>
</movie>
http://www.imdb.com/title/tt0246460/

with this file .. i only get the studio column duplicated .. not the genre or director
Reply


Messages In This Thread
Mixed XML & URLl video NFO bug? - by pletopia - 2009-06-18, 20:41
[No subject] - by spiff - 2009-06-18, 20:50
[No subject] - by pletopia - 2009-06-19, 00:37
[No subject] - by jmarshall - 2009-06-19, 01:56
[No subject] - by pletopia - 2009-06-19, 07:52
[No subject] - by spiff - 2009-06-19, 17:57
[No subject] - by spiff - 2009-06-19, 18:20
[No subject] - by pletopia - 2009-06-20, 15:43
[No subject] - by Paradise - 2009-06-24, 00:22
[No subject] - by spiff - 2009-06-24, 07:40
[No subject] - by Paradise - 2009-06-24, 13:49
[No subject] - by spiff - 2009-06-24, 21:18
[No subject] - by sho - 2009-06-25, 12:29
[No subject] - by Paradise - 2009-06-25, 17:16
[No subject] - by Aenima99x - 2009-07-01, 05:34
[No subject] - by Aenima99x - 2009-07-01, 20:47
[No subject] - by pletopia - 2009-07-06, 15:06
[No subject] - by pletopia - 2009-07-06, 18:11
[No subject] - by spiff - 2009-07-06, 18:59
[No subject] - by spiff - 2009-07-06, 22:08
[No subject] - by Aenima99x - 2009-07-06, 23:03
[No subject] - by pletopia - 2009-07-07, 11:16
[No subject] - by spiff - 2009-07-07, 11:51
[No subject] - by pletopia - 2009-07-07, 14:12
[No subject] - by Aenima99x - 2009-07-08, 17:30
[No subject] - by spiff - 2009-07-08, 18:21
[No subject] - by Aenima99x - 2009-07-08, 18:42
[No subject] - by Aenima99x - 2009-07-08, 19:16
[No subject] - by spiff - 2009-07-08, 19:54
[No subject] - by sho - 2009-07-15, 11:52
[No subject] - by sho - 2009-07-15, 11:52
Logout Mark Read Team Forum Stats Members Help
Mixed XML & URLl video NFO bug?0