Kodi Community Forum
[SOLVED] [OS X] Frodo RC1: Library re-import not using correct video thumbnail - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Mac OS X (https://forum.kodi.tv/forumdisplay.php?fid=56)
+---- Thread: [SOLVED] [OS X] Frodo RC1: Library re-import not using correct video thumbnail (/showthread.php?tid=148479)



[SOLVED] [OS X] Frodo RC1: Library re-import not using correct video thumbnail - winestock - 2012-12-16

If I export my video library to a single file and later go to re-import the library, some of the selected thumbnails (stored in the videodb.xml) are not being used.

For example, I had selected a particular thumbnail for "The Green Mile":
Image

After I exported my video library this is what is stored for "The Green Mile" in videodb.xml:
Code:
<movie>
        <title>The Green Mile</title>
        <originaltitle>The Green Mile</originaltitle>
        <rating>8.600000</rating>
        <epbookmark>0.000000</epbookmark>
        <year>1999</year>
        <top250>0</top250>
        <votes>43</votes>
        <outline></outline>
        <plot>A supernatural tale set on death row in a Southern prison, where gentle giant John Coffey possesses the mysterious power to heal people&apos;s ailments. When the cellblock&apos;s head guard, Paul Edgecomb, recognizes Coffey&apos;s miraculous gift, he tries desperately to help stave off the condemned man&apos;s execution.</plot>
        <tagline>Miracles do happen.</tagline>
        <runtime>189</runtime>
        <thumb aspect="poster" preview="http://cf2.imgobject.com/t/p/w500/3yJUlOtVa09CYJocwBU8eAryja0.jpg">http://cf2.imgobject.com/t/p/original/3yJUlOtVa09CYJocwBU8eAryja0.jpg</thumb>
        <thumb aspect="poster" preview="http://cf2.imgobject.com/t/p/w500/ySngeFCWq3r6ASDuR67rYyMwo7e.jpg">http://cf2.imgobject.com/t/p/original/ySngeFCWq3r6ASDuR67rYyMwo7e.jpg</thumb>
        <thumb aspect="poster" preview="http://cf2.imgobject.com/t/p/w500/t1duStMA40eBV3TqFdRWX1AuaLv.jpg">http://cf2.imgobject.com/t/p/original/t1duStMA40eBV3TqFdRWX1AuaLv.jpg</thumb>
        <thumb aspect="poster" preview="http://cf2.imgobject.com/t/p/w500/59jMFN74qw5Jgg25uEn4GVSbCXC.jpg">http://cf2.imgobject.com/t/p/original/59jMFN74qw5Jgg25uEn4GVSbCXC.jpg</thumb>
        <thumb aspect="poster" preview="http://cf2.imgobject.com/t/p/w500/ri9SvesNTk4UVfk43dmEnZ88Cnr.jpg">http://cf2.imgobject.com/t/p/original/ri9SvesNTk4UVfk43dmEnZ88Cnr.jpg</thumb>
        <thumb aspect="poster" preview="http://cf2.imgobject.com/t/p/w500/ly0lXfkwLruUJsjxyodZVMQ8go3.jpg">http://cf2.imgobject.com/t/p/original/ly0lXfkwLruUJsjxyodZVMQ8go3.jpg</thumb>
        <thumb aspect="poster" preview="http://cf2.imgobject.com/t/p/w500/gmqcnixyGMsn35VWtQuf4TtXPfv.jpg">http://cf2.imgobject.com/t/p/original/gmqcnixyGMsn35VWtQuf4TtXPfv.jpg</thumb>
        <thumb aspect="poster" preview="http://cf2.imgobject.com/t/p/w500/l6qpp1hzR6EQqLsgprINMcEyrGS.jpg">http://cf2.imgobject.com/t/p/original/l6qpp1hzR6EQqLsgprINMcEyrGS.jpg</thumb>
        <thumb aspect="poster" preview="http://cf2.imgobject.com/t/p/w500/67HRTfRtT1QDcTb7yKxWr5xaZ6j.jpg">http://cf2.imgobject.com/t/p/original/67HRTfRtT1QDcTb7yKxWr5xaZ6j.jpg</thumb>
        <thumb aspect="poster" preview="http://cf2.imgobject.com/t/p/w500/s4MJNSJgsT3PaQlpQcMKOgM4z34.png">http://cf2.imgobject.com/t/p/original/s4MJNSJgsT3PaQlpQcMKOgM4z34.png</thumb>
        <fanart url="">
            <thumb dim="" colors="" preview="http://cf2.imgobject.com/t/p/w780/vOfEyKHfE8vNWzMYloDCXELiapP.jpg">http://cf2.imgobject.com/t/p/original/vOfEyKHfE8vNWzMYloDCXELiapP.jpg</thumb>
            <thumb dim="" colors="" preview="http://cf2.imgobject.com/t/p/w780/2P6bSpZdQmNFr9tEzFwF0dGjBs5.jpg">http://cf2.imgobject.com/t/p/original/2P6bSpZdQmNFr9tEzFwF0dGjBs5.jpg</thumb>
            <thumb dim="" colors="" preview="http://cf2.imgobject.com/t/p/w780/dATygzDbQGJWlolx2vebgqFYAKO.jpg">http://cf2.imgobject.com/t/p/original/dATygzDbQGJWlolx2vebgqFYAKO.jpg</thumb>
            <thumb dim="" colors="" preview="http://cf2.imgobject.com/t/p/w780/a5pZRUnGiWXwdDe06nnbvjH0HK2.jpg">http://cf2.imgobject.com/t/p/original/a5pZRUnGiWXwdDe06nnbvjH0HK2.jpg</thumb>
            <thumb dim="" colors="" preview="http://cf2.imgobject.com/t/p/w780/82RK1Ssq41z1P7NpaHizeOBpGjY.jpg">http://cf2.imgobject.com/t/p/original/82RK1Ssq41z1P7NpaHizeOBpGjY.jpg</thumb>
            <thumb dim="" colors="" preview="http://cf2.imgobject.com/t/p/w780/6Xb1QlmLZO0gOk27ynCiJbiVZfu.jpg">http://cf2.imgobject.com/t/p/original/6Xb1QlmLZO0gOk27ynCiJbiVZfu.jpg</thumb>
            <thumb dim="" colors="" preview="http://cf2.imgobject.com/t/p/w780/lt2ZnKubSnJhAA9d1FKz1TejZ2x.jpg">http://cf2.imgobject.com/t/p/original/lt2ZnKubSnJhAA9d1FKz1TejZ2x.jpg</thumb>
            <thumb dim="" colors="" preview="http://cf2.imgobject.com/t/p/w780/wGRW6AA3JZDEzSeuwU5AkB0Jf7x.jpg">http://cf2.imgobject.com/t/p/original/wGRW6AA3JZDEzSeuwU5AkB0Jf7x.jpg</thumb>
        </fanart>
        <mpaa>Rated R</mpaa>
        <playcount>0</playcount>
        <lastplayed>1969-12-31</lastplayed>
        <file></file>
        <path>smb://10.0.1.200/Media2/DVDs/Adult/</path>
        <filenameandpath>smb://10.0.1.200/Media2/DVDs/Adult/Green Mile.iso</filenameandpath>
        <basepath>smb://10.0.1.200/Media2/DVDs/Adult/Green Mile.iso</basepath>
        <id>tt0120689</id>
        <genre>Drama</genre>
        <genre>Fantasy</genre>
        <genre>Science Fiction</genre>
        <country>United States of America</country>
        <set></set>
        <credits>Frank Darabont</credits>
        <credits>Stephen King</credits>
        <director>Frank Darabont</director>
        <premiered>1969-12-31</premiered>
        <status></status>
        <code></code>
        <aired>1969-12-31</aired>
        <studio>Warner Bros. Pictures</studio>
        <trailer>plugin://plugin.video.youtube/?action=play_video&amp;videoid=ctRK-4Vt7dA</trailer>
        <actor>
            <name>Tom Hanks</name>
            <role>Paul Edgecomb</role>
            <thumb>http://cf2.imgobject.com/t/p/original/1TGabQuX8wlHFNTxFijX2hweNNR.jpg</thumb>
        </actor>
        <actor>
            <name>Michael Clarke Duncan</name>
            <role>John Coffey</role>
            <thumb>http://cf2.imgobject.com/t/p/original/88nraA4L6yolz6fRRvbGx9O4TEL.jpg</thumb>
        </actor>
        <actor>
            <name>Bonnie Hunt</name>
            <role>Jan Edgecomb</role>
            <thumb>http://cf2.imgobject.com/t/p/original/umqOZMSMdbYap6tQMfPnpWLMa8h.jpg</thumb>
        </actor>
        <actor>
            <name>David Morse</name>
            <role>Brutus \</role>
            <thumb></thumb>
        </actor>
        <actor>
            <name>Michael Jeter</name>
            <role>Eduard Delacroix</role>
            <thumb>http://cf2.imgobject.com/t/p/original/oJTjyq7RGOd1m49RvDpw12bQcvT.jpg</thumb>
        </actor>
        <actor>
            <name>Graham Greene</name>
            <role>Arlen Bitterbuck</role>
            <thumb>http://cf2.imgobject.com/t/p/original/w4b9S3sKuoMIYkOHyCBRdbdGEWr.jpg</thumb>
        </actor>
        <actor>
            <name>Patricia Clarkson</name>
            <role>Melinda Moores</role>
            <thumb>http://cf2.imgobject.com/t/p/original/gulOmuiS6hn4s1W4duGs1vPbfzw.jpg</thumb>
        </actor>
        <actor>
            <name>Dabbs Greer</name>
            <role>Old Paul Edgecomb</role>
            <thumb></thumb>
        </actor>
        <actor>
            <name>Gary Sinise</name>
            <role>Lawyer Burt Hammersmith</role>
            <thumb>http://cf2.imgobject.com/t/p/original/6p8c35Emww9Qr6sujUswpAml1CN.jpg</thumb>
        </actor>
        <actor>
            <name>Doug Hutchison</name>
            <role>Percy Wetmore</role>
            <thumb>http://cf2.imgobject.com/t/p/original/c3WJRIVJ3Y4GJeDT3SZyhOC6n81.jpg</thumb>
        </actor>
        <actor>
            <name>Sam Rockwell</name>
            <role>&apos;Wild Bill&apos; Wharton</role>
            <thumb>http://cf2.imgobject.com/t/p/original/yiyrJt5ODTBMy0YCR7c9t6igiN6.jpg</thumb>
        </actor>
        <actor>
            <name>James Cromwell</name>
            <role>Warden Hal Moores</role>
            <thumb>http://cf2.imgobject.com/t/p/original/uYdDEA2ZeZxSZI6dCAFrSpVygaV.jpg</thumb>
        </actor>
        <actor>
            <name>Barry Pepper</name>
            <role>Dean Stanton</role>
            <thumb>http://cf2.imgobject.com/t/p/original/uZy06Nvqo6RVcY4tPCo6Vn0vNdB.jpg</thumb>
        </actor>
        <actor>
            <name>Harry Dean Stanton</name>
            <role>Toot-Toot</role>
            <thumb>http://cf2.imgobject.com/t/p/original/vlfKwhCimC1N42VPNM9iRYBpW0b.jpg</thumb>
        </actor>
        <actor>
            <name>Jeffrey DeMunn</name>
            <role>Harry Terwilliger</role>
            <thumb>http://cf2.imgobject.com/t/p/original/nFWL8VR3uUlQPUxvVUphZe6KbvD.jpg</thumb>
        </actor>
        <actor>
            <name>Eve Brent</name>
            <role>Elaine Connelly</role>
            <thumb>http://cf2.imgobject.com/t/p/original/zVDx0UGKvZtg8J32eesyGNeJIu1.jpg</thumb>
        </actor>
        <resume>
            <position>0.000000</position>
            <total>0.000000</total>
        </resume>
        <dateadded>2012-07-30 06:39:47</dateadded>
        <art>
            <fanart>http://cf2.imgobject.com/t/p/original/vOfEyKHfE8vNWzMYloDCXELiapP.jpg</fanart>
            <poster>http://cf2.imgobject.com/t/p/original/t1duStMA40eBV3TqFdRWX1AuaLv.jpg</poster>
        </art>
    </movie>

Under <art>, <poster> the correct thumbnail is stored http://cf2.imgobject.com/t/p/original/t1duStMA40eBV3TqFdRWX1AuaLv.jpg.

Before re-importing I delete MyVideos DB, Textures DB and Thumbnail cache. This shows what the thumbnail is after I re-import and go to the "The Green Mile" video entry which is not correct:
Image

Debug Log



RE: [OS X] Frodo RC1: Library re-import not using correct video thumbnail - jmarshall - 2012-12-16

You should find custom fanart will import correctly - just not poster or banner. Will fix the latter two if you could confirm the former Smile


RE: [OS X] Frodo RC1: Library re-import not using correct video thumbnail - winestock - 2012-12-16

(2012-12-16, 05:42)jmarshall Wrote: You should find custom fanart will import correctly - just not poster or banner. Will fix the latter two if you could confirm the former Smile

I have confirmed that custon fanart is imported correctly. Will be fix will in the Frodo RC-2 candidate?


RE: [OS X] Frodo RC1: Library re-import not using correct video thumbnail - jmarshall - 2012-12-16

Already fixed, yes. You're welcome to try out a nightly.


RE: [OS X] Frodo RC1: Library re-import not using correct video thumbnail - twochannel - 2012-12-18

I think I am having this same issue (since Beta 2 actually)

my post is at http://forum.xbmc.org/showthread.php?tid=147037&pid=1260416#pid1260416


Let me give a nightly a shot...


(2012-12-18, 05:31)twochannel Wrote: I think I am having this same issue (since Beta 2 actually)

my post is at http://forum.xbmc.org/showthread.php?tid=147037&pid=1260416#pid1260416


Let me give a nightly a shot...

wooohooo! It works for my single entry videodb.xml to a local db. I will test with full import to mysql hosted db and report back.

Thanks!


RE: [OS X] Frodo RC1: Library re-import not using correct video thumbnail - winestock - 2012-12-21

Now works great in Frodo RC-2. Thanks for doing the fix.