Sign up here and you can log into the forum!

RandomWallpaper v1.1 app.bin

Anything and everything related to OSD modifcation & theming.

RandomWallpaper v1.1 app.bin   

Postby RMerlin » Fri Sep 24, 2010 10:59 pm

RandomWallpaper 1.1 by RMerlin

Download link

Requires WDLXTV firmware version 0.4.3.1 or higher (either
Live or Live Plus versions).


This application will let you specify a folder containing multiple wallpapers.
Each time the WDTV goes into standby mode (when you use the Power button
on the remote), a different wallpaper will be applied to your WDTV OSD.

Optionally, you can even make the WDTV automatically resize it so
it will fit your screen.

Note that the WDTV doesn't support background images that are
larger than 512 KB. Fortunately, Randomwallpaper will
take care of that for you, by attempting to recompress
the image using a decreased quality until it can produce
a file that is below the 512 KB limit.

To install, simply copy the randomwallpaper.app.bin file
into a USB disk, then reboot your WDTV.

Configuration is entirely done through the webend configuration
page, under the "Apps" tab.

You can contact me on http://forums.wdlxtv.com/ for any question,
or visit my website at http://www.lostrealm.ca/ for the latest
version.

Changes in 1.1:
o Added XML manifest.
Last edited by RMerlin on Tue Nov 15, 2011 2:59 pm, edited 10 times in total.
WDLXTV Webend maintainer. Visit http://www.lostrealm.ca/wdlxtv to see my other WDLXTV projects.
If you like my work, please consider donating.
User avatar
RMerlin
WDLXTV Team
 
Posts: 3236
Joined: Sat Jun 26, 2010 9:25 am
Location: Montreal, Canada

Re: Random Wallpaper script   

Postby tchutchy » Mon Sep 27, 2010 2:12 am

sweet! thank you!
User avatar
tchutchy
DLX'er
 
Posts: 154
Joined: Sun Apr 25, 2010 2:44 am

Re: Random Wallpaper script   

Postby RMerlin » Mon Sep 27, 2010 9:55 am

Just a FYI: the --resize option of my Random Wallpaper script is supported by WDLXTV 0.4.2.6 that was just released.

Edit the POWER_DOWN event as explained in the documentation to include the --resize option, drop whatever JPEG you want in the backgrounds folder, and enjoy :)
WDLXTV Webend maintainer. Visit http://www.lostrealm.ca/wdlxtv to see my other WDLXTV projects.
If you like my work, please consider donating.
User avatar
RMerlin
WDLXTV Team
 
Posts: 3236
Joined: Sat Jun 26, 2010 9:25 am
Location: Montreal, Canada

Re: Random Wallpaper script   

Postby alucard89 » Fri Oct 01, 2010 6:20 am

Just what I needed, thanks for this
User avatar
alucard89
WDTVer
 
Posts: 42
Joined: Thu Sep 16, 2010 12:58 pm

Re: Random Wallpaper script   

Postby Stealth3si » Mon Oct 04, 2010 5:47 am

Has anyone gotten issues with this script?

I'm using B-Rad's "1.02.21_WDLXTV.COM_WDLXTV_LIVE-0.4.2.6" and "PsychoTHC OSD-MOD v6.2.8 (USB version)" and I can't get Rmerlin's Random Wallpaper script to work. I did the following steps:

1. Created 'backgrounds' folder in root of usb flash drive
2. Copied .jpg files and random.pl to that folder
3. Created the 'S00Custom-config' file on root drive and set the following option (by editing the file):

config_tool -c POWER_DOWN_ACTION="/tmp/wdtvext-plugins/../backgrounds/random.pl" --resize

4. Unplugged power cord to WDTV Live
5. Inserted USB flash drive into side of WDTV Live
6. Plugged power cord back into WDTV Live
7. Wait until the screen reaches the main menu.
8. Pressed "Power" button on remote control to turn off WDTV Live.
9.Wait 5 seconds.
10. Pressed "Power" button on remote control to turn on WDTV live.

And....

Same background as before.

Alternatively, I repeated the above procedure except for step 3, I edited the 'S00custom-options' file and set the same option as above.

Still no go.
1.02.21-WDLXTV-Live-0.5.1.1
MovieSheets+ 2.0.3 Phase 3
User avatar
Stealth3si
DLX'er
 
Posts: 179
Joined: Thu Sep 16, 2010 8:47 pm

Re: Random Wallpaper script   

Postby RMerlin » Mon Oct 04, 2010 6:09 am

Stealth3si wrote:Has anyone gotten issues with this script?


What happens if you log through SSH, and run this?

Code: Select all
ls -l /tmp/wdtvext-plugins/../backgrounds/random.pl --resize


Also, what happens if you run it manually through ssh?

Code: Select all
/tmp/wdtvext-plugins/../backgrounds/random.pl --resize
WDLXTV Webend maintainer. Visit http://www.lostrealm.ca/wdlxtv to see my other WDLXTV projects.
If you like my work, please consider donating.
User avatar
RMerlin
WDLXTV Team
 
Posts: 3236
Joined: Sat Jun 26, 2010 9:25 am
Location: Montreal, Canada

Re: Random Wallpaper script   

Postby Stealth3si » Mon Oct 04, 2010 9:18 am

RMerlin wrote:
Stealth3si wrote:Has anyone gotten issues with this script?


What happens if you log through SSH, and run this?

Code: Select all
ls -l /tmp/wdtvext-plugins/../backgrounds/random.pl --resize
Invalid paramater

RMerlin wrote:Also, what happens if you run it manually through ssh?

Code: Select all
/tmp/wdtvext-plugins/../backgrounds/random.pl --resize
File not found.
1.02.21-WDLXTV-Live-0.5.1.1
MovieSheets+ 2.0.3 Phase 3
User avatar
Stealth3si
DLX'er
 
Posts: 179
Joined: Thu Sep 16, 2010 8:47 pm

Re: Random Wallpaper script   

Postby RMerlin » Mon Oct 04, 2010 9:28 am

Stealth3si wrote:File not found.


There you go then. Either your paths aren't correct, or the script isn't there.
WDLXTV Webend maintainer. Visit http://www.lostrealm.ca/wdlxtv to see my other WDLXTV projects.
If you like my work, please consider donating.
User avatar
RMerlin
WDLXTV Team
 
Posts: 3236
Joined: Sat Jun 26, 2010 9:25 am
Location: Montreal, Canada

Re: Random Wallpaper script   

Postby essoG » Mon Oct 04, 2010 9:32 am

Stealth3si wrote:
I'm using B-Rad's "1.02.21_WDLXTV.COM_WDLXTV_LIVE-0.4.2.6" and "PsychoTHC OSD-MOD v6.2.8 (USB version)" and I can't get Rmerlin's Random Wallpaper script to work. I did the following steps:



Use PsychoTHC OSD-MOD v6.2.6 with B-Rad's "1.02.21_WDLXTV.COM_WDLXTV_LIVE-0.4.2.6
PsychoTHC OSD-MOD v6.2.8 is for B-Rad's "1.02.21_WDLXTV.COM_WDLXTV_LIVE-0.4.2.8 or B-Rad's "1.02.21_WDLXTV.COM_WDLXTV_LIVE-0.4.2.9
- Never Drive Faster Than Your Guardian Angel Can Fly -
User avatar
essoG
DLX'er
 
Posts: 136
Joined: Thu Sep 16, 2010 7:19 am

Re: Random Wallpaper script   

Postby Stealth3si » Tue Oct 05, 2010 3:02 am

RMerlin wrote:
Stealth3si wrote:File not found.


There you go then. Either your paths aren't correct, or the script isn't there.

I wish your script had support for the backgrounds folder used by the Tools WDTVEXT plugin.

It'd be much easier.
1.02.21-WDLXTV-Live-0.5.1.1
MovieSheets+ 2.0.3 Phase 3
User avatar
Stealth3si
DLX'er
 
Posts: 179
Joined: Thu Sep 16, 2010 8:47 pm

Next

Return to WDTV G2 & WDTV Live Theming

Who is online

Users browsing this forum: No registered users and 2 guests