Your Digital Media Has Never Looked So Good

Posts: 785
Joined: Fri Jan 14, 2005 5:19 am

Fri Dec 30, 2005 2:46 pm

Interactive wrote:
Didn't know if possibly there was enough demand to justify him including this as a built in feature. It would be reasonably easy, I assume, for a guy who could write an application like SDesk, to add a function that is called by one of the User remote codes....right? Assuming that SDesk was running all of the time (which, if you do use SDesk, that would most likely be your intention anyway), then it could actually just work from within the app.

Ah, I see. No, that makes sense. And your macros sound like how I'd do it.
I haven't seen Sven around for a couple of months, but you could always email him I guess.
There is already in SDesk something very much like this
the file name of the scripts that will be invoked for the respective
remote button (while inside SDesk).

So, for example you could map the rotate button to macro 1, and info to macro 2. (not ideal of course). All that would be needed would be for SDesk to support the remote 'user defined' keys.
Posts: 6
Joined: Tue Oct 12, 2004 11:55 am

well i kinda have done what you need

Thu Jan 05, 2006 4:20 pm

I use my roku with a 4:3 tv with s-video, and 1080i over head projector using component. I wrote this little script that is launched on boot. It basically checks the status of the device, either in standby or on, and will flip the video output each time the unit is turned on.. So for me to swap between the modes i just turn it off wait 5 seconds (that is how often the programs sleeps) and turn it back on again.. Only problem I have found is if you leave an app running and do it the the system locks up. Roku doesn't like having the video modes changed when an app is running. So stop viewing pics or listening to music before switching modes.

## this script will switch video modes based on powermode
## written by

## variable declaration

## Start of main script
echo script started `date` > $LogFile
echo #### startup environment ####
env >> $LogFile
echo " " $LogFile

## set script startup power current mode variables
echo get initial power mode >> $LogFile
ecp system power query | grep ON >> $LogFile
if [ "$?" -eq 0 ] ; then

## watch power state and if switched off then on then change videomode
while [ $dummy -eq 1 ];
echo performing check `date` >> $LogFile
/usr/local/bin/ecp system power query | grep ON >> $LogFile
if [ "$?" -eq 0 ] ; then
if [[ "$CurrentStatus" = "$On" ]] && [[ "$SavedStatus" = "$Off" ]] ; then
/usr/local/bin/ecp system videomode query | grep 480i >> $LogFile
if [ "$?" -eq 0 ] ; then
#videomode is svideo 480i switch to component 1080i
/usr/local/bin/ecp system videomode component 1080i >> $LogFile
#videomode is component 1080i switch to svideo 480i
/usr/local/bin/ecp system videomode svideo 480i >> $LogFile
if [[ "$CurrentStatus" = "$Off" ]] && [[ "$SavedStatus" = "$On" ]] ; then
sleep 5
Posts: 298
Joined: Mon Jan 17, 2005 6:48 pm

Mon Jan 09, 2006 11:55 am

Thanks for the script. I may give it a try...

Posts: 48
Joined: Thu Nov 03, 2005 5:52 am
Location: United Kingdom

Thu Jul 06, 2006 3:11 pm

Any ideas what the command is for pal component 1080i

i know the command for ntsc but cant work it out for pal

ecp system videomode component .....
Roku HD1500 rev b
Sony Bravia LCD
Pioneer DVD
Yamaha AV gear
Sky +
Sky HD........January !! if they release it as promised! - they didnt, now they want £300 !!!
Roku, maybe its time for the mini mac core duo ???
hugo husti
Posts: 4
Joined: Tue Jul 25, 2006 3:30 pm

Sat Aug 12, 2006 12:32 pm

davidd wrote:
Any ideas what the command is for pal component 1080i

i know the command for ntsc but cant work it out for pal

ecp system videomode component .....

I think TheEndless has a solution for you problem. See the following thread:


Who is online

Users browsing this forum: No registered users and 2 guests