LinuxQuestions.org
Social Bookmarking all things Linux and Open Source
Go Back   LinuxQuestions.org > Forums > Linux > Linux - General
User Name
Password
Linux - General This 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

View Poll Results: Do you play music in console?
always 6 9.52%
sometimes 35 55.56%
never 18 28.57%
maybe in the near future 4 6.35%
Voters: 63. You may not vote on this poll

Reply
 
Thread Tools
Old 07-25-2006, 06:46 AM   #1
konsolebox
Member
 
Registered: Oct 2005
Location: Philippines
Distribution: Gentoo, Slackware
Posts: 957
Thanked: 15
Smile Do you play music in console?


[Log in to get rid of this advertisement]
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.

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

http://sf.net/projects/playshell


Thanks LQ people.

Last edited by konsolebox; 04-18-2008 at 10:34 PM..
konsolebox is offline     Reply With Quote
Old 07-25-2006, 06:51 AM   #2
coolb
Member
 
Registered: Apr 2006
Location: Cape Town, South Africa
Distribution: Gentoo 2006.1(2.6.17-gentoo-r7)
Posts: 224
Thanked: 0
Quote:
Originally Posted by konsolebox
Do you mind playing music files in console?
I dont mind, but it is not pretty
coolb is offline     Reply With Quote
Old 07-25-2006, 07:03 AM   #3
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,526
Thanked: 0
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

Last edited by ethics; 07-25-2006 at 07:05 AM..
ethics is offline     Reply With Quote
Old 07-25-2006, 07:18 AM   #4
konsolebox
Member
 
Registered: Oct 2005
Location: Philippines
Distribution: Gentoo, Slackware
Posts: 957
Thanked: 15

Original Poster
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!
konsolebox is offline     Reply With Quote
Old 07-25-2006, 07:32 AM   #5
raskin
Senior Member
 
Registered: Sep 2005
Location: Russia
Distribution: NixOS (http://nixos.org)
Posts: 1,812
Thanked: 22
I use console mplayer... sorry, i don't need the script - I edit playlists rarely, so gmplayer or vim are enough for me.
raskin is offline     Reply With Quote
Old 07-25-2006, 07:39 AM   #6
konsolebox
Member
 
Registered: Oct 2005
Location: Philippines
Distribution: Gentoo, Slackware
Posts: 957
Thanked: 15

Original Poster
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.
konsolebox is offline     Reply With Quote
Old 07-25-2006, 07:51 AM   #7
raskin
Senior Member
 
Registered: Sep 2005
Location: Russia
Distribution: NixOS (http://nixos.org)
Posts: 1,812
Thanked: 22
You miss the point - mplayer can do all your script is done to do.
raskin is offline     Reply With Quote
Old 07-25-2006, 08:01 AM   #8
b0uncer
Senior Member
 
Registered: Aug 2003
Location: fin
Distribution: (B)LFS, Ubuntu, Slackware
Posts: 4,853
Thanked: 27
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!
b0uncer is offline     Reply With Quote
Old 07-25-2006, 08:04 AM   #9
konsolebox
Member
 
Registered: Oct 2005
Location: Philippines
Distribution: Gentoo, Slackware
Posts: 957
Thanked: 15

Original Poster
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.
konsolebox is offline     Reply With Quote
Old 07-25-2006, 08:08 AM   #10
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,526
Thanked: 0
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
ethics is offline     Reply With Quote
Old 07-25-2006, 08:22 AM   #11
konsolebox
Member
 
Registered: Oct 2005
Location: Philippines
Distribution: Gentoo, Slackware
Posts: 957
Thanked: 15

Original Poster
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.
konsolebox is offline     Reply With Quote
Old 07-25-2006, 08:57 AM   #12
jayemef
Member
 
Registered: Aug 2005
Location: Juniata College, PA
Distribution: Ubuntu, Slackware
Posts: 67
Thanked: 0
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.
jayemef is offline     Reply With Quote
Old 07-25-2006, 09:04 AM   #13
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,313
Thanked: 3
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.
nx5000 is offline     Reply With Quote
Old 07-25-2006, 09:09 AM   #14
bernied
Member
 
Registered: Mar 2006
Location: Edinburgh, UK
Distribution: debian
Posts: 304
Thanked: 0
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.
bernied is offline     Reply With Quote
Old 07-25-2006, 09:13 AM   #15
konsolebox
Member
 
Registered: Oct 2005
Location: Philippines
Distribution: Gentoo, Slackware
Posts: 957
Thanked: 15

Original Poster
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 .
konsolebox is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
play music m_talebi_z Ubuntu 10 06-17-2006 05:06 AM
Can't play music files annemarietjuhhh Linux - Software 6 01-18-2006 09:06 AM
cant play music king kong killa Fedora 2 06-11-2004 10:36 PM
Why can't I play Music CD's sgtbob Linux - Newbie 12 01-30-2004 07:28 PM
my music won't play JamDunc Linux - Newbie 4 08-03-2003 08:30 AM


All times are GMT -5. The time now is 08:53 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration