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-22 06:07

Pushed out a quick fix for it a little while ago.. though I'm going to re-look over my code when I have some more time, I think the whole resolve_megaup() method in megaroutines.py needs a little re-working in general

Stick around if you want to help out though! Give the beta a try and see if you can find anything, more help the better!


- mikey1234 - 2011-12-22 09:51

Thanks wait_time fixed now what I don't get though is I use your repo on pc to test and icefilm on atv and never had Problem with pc......never changed direct download either.....also doesn't recognise as lifetime platinum...


- spoyser - 2011-12-22 10:24

Eldorado Wrote:Odd.. did you download the DB?

I could have sworn I tried this.. will give it another go

edit - just tried this on my side, wiped out the metahandler folder from userdata, the only images I get are the ones xbmc cached.. the logs don't show any activity either and my DB remains empty - it will add entries if it was actually scraping data

Can you post a full log of you browsing thru the categories? And if you could, try download & watch as well, would like to see what your logs say when it fails

D&W with 15 second wait
http://pastebin.com/rPH3iNCX

Browsing to movies | A
http://pastebin.com/1yzbWgiS

I had not downloaded any of the metacontainers or the database.

Once I have downloaded them it seemed okay, although there doesn't seem to be a way of just downloading the database?

Where are the images actually located 'cos even if I delete everything except the database from script.module.metahandler in the userdata it still displays them (and it is too fast to be fetching them over the internet)


- Eldorado - 2011-12-22 16:52

mikey1234 Wrote:Thanks wait_time fixed now what I don't get though is I use your repo on pc to test and icefilm on atv and never had Problem with pc......never changed direct download either.....also doesn't recognise as lifetime platinum...

On which version? 1.0.20 or the current beta?

Do you get a wait time with your platinum? The current code assumes if you have direct downloads turned on then you are premium, there's really no way to determine what type of account it is if direct downloads is on - which only premium/platinum members can do


- Eldorado - 2011-12-22 17:02

spoyser Wrote:D&W with 15 second wait
http://pastebin.com/rPH3iNCX

Browsing to movies | A
http://pastebin.com/1yzbWgiS

I had not downloaded any of the metacontainers or the database.

Once I have downloaded them it seemed okay, although there doesn't seem to be a way of just downloading the database?

Where are the images actually located 'cos even if I delete everything except the database from script.module.metahandler in the userdata it still displays them (and it is too fast to be fetching them over the internet)

Hmm... looks like you are running an old XBMC build, can you update to the latest nightly?

This line I was surprised to see:

Code:
Metahandlers - Loading pysqlite2 as DB engine

Pre-Eden should be loading sqlite3

Maybe we'll start with updating your XBMC build first then see if it affects D&W.. ?

Meta data - There's no logs showing it using the metahandler DB, it does query it to check what it thinks you have installed, which is correct:

Code:
#
07:59:11 T:3552 M:1336774656  NOTICE: Looking up in local cache for addon id: plugin.video.icefilms
#
07:59:11 T:3552 M:1336774656  NOTICE: SQL Select: SELECT * FROM addons WHERE addon_id = 'plugin.video.icefilms'
#
07:59:11 T:3552 M:1336729600  NOTICE: No match in local DB for addon_id: plugin.video.icefilms

Are you just getting pictures but no information? From what you said I think it's just pics left over in your XBMC cache.. you did
say you previously had it enabled on this machine?

Images are located where you said in the addon_data/script.module.metahandler folder

The next update will have option to do just database and no images

Oh and it also looks like your not running the latest beta from the repo Smile


- hasselhof - 2011-12-22 17:43

Hi Eldorado

I'm trying to test your beta version 1.0.99.4
running windows xp
latest nightly from xbmc.org fresh install
no account activated
no other version of ice films addon installed

I've left all settings on default except I selected a download folder,
and I also when prompted download all the picture packs on startup.
I can see all the pictures etc but have currently turned meta data off.

My problem is that I can navigate to the movie latest releases but no sources appear.
The error window appears "An error occurred communicating......"

I tried the icefilms website for the same film via my internet browser and I can play the movie no problem

Could you take the time to have a peek at my log for me thanks


here is my full debug log

http://pastebin.com/Lm87D3gd


- mikey1234 - 2011-12-22 18:06

Eldorado Wrote:On which version? 1.0.20 or the current beta?

Do you get a wait time with your platinum? The current code assumes if you have direct downloads turned on then you are premium, there's really no way to determine what type of account it is if direct downloads is on - which only premium/platinum members can do


i dont get any wait time at all on both as im platinum but just being fussy i like being a "lifetime Platinum" rather than premium

1.0.20 fixed atv2 problem thank you

i have been using your repo to test on pc before updating atv2...i reckon you can update anarchintosh icefilm repo now you only have minor stuff really pc works like a charm

only reason i say that as i dont want to uninstall anarchintosh repo just to put yours on then once released revert back to anarchintosh


- Eldorado - 2011-12-22 18:30

hasselhof Wrote:Hi Eldorado

I'm trying to test your beta version 1.0.99.4
running windows xp
latest nightly from xbmc.org fresh install
no account activated
no other version of ice films addon installed

I've left all settings on default except I selected a download folder,
and I also when prompted download all the picture packs on startup.
I can see all the pictures etc but have currently turned meta data off.

My problem is that I can navigate to the movie latest releases but no sources appear.
The error window appears "An error occurred communicating......"

I tried the icefilms website for the same film via my internet browser and I can play the movie no problem

Could you take the time to have a peek at my log for me thanks


here is my full debug log

http://pastebin.com/Lm87D3gd

You error seems to be this:

Code:
15:27:25 T:7772  NOTICE: ****** ERROR: <urlopen error [Errno 10054] An existing connection was forcibly closed by the remote host>

Have you tried it again? Looks like just an http error, hopefully just a fluke/one time thing.. good to see the error catching pop ups working Smile


- Eldorado - 2011-12-23 00:04

Just pushed in 1.0.99.5 update

Big change here is the tv banners and surrounding logic, I'm really hoping my upgrade code works!! Smile

The rest of the changes are in the changelog

The metahandler DB changed slightly, new column and renamed another.. I put in some temporary code to convert existing DB's as well as uploaded a new DB for new installs... let me know if anything goes wrong, I'm out drinking tonight so likely won't be checking any msgs until mid-afternoon tomorrow Smile

Banner zip file is up, you will get prompted for it to download unless you set the new Icefilms setting to use Posters

Git - https://github.com/Eldorados/icefilms-addon

XBMC Repo - https://github.com/downloads/Eldorados/icefilms-addon/repository.icefilms.testing-1.0.0.zip


- zpanderson - 2011-12-23 03:58

Eldorado Wrote:Just pushed in 1.0.99.5 update

Big change here is the tv banners and surrounding logic, I'm really hoping my upgrade code works!! Smile

The rest of the changes are in the changelog

The metahandler DB changed slightly, new column and renamed another.. I put in some temporary code to convert existing DB's as well as uploaded a new DB for new installs... let me know if anything goes wrong, I'm out drinking tonight so likely won't be checking any msgs until mid-afternoon tomorrow Smile

Banner zip file is up, you will get prompted for it to download unless you set the new Icefilms setting to use Posters

Git - https://github.com/Eldorados/icefilms-addon

XBMC Repo - https://github.com/downloads/Eldorados/icefilms-addon/repository.icefilms.testing-1.0.0.zip


.5 has caused my fanart to stop displaying... any ideas?