playing movies on lookmovie addon not working
when trying to play any movie from 'Movies' section plugin returns 'LookMovie error'.
playing titles from 'TV Shows' section works now without captcha verification.
I started using lookmovie last week, because it has a season of a series I watch which no other addon has. Anyway, here is the (important part of the) log when selecting a movie, on which the addon really fails.
2024-11-04 12:08:13.565 T:866 ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'TypeError'>
Error Contents: unsupported operand type(s) for +: 'NoneType' and 'str'
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.lookmovietomb/main.py", line 752, in <module>
router(sys.argv[2][1:])
File "/storage/.kodi/addons/plugin.video.lookmovietomb/main.py", line 655, in router
ListLinks(exlink, rys)
File "/storage/.kodi/addons/plugin.video.lookmovietomb/main.py", line 591, in ListLinks
add_item(vid_source+'|'+urlk, '[B]'+title + '[/B]', ima, 'playvid',fanart=FANART, folder=False, IsPlayable=True, infoLabels={'plot':plot,'year':year})
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
-->End of Python script error report<--
Good news everyone! A friend of mine saw the issue and suggested a fix.
Changing line 590 of main.py from this
vid_source = list((html.get('streams', None)).values())[2]
to this
vid_source = [x for x in list((html.get('streams', None)).values()) if x][0]
restores the addon's functionality for movies!
If anyone can do a pull request for it, it will be good for everyone.
Good news everyone! A friend of mine saw the issue and suggested a fix.
Changing line 590 of main.py from this
vid_source = list((html.get('streams', None)).values())[2]to thisvid_source = [x for x in list((html.get('streams', None)).values()) if x][0]restores the addon's functionality for movies!If anyone can do a pull request for it, it will be good for everyone.
Hmm.. when I replace the 590 line of code, i can't get the addon to install - invalid structure
No idea sorry. Maybe it needs indentation, because python is very picky about that. Make sure it is as many characters "in" as the previous one. Here it lines up with html = blablabla above and add_item below.
No idea sorry. Maybe it needs indentation, because python is very picky about that. Make sure it is as many characters "in" as the previous one. Here it lines up with
html = blablablaabove andadd_itembelow.
I've been testing a little on windows, when I change the main.py of the addon in data roaming (pre installed) then the movies work ok. If I zip the folder, and try to install -it's not working.
I have managed to make it installable from zip. I have made a pull request for it to be updated. You can find the updated .zip for installation on my github-mbebe-zips-lookmovie- 0.7 version.
https://github.com/amerr97/blomqvist/tree/master/zips/plugin.video.lookmovietomb
@pitsi thank you
The credits must go to my friend who actually fixed it, not to me who posted a log and then tested the fix. I did 10% of the work and he did the remaining 90%.
Having said that, I wish someone like @amerr97 had shown the same interest with pull requests etc when I was testing and fixing fbox by myself.
just updated the plugin using the provided .zip file and it works now. thank you so much guys...
I put the 0.7 version zip file on a thumb drive and used the 'Install from Zip' function in Kodi. After almost giving up hope of Lookmovie ever working again any time soon, it fixed the problem for me, too. It was very easy to do. Thanks.
can anyone guide me on how to install this update?
Im running Xenon Build on KODI and using this add on. I managed to download the 0.7 zip file from @amerr97 and when i try to install from zip. Kodi just crashes.
I assume I am doing it wrong.
I'm not an expert. I use Xenon build, too. The solution described still works for me. I have not had any problem with Kodi and LookMovie since I installed the fix.
On 03/25/2025 11:32 AM EDT Defi Vlad @.***> wrote:
can anyone guide me on how to install this update?
Im running Xenon Build on KODI and using this add on. I managed to download the 0.7 zip file from @amerr97 https://github.com/amerr97 and when i try to install from zip. Kodi just crashes.
I assume I am doing it wrong.
— Reply to this email directly, view it on GitHub https://github.com/mbebe/blomqvist/issues/1084#issuecomment-2751669902, or unsubscribe https://github.com/notifications/unsubscribe-auth/BMISKPHOX5IQEF2NSQIZ6PD2WFZHXAVCNFSM6AAAAABOMB6SI2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONJRGY3DSOJQGI. You are receiving this because you commented.Message ID: @.***>
[defivlad]defivlad left a comment (mbebe/blomqvist#1084) https://github.com/mbebe/blomqvist/issues/1084#issuecomment-2751669902
can anyone guide me on how to install this update?
Im running Xenon Build on KODI and using this add on. I managed to download the 0.7 zip file from @amerr97 https://github.com/amerr97 and when i try to install from zip. Kodi just crashes.
I assume I am doing it wrong.
— Reply to this email directly, view it on GitHub https://github.com/mbebe/blomqvist/issues/1084#issuecomment-2751669902, or unsubscribe https://github.com/notifications/unsubscribe-auth/BMISKPHOX5IQEF2NSQIZ6PD2WFZHXAVCNFSM6AAAAABOMB6SI2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONJRGY3DSOJQGI. You are receiving this because you commented.Message ID: @.***>
Maybe since someone approved the pull request you can try to auto update the addon. We should add year 2025 to the next update, and fix the descriptions. But for now the addon works perfectly
Ok so I have tested several things:
I installed KODI + XENON + MBEBE on my windows PC and then ran the 0.7 zip file and it installed the update, got the add-on updated popup and movies work great now!
So I went back to the firestick and tried again and again KODI crashes after I try to install the zip.
So I fully deleted KODI+XENON off teh firestick and re-installed fresh. Then added the addon from mbebe again. First I tried to play a movie and got the normal error. So then tried the same file 0.7 zip file that worked on my PC and again it crashes KODI.
Could it be it that it doesn't install from firestick @amerr97 ?
Thanks everyone for helping out.
Ok so I have tested several things:
I installed KODI + XENON + MBEBE on my windows PC and then ran the 0.7 zip file and it installed the update, got the add-on updated popup and movies work great now!
So I went back to the firestick and tried again and again KODI crashes after I try to install the zip.
So I fully deleted KODI+XENON off teh firestick and re-installed fresh. Then added the addon from mbebe again. First I tried to play a movie and got the normal error. So then tried the same file 0.7 zip file that worked on my PC and again it crashes KODI.
Could it be it that it doesn't install from firestick @amerr97 ?
Thanks everyone for helping out.
Try installing the membebe one that gets the normal error. Then find the main.py of lookmovie addon on your firestick ( installed one) and then copy our fixed version code from main.py into your preinstalled main.py code and save it.
I hope you understood.
yeah that would be easy if I could see the firestick as a device on the PC via USB..i will play around with this solution thanks
Thanks for all the help. I finally managed to get it to update and now it works great.
Its broken again
Index Error
2025-04-12 23:00:23.872 T:31481 info <general>: Skipped 2 duplicate messages.. 2025-04-12 23:00:23.872 T:31481 error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <class 'IndexError'> Error Contents: list index out of range Traceback (most recent call last): File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.lookmovietomb/main.py", line 752, in <module> router(sys.argv[2][1:]) File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.lookmovietomb/main.py", line 653, in router ListSerial(exlink,rys) File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.lookmovietomb/main.py", line 348, in ListSerial dt = dt[0].replace('\\"',"'").replace('\n','').replace(' ', '') ~~^^^ IndexError: list index out of range -->End of Python script error report<--
I assume the website indexing structure changed since they implemented pay to watch in HD
In main.py find and replace all instances of
>Thread Defence
to
g-recaptcha
so if opened up the zip file of @amerr97 latest zip and edited the main.py and rezipped as a new version it would update kodi from the zip and work?
so if opened up the zip file of @amerr97 latest zip and edited the main.py and rezipped as a new version it would update kodi from the zip and work?
We have to update the file with @kolekan suggestion to fix the addon. it wasnt working the other day
yeah what i did now is I extracted the zip you made and edited the main.py
I will see if it will let me update from zip using Kodi now when I try .
Ok it worked with the @kolekan suggestions. Thank you.
Basically download the latest zip made by @amerr97 Extract the zip Modify main.py Zip again and call it 0.8 Go to Kodi and install from zip again.
Works!
I will post a updated zip tomorrow for other users.
Guys thanks to @kolekan i'm posting a link for 0.8 fix
- I have added year 2024, and 2025 in filter list just download and install/ update
https://github.com/amerr97/blomqvist/tree/master/zips/plugin.video.lookmovietomb
Is the patched version of lookmovie the only addon "from" this repo that still works? It has been a year with literally zero updates on any of the addons, so I want to remove the repo completely.
I just loaded the addon on a new Kodi setup and it worked without any patches.
-------- Original Message -------- On 7/7/25 6:44 PM, pitsi wrote:
pitsi left a comment (mbebe/blomqvist#1084)
Is the patched version of lookmovie the only addon "from" this repo that still works? It has been a year with literally zero updates on any of the addons, so I want to remove the repo completely.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
What version did you use and from where?
Literally a new xenon free build. addon was included and working. Looks like v0.8
-------- Original Message -------- On 7/7/25 6:54 PM, pitsi wrote:
pitsi left a comment (mbebe/blomqvist#1084)
What version did you use and from where?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
I just hope our friend mbebe is just busy, and doing good.
@defivlad So a newer (patched) version and from another repo...
@amerr97 I hope so too :)