LinuxQuestions.org
Visit Jeremy's Blog.
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


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
  Search this Thread
Old 07-25-2006, 08:37 AM   #16
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69

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?
 
Old 07-25-2006, 08:53 AM   #17
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248

Original Poster
Blog Entries: 8

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

Rep: Reputation: 69
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)?
 
Old 07-25-2006, 06:22 PM   #19
Vgui
Member
 
Registered: Apr 2005
Location: Canada
Distribution: Slackware
Posts: 496

Rep: Reputation: 31
I like to have xmms running, but normally access it through cxmms (console based) or hotkeys.
 
Old 07-25-2006, 06:58 PM   #20
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
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
That's written in bash
 
Old 07-25-2006, 07:08 PM   #21
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 Vgui
I like to have xmms running, but normally access it through cxmms (console based) or hotkeys.
do winamp and xmms have the same shortcut keys? i based the keys from winamp's.
 
Old 07-25-2006, 09:08 PM   #22
RHLinuxGUY
Member
 
Registered: Oct 2003
Distribution: Ubuntu 7.04
Posts: 889
Blog Entries: 1

Rep: Reputation: 30
With games that I cannot switch to the desktop, like ET, with fluxbox or etc, I switch to a virtual terminal and use xmms-ctrl, or xmms-shell.
 
Old 07-26-2006, 04:07 AM   #23
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
Will I change my mind? Unlikely.
 
Old 07-28-2006, 10:00 PM   #24
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
Will I change my mind? Unlikely.
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.
 
Old 07-29-2006, 01:36 AM   #25
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
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.
 
Old 07-29-2006, 10:50 PM   #26
ctkroeker
Senior Member
 
Registered: May 2005
Posts: 1,565
Blog Entries: 1

Rep: Reputation: 50
I'd definitely try it out. It's cool doing stuff from the console...
 
Old 08-01-2006, 08:34 AM   #27
markcov
LQ Newbie
 
Registered: Jan 2005
Posts: 2

Rep: Reputation: 0
MOC is pretty cool too

I've been using MOC - moc.daper.net

It has a layout alot like Midnight Commander. Works well for me.

markcov
 
Old 08-08-2006, 08:16 AM   #28
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248

Original Poster
Blog Entries: 8

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

Rep: Reputation: 45
cheers, i'll download when i get home and take a look, is ampd the daemon that runs it, or are they different versions?
 
Old 08-08-2006, 08:51 AM   #30
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248

Original Poster
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
thanks ethics.

ampd's the daemon. ampkonsole is the interface. ampkonsole automatically runs ampd if ampd's not running. so doing 'ampkonsole' is enough.
 
  


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 04:06 AM
Can't play music files annemarietjuhhh Linux - Software 6 01-18-2006 08:06 AM
cant play music king kong killa Fedora 2 06-11-2004 09:36 PM
Why can't I play Music CD's sgtbob Linux - Newbie 12 01-30-2004 06:28 PM
my music won't play JamDunc Linux - Newbie 4 08-03-2003 07:30 AM

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

All times are GMT -5. The time now is 02:42 AM.

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