Quote:
Originally Posted by Titano
An extension would have to take into account different files names if you didn't want to rename files. Maybe writing a shell script with something like this that runs from xterm or the like would be better.
Code:
clear
echo "GeekMasters Video Player
"
cd /mnt/us/Videos
ls -w 1 *.gz
echo "
What do you want to play? (File name without .gmv.gz)"
read video
echo Playing $video
sleep 1
zcat ./$video.gmv.gz|/mnt/us/gmplay
Then you just put all your files in a folder called 'Videos' and put gmplay in /mnt/us.
|
I actually thought of the video extension being a submenu, with all the videos and gmplay in the bin. Then there would be more than one shel scipts, and they would look something like this:
#!/bin/bash
zcat ./gmvid(or whatever the video is called).gmv.gz | ./gmplay
And the menu.json would include several items, and their actions would be shell scripts in the bin directory.