• 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7
  • 45
[RELEASE] Logo Downloader Script
#61
pmootrey Wrote:This script currently does not run in a 64bit environment....Any help?

maybe you can start by posting a debug log ?
Reply
#62
The sqlite.so is compiled against 32bit. I tried copying over a 64bit pysqite installation myself, but it crashes xbmc.

17:22:58 T:140410601077008 M:1784373248 NOTICE: -->Python Interpreter Initialized<--
17:22:59 T:140410601077008 M:1784246272 ERROR: Unable to load /home/xbmc/.xbmc/skin/skin.night/scripts/script.logo/resources/platform_libraries/Linux/pysqlite2/_sqlite.so, reason: /home/xbmc/.xbmc/skin/skin.night/scripts/script.logo/resources/platform_libraries/Linux/pysqlite2/_sqlite.so: wrong ELF class: ELFCLASS32
17:22:59 T:140410601077008 M:1784246272 ERROR: xbp_dlopen failed to load /home/xbmc/.xbmc/skin/skin.night/scripts/script.logo/resources/platform_libraries/Linux/pysqlite2/_sqlite.so
17:22:59 T:140410601077008 M:1784246272 NOTICE: Traceback (most recent call last):
17:22:59 T:140410601077008 M:1784246272 NOTICE: File "/home/xbmc/.xbmc/skin/skin.night/scripts/script.logo/default.py", line 34, in ?
17:22:59 T:140410601077008 M:1784246272 NOTICE: from pysqlite2 import dbapi2 as sqlite3
17:22:59 T:140410601077008 M:1784246272 NOTICE: File "/home/xbmc/.xbmc/skin/skin.night/scripts/script.logo/resources/platform_libraries/Linux/pysqlite2/dbapi2.py", line 27, in ?
17:22:59 T:140410601077008 M:1784246272 NOTICE: from pysqlite2._sqlite import *
17:22:59 T:140410601077008 M:1784246272 NOTICE: ImportError
17:22:59 T:140410601077008 M:1784246272 NOTICE: :
17:22:59 T:140410601077008 M:1784246272 NOTICE: unknown dlopen() error
17:22:59 T:140410601077008 M:1784246272 ERROR: Scriptresult: Error
Reply
#63
soory, i've got no 64b system to help you Sad
but seems you've found the problem
Reply
#64
I'm not a python expert, but isn't this simple enough to code the script to use the systems pysqlite?
Reply
#65
Ronie helped me to get Logo Downloader working with the latest XBMC nightly:

ronie Wrote:copy the script to .xbmc/addons
rename the script folder to script.logo-downloader
add an addon.xml file to this folder:
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="script.logo-downloader"
       name="Logo Downloader"
       version="1.2.2"
       provider-name="ppic">
  <requires>
    <import addon="xbmc.python" version="1.0"/>
  </requires>
  <extension point="xbmc.python.script"
             library="default.py" />
  <extension point="xbmc.addon.metadata">
    <platform>all</platform>
    <minversion>30369</minversion>
    <summary>Logo Downloader script</summary>
    <description>Download TV show Logos</description>
  </extension>
</addon>

I ran the script and it found logos for 14 out of 32 shows, but shows a "07-Ghost" logo for 8 others. I like anime, but I've never heard of that show, so it's never been in my library. That logo shows up for the following shows:

Canada's Next Top Model
Jersey Shore
Kurozuka
Last Man Standing (BBC3)
Later ... With Jools Holland
Little Rascals
Miami Vice
Shigurui: Death Frenzy

I went to http://www.themurrayworld.com/xbmc/logos/ and was able to manually download logos for Jersey Shore and Miami Vice, but didn't find the other six listed. When I searched for the other shows Logo Downloader didn't find matches for, I was able to find a logo for Wallander. So in total, there are logos for 17 of my 32 shows. Not bad!

BTW, after I've deleted the six "07-Ghost" logos, if I run the Logo Downloader script again, it re-downloads the "07-Ghost" logo for those six shows again, so it isn't a temporary hiccup.

I'm not sure if it matters or not, but Ronie's addon.xml file lists Logo Downloader as version 1.2.2, but the version I downloaded from http://passion-xbmc.org/downloads/?cat=12 is version 1.1. Here's the pastebin for my original scan:

http://pastebin.com/wFWAEJb8

I'm not sure if anyone here is taking requests or not, but if they are, here is a complete list of my shows that don't have logos available:

Bamboo Blade
Canada's Next Top Model
Cross Game
Hajime no Ippo
House of Five Leaves (Sarai-ya Goyou)
Kurozuka
Last Man Standing (BBC3)
Later ... With Jools Holland
Little Rascals
Live from Abbey Road
Michiko to Hatchin
Pulse (BBC3)
Rainbow: Nisha Rokubou no Shichinin
Shigurui: Death Frenzy
Tsukikage Ran

The show logos are really cool and add a nice effect to XBMC, thanks for the hard work, guys!
Reply
#66
yes last version in test with skinner is 1.2.2, i'll update the downloaded version when coming back home, you should not have this kind of problem with this version Wink
Reply
#67
I had a logo i got from your script i didn't care for, so i found another and replaced it in my folder overwriting the original but in xbmc it still shows the old logo. I have removed show from library and re-scraped with no success. How can I get the new one to show?
Reply
#68
Delete in your userdata/database/textures.db
And delete userdata/thumbnails/ 1-9 a-f (out of my head).
Reply
#69
This will still not work for me, similar to a post way back on page 1 the script appears to whiz through all my shows but comes back with "0 Logo Downloaded! TVShow:23 - 0 percent completed (0 logo found))
This is my setup:

Win x64
XBMC svn 30929
Transparency svn 441
Default scrapers are: TheMovieDB, The TVDB & MTV

If it might matter, my TV shows are on a network share with read/write access.

cheers
Reply
#70
please provide a log.
Reply
#71
first post edited now v 1.2.3
Reply
#72
ppic Wrote:please provide a log.

Aww, but I don't wanna post a log! Cool

....'cause your new script fixed whatever problem there was. THIS IS WAY COOL! Thanks for all your effort! Wink
Reply
#73
lol !!!

good news :!
Reply
#74
pmootrey - I found the files you need to get this working on a 64 bit Linux machine..
Download from here -> http://www.megaupload.com/?d=XXD2VOVP
If you have any problems PM me and I'll help you out...
Reply
#75
giftie Wrote:pmootrey - I found the files you need to get this working on a 64 bit Linux machine..
Download from here -> http://www.megaupload.com/?d=XXD2VOVP
If you have any problems PM me and I'll help you out...

Ty ty ty...
Reply
  • 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7
  • 45

Logout Mark Read Team Forum Stats Members Help
[RELEASE] Logo Downloader Script3