Can i make a standalone movie scraper on TV?

Ideas and dreaming will go this forum

Murdock
SamyGO Project Donor
Posts: 74
Joined: Tue Apr 19, 2016 2:10 pm

Can i make a standalone movie scraper on TV?

Post by Murdock » Tue Apr 19, 2016 6:43 pm

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?
UE32F5500AW T-MST12DEUC-2111.1 MY PATREON WEBSITE

Murdock
SamyGO Project Donor
Posts: 74
Joined: Tue Apr 19, 2016 2:10 pm

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

Post by Murdock » Sun Apr 24, 2016 8:28 am

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.
UE32F5500AW T-MST12DEUC-2111.1 MY PATREON WEBSITE

bobiturboto
SamyGO Project Donor
Posts: 382
Joined: Sun Mar 23, 2014 8:15 pm
Location: Ireland

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

Post by bobiturboto » Sun Apr 24, 2016 11:33 pm

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

Murdock
SamyGO Project Donor
Posts: 74
Joined: Tue Apr 19, 2016 2:10 pm

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

Post by Murdock » Tue Apr 26, 2016 5:18 pm

Thanks! I will check this.
UE32F5500AW T-MST12DEUC-2111.1 MY PATREON WEBSITE

Murdock
SamyGO Project Donor
Posts: 74
Joined: Tue Apr 19, 2016 2:10 pm

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

Post by Murdock » Fri May 06, 2016 7:28 pm

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.
UE32F5500AW T-MST12DEUC-2111.1 MY PATREON WEBSITE

User avatar
juusso
SamyGO Moderator
Posts: 9664
Joined: Sun Mar 07, 2010 6:20 pm

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

Post by juusso » Fri May 06, 2016 7:36 pm

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
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, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE

Murdock
SamyGO Project Donor
Posts: 74
Joined: Tue Apr 19, 2016 2:10 pm

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

Post by Murdock » Sun May 08, 2016 5:07 pm

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.
UE32F5500AW T-MST12DEUC-2111.1 MY PATREON WEBSITE

Murdock
SamyGO Project Donor
Posts: 74
Joined: Tue Apr 19, 2016 2:10 pm

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

Post by Murdock » Wed May 11, 2016 10:40 am

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.
UE32F5500AW T-MST12DEUC-2111.1 MY PATREON WEBSITE

zoelechat
SamyGO Moderator
Posts: 7786
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

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

Post by zoelechat » Wed May 11, 2016 11:01 am

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.

Murdock
SamyGO Project Donor
Posts: 74
Joined: Tue Apr 19, 2016 2:10 pm

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

Post by Murdock » Wed May 11, 2016 12:55 pm

Ok, Thank you!
UE32F5500AW T-MST12DEUC-2111.1 MY PATREON WEBSITE

Post Reply

Return to “[F] Brainstorm”