malcolm1978 / anarchintosh-projects

Automatically exported from code.google.com/p/anarchintosh-projects
0 stars 0 forks source link

script failure on the plugin.video.icefilms #69

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.script failure on the plugin.video.icefilms
2.
3.

What is the expected output? What do you see instead?
script failure on the plugin.video.icefilms

What version of the product are you using? On what operating system?
1.0.1 
4.4.4 ios atv2

Please provide any additional information below.
wont load films or tv shows tried with mega account and without 

Original issue reported on code.google.com by coopsterzzz on 2 Jan 2012 at 1:28

GoogleCodeExporter commented 8 years ago
i have exactly the same problem ,from yesterday the only difference is just my 
atv2 version is 4.3  

Original comment by thats.my...@gmail.com on 2 Jan 2012 at 1:37

GoogleCodeExporter commented 8 years ago
same issue. was working fine yesterday. on latest ios jb 4.4 through firecore. 
HELP!

Original comment by ptran1s...@gmail.com on 2 Jan 2012 at 1:40

GoogleCodeExporter commented 8 years ago
same issue here jb 4.4 latest worked fine last night script error this morning 
on all links, tried to reinstall etc and add 2shared option, still no good. 
please help !

Original comment by maxandl...@gmail.com on 2 Jan 2012 at 1:44

GoogleCodeExporter commented 8 years ago
same issue. working fine yesterday then script error today

Original comment by Mikelove...@gmail.com on 2 Jan 2012 at 1:47

GoogleCodeExporter commented 8 years ago
I can confirm this. It has to do with changes at Megaupload.

I noticed two things:

1. "Not a Megaupload link" - causing a list index out of range error - The 
icefilms plugin searches for "View on Megaupload" to identify it as a 
Megaupload link; it should be "View On Megaupload" - notice the capital "O" for 
"On". Once changed the script identifies links as Megaupload links.

2. "wait_time" - causes a list index out of range error - Megaupload does not 
short count down timers anymore. (? why is that anyway?). No timer, no 
wait_time list. changed it to:

def get_wait_time
[...]
if len(wait_time):
   return wait_time[0]
else:
   return 1

Hope this helps.

Original comment by deniz.ke...@gmail.com on 2 Jan 2012 at 1:53

GoogleCodeExporter commented 8 years ago
Thanks for the info above, mine stopped working today also, please could you 
tell me where i would find the file above that needs to be edited?
thanks

Original comment by deejayma...@gmail.com on 2 Jan 2012 at 2:03

GoogleCodeExporter commented 8 years ago
Sure, no problem.

XBMC/addons/plugin.video.icefilms/mega/megaroutines.py

"megaroutines.py" line 193: checker needs to be changed to something else... I 
used '<a class="download_premium_but" href="?c=premium"></a>'

"megaroutines.py" line 198: Change to "View On Megavideo"

"megaroutines.py" line 232 - 233: That's were you find the get_wait_time 
function.

I know that my report has been fairly sloppy. maybe I can submit a patch of 
some sort?

Original comment by deniz.ke...@gmail.com on 2 Jan 2012 at 2:15

GoogleCodeExporter commented 8 years ago
Thanks for getting back to me, where would i find the megaroutines.py file in 
apple tv?

Original comment by deejayma...@gmail.com on 2 Jan 2012 at 2:16

GoogleCodeExporter commented 8 years ago
Not sure, maybe somewhere in /var/ ...

Original comment by deniz.ke...@gmail.com on 2 Jan 2012 at 2:18

GoogleCodeExporter commented 8 years ago
No worries, thankyou very much for your help :-)

Original comment by deejayma...@gmail.com on 2 Jan 2012 at 2:21

GoogleCodeExporter commented 8 years ago
Thanks Deniz, I just used your fixes to get things working on Macos Lion.  

For anybody who needs the location of megaroutines.py on Macos, it is located 
in ~/Library/Application Support/XBMC/addons/plugin.video.icefilms/mega/

I know nothing about Python so it took my a second to figure out that 
get_wait_time should be:

   def get_wait_time(self, source):
       wait_time = re.compile('count=([0-9]+);').findall(source)
       if len(wait_time):
         return wait_time[0]
       else:
         return 1

Original comment by michaela...@gmail.com on 2 Jan 2012 at 2:22

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
 Apple TV 2 Location

/private/var/mobile/Library/Preferences/XBMC/addons/plugin.video.icefilms/

Original comment by deejayma...@gmail.com on 2 Jan 2012 at 2:24

GoogleCodeExporter commented 8 years ago
Could someone post their newly edited megaroutines.py file?

Original comment by deejayma...@gmail.com on 2 Jan 2012 at 2:29

GoogleCodeExporter commented 8 years ago
in addition to comment 14. Is it possible to post megaroutines.py and 
default.py (i think i have made some changes i can't recall).

thanks

Original comment by Ar.V...@gmail.com on 2 Jan 2012 at 2:50

GoogleCodeExporter commented 8 years ago
YAY! It worked, I've attached my edited megaroutines file. Thank you all!

Original comment by beato...@gmail.com on 2 Jan 2012 at 2:51

Attachments:

GoogleCodeExporter commented 8 years ago
YAY! It worked, I've attached my edited megaroutines file. Thank you all!

Original comment by beato...@gmail.com on 2 Jan 2012 at 2:51

GoogleCodeExporter commented 8 years ago
Worked for me too, thankyou so much for posting the file :-) 

Original comment by deejayma...@gmail.com on 2 Jan 2012 at 2:57

GoogleCodeExporter commented 8 years ago
Thanks guys! It worked! 

Original comment by Ar.V...@gmail.com on 2 Jan 2012 at 2:59

GoogleCodeExporter commented 8 years ago
same problem here and copy pasted the megaroutines file into the addon folder 
(see deejayma's post) and it worked.

Thanks to beato and deejayma

Original comment by jenna...@gmail.com on 2 Jan 2012 at 3:06

GoogleCodeExporter commented 8 years ago
Thank all of you very much. Problem Fixed!

Original comment by rafaelae...@gmail.com on 2 Jan 2012 at 3:17

GoogleCodeExporter commented 8 years ago
Thanks for the file worked perfect

Original comment by hamilton...@gmail.com on 2 Jan 2012 at 3:21

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Hi,

Don't know if it was just me (or why me when I see it working for others), but 
the patch didn't work.. Thought I'd update this thread with what I did to fix 
(atv2):

Modify the .py file from beato and change line 198 to "View On Megavideo" which 
does the trick.

Thanks all!  Working great :)

Original comment by stephenh...@gmail.com on 2 Jan 2012 at 3:29

GoogleCodeExporter commented 8 years ago
I have no Idea how to fix this on apple tv... Can you please explain the steps, 
I'm very new to this.

Original comment by Mel...@gmail.com on 2 Jan 2012 at 3:32

GoogleCodeExporter commented 8 years ago
Yes, pleas explain thee step, would be much appreciated! =)

Original comment by joerle...@gmail.com on 2 Jan 2012 at 3:40

GoogleCodeExporter commented 8 years ago
worked for me on ATV2 4.4.4 Thanks & happy new year !!!

Original comment by tcz...@gmail.com on 2 Jan 2012 at 3:51

GoogleCodeExporter commented 8 years ago
The modified 'megaroutines.py' also worked for me.  This new year I am thankful 
for those individuals more intelligent than me when it comes to 
troubleshooting!  Thank you!

Original comment by EvanGD...@gmail.com on 2 Jan 2012 at 4:05

GoogleCodeExporter commented 8 years ago
That worked thanks

Original comment by Mikelove...@gmail.com on 2 Jan 2012 at 4:06

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
For apple tv, all I did was WinSCP into the apple tv then went to 
/private/var/mobile/Library/Preferences/XBMC/addons/plugin.video.icefilms/mega/m
egaroutines.py and all I did was copied and pasted everything from beato's file 
that he posted on to my megaroutines.py file and it worked perfectly

Original comment by redpedr...@gmail.com on 2 Jan 2012 at 4:11

GoogleCodeExporter commented 8 years ago
got sorted - nice work all, thanks and happy new year to you all

Original comment by coopsterzzz on 2 Jan 2012 at 4:18

GoogleCodeExporter commented 8 years ago
Worked Perfectly! Thanks!

Original comment by i...@mitchservice.com on 2 Jan 2012 at 4:18

GoogleCodeExporter commented 8 years ago
I replaced the .py with the edited file but it still won't work. When I click a 
movie, I get "loading video" then it does nothing.

Original comment by deme...@zooglah.com on 2 Jan 2012 at 4:27

GoogleCodeExporter commented 8 years ago
try this one
http://anarchintosh-projects.googlecode.com/issues/attachment?aid=690016000&name
=megaroutines.py&token=A1WHA4HekC5-IuvaaDPuhoEj7nE%3A1325519415884

Original comment by coopsterzzz on 2 Jan 2012 at 4:30

GoogleCodeExporter commented 8 years ago
I downloaded the file on comment 16 and it worked! Thank you guys!

Original comment by mox...@gmail.com on 2 Jan 2012 at 4:33

GoogleCodeExporter commented 8 years ago
@cooper

downloaded and put that file in and still nothing. there is also a .pyc file, 
should I leave that in there as well?

Original comment by deme...@zooglah.com on 2 Jan 2012 at 4:37

GoogleCodeExporter commented 8 years ago
this what i done
SSH into  ATV 2 and go to
/private/var/mobile/Library/Preferences/XBMC/addons/plugin.video.icefilms/mega/

rename megaroutines.py to megaroutines2.py (thus keeping your original as back 
up)
then drag and drop the download file into the same location:
leave every thing else alone :) hope you get it working 

Original comment by coopsterzzz on 2 Jan 2012 at 4:46

GoogleCodeExporter commented 8 years ago
Thanks for the fix!!

Original comment by bradrmar...@gmail.com on 2 Jan 2012 at 4:56

GoogleCodeExporter commented 8 years ago
omg it worked!!! Thanks so much!

Original comment by NadiaMar...@gmail.com on 2 Jan 2012 at 4:56

GoogleCodeExporter commented 8 years ago
Thx - Comment 38

Apple TV now up and working again

Original comment by rob.thor...@gmail.com on 2 Jan 2012 at 4:59

GoogleCodeExporter commented 8 years ago
Worked perfectly for me to! 

Original comment by arthur.k...@gmail.com on 2 Jan 2012 at 5:01

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
@cooper

Still, a no go. I'm doing this on a Mac, would it make a difference on a PC? I 
did exactly as you wrote above. No dice.

Original comment by deme...@zooglah.com on 2 Jan 2012 at 5:04

GoogleCodeExporter commented 8 years ago
Seems to work great - however, when I'm downloading the 228.01MB pack, it says 
"ETA: -1:59", and it's been like that for quite some time now. Seems to be 
frozen, actually. Anyone else experiencing this?

Original comment by andreasb...@gmail.com on 2 Jan 2012 at 5:07

GoogleCodeExporter commented 8 years ago
Replacing the file worked at first but then ATV2 froze so I restarted it and 
now I get the same problem as deme...@zooglah.com.  I don't get the script 
error anymore but it does not load anything.

Original comment by mason.r...@gmail.com on 2 Jan 2012 at 5:07

GoogleCodeExporter commented 8 years ago
I'm a newbie to this apple TV stuff.  Do I have to connect my apple tv to my 
laptop to make these changes or is there a way to do this wirelessly?  Please 
help.

Original comment by solace...@gmail.com on 2 Jan 2012 at 5:12

GoogleCodeExporter commented 8 years ago
@Andreasb - just give it some time... it will work!

Original comment by deniz.ke...@gmail.com on 2 Jan 2012 at 5:15

GoogleCodeExporter commented 8 years ago
@Deniz;

I just restarted it, and it seems to be working OK - however, when I go into a 
movie, like: [Moviename] -> [DVDRip] -> the catalog is just empty .. Anyone 
else experiencing this?

Original comment by andreasb...@gmail.com on 2 Jan 2012 at 5:17

GoogleCodeExporter commented 8 years ago
Thanks coopster...@gmail.com is working for me

SSH into  ATV 2 and go to
/private/var/mobile/Library/Preferences/XBMC/addons/plugin.video.icefilms/mega/

rename megaroutines.py to megaroutines2.py (thus keeping your original as back 
up)
then drag and drop the download file into the same location:
leave every thing else alone :) hope you get it working 

Original comment by Joshsolo...@gmail.com on 2 Jan 2012 at 5:27