Mplayer::m - seek and play
#to play all files m #to play all files matching key word ('key word here' matching audio/video files) m key word here #to play all files matching several keywords('key' or 'word' or 'here' matching audio/video files) m -s key word here #to list all folders m -f #to find and play files from a folder matching a keyword ('key word here' matching folders) m -f key word here #to find and play files matching several keywords('key' or ' word' or 'here' matching folders) m -fs key word here #help m -h
A cool way for finding audio/video files and play with mplayer.
Run 'm' once in terminal after installing the module.This will create '.m' in your Home folder which will contain folder paths and formats to be searched.Add folder paths to .m (see 'Content of '.m' file below).After this just execute 'm' again and Enjoy!!
When using m with folder options ( -f or -fs ) it will show a list of folder with path duly numbered.For example
#m -f rammstein 1 /media/Music/Rammstein-Greatest Hits/CD1 2 /media/Music/Rammstein-Greatest Hits/CD2 3 /media/Music/Rammstein/some collection 4 /home/mani/Downloads/Rammstein-Disography 5 /home/mani/Downloads/Rammstein
Now select any number of folder listed by entering corresponding number on the left side seperated by space and then pressing Enter.For example
#1 3
will play files in '/media/Music/Rammstein-Greatest Hits/CD1' & '/media/Music/Rammstein/some collection'
#1 3-5
will play files corresponding to 1,3,4,5
# 2-
will play files corresponding to 2 and folders after it (i.e 2,3,4 and 5)
#-3
will play files corresponding to 3 and folders before it (i.e 1,2 and 3)
If no folder number is provided, all files in all folders shown will be played (i.e 1,2,3,4 and 5)
#add all paths to your folders after 'FOLDER:' separated by space FOLDER: #all the formats to be played after 'FORMAT:' #popular audio formats include 'mp3 wav flac wma ra rm ram ogg mid m4a' #popular video formats include 'mov avi divx mpeg mpg m4p flv wmv' FORMAT:mp3 wav flac wma ra rm ram ogg mid m4a #put 'off' to disable shuffle after 'SHUFFLE:' SHUFFLE:on
Make sure you fill 'FOLDER:' option eg. FOLDER:/home/mani/Downloads /media/Entertainment
By defualt for 'FORMAT:' option, 'mp3 wav flac wma ra rm ram ogg mid m4a' are included.
By default 'SHUFFLE:' is on
play
Dileep Mani, <dileepmani@gmail.com<gt>
Copyright (C) 2013 by Dileep Mani
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.18.0 or, at your option, any later version of Perl 5 you may have available.
To install Mplayer::m, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mplayer::m
CPAN shell
perl -MCPAN -e shell install Mplayer::m
For more information on module installation, please visit the detailed CPAN module installation guide.