Thread: Shell Script.
View Single Post
  #4   (View Single Post)  
Old 11th July 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

If the script is not being executed from the same directory as the r1live.ram file, you might want to put an explicit path.

Code:
mplayer -playlist ~/Music/Playlists/r1live.ram

or where ever you put the playlist.



This is especially useful if you intend to use this script as part of some kind of menu/dock or desktop shortcut.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote