Sign up here and you can log into the forum!

Plugin: [SVN] Tools Menu

The WDTVExt plugin depot. Plugins/libraries/code only

Re: Plugin: [SVN] Tools Menu   

Postby recliq » Sun Oct 10, 2010 3:25 am

1) yes
Set this variable in Tools.plugin.js to fit your needs:
Code: Select all
this.osdDelay = 2;


2) write your own ;) the supplied scripts are only examples and not of much use.
As stated in the readme you can execute every shell script! Just rename it to have .script at the end and make sure you can execute it in shell...
­WDLXTV Project Maintainer
-:] If you like my contributions feel free to donate for a beer or a new flash drive. ...and always remember: RTFM! (README, FAQ, WIKI) [:-
User avatar
recliq
WDLXTV Team
 
Posts: 5024
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: Plugin: [SVN] Tools Menu   

Postby Stealth3si » Wed Oct 13, 2010 12:21 am

Finally I got my problem to work by deleting the .wdtvext-plugings/tools/backgrounds/svn folder.

I also got rid of the "scripts" files and sub-menu, since I don't need it, by deleting some lines in your tools.plugin.js file. hehe

BTW, thanks for the convenient patch script recliq!
1.02.21-WDLXTV-Live-0.5.1.1
MovieSheets+ 2.0.3 Phase 3
User avatar
Stealth3si
DLX'er
 
Posts: 176
Joined: Thu Sep 16, 2010 8:47 pm

Re: Plugin: [SVN] Tools Menu   

Postby mad_ady » Fri Nov 12, 2010 8:28 am

recliq: I have created a new script that works in your framework. It is intended to toggle between two UMSP server configurations. If you think it is worth it or if people find it useful you can add it to your svn repo so it can be downloaded easier. Here is the relevant thread: http://forum.wdlxtv.com/viewtopic.php?f=48&t=2461&start=0

Thanks
User avatar
mad_ady
Developer
 
Posts: 3002
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: Plugin: [SVN] Tools Menu   

Postby recliq » Fri Nov 12, 2010 8:32 am

Nice script, I will think about adding it although the scripts included were only intended as examples...
­WDLXTV Project Maintainer
-:] If you like my contributions feel free to donate for a beer or a new flash drive. ...and always remember: RTFM! (README, FAQ, WIKI) [:-
User avatar
recliq
WDLXTV Team
 
Posts: 5024
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: Plugin: [SVN] Tools Menu   

Postby mad_ady » Fri Nov 12, 2010 10:43 pm

Well, it's premature to do anything now - let's see if the community needs it first. If there's demand, you could include it (although it would still need user intervention before it would work).

Thanks
User avatar
mad_ady
Developer
 
Posts: 3002
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: Plugin: [SVN] Tools Menu   

Postby baston » Sat Dec 18, 2010 12:00 am

Sorry, but I not see where I can download this script (Tools menu)? Please give me link.
Sincerely, Anton.

P.S. OK, probably https://svn.wdlxtv.com/ ?

P.P.S. How to download the folder "Tools"?
baston
n00b
 
Posts: 1
Joined: Fri Dec 17, 2010 11:52 pm

Re: Plugin: [SVN] Tools Menu   

Postby mad_ady » Sat Dec 18, 2010 1:50 am

If you have a USB stick attached to your WDTV, you need to create a folder named ".wdtv-plugins" (the name starts with a dot) and then, from the UI you can navigate and download plugins directly from your WDTV. The plugin in question is called "Tools" and adds a new menu to the UI.
User avatar
mad_ady
Developer
 
Posts: 3002
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: Plugin: [SVN] Tools Menu   

Postby recliq » Sat Dec 18, 2010 1:53 am

actually the folder needs to be named: .wdtvext-plugins :ugeek:
­WDLXTV Project Maintainer
-:] If you like my contributions feel free to donate for a beer or a new flash drive. ...and always remember: RTFM! (README, FAQ, WIKI) [:-
User avatar
recliq
WDLXTV Team
 
Posts: 5024
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: Plugin: [SVN] Tools Menu   

Postby mad_ady » Sat Dec 18, 2010 1:59 am

My bad... :oops: Forgot my memory was leaky
User avatar
mad_ady
Developer
 
Posts: 3002
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: Plugin: [SVN] Tools Menu   

Postby davron94 » Tue Jan 18, 2011 5:11 pm

recliq wrote:Note: This plugin is only available via SVN, meaning you have to download it in Plugins menu!

Tools Menu offers different little Tools to main menu:
    Reboot
    Change Sheet Mode
    Change Background Image
    Execute Shell Scripts

Background Images
...should be copied to .wdtvext-plugins/Tools/backgrounds. They should be 1280x720px and less than 500kB.
Note: You have to leave the main menu page once for the background image to change!

Scripts
You can use any shell script which complies to the following:
- script is executable and running in shell
- script filename must end with .script
- script must have a valid shebang

You can use any shell script (bash, perl, php, ...).
Only STDOUT of your script output will be visible in OSD, STDERR will be ignored.
Your script can contain meta-data, see examples. Future versions of Tools plugin may display this information.



How should the background images be named in the .wdtvext-plugins/Tools/backgrounds folder? <picture name>.bg?

Thanks, Dave
davron94
DLX'er
 
Posts: 158
Joined: Tue Aug 10, 2010 10:26 am

PreviousNext

Return to WDTVExt plugins

Who is online

Users browsing this forum: No registered users and 0 guests