Forum search is your friend...
http://wiki.wdlxtv.com/Crontab

# cat /conf/config | grep RW_
RW_LOCATION='/tmp/media/usb/USB1/A6EC-C5E0/christmas/ '
RW_RESIZE='ON'
# randomwallpaper
Died at /apps/randomwallpaper/bin/randomwallpaper line 25.
#


mad_ady wrote:You have extra spaces in your folder path (RW_LOCATION).


KAD wrote:it's the spaces at the end of the RW_LOCATION
and yes the system adds the single quotes

config_tool -c RW_LOCATION='/tmp/media/usb/USB1/A6EC-C5E0/christmas'

mad_ady wrote:two ways:
1. Through the WEB end - locate the configuration part of RandomWallpaper and delete the extra spaces at end.
2. Through telnet:
- Code: Select all
config_tool -c RW_LOCATION='/tmp/media/usb/USB1/A6EC-C5E0/christmas'
But beware. It most likely won't work at startup because you're not using an early mount path (/tmp/mnt/A6EC-C5E0/...). It should work though if you run it by hand/from cron.
# config_tool -c RW_LOCATION='/tmp/mnt/A6EC-C5E0/christmas/'
config saved val:key => (RW_LOCATION,/tmp/mnt/A6EC-C5E0/christmas/)
# cat /tmp/messages.txt | grep randomwallpaper
Dec 31 16:00:25 WDTVLIVE user.notice crazymount: randomwallpaper app found
Dec 31 16:00:25 WDTVLIVE user.notice crazymount: Mounting randomwallpaper.app.bin at /apps/randomwallpaper
Dec 31 16:00:25 WDTVLIVE user.notice crazymount: adjusting PATH: /apps/randomwallpaper/bin
Dec 31 16:00:25 WDTVLIVE user.notice init: Path set to /apps/randomwallpaper/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Dec 31 16:01:02 WDTVLIVE user.notice randomwallpaper: Failed to access /tmp/media/usb/USB1/A6EC-C5E0/christmas/ !
Dec 31 16:31:00 WDTVLIVE user.notice randomwallpaper: Failed to access /tmp/media/usb/USB1/A6EC-C5E0/christmas/ !# cat /conf/config | grep RW_
RW_LOCATION='/tmp/mnt/A6EC-C5E0/christmas/'
RW_RESIZE='ON'
touch /tmp/media/usb/USB1/A6EC-C5E0/.mnt

Return to WDTV G2 & WDTV Live Theming
Users browsing this forum: No registered users and 1 guest