PDA

View Full Version : Ifilm script problem today?


eppitek
2005-03-04, 23:35
hey,

is anyone else having a problem with the ifilm script today or is it just me?

i can play the viral videos because they launch when you clikc the title but for other sections where the script takes you to another page (scrolling description on top, click title again to play) ... there is nothing on the second page to click anymore

can someone else check their xbox and let me know if its just my problem or it has nothing to do with me? thanks

it was working as of last night so i am not sure whats up


thanks

eppitek
2005-03-05, 01:41
can someone else check their ifilm browser and let me know if the problem is just me or its everyone?

thanks

volks
2005-03-05, 18:56
i'm having the same problem.

deej411
2005-03-05, 23:24
yup same here just came to check i wasnt alone. anyone know whats up or do we just wait for it to fix itself. lol :nuts:

DiGiTaL_SiN
2005-03-06, 20:50
i have the same problem too, i think a fix is on the way.

SupaDawg
2005-03-06, 21:45
sean mcgee @ xbmc.org

aprox 24 hours ago i've noticed that the ifilm browser is no longer working. it's only the pages which bring up a sub page with the synopsis of what you're about to watch (ie everything bar viral videos).
i have figured out that they (ifilm) have changed the name of their javascript function from being.
javascript:playvideo
to
javascript:launchplayer
which is what the script uses to find the links on the synopsis page.
accordingly i've made changes to the string within ifilmbrowse2.py to support the new naming convention.
also it would appear that they may now have ' ' (quotation marks) around the id of the film you're wishing to view.
again i've made changes on my machine.
to make the changes which i have made go to the ifilmbrowse2.py script and replace the line making reference to javascript (there's only one of them) to the following:
linkre = re.compile('"javascript:launchplayer\(\'(.+?)\', .*<div class="ftmargin head2">\s*(.+?)\s$\s*</div>',re.multiline + re.dotall)
hopefully that will post without any characters getting stripped.
note that my solution has the extreme limitation of only displaying one link off the synopsis page, so that when their are multiple links on the synopsis page it only grabs the first video link and calls it by the name of the last video link on the page. i'm buggered though it's 2:19am here i started working on this two hours ago and just finished. not bad for someone who's never read a python script until two hours ago :) i'm sure someone out there will look at my solution and go "oh! blah blah blah fixed!".
but just thought i'd share anyway, love these python scripts they're great for watching videos off the internet on the xbox.



i only use mine for viral stuff, so i'm fine, but i came across this post at another forum... hope it helps.

stang5150
2005-03-07, 02:47
thanx for the post supadawg. that fixed it.

eppitek
2005-03-07, 05:58
thanks to everyone who helped find and fix the problem

dsiminiuk
2005-03-07, 06:06
thanks supadawg for the tip. mine is now working as you describe. i.e. only the first movie clip appears where there were multiples before. for example movies->"phantom of the opera". the only video that is clip that is listed and playable is "sword fight" and not the trailers that used to be there.

is there a way to make it the way it was?

after installing xmbc on a few friends xboxes they are calling me about it now too.

python is not my thing or i'd take a crack at it.

dsiminiuk

obstler
2005-03-07, 21:24
hi,

to make the ifilm script work like before with all different sublinks showing, change the line


linkre = re.compile('"javascript:playvideo\((.+?),56.+?<div class="ftmargin head2">\s*(.+?)\s$\s*</div>',re.multiline + re.dotall)


to


linkre = re.compile('"javascript:launchplayer\(\'(.+?)\', \'default\'.+?<div class="ftmargin head2">\s*(.+?)\s$\s*</div>',re.multiline + re.dotall)


in your ifilmbrowser.py script, and everything should work fine again. this hasn't been extensively tested, of course, but a few quick tests showed it just working fine for multiple subentries.

dsiminiuk
2005-03-08, 02:04
tested and working here. thank you very much.

dsiminiuk

eppitek
2005-03-08, 05:28
now for some reason i click on the name, then the video i want in the subcategory, it looks like its gunna load & play but then flicks to a black screen & then back to the subcategory selection screen

(btw, i am using the 3-4?-05 xbmc)

obstler
2005-03-08, 13:24
now for some reason i click on the name, then the video i want in the subcategory, it looks like its gunna load & play but then flicks to a black screen & then back to the subcategory selection screen

(btw, i am using the 3-4?-05 xbmc)
that build has a known problem with http streaming. so you will need to get another (newer or older) for ifilm playback.

deej411
2005-03-11, 07:56
thanks for the fix
up and running again
:bowdown: :thumbsup:

jsvensso
2005-03-11, 09:36
could someone please post a link to a working ifilm and ifilm2 script?

because my changes does not seem to work.... http://www.xboxmediaplayer.de/forums/non-cgi/emoticons/cry.gif

LostIt
2005-03-14, 11:32
bump!

thanks for the fix!

jsvensso
2005-03-14, 15:36
also the script runner installs a non working ifilm script, why?

jsvensso
2005-03-17, 09:47
:bump:


:help:
could anyone please put the fixed scripts up somewhere for download?

ceomr
2005-03-17, 10:27
:shifty: ifilmbrowser.rar (http://www.konsolenumbau.at/ceomr/files/ifilmbrowser.rar)

___
konsolenumbau.at (http://www.konsolenumbau.at)
ceomr mediacenter skin (http://www.konsolenumbau.at/ceomr/ceomrmediacenter.rar)
xbmc preview video (http://www.konsolenumbau.at/ceomr/xbmc_video.htm)

Pazzo
2005-03-17, 13:40
i'm having so much fun browsing the forum, i guess after a day surfing everything works fine !!!!!! :lol:

jsvensso
2005-03-17, 13:49
:bowdown:

thanks!!!

avatar
2005-03-18, 13:18
hey guys i've made a working modded version over at xbmc.org too
http://xbmc.org/forum/viewtopic.php?p=11524#11524

it uses wma format and also actually requests the film the same way as windows media player does (hits their asx with a query for the film id and your selected bandwidth and it spits back a playlist which the ifilmbrowse2fixwmv.py grabs and plays).
check it out and let me know what you guys think.
thanks,
sean

jsvensso
2005-03-18, 16:51
:thumbsup:

avatar
2005-03-24, 04:17
looks like it's busted again fellas, this time i think they've made some major changes. the bit of code which pulls the links to the movies out of the web page has just ceased to function. that's the ugliest bit of code in the whole script too it links to several defs by the looks of it. :no:
i'll need at least a couple of hours spare to sort this one out even though i've figured out most of python's tricks it's sorting out the way ifilm's new page calling system works.
if anyone is a complete gun with python please help.
:help:

jsvensso
2005-03-24, 11:14
yea, i spotted this too.... but i am very grateful that you are already on to it. i wish i knew python. if i get some spare time i certanly will give it a try...

but at the moment i just want to thank you for already analysing it... :thumbsup:

avatar
2005-03-25, 03:02
i've got a fix guys, i currently have movies and shorts working, viral films i've got to fix and i haven't tested the others.
if anyone wants some of my wip (work in progress) so they can watch movies or shorts post a reply to this message.
there's a heap of changes, so i'll have to host it on a website so you can download the file i suppose.
in any case reply to this post if you want the wip.
:thumbsup:

uglyb0b
2005-03-25, 03:26
i would like the wip. thanks.

ceomr
2005-03-25, 03:56
i would like to be your host * :saint:

vrod
2005-03-25, 05:14
i too would like the wip.

gmackenz
2005-03-25, 06:00
love to test it out, my wife was very sad as she had recently got quite addicted to ifilm on the xbox.

avatar
2005-03-25, 10:41
everyone,
i'm happy to post my wip now, i've got everything working bar genres. *this version of the script is based off the script i previously released on xbmc.org which was based on the version which alex solex released prior to that (i could go all the way back to the original author but i won't (kudos to bogorman)) :).
if you don't already have alex solex's ifilm browser ii script get it from:
http://xbmc.free.fr/python/ifilmbrowserii.rar
^ the ifilmbrowse2.py file won't work on it's own, it's now two updates old, but it is what my fix script uses for it's graphics (the skin).

you'll need my script which can be downloaded from:
http://www.konsolenumbau.at/ceomr/files/ifilmbrowse2-fix-wmv-wip.zip
big thanks to ceomr for hosting it too :agree: .
to get it working you'll need to extract and place my python script file into the scripts folder that ifilmbrowse2.py is in (not the ifilmbrowser folder which contains all the graphics).

i would have like to have got genres working but for all i know ifilm will change their website again tomorrow (mutter mutter). :veryangry:
the other thing is viral now gives you a synopsis which was actually unintentional, but kinda cool because half the time you don't know what you're looking at on viral.
so no point pulling an all nighter :sleep:
if i get time during the week i'll probably take a crack at getting genres going, and tidy things up a bit. *:thumbsup:

p.s ceomr has put the script in with a different background it can be downloaded from:
www.konsolenumbau.at/ceomr/files/ifilmbrowser.rar
it won't have alex's project mahem ii themed backgrounds though however, probably a good thing it's all in one package however.

alteredinertia
2005-03-26, 13:21
excellent work avatar!!

it works a treat as i wasnt getting any videos coming up in the lists. this stuff has made me want to get back into programming!!! i used to program blitz basic on the amigas years ago, but looking through the scripts, its all coming back to me!!

again, nice work.

Hanselel
2005-03-26, 18:50
it's not working, i get a black screen.

gmackenz
2005-03-26, 19:33
it's not working, i get a black screen.
works great for me and my wife (who now loves the xbox for the ifilmbrowser, thus will love me for providing it).

don't know what to tell you...does the kmlbrowser and the apple trailer scripts work?

you've made sure to have the ifilmbrowser sub directory within the /scripts directory? none of the capitalizations of the sub directory "ifilmbrowser" missing? all the artwork there in the sub directory?

right version of xbmc? needs to be no more than a week or so old i think.

alteredinertia
2005-03-26, 20:06
it's not working, i get a black screen.
it works just fine. download both files and put the first in your script folder. then put the second .py file(avatars own) in with the first so that both .py files are together, then start by selecting avatars fixed script.

alteredinertia
2005-03-26, 20:28
it's not working, i get a black screen.
works great for me and my wife (who now loves the xbox for the ifilmbrowser, thus will love me for providing it).

don't know what to tell you...does the kmlbrowser and the apple trailer scripts work?

you've made sure to have the ifilmbrowser sub directory within the /scripts directory? none of the capitalizations of the sub directory "ifilmbrowser" missing? all the artwork there in the sub directory?

right version of xbmc? needs to be no more than a week or so old i think.
heheh
yep, my wife has suddenly took an interest in my xbox when she noticed me flicking through launch.coms music vids. its amazing what you can get out of the old box with a bit of reading up and messing about.

avatar
2005-03-27, 01:49
it's not working, i get a black screen.
do what gmackenz told you and alteredinertia and it should all work fine, it's exactly what i would have said, thanks guys. :)
yeah my mrs doesn't mind me tinkering with the ifilm browser because she loves it too.
alteredinertia i've got a link to the page that i found most helpful in understanding the python command which grabs stuff from html.
http://docs.python.org/lib/re-syntax.html
knowledge in how html is written helps too but python is reasonably logical other than that, it is semi object oriented too so you may find it a little different to what you've done before but there's some good tutorials on object oriented programming. there's a few other docs off that python.org page that are good too. but that link was what was most useful to me in going from a c++ background to python.

alteredinertia
2005-03-27, 14:37
thanks avatar

i can see myself really getting into this!

ceomr
2005-04-09, 12:08
:fixed: ifilmbrowser with working genre_screens

http://www.konsolenumbau.at/ceomr/files/ifilmbrowser.rar

cheers ceomr

00g
2005-04-10, 03:56
:fixed: ifilmbrowser with working genre_screens

http://www.konsolenumbau.at/ceomr/files/ifilmbrowser.rar

cheers ceomr
you are the man.

thanks a lot for posting this. i was sad when ifilms went down.