Page 1 of 2
Can i make a standalone movie scraper on TV?
Posted: Tue Apr 19, 2016 6:43 pm
by Murdock
Hello!
I made a little python and php online movie scraper (url resolver) program + a TV app for my UE32F5500. The scraper run on my pc or my Zyxel310 NAS.
This is a test video:
https://www.youtube.com/watch?v=ThjUp5mDu5w
I want to run the scraper on the TV to. Is this possible?
I tried PNACL but cross site scripting not allowed.
External, online PHP resolved video url not working because IP mismatch.
Can i run python on the TV?
Re: Can i make a standalone movie scraper on TV?
Posted: Sun Apr 24, 2016 8:28 am
by Murdock
This is the test application. This is a hungarian movie resolver.
2 exe files inside.
a, App installer
b, MovieShark server
http://www.mediafire.com/download/uqwzh ... eShark.zip
I want to run all the stuff on the TV itself.
My TV is UE32F5500 with firmware 2111.
Re: Can i make a standalone movie scraper on TV?
Posted: Sun Apr 24, 2016 11:33 pm
by bobiturboto
Hi you can run cross compiled version of python, but you need rooted tv first.
How to cross compile python you can use some sample tutorials from internet
http://www.csce.uark.edu/~yfrancku/cross-python.html
Re: Can i make a standalone movie scraper on TV?
Posted: Tue Apr 26, 2016 5:18 pm
by Murdock
Thanks! I will check this.
Re: Can i make a standalone movie scraper on TV?
Posted: Fri May 06, 2016 7:28 pm
by Murdock
Hello again.
I cross compiled python to ARMV7.
I can able to run my python server on the TV through Telnet.
But...
I need to set "export LD_LIBRARY_PATH=/mtd_rwcommon/python/lib" in every telnet session.
Please help me. This is the last stage.
I want to set export and start my server when the TV starts or from menu.
How can i do this?
Thanks.
Re: Can i make a standalone movie scraper on TV?
Posted: Fri May 06, 2016 7:36 pm
by juusso
Check /mnt/rcSGO file. Also environment variables can be setted in rc.local. be careful.[FACE WITH MEDICAL MASK]
Sent from my X98 Plus 3G(A6C9) using Tapatalk
Re: Can i make a standalone movie scraper on TV?
Posted: Sun May 08, 2016 5:07 pm
by Murdock
Thanks, but i can't do this.
I fear, i mess something and the TV will not boot anymore if i modify rc.local.
I want to put python to USB instead.
Re: Can i make a standalone movie scraper on TV?
Posted: Wed May 11, 2016 10:40 am
by Murdock
Finally i did it. Python works like a charm. I start it with init script when the TV boots.
But i want to go further!
I can able to edit samyext4.img file. I want to integrate python to it. Where can i add python to the package and how to add python path. Python size is just 20MB.
Re: Can i make a standalone movie scraper on TV?
Posted: Wed May 11, 2016 11:01 am
by zoelechat
Anywhere you want inside /mnt. About path, just edit export in /mnt/etc/rc.sysinit. If you lack space into 128mb check carefully, there is much useless/not-used-anymore (or unnecessary for you) stuff you can free up.
Re: Can i make a standalone movie scraper on TV?
Posted: Wed May 11, 2016 12:55 pm
by Murdock
Ok, Thank you!