• 1
  • 8
  • 9
  • 10(current)
  • 11
  • 12
  • 45
[RELEASE] Logo Downloader Script
this is a regression. the http api should be usable from scripts even if server is disabled.
Reply
ok, i was thinking it should work that way, thank spiff.
Reply
Hmm only slightly odd thing about the linux box is xbmc is built using external python. I think 2.6.2 could this be causing the issue?

Anyway to add some more verbose logging?

Is it possible to run this script from the console - if so what param's should i pass to it to test?
Reply
yes external python is a recipe for disaster.
Reply
spiff Wrote:yes external python is a recipe for disaster.

So far everything has worked - I'm using openelec's linux image on a revo. All the scripts / addon's I've tried up until now have been fine....
Reply
no, it can't be run in console, i'm using some xbmc dependency to fill the tvshow list and for the dialog.

yes python 2.6 should be the caused of this malfunction, i think that some functions i use may be deprecated.

the script before starting my code.
Reply
hmm ok. I've sent a message to openelec to ask him how why he's opted for 2.6.2 in his builds.

If all else fails I'll take a look at rebuilding the image with external 2.4.

thanks
Reply
ok keep me in touch with that, maybe there's a way to make it work on 2.6 too with few change.
Reply
For some strange reason The Simpsons logo won't show up in my Alaska Revisited skin.

This is in the log:

16:46:25 T:4036 M:1360023552 ERROR: Texture manager unable to load file: D:\TVShows\The Simpsons\/logo.png

I assume it has something to do with the " \/ ", but why is there a slash in there and how do I remove it, so the skin will load the logo correctly?
Reply
With XBMC closed delete userdata/Database/textures.db

If it was a coding error all logos wouldn't show not just one. All others show just fine, correct?
Image

Check out The Carmichael - A Skin For XBMC

Check out Night - A Skin For XBMC

Check out Unfinished - A Skin For XBMC
Reply
It was only the Simpsons that missed the logo yes.

I deleted textures.db and it all works now, thanks!

Just to be curious, what exactly does textures.db contain? Links to all images in the skin?
Reply
djon Wrote:It was only the Simpsons that missed the logo yes.

I deleted textures.db and it all works now, thanks!

Just to be curious, what exactly does textures.db contain? Links to all images in the skin?

All images outside the skins /media folder get cached. Helps speed things up I believe or my guess really....
Image

Check out The Carmichael - A Skin For XBMC

Check out Night - A Skin For XBMC

Check out Unfinished - A Skin For XBMC
Reply
that's it yes
Reply
spiff Wrote:this is a regression. the http api should be usable from scripts even if server is disabled.

I've checked, with internal httpapi there is nothing wrong, it works without the webserver running.

If you get the HttpApi: foo in the logs, its compiled in and called.
If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.

Image

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Reply
spiff Wrote:ppic, you're probably treating a utf-8 string with a different locale, or you're treating a non-unicode string as unicode. simplest fix is probably to use the u prefix in python.

u"foo" = a unicode string
"foo" = a string in the configured locale.

adding u doesn't change the log. i've changed the string

another one "é" was in a comment line and show error too
Reply
  • 1
  • 8
  • 9
  • 10(current)
  • 11
  • 12
  • 45

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