Sign up here and you can log into the forum!

RandomWallpaper v1.1 app.bin

Anything and everything related to OSD modifcation & theming.

Re: RandomWallpaper v1.0 app.bin   

Postby recliq » Fri Oct 28, 2011 3:38 am

Forum search is your friend...
http://wiki.wdlxtv.com/Crontab
­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: 5513
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: RandomWallpaper v1.1 app.bin   

Postby davron94 » Sun Dec 18, 2011 2:50 pm

Trying to run this again and get this error:

Code: Select all
#     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.
#


Anyone know what I should do next?
davron94
DLX'er
 
Posts: 182
Joined: Tue Aug 10, 2010 10:26 am

Re: RandomWallpaper v1.1 app.bin   

Postby mad_ady » Sun Dec 18, 2011 10:46 pm

You have extra spaces in your folder path (RW_LOCATION).
User avatar
mad_ady
Developer
 
Posts: 4532
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: RandomWallpaper v1.1 app.bin   

Postby davron94 » Mon Dec 19, 2011 12:09 pm

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


Do you mean the spacing between the last forward slash and the single parenthesis? How does that happen when those single parenthesis are not even part of the path?
davron94
DLX'er
 
Posts: 182
Joined: Tue Aug 10, 2010 10:26 am

Re: RandomWallpaper v1.1 app.bin   

Postby KAD » Mon Dec 19, 2011 1:31 pm

it's the spaces at the end of the RW_LOCATION
and yes the system adds the single quotes
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
PM's are for private matters. Post support questions to the appropriate forum, or they will be ignored.
User avatar
KAD
Global Moderator
 
Posts: 5103
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

Re: RandomWallpaper v1.1 app.bin   

Postby davron94 » Tue Dec 20, 2011 6:55 pm

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



Sorry, right, quotation marks, not parentheses! Duh!

How do I get rid of those spaces?- all I did was copy and paste from the mount table, then add the file name.
davron94
DLX'er
 
Posts: 182
Joined: Tue Aug 10, 2010 10:26 am

Re: RandomWallpaper v1.1 app.bin   

Postby mad_ady » Tue Dec 20, 2011 10:22 pm

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.
User avatar
mad_ady
Developer
 
Posts: 4532
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: RandomWallpaper v1.1 app.bin   

Postby davron94 » Tue Dec 20, 2011 10:39 pm

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.



Ok, so I changed it to the /tmp/mnt/ path and this is what i get:

Code: Select all
#  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/  !


And as well:

Code: Select all
# cat /conf/config | grep RW_
RW_LOCATION='/tmp/mnt/A6EC-C5E0/christmas/'
RW_RESIZE='ON'


This is weird. I see that on the last 2 lines of the first set of codes it still shows the tmp/media/usb/ path, whereas I changed it to the tmp/mnt/ path through SSH and on the webend.
davron94
DLX'er
 
Posts: 182
Joined: Tue Aug 10, 2010 10:26 am

Re: RandomWallpaper v1.1 app.bin   

Postby KAD » Tue Dec 20, 2011 10:52 pm

you need to reboot after changing the path

KAD
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
PM's are for private matters. Post support questions to the appropriate forum, or they will be ignored.
User avatar
KAD
Global Moderator
 
Posts: 5103
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

Re: RandomWallpaper v1.1 app.bin   

Postby mad_ady » Tue Dec 20, 2011 10:56 pm

You've changed the path, but you haven't re-run the script/rebooted afterwards and you're looking at the previous logs.
Also, you should run this command to make sure your drive is early-mounted:
Code: Select all
touch /tmp/media/usb/USB1/A6EC-C5E0/.mnt
User avatar
mad_ady
Developer
 
Posts: 4532
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

PreviousNext

Return to WDTV G2 & WDTV Live Theming

Who is online

Users browsing this forum: No registered users and 1 guest