New web inferface (Webif) for SamyGO

Here are software that related with Samsung D series TVs.
Please don't create any new topic here unless you have software to post/release.

User avatar
brunogts77
Posts: 768
Joined: Sat Feb 18, 2012 8:34 pm

Re: New web inferface (Webif) for SamyGO

Post by brunogts77 »

Code: Select all

@ phpsysinfo $ awk
VDLinux-BusyBox v1.14.3-VD Linux VDLinux.1.2.1.x (2011-01-18 11:04:20 KST) multi-call binary
Usage: awk [OPTION]... [program-text] [FILE...]
Options:
	-v var=val	Set variable
	-F sep		Use sep as field separator
	-f file		Read program from file

Code: Select all

@ phpsysinfo $ busybox awk
BusyBox v1.18.3 (2011-11-30 14:09:44 CET) multi-call binary.
Usage: awk [OPTIONS] [AWK_PROGRAM] [FILE]...
Options:
	-v VAR=VAL	Set variable
	-F SEP		Use SEP as field separator
	-f FILE		Read program from FILE 
Last edited by brunogts77 on Sat Jun 02, 2012 10:56 am, edited 1 time in total.
UE42F5570 T-MST12DEUC_1119] [OTN=OFF] [OSCAM=ON]
UE55JU6870 T-HKMDEUC-1480 [OSCAM=ON]
DEUS
Official SamyGO Developer
Posts: 316
Joined: Mon Feb 06, 2012 12:05 pm
Location: Germany

Re: New web inferface (Webif) for SamyGO

Post by DEUS »

output of next line please
/mtd_rwcommon/widgets/user/SamyGO/SamyGO/bin/busybox
DEUS
Official SamyGO Developer
Posts: 316
Joined: Mon Feb 06, 2012 12:05 pm
Location: Germany

Re: New web inferface (Webif) for SamyGO

Post by DEUS »

output of:
echo "true" | sed 's_true_false test_g' | busybox awk -F " " ' {print $2} '
User avatar
brunogts77
Posts: 768
Joined: Sat Feb 18, 2012 8:34 pm

Re: New web inferface (Webif) for SamyGO

Post by brunogts77 »

Code: Select all

@ phpsysinfo $ echo "true" | sed 's_true_false test_g' | busybox awk -F " " ' {print $2} '
@ phpsysinfo $ /mtd_rwcommon/widgets/user/SamyGO/SamyGO/bin/busybox
sh: /mtd_rwcommon/widgets/user/SamyGO/SamyGO/bin/busybox: not found
Last edited by brunogts77 on Sat Jun 02, 2012 10:36 am, edited 1 time in total.
UE42F5570 T-MST12DEUC_1119] [OTN=OFF] [OSCAM=ON]
UE55JU6870 T-HKMDEUC-1480 [OSCAM=ON]
DEUS
Official SamyGO Developer
Posts: 316
Joined: Mon Feb 06, 2012 12:05 pm
Location: Germany

Re: New web inferface (Webif) for SamyGO

Post by DEUS »

now just this two
echo "true" | sed 's_true_false test_g'
echo "false error" | busybox awk -F " " ' {print $2} '
User avatar
brunogts77
Posts: 768
Joined: Sat Feb 18, 2012 8:34 pm

Re: New web inferface (Webif) for SamyGO

Post by brunogts77 »

Code: Select all

@ phpsysinfo $ echo "false error" | busybox awk -F " " ' {print $2} '
Last edited by brunogts77 on Sat Jun 02, 2012 10:36 am, edited 1 time in total.
UE42F5570 T-MST12DEUC_1119] [OTN=OFF] [OSCAM=ON]
UE55JU6870 T-HKMDEUC-1480 [OSCAM=ON]
DEUS
Official SamyGO Developer
Posts: 316
Joined: Mon Feb 06, 2012 12:05 pm
Location: Germany

Re: New web inferface (Webif) for SamyGO

Post by DEUS »

second command? anyway will go to bed now n8

Code: Select all

echo "false error" | busybox awk -F " " ' {print $2} '
got it thx, awk is the problem
User avatar
brunogts77
Posts: 768
Joined: Sat Feb 18, 2012 8:34 pm

Re: New web inferface (Webif) for SamyGO

Post by brunogts77 »

DEUS wrote:second command? anyway will go to bed now n8
Ok, thanks Deus.
UE42F5570 T-MST12DEUC_1119] [OTN=OFF] [OSCAM=ON]
UE55JU6870 T-HKMDEUC-1480 [OSCAM=ON]
DEUS
Official SamyGO Developer
Posts: 316
Joined: Mon Feb 06, 2012 12:05 pm
Location: Germany

Re: New web inferface (Webif) for SamyGO

Post by DEUS »

@juuso no write access to this folder can you upload one more and a txt with some garbage like this?

Code: Select all

test:test1:free:free1:free3:garbage
testab:testab1:freeab:freeab1:freeab3:garbageab
@all any better idea to load files from SF? if not will parse site and then download (basicaly same as right now) but no description (any idea? put a textfile with module name and desc also in this folder)
@brunogts77 no need to qoute me every time. maybe edit previous long post with code tag as well if there are some. you did second, did not see it.

why "busybox awk" is working not as expected? should be working same as on ARM or?
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: New web inferface (Webif) for SamyGO

Post by juusso »

juuso wrote:@DEUS: what about move fetching of modules to SF file area: found files=available modules (https://sourceforge.net/projects/samygo/files/WebIF/).
Seems curl of D5 series don`t know how to fetch the your given url. Same is on B series - no webpage is fetched.
SF is better, because: ~20 mirrors - ok, when forum is offline because of host problems (it happens time to time, especially at weekends), some kind of statistic available, easy to update module etc.
I see here few scenarios:
1. File list (withhout readme file, only modules on this page):

Code: Select all

curl -s http://sourceforge.net/projects/samygo/files/WebIF/ | w3m -dump -T text/html | awk 'BEGIN{FS="Totals";RS="---"}/</{print $2}'|awk 'NR>1{print $1}'
2. With readme file attached. Gets module names (and descriptions-currently missing on cmd line) from readme file...

Code: Select all

curl -s http://sourceforge.net/projects/samygo/files/WebIF/ | w3m -dump -T text/html | awk 'BEGIN{FS="Files for WebIF:";RS="---"}/</{print $2}'| awk '!/Source/{print $1}'
...and get download link (curl -L to follow http redirects):

Code: Select all

curl -Ls http://sourceforge.net/projects/samygo/files/WebIF/$Module_name/downloas -o $Module_name
for example:

Code: Select all

curl -Ls http://sourceforge.net/projects/samygo/files/WebIF/poor_webif.SGO_ext.tar/download -o ./poor_webif.SGO_ext.tar
New version same name replaces old versions automatically - not needed to change url links...
have w3m working on B series. Will make module and attach the webif module today.

DEUS wrote:@juuso no write access to this folder..

Need to call Erdem to give the sf access for you. This can take time...
@all any better idea to load files from SF? if not will parse site and then download (basicaly same as right now) but no description (any idea? put a textfile with module name and desc also in this folder)
Module name can contain some short description. Or description can be taken from attached readme file.

EDIT: this works on B series, haven`t tried to install via webif. May work on D series too. i hope. Not for D5500/5700!
w3m_arm.SGO_ext.tar
Mstar module is needed to build if method with w3m is acceptable for you.
You do not have the required permissions to view the files attached to this post.
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

Post Reply

Return to “[D] Software”