New web inferface (Webif) for SamyGO
Re: New web inferface (Webif) for SamyGO 2012-04-21
You can change 06_05_apache.init so it runs parallel with Skype?
UE37D6530 T-GASDEUC-1028 Samygo Hospitality mode hack
Re: New web inferface (Webif) for SamyGO 2012-04-21
@plus60 is this a question (how to do it) or a request? atm i would not touch any files but because it makes trouble it should be fixed in some way
could not found a way to use php in cgi script (maybe i am just too stupid) also tried this but does not work on the busybox (works on PC)
so it seems i have to use php to display additional infos for movies code example:
so here comes the question (poll) would you prefere embeded or seperate view for movies (maybe an additional window or something?)
and output will be UTF-16 or should i try to use UTF-8 (less data transmitted) or something else, but to display all UTF-16 is neccessary
did you also try this? i didjuuso wrote: what about this:
echo "Content-type: text/html; charset=utf-16"
could not found a way to use php in cgi script (maybe i am just too stupid) also tried this but does not work on the busybox (works on PC)
Code: Select all
echo test | sed -e 's_\(.\)_\x00\1_g' | xxd
Code: Select all
<?php
header('Content-Type: text/html; charset=UTF-16');
mb_http_output('UTF-16');
echo mb_convert_encoding('<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body>', 'UTF-16', 'auto');
$filename = "/dtv/usb/sdb/CONTENTS/20120415161645.inf";
$all = file_get_contents($filename, NULL, NULL, -1);
$station = file_get_contents($filename, NULL, NULL, -1, 256);
$name1 = file_get_contents($filename, NULL, NULL, 256, 256);
$name2 = file_get_contents($filename, NULL, NULL, 792, 524);
$description = file_get_contents($filename, NULL, NULL, 1782, 4622);
$language = file_get_contents($filename, NULL, NULL, 6416, 510);
$type = file_get_contents($filename, NULL, NULL, 6926, 256);
echo $station;
echo mb_convert_encoding('<br />', 'UTF-16', 'auto');
echo $name1;
echo mb_convert_encoding('<br />', 'UTF-16', 'auto');
echo mb_convert_encoding($name2, 'UTF-16', 'UTF-16LE');
echo mb_convert_encoding('<br />', 'UTF-16', 'auto');
echo $description;
echo mb_convert_encoding('<br />', 'UTF-16', 'auto');
echo mb_convert_encoding($language, 'UTF-16', 'UTF-16LE');
echo mb_convert_encoding('<br />', 'UTF-16', 'auto');
echo mb_convert_encoding($type, 'UTF-16', 'UTF-16LE');
echo mb_convert_encoding('<br />', 'UTF-16', 'auto');
echo mb_convert_encoding('</body>', 'UTF-16', 'auto');
?>
and output will be UTF-16 or should i try to use UTF-8 (less data transmitted) or something else, but to display all UTF-16 is neccessary
- brunogts77
- Posts: 772
- Joined: Sat Feb 18, 2012 8:34 pm
Re: New web inferface (Webif) for SamyGO
Hi , the scripts on "/mtd_rwdata/widgets/user/SamyGO/SamyGO/etc/init.d" must be deleted? To have the new ones?
UE40JU6000 T-MST12DEUC_1119]
UE55JU6870 T-HKMDEUC-1480 [OSCAM=ON]
UE55JU6870 T-HKMDEUC-1480 [OSCAM=ON]
Re: New web inferface (Webif) for SamyGO 2012-04-21
please don`t quote whole hudge posts...
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
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
AW: New web inferface (Webif) for SamyGO 2012-04-21
Do not delete anything. What you want to do?
- brunogts77
- Posts: 772
- Joined: Sat Feb 18, 2012 8:34 pm
Re: New web inferface (Webif) for SamyGO 2012-04-21
ok, sorry.juuso wrote:please don`t quote whole hudge posts...
UE40JU6000 T-MST12DEUC_1119]
UE55JU6870 T-HKMDEUC-1480 [OSCAM=ON]
UE55JU6870 T-HKMDEUC-1480 [OSCAM=ON]
- brunogts77
- Posts: 772
- Joined: Sat Feb 18, 2012 8:34 pm
Re: AW: New web inferface (Webif) for SamyGO 2012-04-21
It was my mistake, misinterpretation.
Last edited by brunogts77 on Sat Jun 02, 2012 10:51 am, edited 1 time in total.
UE40JU6000 T-MST12DEUC_1119]
UE55JU6870 T-HKMDEUC-1480 [OSCAM=ON]
UE55JU6870 T-HKMDEUC-1480 [OSCAM=ON]
- brunogts77
- Posts: 772
- Joined: Sat Feb 18, 2012 8:34 pm
Re: New web inferface (Webif) for SamyGO 2012-04-21
It would be possible to run samygo widget without needing to open the smart hub every time turn on the tv?
UE40JU6000 T-MST12DEUC_1119]
UE55JU6870 T-HKMDEUC-1480 [OSCAM=ON]
UE55JU6870 T-HKMDEUC-1480 [OSCAM=ON]
AW: New web inferface (Webif) for SamyGO 2012-04-21
Yes sure but there i a seperate thread for this and wiki. But take care when doing this. Risk of brick your TV when doing wrong
- brunogts77
- Posts: 772
- Joined: Sat Feb 18, 2012 8:34 pm
Re: New web inferface (Webif) for SamyGO 2012-04-21
This is the info off my UE46D5700zf
Code: Select all
Widget Server:
Currently used MAC:
DUID: LOG_URL=NULL
CPU: MStar Chip
1st Image version: SWU_T-MST5DEUC_001019_I01_EK000_111019
2nd Image version:
Apache Log
otn stuff
?
networkinfo
SETTING_TYPE=STATIC
DNS_MODE=STATIC
HOST=192.168.1.9
GATEWAY=192.168.1.254
NETMASK=255.255.255.0
DNS=192.168.1.254
nameserver 192.168.1.254
options timeout:3 attempts:1
Other info:
MStar Chip
rootfs / rootfs rw 0 0
/dev/root / squashfs ro,relatime 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
tmpfs /dtv tmpfs rw,relatime,size=30720k 0 0
tmpfs /tmp tmpfs rw,relatime,size=307200k 0 0
tmpfs /dsm tmpfs rw,relatime,size=12288k 0 0
tmpfs /core tmpfs rw,relatime,size=20480k 0 0
/dev/stl0/10 /mtd_rwarea rfs rw,relatime,vfat,llw,iocharset=utf8 0 0
/dev/stl0/11 /mtd_exe squashfs ro,relatime 0 0
/dev/stl0/12 /mtd_rocommon squashfs ro,relatime 0 0
/dev/stl1/37 /mtd_rocommons squashfs ro,relatime 0 0
/dev/stl1/33 /mtd_swu rfs rw,relatime,vfat,llw,iocharset=utf8 0 0
/dev/stl1/34 /mtd_contents rfs rw,relatime,vfat,llw,iocharset=utf8 0 0
/dev/stl1/35 /mtd_rwcommon rfs rw,relatime,vfat,llw,iocharset=utf8 0 0
/dev/stl1/36 /mtd_rwdata rfs rw,relatime,vfat,llw,iocharset=utf8 0 0
none /proc/bus/usb usbfs rw,relatime 0 0
/dev/sda1 /dtv/usb/sda1 ntfs ro,sync,relatime,uid=0,gid=0,fmask=0177,dmask=077,nls=utf8,errors=continue,mft_zone_multiplier=1 0 0
/dev/sda5 /dtv/usb/sda5 xfs rw,relatime,nouuid,attr2,noquota 0 0
/dev/stl0/10 /etc/passwd rfs rw,relatime,vfat,llw,iocharset=utf8 0 0
/dev/stl0/10 /etc/profile rfs rw,relatime,vfat,llw,iocharset=utf8 0 0
192.168.1.251:/home/Public /dtv/usb/sdj/nfs/192.168.1.251/_home_Public nfs rw,relatime,vers=3,rsize=262144,wsize=262144,namlen=255,soft,nointr,nolock,proto=tcp,timeo=70,retrans=3,sec=sys,addr=192.168.1.251 0 0
//192.168.1.182/Users /dtv/usb/sdj/smb/192.168.1.182/Users cifs rw,relatime,unc=\\192.168.1.182\Users,username=sysadmin,addr=192.168.1.182,uid=0,gid=0,file_mode=02767,dir_mode=0777,rsize=16384,wsize=57344 0 0
//192.168.1.251/PUBLIC /dtv/usb/sdj/smb/192.168.1.251/PUBLIC cifs rw,relatime,unc=\\192.168.1.251\PUBLIC,username=sysadmin,addr=192.168.1.251,uid=0,gid=0,file_mode=02767,dir_mode=0777,rsize=16384,wsize=57344 0 0
//192.168.1.251/sysadmin /dtv/usb/sdj/smb/192.168.1.251/sysadmin cifs rw,relatime,unc=\\192.168.1.251\sysadmin,username=sysadmin,addr=192.168.1.251,uid=0,gid=0,file_mode=02767,dir_mode=0777,rsize=16384,wsize=57344 0 0
//192.168.1.164/Users /dtv/usb/sdj/smb/192.168.1.164/Users cifs rw,relatime,unc=\\192.168.1.164\Users,username=sysadmin,addr=192.168.1.164,uid=0,gid=0,file_mode=02767,dir_mode=0777,rsize=16384,wsize=57344 0 0
UE40JU6000 T-MST12DEUC_1119]
UE55JU6870 T-HKMDEUC-1480 [OSCAM=ON]
UE55JU6870 T-HKMDEUC-1480 [OSCAM=ON]