LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Poll: Do you play music in console?
Poll Options
Do you play music in console?

You must log in and have one post to vote in this poll. If you don't have an account, you can register here.
Results will be available after the polls close.

The nominees are:

always
sometimes
never
maybe in the near future

Reply
  Search this Thread
Old 07-25-2006, 06:46 AM   #1
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
Smile 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.

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.
 
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: 222

Rep: Reputation: 30
Quote:
Originally Posted by konsolebox
Do you mind playing music files in console?
I dont mind, but it is not pretty
 
Old 07-25-2006, 07:03 AM   #3
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
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.
 
Old 07-25-2006, 07:18 AM   #4
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248

Original Poster
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
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!
 
Old 07-25-2006, 07:32 AM   #5
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
I use console mplayer... sorry, i don't need the script - I edit playlists rarely, so gmplayer or vim are enough for me.
 
Old 07-25-2006, 07:39 AM   #6
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248

Original Poster
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
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.
 
Old 07-25-2006, 07:51 AM   #7
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
You miss the point - mplayer can do all your script is done to do.
 
Old 07-25-2006, 08:01 AM   #8
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
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!
 
Old 07-25-2006, 08:04 AM   #9
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248

Original Poster
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
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.
 
Old 07-25-2006, 08:08 AM   #10
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
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
 
Old 07-25-2006, 08:22 AM   #11
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248

Original Poster
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
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.
 
Old 07-25-2006, 08:57 AM   #12
jayemef
Member
 
Registered: Aug 2005
Location: Juniata College, PA
Distribution: Ubuntu, Slackware
Posts: 67

Rep: Reputation: 15
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.
 
Old 07-25-2006, 09:04 AM   #13
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
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.
 
Old 07-25-2006, 09:09 AM   #14
bernied
Member
 
Registered: Mar 2006
Location: Edinburgh, UK
Distribution: debian
Posts: 304

Rep: Reputation: 30
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.
 
Old 07-25-2006, 09:13 AM   #15
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248

Original Poster
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
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 .
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:15 PM.

Main Menu
Advertisement
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
Twitter: @linuxquestions
Open Source Consulting | Domain Registration