LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 05: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, 05:56 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
The correct name of the application is mpg123. You have it as mpg321.
 
Old 08-15-2006, 06: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: 78
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 06:24 PM.
 
Old 08-15-2006, 07:48 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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, 08: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



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 07:49 PM
mpg321 raffi Linux - Software 2 12-21-2004 05:42 AM
mpg321 playlist bingbang Linux - Newbie 4 12-01-2003 03:57 PM
mpg321 problem slacking Slackware 7 12-05-2002 11:24 AM
mpg321 problem slacking Linux - Software 1 12-02-2002 05:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:05 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