Pmplay - mplayer search / play script
Posted: Tue 15 Feb 2011, 18:33
Not sure where to post this but maybe some one might find some use for it.
What is it?
A basic 2 box GUI for Mplayer made with Zenity / Yad.
What does it do?
In the first GUI box you type path or drag and drop a directory that contains some media file/s you want to play with terminal Mplayer.
click ok and it will open the second GUI box
In the second box you enter either a word of file format to search for in that directory- example: Maiden or .mp3 or .avi
It then creates a playlist in /tmp out of the results that have Maiden in the file name or files that have an .mp3 extension and then terminal Mplayer plays that playlist.
To play a single meida file, example:
/root/music_video.avi
Type path or drag media file into GUI box one and leave GUI box two blank and click ok.
Word search.
If you know how your media files are formated blank space or under score - you can search for more than a one word string as long as it matches part of the actual file name.
example:
iron_maiden (if your files have under score instead of blank spaces.
iron maiden (if your files have black spaces instead of under scores)
requires Zenity / Yad it is only 26KB in size:
http://www.murga-linux.com/puppy/viewtopic.php?t=58306
pmplay Script.
http://dl.dropbox.com/u/3009188/pmplay.gz
Move Script to
/root/my-applications/bin
a click on it to decompress.
You can then drag it to desktop or run from terminal with command: pmplay
What is it?
A basic 2 box GUI for Mplayer made with Zenity / Yad.
What does it do?
In the first GUI box you type path or drag and drop a directory that contains some media file/s you want to play with terminal Mplayer.
click ok and it will open the second GUI box
In the second box you enter either a word of file format to search for in that directory- example: Maiden or .mp3 or .avi
It then creates a playlist in /tmp out of the results that have Maiden in the file name or files that have an .mp3 extension and then terminal Mplayer plays that playlist.
To play a single meida file, example:
/root/music_video.avi
Type path or drag media file into GUI box one and leave GUI box two blank and click ok.
Word search.
If you know how your media files are formated blank space or under score - you can search for more than a one word string as long as it matches part of the actual file name.
example:
iron_maiden (if your files have under score instead of blank spaces.
iron maiden (if your files have black spaces instead of under scores)
requires Zenity / Yad it is only 26KB in size:
http://www.murga-linux.com/puppy/viewtopic.php?t=58306
pmplay Script.
http://dl.dropbox.com/u/3009188/pmplay.gz
Move Script to
/root/my-applications/bin
a click on it to decompress.
You can then drag it to desktop or run from terminal with command: pmplay