Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900
Rep:
Well, bash as the language is good. I like it too. But nevertheless, it's not enough to leave mplayer - I want to have video player also, so it has to be installed, and then - why not use it?
i guess the script can handle mplayer's video playing too. the script doesn't depend on the player's behaviour so if the script wants to play a file, all it does is let the player handle the playing that's all. still it can control the playing, pausing, stopping, repeating, looping and shuffling of the file without depending on the player's messages or error codes.
Edit: to raskin, when i finish making the final modifications, you're welcome to try the program anytime. just in case you change your mind. and i'm hoping for that
Last edited by konsolebox; 07-25-2006 at 09:06 AM.
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900
Rep:
Maybe I'll test it for fun. But as I still have mplayer installed, what new possibility will I get from the program? Is it really easier to handle than mplayer? Can it rewind back at least (mplayer can)? Can it automatically pass mid files to Timidity which is installed (I guess mplayer cannot)?
Maybe I'll test it for fun. But as I still have mplayer installed, what new possibility will I get from the program? Is it really easier to handle than mplayer? Can it rewind back at least (mplayer can)? Can it automatically pass mid files to Timidity which is installed (I guess mplayer cannot)?
I know mplayer's already too advanced to compare with my script. But my script's more than a handler and not a player.
Either which one you use, it should have different advantages and disadvantages. It's just a choice on where or how the program's used.
I found the program useful on a tight environment with 20mb squashfs-ed filesystem. That's just one. We don't know the other circumstances.
The player handler's completely written in bash and that's the best part of it. The script can be run anywhere with bash and is easily customizable.
Now I guess I can't resist telling you the features right?
So here are some:
Code:
play
stop
pause
next play
previous play
move to a custom play number
sets stop after
sets quit after play
repeating
shuffling
looping of current play
increases volume
decreases volume
opens a shell
runs a command
btw raskin. you seem to be quite good with mplayer. so i have concluded that you mostly spend your time listening to music.. what type of music do you play?
i spent my time creating the script just to play *boring* music. jazzies and blues hehe.
it's really nice when i play it in a blank console. feels so cold and blue.
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900
Rep:
Really not so much time.. What music I listen to? Well, good songs really. Very good, thoughtful lyrics is a must; good music is surely merely an option (though a good one). I guess what I will name will not tell you much - well, except for three Queen songs in my playlist.
Wow that's already 33 out of 53 votes. And finally I've decided to release my scripts. For the curious ones you can now get the scripts at http://sf.net/projects/ampd. Your comments and suggestions about the scripts are also welcome.
Thanks for the votes and the replies people. Long live LQ community.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.