IceFilms TV Season/Show Listing Fix/Patch Here XBMC

Moderators: Omen, Abe

Forum rules
For Search Purposes Only.. Any Violation Will Be Punished With "Death By Mugumba!"

Topic Author
source_code
no0b
Posts: 2

IceFilms TV Season/Show Listing Fix/Patch Here XBMC

Post#1 » Sun Oct 09, 2011 6:11 pm

Hello guys,
this is my first post on IF forum.

I was going through the python code for "default.py"

and within minutes was able to fix the tv listing issue.

Here is the fix.

goto
xbmc/addons/plugin.video.icefilms

open "default.py" in your favorite python editor.

goto:

Line 1071

it should look like this

season_list=re.compile('<h4>(.+?)</h4>').findall(ep_list)

change it to:

season_list=re.compile('<h3>(.+?)</h3>').findall(ep_list)

next

goto

Line 1105

it should look like this

match=re.compile('<h4>'+name+'.+?/h4>(.+?)<h4>').findall(source)

edit it to make it match this code

match=re.compile('<h3>'+name+'.+?/h3>(.+?)<h4>').findall(source)

save and close "default.py"

and you should see all tv seasons and episodes

the only draw back that i noticed was rather visual

since the application works like a scraper

scraping h4 tags for seasons available, also shows the href "a" link tags. however it does not hinder the functionality what so ever.

have fun guys.

To the developers of icefilms and xbmc addon. Thank you for this great website and plugin.

A much novice python guy - source_code
Last edited by Nevermore669 on Wed Oct 12, 2011 4:37 pm, edited 1 time in total.
Reason: clarified topic

Return to “XBMC”

Who is online

Users browsing this forum: No registered users and 1 guest