SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I often have a habit of forgetting when every hard work I will go to sonnerie to listen to music, it helps me relax and relax my mind after stressful working days.
Last edited by ShirleyReed; 03-16-2021 at 11:36 PM.
i'd like to try it. i've installed it but i wasn't able to go any further. i can't understad the basic commands. how cau i play my tracks? how can i build my playlist?
Go into the directory containing your ogg files and then run:
Code:
ls -1 -b --color=never -d $PWD/*.ogg > playlist.txt
To listen to the playlist:
Code:
ogg123 --list playlist.txt
For more information about how to use ogg123, the man page is your friend:
Code:
man ogg123
In particular to stop playing:
Quote:
INTERRUPT
You can abort ogg123 at any time by pressing Ctrl-C. If you are playing multiple files, this will stop the current file and begin playing the next one.
If you want to abort playing immediately instead of skipping to the next file, press Ctrl-C within the first second of the playback of a new file.
apropos ogg, apropos mp3. mocp is player with interface as mc file manager - you can browse directories and create easily play list just with tab. mocp can also play radio streams but only ice cast streams like this one http://ice2.somafm.com/defcon-128-aac. To play natively ogg files you can use ogg123. Of course you can use as well mplayer or vlc - say soma radio player is using mplayer as backend.
Edit: I forgot to add. mocp is server - once it starts to play you can detach it form input. Just press q. To reattach run again mocp command.
Like Mark Pettit says, MPlayer will play almost anything:
Code:
mplayer -novideo *
I add "-novideo" because some m4a have the cover picture inside, which in my experience can draw mplayer to push hard the CPU when the environment doesn't allow to display it.
If you like scripting, you can also play with its slave mode to get your basic home-made music server.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.