Can i make a standalone movie scraper on TV?

Ideas and dreaming will go this forum

User avatar
Murdock
SamyGO Project Donor
Posts: 236
Joined: Tue Apr 19, 2016 2:10 pm

Can i make a standalone movie scraper on TV?

Post 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?
User avatar
Murdock
SamyGO Project Donor
Posts: 236
Joined: Tue Apr 19, 2016 2:10 pm

Re: Can i make a standalone movie scraper on TV?

Post 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.
bobiturboto
SamyGO Project Donor
Posts: 489
Joined: Sun Mar 23, 2014 8:15 pm
Location: Bulgaria

Re: Can i make a standalone movie scraper on TV?

Post 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
User avatar
Murdock
SamyGO Project Donor
Posts: 236
Joined: Tue Apr 19, 2016 2:10 pm

Re: Can i make a standalone movie scraper on TV?

Post by Murdock »

Thanks! I will check this.
User avatar
Murdock
SamyGO Project Donor
Posts: 236
Joined: Tue Apr 19, 2016 2:10 pm

Re: Can i make a standalone movie scraper on TV?

Post 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.
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: Can i make a standalone movie scraper on TV?

Post 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
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
User avatar
Murdock
SamyGO Project Donor
Posts: 236
Joined: Tue Apr 19, 2016 2:10 pm

Re: Can i make a standalone movie scraper on TV?

Post 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.
User avatar
Murdock
SamyGO Project Donor
Posts: 236
Joined: Tue Apr 19, 2016 2:10 pm

Re: Can i make a standalone movie scraper on TV?

Post 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.
zoelechat
SamyGO Moderator
Posts: 8615
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: Can i make a standalone movie scraper on TV?

Post 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.
I do NOT receive any PM. Please use forum.
User avatar
Murdock
SamyGO Project Donor
Posts: 236
Joined: Tue Apr 19, 2016 2:10 pm

Re: Can i make a standalone movie scraper on TV?

Post by Murdock »

Ok, Thank you!

Post Reply

Return to “[F] Brainstorm”