XBMC Community Forum
Icefilms (Icefilms.info) Addon Development Thread - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Python Add-on Development (/forumdisplay.php?fid=26)
+--- Thread: Icefilms (Icefilms.info) Addon Development Thread (/showthread.php?tid=90315)



- Eldorado - 2011-12-15 00:37

rogerthis Wrote:Metahandler didn't work for me either. It didn't download automatically on my Win7 PC and doesn't open icefilms.
http://pastebin.com/Ra2gCjc4

Also getting this script error when opening sources page on ATV1 pre-eden
http://pastebin.com/bAZa402P

One other funny thing. On the confluence skin, it has now changed fro "Media Info 2" view, where the poster was to the side, is now on top. Showing a real small thumbnail like poster. Rebooted the system, and same thing.

Thanks for all the hard work, it's really looks good.

Can you confirm it didn't install by checking your addons folder?

For the media info 2 view, is that in TV Shows? I noticed that too, it has to do with the auto-view, check it out in the settings... I'm a bit new to the views etc.


- Eldorado - 2011-12-15 00:40

se4c0met Wrote:The second change is required for Apple TV 2, as the version of Python in XBMC is version 2.5 and ElementTree is packaged differently in xml.etree instead.

Just want to make sure i understand this one, as it is now everything does work on ATV2 (for the most part), pre-Eden python will be 2.5 no matter which platform you are on

Do we get a speed advantage with this change? I'm not overly familiar with ElementTree so just want to understand what the change actually does


- se4c0met - 2011-12-15 00:51

Without this change, metahandler would have an ImportError on ElementTree as it could not locate the import. IIRC, ElementTree is used for Xml parsing.

Not sure on the speed difference, I made the change so that the plug-in can function.

Eldorado Wrote:Just want to make sure i understand this one, as it is now everything does work on ATV2 (for the most part), pre-Eden python will be 2.5 no matter which platform you are on

Do we get a speed advantage with this change? I'm not overly familiar with ElementTree so just want to understand what the change actually does



- zpanderson - 2011-12-15 01:00

Eldorado Wrote:Yep agreed, need to track this one down

I still haven't been able to reproduce, are you using the video seeking? Some work needs to be done around there to ensure the file is deleted when done playing..

No, I'm not using video seeking or download and watch; stream only.


- rogerthis - 2011-12-15 01:04

Eldorado Wrote:Can you confirm it didn't install by checking your addons folder?

For the media info 2 view, is that in TV Shows? I noticed that too, it has to do with the auto-view, check it out in the settings... I'm a bit new to the views etc.

I didn't have your repo installed https://github.com/downloads/Eldorados/eldorado-xbmc-addons/repository.eldorado-1.0.2.zip so, I installed that on my Win7 PC, but I was still getting the same error. I had an old metahandler from early November installed, so I manually over wrote it. And that works. Maybe I should have tried a forced refresh on your repo, but project free tv did automatically update.

Did you have a look at the atv1 error?


- Eldorado - 2011-12-15 01:10

rogerthis Wrote:I didn't have your repo installed https://github.com/downloads/Eldorados/eldorado-xbmc-addons/repository.eldorado-1.0.2.zip so, I installed that on my Win7 PC, but I was still getting the same error. I had an old metahandler from early November installed, so I manually over wrote it. And that works. Maybe I should have tried a forced refresh on your repo, but project free tv did automatically update.

Did you have a look at the atv1 error?

That repo is a different one for my xbmc addons I was working on, not related to this one Smile

The problem was likely due to you having an old copy of metahandler installed, I haven't incremented the version on it so it wouldn't re-download.. you did the right thing

Weird error, don't understand why you are getting it:

Code:
/lib/python2.6/urllib.py", line 1170, in unquote
#
                                                res = s.split('%')
#
                                            AttributeError: split



- mikey1234 - 2011-12-15 01:29

When it is all ready do you mean you will put up on the official icefilm repo or your one

Also if it is on official would I have to manually delete the 230mb download to update the new one or will it ask to overwrite old


- Eldorado - 2011-12-15 01:44

mikey1234 Wrote:When it is all ready do you mean you will put up on the official icefilm repo or your one

Also if it is on official would I have to manually delete the 230mb download to update the new one or will it ask to overwrite old

When its done it will be moved back to the official Icefilms repo so that the upgrade is as painless as possible to all the users

The original 230mb zip that downloads with the current releases will be removed (haven't put the code in for this yet).. and you will be prompted to download a new pack, the old stuff isn't compatible with all the changes


- mikey1234 - 2011-12-15 02:21

Fantastic eldorado your a star thanks again for all your hard work


- Eldorado - 2011-12-15 02:23

se4c0met Wrote:Without this change, metahandler would have an ImportError on ElementTree as it could not locate the import. IIRC, ElementTree is used for Xml parsing.

Not sure on the speed difference, I made the change so that the plug-in can function.

This doesn't sound right, ElementTree should be downloaded no matter which system you are on.. I currently have this running on 2 ATV2's

Can you post a full debug log showing the error? I'm betting you also got an error where it attempted to download ElementTree, it should come from the XBMC repo