LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 08-15-2006, 06:31 PM   #1
T0udi
LQ Newbie
 
Registered: Apr 2004
Location: Edinburgh, UK
Distribution: Debian Etch
Posts: 9

Rep: Reputation: 0
at + mpg321 how to do this?


I would like to wake up with my favorite song, so how can I do this?
I've red the at manual and tried to do that but probably i'm doing something wrong :/
eg at 7:00 -c mpg321 /home/t0udi/1.mp3 ?
 
Old 08-15-2006, 06:56 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,805

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
The correct name of the application is mpg123. You have it as mpg321.
 
Old 08-15-2006, 07:13 PM   #3
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 77
Quote:
The correct name of the application is mpg123. You have it as mpg321.
Not necessarily. mpg321 is a patent/encumbrance free clone of mpg123. Generally if you have *321 installed it is a symlink to *123 so that you may always use mpg123 in a script and it will work no matter which is installed.

See:
http://mpg321.sourceforge.net/about.html

Last edited by bulliver; 08-15-2006 at 07:24 PM.
 
Old 08-15-2006, 08:48 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,005
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Quote:
Originally Posted by T0udi
I would like to wake up with my favorite song, so how can I do this?
I've red the at manual and tried to do that but probably i'm doing something wrong :/
eg at 7:00 -c mpg321 /home/t0udi/1.mp3 ?
Try
Code:
echo "mpg321 /home/t0udi/1.mp3"|at 7:00

Cheers,
Tink
 
Old 08-15-2006, 09:10 PM   #5
T0udi
LQ Newbie
 
Registered: Apr 2004
Location: Edinburgh, UK
Distribution: Debian Etch
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Tinkster
Try
Code:
echo "mpg321 /home/t0udi/1.mp3"|at 7:00

Cheers,
Tink
That's perfect solution! Cheers!
 
  


Reply

Tags
at, wake


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
my mpg321 didn't work rjmaomao Linux - Newbie 4 08-14-2005 08:49 PM
mpg321 raffi Linux - Software 2 12-21-2004 06:42 AM
mpg321 playlist bingbang Linux - Newbie 4 12-01-2003 04:57 PM
mpg321 problem slacking Slackware 7 12-05-2002 12:24 PM
mpg321 problem slacking Linux - Software 1 12-02-2002 06:32 AM


All times are GMT -5. The time now is 03: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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration