[App] MyButtons - plugin for fast execute commands

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.
Post Reply

reaper7
Posts: 44
Joined: Thu Oct 01, 2009 11:16 am

[App] MyButtons - plugin for fast execute commands

Post by reaper7 » Sat Oct 30, 2010 9:27 am

MyButtons is simply plugin for fast access and execute any shell comands or scripts.
For e.g. You can run other plugin without deep going into menu (using injectso app)
or start bftpd, mount external resources without telnet access.

When MyButtons plugin is running, press GREEN button on remote for show his "menu",
hide menu by RETURN, EXIT or after execute color buttons commands.
You can change colors package by < or >
All commands and captions You can edit, delete or insert new inside mybuttons.conf file.

download from: http://samygo.ugu.pl/pliki/lista/#myButtons
or direct: http://samygo.ugu.pl/pliki/myButtons.rar
and sources: http://samygo.ugu.pl/pliki/myButtons_SRC.rar

tnx:
geo650 for help and good loader
moras86 for nice icon



For new version check Wiki page.
Last edited by moras86 on Fri Aug 12, 2011 6:04 pm, edited 1 time in total.
Reason: fix links / add Wiki page link

reaper7
Posts: 44
Joined: Thu Oct 01, 2009 11:16 am

Re: MyButtons - plugin for fast execute commands

Post by reaper7 » Mon Nov 15, 2010 9:17 pm

New version ready to download (link as above) :)
-added start button selection in config file
-improvement caption text visibility on white background

please, read first mybutton.conf.default

reaper7
Posts: 44
Joined: Thu Oct 01, 2009 11:16 am

Re: MyButtons - plugin for fast execute commands

Post by reaper7 » Thu Nov 25, 2010 7:38 pm

New version 0.3 ready for download (link in first post)
fix: bug with show MyButtons after using ContentM, InternetTV etc...
add: pause funcion (You can enable/disable this function and change calling rc key in config file)

reaper7
Posts: 44
Joined: Thu Oct 01, 2009 11:16 am

Re: MyButtons - plugin for fast execute commands

Post by reaper7 » Thu Dec 02, 2010 3:32 pm

New version 0.4 ready for download:
http://moras86.ugu.pl/samsung/pliki/myButtons.rar
or
http://sf.net/projects/samygo/files/Sam ... p/download

add: popup window with text output after execute command
e.g You can add for some button "mount" or "df -h" command and after execute, popup window show "answer" for these commands
Popup window is without scroll :( and don't show very long text output.
Please read config file.
capt001.jpg
You do not have the required permissions to view the files attached to this post.

nescha
Posts: 30
Joined: Mon Jan 03, 2011 11:03 am

Re: MyButtons - plugin for fast execute commands

Post by nescha » Mon Jan 03, 2011 12:51 pm

reaper7, nice app!

I wanted to ask if it can be easily extended to support additional features (specified here also: http://forum.samygo.tv/viewtopic.php?f= ... 826#p10826). I want to remap certain buttons for:
1. Direct SRC (eg. HDMI1)
2. PIP
3. Aspect Ratio
4. Audio Mode
5. Video Mode

reaper7
Posts: 44
Joined: Thu Oct 01, 2009 11:16 am

Re: MyButtons - plugin for fast execute commands

Post by reaper7 » Thu Jan 06, 2011 5:29 pm

MyButtons don't support direct access to buttons
and uses only color buttons (+ if You have one more for pause funcionality).
I can add buttons macro funcionality but only on colors buttons -
so it will be not more ergonomic than the current method...

or ... if You have Remote LAN Control tool executed on TV (with autostart) and NETCAT on TV
You can write some script to send raw data to TV e.g. echo 27 | nc 192.168.0.9 2345

I prepare script to send by NETCAT macro PICTURE OFF to Remote LAN Control:

Code: Select all

#!/bin/sh

export PATH=/mtd_rwarea:$PATH
export LD_LIBRARY_PATH=/mtd_rwarea:$LD_LIBRARY_PATH

NETCAT="/mtd_rwarea/nc";
TV_IP="192.168.0.9";
TV_PORT="2345";

sendc()
{
    KEY=$1
    echo $KEY | `$NETCAT $TV_IP $TV_PORT`
    sleep 1
}

sendc 26	#MENU
sendc 97	#KEY_DOWN
sendc 97	#KEY_DOWN
sendc 97	#KEY_DOWN
sendc 98	#KEY_RIGHT
sendc 96	#KEY_UP
sendc 98	#KEY_RIGHT
sendc 97	#KEY_DOWN
sendc 97	#KEY_DOWN
sendc 98	#KEY_RIGHT
sendc 96	#KEY_UP
sendc 96	#KEY_UP
sendc 104	#ENTER
In attachment script (working on my B650 with polish lang) and fresh compiled NETCAT
Now You can add script to MyButtons :)
You do not have the required permissions to view the files attached to this post.

nescha
Posts: 30
Joined: Mon Jan 03, 2011 11:03 am

Re: MyButtons - plugin for fast execute commands

Post by nescha » Fri Jan 07, 2011 12:39 am

reaper7 wrote:....In attachment script (working on my B650 with polish lang) and fresh compiled NETCAT
Now You can add script to MyButtons :)
Permission denied... :(

Post Reply

Return to “[B] Software”