SamyGO ChanEdit - a Java based channel editor

Here are software that related with Samsung B series TVs. Like hex editors, new version of BusyBox or internal software, app programs that will run in your TV hardware.:!:This forum is NOT FOR USER QUESTIONS or Problems.

SamyGO ChanEdit - a Java based channel editor

Postby polskafan » Mon Nov 30, 2009 11:23 pm

SamyGO ChanEdit
Current release: v0.40, grab here
[Project page] | [Screenshots]

Original first post:
Based on the information gathered in my other thread, I put together an editor for map-CableD. It can load and write channel lists, move channels by dragging them and drop them to their new position and delete channels. Also i included a function to add the missing german sky channels to a channel list.

Its in a very early stage, but already a lot better than ordering channels using the remote control. The only drawback is, that you have to extract the map-CableD from the TV somehow and reinject it afterwards. As my B620 (T-CHL5DEUC) is not able to run any plugins i currently don't know how to manage it without using a serial cable, what makes the channel editor rather useless for others. Would be great if you could help me with this.

I've attached a sneak peek at what i have put together so far. Should run on Windows and a Java Virtual Machine just by double clicking. Linux and Unix would require the proper swt libs. You can grab them here and just copy it over the win32 lib in the lib dir.

- polskafan
Last edited by polskafan on Sat Dec 12, 2009 3:07 pm, edited 7 times in total.
polskafan
 
Posts: 52
Joined: Sat Nov 14, 2009 10:26 am

Re: jSamyEdit - a Java based channel editor

Postby sulph8 » Tue Dec 01, 2009 7:24 pm

Nice work fella,

What would be cool is if we run ftp then we could just ftp map-CableD off and ftp it back on. Once map-CableD has been modified, what needs to be restarted for it to take affect?
sulph8
 
Posts: 42
Joined: Sat Oct 31, 2009 6:34 pm
Location: Switzerland

Re: jSamyEdit - a Java based channel editor

Postby polskafan » Tue Dec 01, 2009 7:42 pm

On my B620 the process is like:
1. Connecting using exlink
2. After killing exeDSP just:
Code: Select all
cp /mtd_rwarea/map-CableD /dtv/usb/sda1
3. Then edit the file on the stick using the editor
4. Copy it back to the TV
Code: Select all
cp /dtv/usb/sda1/map-CableD /mtd/rwarea/map-CableD
cp /dtv/usb/sda1/map-CableD /mtd/rwarea/map-CableDb
/mtd_exe/exeDSP
5. Settings are effective now. On my B620 the Panel is rotated 180° after a restart, just cycle power using the remote once, and everything is fine.

The editor should work on map-CableD and map-AirD. Didn't have a map-SateD for testing, but i don't think there is much difference. Maybe some additional fields have to be copied back. If someone sends me one i can try to build it in.

FTP Idea sounds fine, already thought of using telnet or a file server, but the B620 doesn't even have a LAN Connection, so another prerequisite would be having a WLAN Stick and patching the firmware to enable WLAN Support. I like to find a way without using additional hardware. Just a USB Stick should be fine. Also tried writing a shell file and copied it over the one in the firmware upgrade process, but it didn't work, i guess a wlan stick or a serial cable is the only way on tv models like mine (T-CHL5DEUC).

- polskafan
polskafan
 
Posts: 52
Joined: Sat Nov 14, 2009 10:26 am

Re: jSamyEdit - a Java based channel editor

Postby erdem_ua » Tue Dec 01, 2009 9:04 pm

Woohoo.
Thanks for the program. I wish wanted to make it one. :)
there is some problem on my computer:
Code: Select all
java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM

I can handle by loading 64 bit swt libraries but people needed to warn about problem.

It's better that shared with source code. Here is source forge, It's forbidden to add any file without sources :)

Feedback: It's good but when you are moving a channel location, It is not shows you where to put moving channel.
I wanted to identified with a colored line where channel goes If I release mouse button...

Also uploading by hand is killing me!
Using FTP for solution alone cannot kill the exeDSP.
If you use python, I have some experience with SSH or even telnet could be used for upload images, killing exeDSP and restart TV by MicomCtl.

And name doesn't identify what program makes. Suggestions are on my mind that:
SamyGO CHanel EDitor
SamyGO CHED
SamyGO CHEDster

Thank you :geek:
Last edited by erdem_ua on Tue Dec 01, 2009 9:16 pm, edited 1 time in total.
Reason: Telnet / SSH advice
User avatar
erdem_ua
SamyGO Admin
 
Posts: 2957
Joined: Thu Oct 01, 2009 6:02 am
Location: Istanbul, Turkey

Re: jSamyEdit - a Java based channel editor

Postby sulph8 » Tue Dec 01, 2009 9:22 pm

erdem_ua,

I am on ubuntu 9.10 x64 works a char on mine... what are you on?

Also, how would we fetch the file without ftp? telnet cannot fetch the file nor could ssh, we could scp the file off and on I guess.

1 vote for SamyGO CHanel EDitor

polskafan,
Dragging and dropping is a real pain, any chance of double clicking and edition the variables?
sulph8
 
Posts: 42
Joined: Sat Oct 31, 2009 6:34 pm
Location: Switzerland

Re: jSamyEdit - a Java based channel editor

Postby polskafan » Tue Dec 01, 2009 9:24 pm

Was just a preview at what should be possible. SWT on linux and mac os should be started using a start script that sets the vm to 32bit mode and only using first thread. Guess that has to be some bug. I accidently killed my linux vm or i would have provided a start script.

I will just clean up the sources and fix some additional bugs and then release the source code, it really looks messy and has nearly zero comments in it. Also i never used sourceforge, this would be my first open source program, where do i put the sources, just zip it and provide them in an attachment or what would be the best idea? Guess a repository for such a small tool would be a bit overkill.

We could talk about the name, thought of ChannelEdit when naming it, the famous program for many STBs.

The drag n drop was really a pain to code. Took me 4 hours to do just the simple draggin and dropping implemented now. I guess SWT was a bad choice for doing it. Basically it just takes the number of the channel you are dropping it on. Should work for the beginning. Actually you don't need much more. What i don't like is scrolling. It is reeaaaaly slow and i have no idea how to speed it up. Maybe i will put a renumber function in where you just enter the desired channel number and it puts it there, without having it to drag it over a channel with this number.

- polskafan

*EDIT* Edit channel function is finished. I will release v0.2 including the source code, when i finished the channel move function.
Last edited by polskafan on Mon Dec 07, 2009 10:45 pm, edited 1 time in total.
polskafan
 
Posts: 52
Joined: Sat Nov 14, 2009 10:26 am

Re: SamyGO ChanEdit - a Java based channel editor

Postby polskafan » Wed Dec 02, 2009 8:27 pm

News Update: v0.2 is ready
Links in first post.

- polskafan
polskafan
 
Posts: 52
Joined: Sat Nov 14, 2009 10:26 am

Re: SamyGO ChanEdit - a Java based channel editor

Postby sulph8 » Wed Dec 02, 2009 9:14 pm

polskafan,

This is looking HOT HOT HOT.... Thanks a lot for all your work and effort :)

Playing with it a bit more now. A nice enhancement would be a double click to bring up the edit and a help --> about redirecting to your nice new page. I will also take a look at seeing if I can add the fetch and upload, like erdem_ua and I where speaking about. I am no java guru but will try my best.
sulph8
 
Posts: 42
Joined: Sat Oct 31, 2009 6:34 pm
Location: Switzerland

Re: SamyGO ChanEdit - a Java based channel editor

Postby polskafan » Wed Dec 02, 2009 9:34 pm

Double Click to bring up edit was pretty obvious. No idea why i didn't come up with it - Is on my list for v0.3.

Already thought of a www button, but as i remeber its not that easy to launch an external browser, because its done different depending on the OS running the JavaVM, but i think people remeber where they downloaded the file.

I just ordered my wlan stick, as wlan option became first available for my TV set with the new SamyGO Firmware Patcher released a few days ago. Then i will also have a look into transfering the files without using serial console.

Maybe we could also build something on SamyGo Telnet Enabler App. One that just copies channel lists to/from usb, instead of enabling telnetd. Would only work on TVs able to run apps, but already be a huge improvement. Don't have a cross compiler ready (don't even have linux ready), and my tv doesn't support apps, so i can't write one.

- polskafan
polskafan
 
Posts: 52
Joined: Sat Nov 14, 2009 10:26 am

Re: SamyGO ChanEdit - a Java based channel editor

Postby erdem_ua » Wed Dec 02, 2009 11:56 pm

Hi, I like your project pages template.
And good to see v0.2 too.
But I think, there is still no source code released.
User avatar
erdem_ua
SamyGO Admin
 
Posts: 2957
Joined: Thu Oct 01, 2009 6:02 am
Location: Istanbul, Turkey

Next

Return to [B] Software

Who is online

Users browsing this forum: Bing [Bot] and 2 guests