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.

DEUS
Official SamyGO Developer
Posts: 316
Joined: Mon Feb 06, 2012 12:05 pm
Location: Germany

Re: New web inferface (Webif) for SamyGO 2012-04-15

Post by DEUS » Mon Apr 16, 2012 4:45 pm

@brunogts77, waiting for Feedback
@SatTel just thinking about to add a FW dtection to start script to not harm recording please disable script right now, now i can remember had the same Recording error with 1018
@Spoza have you any Feedback (is documentation better to understand now?) files where infos on your TV. Anyway will Add verose expected output in different Color if not found.
@all any Feedback maybe some positiv mental support ;-)

Spoza
Posts: 252
Joined: Wed Jan 18, 2012 10:41 pm

Re: New web inferface (Webif) for SamyGO 2012-04-15

Post by Spoza » Mon Apr 16, 2012 6:03 pm

juuso wrote:Sure our user Sposa is ready to help you (i hope i`m right) not only by talking, but also by doing something usefull.
Sure I'm ready to help if you give me comprehensive instructions what to do since I'm neither developer, nor Linux expert. However, I'm experienced old-school computer user "born in command line", so it doesn't have to be instructions for GUI-dummies.

The list of partitions you posted looks very similar to "partitions.txt", which can be obtained by anybody simply by decrypting the firmware file using the tools available in SVN. No TV is necessary for that.
Is that what you are looking for?

DEUS:
Is the bunch of .TXT files a result of the moviemanager script? It looks like it is...
First of all, I personally don't like such garbage being created around the disk, for example because if I delete a recording, the TXT file remains on the disk creating clutter. So I would appreciate if it could be done without those intermediate files. Second, it looks like a wrong codepage translation is done when those files are created since the incorrect text is contained in the TXT files already.
I will check the new scripts and provide more details hopefully later today, my family has a priority right now ;-).
PS59D6900 T-MST5DEUC-1023.0

SatTel
Posts: 24
Joined: Sun Apr 08, 2012 7:23 pm

Re: New web inferface (Webif) for SamyGO 2012-04-15

Post by SatTel » Mon Apr 16, 2012 6:24 pm

juuso wrote:The PVR drm dissable wont work on 1018 version needed to get new patch for this. Seems samsung changed drm behaviour on latest firmwares.
Can I help somehow to solve the Problem?

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

Re: New web inferface (Webif) for SamyGO 2012-04-15

Post by juusso » Mon Apr 16, 2012 6:34 pm

SatTel wrote: Can I help somehow to solve the Problem?
Yes, actually if you can reverse engineer the exeDSP and samdrv.ko, i believe you could find where we have to patch the PVR function to have not scrambled recordings.
Spoza wrote:The list of partitions you posted looks very similar to "partitions.txt"
Yes, this is exact what i`ve posted.
Spoza wrote:Sure I'm ready to help if you give me comprehensive instructions what to do
Actually i don`t have any instruction for you. I just suggest to give support to DEUC by his requests about mstar device. I think if you`re cmdline friendly, you could check the Info.cgi, here is bash code inside.
Check commands and perhaps here only is needed to change some path or name of target files to get info. I`m talking about empty rows where you say here is definitely some info missing...
I think DEUC could tell you more detail what you have to look for.
DEUS wrote: @all any Feedback maybe some positiv mental support ;-)
As you noticed, i really like this "framed" version. Off course! great job! ;)

Some notices: i understand that new webgui will be shipped as part of Extensions soon, so installation part is not really important and it is enough to know the "http://"TV IP Address"/cgi-bin/Modules.cgi". Maybe redirect from index.html made this much easier for "just" USERS. But i don`t know if it is worth to spend time for this...
The links for TAB devices should be hidden for desktops or maybe Navigation frame could be device-dependent.
I believe the Info page will be some kind part of Welcome page and not the php info page :)
File manager requires to be started in _blank
The Modules it is almost what i was looking for - i have`nt tried to use custom address and module name, i believe it works as expected too.
The Movie manager - i was a bit confused with this, too much place for one file, i think some data like creation date, language etc could be in small letters and this table should be more compact (imagine hundred recordings in the list in same style...) Preview (or View) works, thanks (we don`t have embedded player here? :roll: )
Some kind of time remaining for decrypting is needed (or percentage? or whatever? because decrypting takes some time, and here is not known how many time it is required to wait.)
The Service: as i already said - some of (shares) scripts require some manual configuration. Or this could be made from File manager? then - some kind of direct link to file for editing in file manager? some kind of:

Code: Select all

http://192.168.1.202/phpsysinfo/file.php?action=7&dir_atual=/dtv/www/phpsysinfo/&filename=distros.ini
But this should open in separate "edit" window and (hopefully) close too.
Yes, for USERS the best way is to let edit just some parts of the script (server`s IP, user name etc) without access to whole script.

I know the WebIF is just in pre-alpha stage, so not the design is here important, but working functions. I hope i can add smth useful too.
I just want to let you know - even if here is not much feedback, you should know your work here is highly appreciated!
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

Spoza
Posts: 252
Joined: Wed Jan 18, 2012 10:41 pm

Re: New web inferface (Webif) for SamyGO 2012-04-15

Post by Spoza » Mon Apr 16, 2012 7:28 pm

juuso wrote:
Spoza wrote:The list of partitions you posted looks very similar to "partitions.txt"
Yes, this is exact what i`ve posted.
Okay, so is there anything still needed from me? Sorry, it's simply not clear.
juuso wrote:I think if you`re cmdline friendly, you could check the Info.cgi, here is bash code inside.
You see? There it is - "command line" is not the same as "bash"... The fact that I can write some Windows batch scripts doesn't necessarily mean that I perfectly understand what a bash script does.
juuso wrote:Check commands and perhaps here only is needed to change some path or name of target files to get info. I`m talking about empty rows where you say here is definitely some info missing...
I wouldn't be so optimistic... I went via FTP through perhaps all TV directories and didn't find anything that would give the missing pieces of info. I mean anything similar to what the scripts reads now :-\.
PS59D6900 T-MST5DEUC-1023.0

SatTel
Posts: 24
Joined: Sun Apr 08, 2012 7:23 pm

Re: New web inferface (Webif) for SamyGO 2012-04-15

Post by SatTel » Mon Apr 16, 2012 8:09 pm

juuso wrote:
SatTel wrote: Can I help somehow to solve the Problem?
Yes, actually if you can reverse engineer the exeDSP and samdrv.ko, i believe you could find where we have to patch the PVR function to have not scrambled recordings.
Sorry but for me the same applies as for Spoza, i'm not a developer, i have some konweledge of Linux but I have not been programmed or used a compiler.

Spoza
Posts: 252
Joined: Wed Jan 18, 2012 10:41 pm

Re: New web inferface (Webif) for SamyGO 2012-04-15

Post by Spoza » Mon Apr 16, 2012 9:37 pm

DEUS wrote:@Spoza have you any Feedback (is documentation better to understand now?) files where infos on your TV.
Okay, I think I see where the character corruption problem is...
First, your script thinks that the text in INF is UTF-8 encoded... but that's not true, it's Unicode encoded.
Second, you expect that there is also ASCII encoded recording name in the INF, but that's not true, it's Unicode encoded on both places (Big Endian on one place, Little Endian on the second place :-O ).
All that info is related to the 7464-byte INF files (I know from the Ramses' SamyGO PVR Manager documentation on the website that there are also smaller INF files produced by other TV models... can't speak for these, my TV produces the bigger ones).

Attached are 3 INF files (originals created by the TV, untouched by the SamyGO PVR Manager, to eliminate the possibility of incorrect editing) together with screenshots from SamyGO PVR Manager to show how the texts should be displayed correctly.
You do not have the required permissions to view the files attached to this post.
PS59D6900 T-MST5DEUC-1023.0

DEUS
Official SamyGO Developer
Posts: 316
Joined: Mon Feb 06, 2012 12:05 pm
Location: Germany

Re: New web inferface (Webif) for SamyGO 2012-04-15

Post by DEUS » Mon Apr 16, 2012 11:11 pm

@Spoza yes i saw this, one of the ugly workarounds i made, also already loaded 2 of the inf files from there, also want to see recording times in file have to check the files, funny is android browser shows it the right way, if you check the scripts there are many of those, will be fixed sooner or later

@juuso for editing i have something but need to ensure that it wont damage the scripts, decrypt says if there is another process still running, will be improved later like anything else

Feedback is neccesary to get also different a point of view and as written in brainstorm the intention was to make it userfriendly, atm there is a lot of additional output shown and created, as well as some other things just to say i work with inotify which creates a new pack on any modification on files and as you noticed ther is a devel button in modules which is for me to test it, sometimes i press this more than 1 time in a minute. Just to let you konw im working on it. but also testing other things

Try `./iperf --help' for more information.
./iperf -c server
------------------------------------------------------------
Client connecting to server, TCP port 5001
TCP window size: 28.2 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.1.226 port 34934 connected with 192.168.1.231 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 100 MBytes 84.2 Mbits/sec

Debian armel packages working as expected (lome of them)

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

Re: New web inferface (Webif) for SamyGO 2012-04-15

Post by brunogts77 » Thu Apr 19, 2012 10:11 pm

Hi, When I insert in the browser, "http://192.168.1.9/cgi-bin/Modules.cgi" nothing happens! Suggestions?
UE46D5700ZF T-MST5DEUC-1025.0] [OTN=OFF] [OSCAM=ON]
UE32F5300 T-MST12DEUC_1119] [OTN=OFF]

DEUS
Official SamyGO Developer
Posts: 316
Joined: Mon Feb 06, 2012 12:05 pm
Location: Germany

Re: New web inferface (Webif) for SamyGO 2012-04-15

Post by DEUS » Thu Apr 19, 2012 10:22 pm

Hi brunogts77, trying again? can you provide the output of /dtv/apache_error_log after trying to open the page? TV Model type? you don't need to qoute my complete post.
do you have a folder /mtd_rwcommon/temp ? if not can you create it? and try again. Modules.cgi in main module is ok in installer its still old version sorry. (symlink was wrong)

Post Reply

Return to “[D] Software”