LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Do you play music in console? (https://www.linuxquestions.org/questions/linux-general-1/do-you-play-music-in-console-467391/)

konsolebox 07-25-2006 05:46 AM

Do you play music in console?
 
Hello there and greetings people!

I really love the console and i love playing games and music there too.

Now about music do you like playing music in console? What I mean is play with sox or amp or mpg123 or mpg321 or etc? If not please at least tell me why.

Last 2004 I started building a script in bash to be able to play multiple music files. It was the time when I used slackware that run only with console.

First I started with something that only loads a list then plays them. Then little by little I was able to add improvements. By 2005 the script was already capable of playing, pausing, stop, adding files without interrupting play, edit, repeating, volume control and many more other.

Near the end of 2005 I was finally able to make the script have a real shuffling with no more errors. Even when adding files or deleting them.

Now the thing is I want to know if this kind of program can be helpful to the other users just as how helpful it has been to me. So I will know if it's really doable to share them. So please I need your comments or opinions...

Do you mind playing music files in console?

BTW please don't ask anything 'bout the script for now.

Thanks in advance. :p

Edit: also in konsole and xterm. don't worry bout the script too. i'll show them later anyway. but i need to know the best way to share it and also know how people will use it. i'll still have to do some mods depending on the results. so let's enjoy the poll first ok. :)

----------
2006-08-08

Thanks for the votes and replies. Finally I've decided. For bash enthusiasists out there you can now get my scripts at http://sf.net/projects/ampd.

I know there's already MPD but you can have mine for educational purpose. If you think my scripts can do something MPD can't please tell me and I'll improve that part.

ampd has always been my hobby so expect more improvements in the near future.

----------
2008-04-19

ampd is now playshell! I was finally able to merge the client and server as one.

There are lots of new methods and fixes in the program. Better check it out :D

http://sf.net/projects/playshell


Thanks LQ people.

coolb 07-25-2006 05:51 AM

Quote:

Originally Posted by konsolebox
Do you mind playing music files in console?

I dont mind, but it is not pretty :)

ethics 07-25-2006 06:03 AM

i have a headless fileserver, use cplay to play the files since it works over SSH. I like it, nice and simple, supports playlists
I was going to ask to see the script but ohwell.

Quote:

Originally Posted by coolb
I dont mind, but it is not pretty

:S your screenshots have brittany spears, talk about not pretty

konsolebox 07-25-2006 06:18 AM

Quote:

Originally Posted by ethics
i have a headless fileserver, use cplay to play the files since it works over SSH. I like it, nice and simple, supports playlists
I was going to ask to see the script but ohwell.

wow at least there's one now. i already planned to release the scripts so don't worry. just need some poll results and some mods that's all. i hope you can wait. even i can't wait to release this program anymore hehehe. console people are cool! :)

raskin 07-25-2006 06:32 AM

I use console mplayer... sorry, i don't need the script - I edit playlists rarely, so gmplayer or vim are enough for me.

konsolebox 07-25-2006 06:39 AM

Quote:

Originally Posted by raskin
I use console mplayer... sorry, i don't need the script - I edit playlists rarely, so gmplayer or vim are enough for me.

it's ok. now bout mplayer i guess i'll add it to one of the compatible players.

raskin 07-25-2006 06:51 AM

You miss the point - mplayer can do all your script is done to do.

b0uncer 07-25-2006 07:01 AM

But ain't mplayer bigger? Or what the heck, I haven't even seen the script yet :)

I myself like using console a lot, and play music using it too. But complicated player..nope, I don't think. I've actually never used "music libraries" or "playlists" or similar stuff - the thing music is for is listening, not organizing. And why console? Because..why use eyes for listening?

Actually, simpliness is the keyword that I was looking for. Apple's iPod Shuffle is a good example of a product that does exactly what's needed, nothing more, nothing less. So should listening to music be: why waste screen space with a graphical player when you can do it all console-wise? And why use complicated stuff for playing simple music?

Nevertheless - I'm looking forward to seeing, trying your script!

konsolebox 07-25-2006 07:04 AM

not really about mplayer. the script is completely independent of the player's messages or size. and amp and sox are the way to go for simplicity.

ethics 07-25-2006 07:08 AM

the script may also be more practical for something like a web interface, as a backend executed via .PHP, than say mplayer. It'd be easier to modify atleast

konsolebox 07-25-2006 07:22 AM

hmmm.. i don't really get what you mean since i'm kinda new to php but i guess it's possible since the main handler of the script acts like a daemon and can be controlled by any process.

jayemef 07-25-2006 07:57 AM

Have you checked out MPD -- the Music Player Daemon? It's quite nice, and for those of you looking for more than just a console application, the GMPD frontend looks great.

nx5000 07-25-2006 08:04 AM

Code:

cd album
mpg321 *.mp3

Perfect playlist manager :)

Its not because one tool exist that there should be no alternative. Diversity is what I like.

bernied 07-25-2006 08:09 AM

I use phpMP, which is a web interface for mpd, on my headless server - does that count?
I might use a pure text version, so I could use ssh and not start up a browser.

konsolebox 07-25-2006 08:13 AM

Quote:

Originally Posted by jayemef
Have you checked out MPD -- the Music Player Daemon? It's quite nice, and for those of you looking for more than just a console application, the GMPD frontend looks great.

I never tried MPD but it's nice thing that I know this program from you. I guess it got the same concept as my program. Knowing alternatives is also the purpose I created this topic. Hmmm.. I'll check the difference later. Surely it's different though because mine's written in bash :p.


All times are GMT -5. The time now is 06:47 AM.