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)



- spoyser - 2011-11-18 18:06

Searching on Spooks and then attempting to display the episode list gives the infamous typeerror!

Boils down to line 2030 as commenting out works, but obviously then no fan art!
(Actually this results in Season list being populated, then need to comment out line 2039 to get Episodes list)

Works correctly if Spooks is navigated to via TV Shows -> AZ -> S -> Spooks

Retrieved items on the search dialog are incorrect, going up and down!


- Eldorado - 2011-11-18 19:17

Finally found it!

You led me in the right direction, it was the meta data that was being returned for a season.. I missed changing the 'season' field in the season_meta table to an integer (it was originally defined as a string - which is incorrect for xbmc)

Changing the definition to an integer corrects it

Though I noticed meta data on episodes is not showing for:
- Aired date
- season #
- episode #

Yet they show up on my metahandler tester addon..

spoyser Wrote:Searching on Spooks and then attempting to display the episode list gives the infamous typeerror!

Boils down to line 2030 as commenting out works, but obviously then no fan art!
(Actually this results in Season list being populated, then need to comment out line 2039 to get Episodes list)

Works correctly if Spooks is navigated to via TV Shows -> AZ -> S -> Spooks

Retrieved items on the search dialog are incorrect, going up and down!

The item count on search I noticed as well.. it has to do with the 3x search calls it does, due to how it was coded I'm not sure if I can fix this one.. either that or just don't display a total item count at all for searches... ?


- edwinchester - 2011-11-18 21:00

Eldorado Wrote:Good stuff, the videos that are not play are usually due to the source either missing or megaupload just acting up

Check your logs and see what msgs you get, typically you will see something like along the lines of not getting any data from the stream which means megaupload just did not start sending and xbmc stopped waiting

With this change in, can you give it some good testing.. test all tvshows, movies, music etc.. the change will affect everything

I know we are going back a bit, but I have tried all the tv shows, movies etc they all seem to be working


- coadyj - 2011-11-19 01:45

eh, maybe I am missing something, but I get a script error when I load 1.1.0

wd() currently lies to you so please use addon.getAddonInfo('path') to find the script's root directory and DO NOT make relative path accesses based on the results of 'os.getcwd.'
icepath=os.getcwd()
23:39:04 T:4564 ERROR: C:\Users\Iphone\AppData\Roaming\XBMC\addons\plugin.video.icefilms\resources\lib\​metautils\metahandlers.py:32: DeprecationWarning: os.getcwd() currently lies to you so please use addon.getAddonInfo('path') to find the script's root directory and DO NOT make relative path accesses based on the results of 'os.getcwd.'
sys.path.append((os.path.split(os.getcwd()))[0])
23:39:04 T:4564 ERROR: Error Type: <type 'exceptions.ImportError'>
23:39:04 T:4564 ERROR: Error Contents: No module named elementtree.ElementTree
23:39:04 T:4564 ERROR: Traceback (most recent call last):
File "C:\Users\Iphone\AppData\Roaming\XBMC\addons\plugin.video.icefilms\default.py", line 46, in <module>
from metautils import metahandlers, metacontainers
File "C:\Users\Iphone\AppData\Roaming\XBMC\addons\plugin.video.icefilms\resources\lib\​metautils\metahandlers.py", line 34, in <module>
from TMDB import TMDB
File "C:\Users\Iphone\AppData\Roaming\XBMC\addons\plugin.video.icefilms\resources\lib\​metautils\TMDB.py", line 11, in <module>
from thetvdbapi import TheTVDB
File "C:\Users\Iphone\AppData\Roaming\XBMC\addons\plugin.video.icefilms\resources\lib\​metautils\thetvdbapi.py", line 24, in <module>
import elementtree.ElementTree as ET
ImportError: No module named elementtree.ElementTree
23:39:04 T:5032 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.icefilms
23:39:04 T:5032 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.icefilms) failed
23:43:35 T:5032 NOTICE: Storing total System Uptime


- coadyj - 2011-11-19 01:53

deleted pre folder and got it working

but still loads of errors

script error when accessing movies lists
no homepage items
empty list when accessing tv show


- Eldorado - 2011-11-19 02:56

coadyj Wrote:deleted pre folder and got it working

but still loads of errors

script error when accessing movies lists
no homepage items
empty list when accessing tv show

Read my post thoroughly - http://forum.xbmc.org/showpost.php?p=937374&postcount=347

You likely didn't install everything required, aka metahandlers and t0mm0's common library, these have to be done manually right now

ps. don't paste logs in here, use pastebin.com for your logs


- coadyj - 2011-11-19 04:06

Eldorado Wrote:Read my post thoroughly - http://forum.xbmc.org/showpost.php?p=937374&postcount=347

You likely didn't install everything required, aka metahandlers and t0mm0's common library, these have to be done manually right now

ps. don't paste logs in here, use pastebin.com for your logs

I installed them and i still have the same errors.


- k_zeon - 2011-11-19 15:36

Hey Eldorado. just tried Icefilms 1.1.0 and i drill down till I get the Links . When i select a megaupload link i get a Blank Notification with no info. Video does not play so just exit out of notification. Any idea's

Edit:
Just went back to 1.0.16 and the megaupload part works again.

something is broken in 1.1.0 that stops the count down for the megaupload


- Eldorado - 2011-11-19 19:36

coadyj Wrote:I installed them and i still have the same errors.

Debug logs help


- Eldorado - 2011-11-19 19:36

k_zeon Wrote:Hey Eldorado. just tried Icefilms 1.1.0 and i drill down till I get the Links . When i select a megaupload link i get a Blank Notification with no info. Video does not play so just exit out of notification. Any idea's

Edit:
Just went back to 1.0.16 and the megaupload part works again.

something is broken in 1.1.0 that stops the count down for the megaupload

I saw this recently as well.. I might have broken something with the megaupload stuff, I'll get back to it on Monday