LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-15-2021, 03:47 PM   #31
reclusivewriter
Member
 
Registered: Jun 2014
Location: Midwest, USA
Distribution: Slackware
Posts: 80

Rep: Reputation: 55

To echo some of the replies in this thread, I play music on my text terminals as well, so I have used some of the solutions already listed.

mpg123 for mp3 files, although I also use mplayer. mpg123 took some time to figure out that infinite loop is --loop -1 and not --loop 0 like in mplayer. Of course, ogg does it completely differently with -r. And then, of course mpg123 and mplayer end by hitting "q", but for ogg123 you need Ctrl-C.

Except for the occasional mp3 or ogg, my library is in flac, which ogg123 plays perfectly fine. I don't remember my objection to flac123, but it may have been that it didn't display file-tags. I have my collection as albums (mostly classical and movie scores with the occasional gothic rock thrown in) and so I use the following batch file to play random albums (an album being defined as music files in the same folder). I navigate to the top folder in a tree (for example ost or bach) and run:

Code:
#!/bin/bash
while :
do
ogg123 $(ls -1 | shuf -n 1)
sleep 2
done
I don't know if this actually helps anyone, but if it does, that's a bonus. I tried using a musicplayer like Deadbeef, but it just seemed like overkill. If my batch file ever stops working, I guess I would use MOC, as I tried it and it seemed ok, but I didn't find a way to play random albums on it. Granted I didn't look very hard, but there you have it.

(Edit: fixed the code box)

Last edited by reclusivewriter; 03-15-2021 at 03:49 PM.
 
Old 03-15-2021, 04:40 PM   #32
jostber
Member
 
Registered: Jul 2001
Location: Skien, Norway
Distribution: Slackware Current 64-bit
Posts: 543

Rep: Reputation: 178Reputation: 178
ncmpcpp with mpd gives you a ncurses player. Both are available from slackbuilds.org.

https://rybczak.net/ncmpcpp/
 
Old 03-15-2021, 05:07 PM   #33
jr_bob_dobbs
Member
 
Registered: Mar 2009
Distribution: Bedrock, Devuan, Slackware, Linux From Scratch, Void
Posts: 651
Blog Entries: 135

Rep: Reputation: 188Reputation: 188
Thumbs up

Quote:
Originally Posted by JWJones View Post
Wow, no mentions for a Slackware original, soma?
You know, I'd heard that name mentioned before, but because Soma was a highly addictive drug in a SF story I'd read ages ago, I ignored it.

Today, after reading this thread, I did some searching and that was a voyage of discovery, indeed. I found a cool-looking and cool website, which had other links of interest in addition to soma. Then, before going through the whole download-build-compile-etc., loop, I, on a lark typed "soma" in the console and ... I already have it? Or it's part of slackware?

I picked a station and ... wow, it works without me even having to select a sound driver. Very cool!

I feel like I'm the last to know about this?
 
1 members found this post helpful.
Old 03-16-2021, 03:27 PM   #34
imitis
Member
 
Registered: Oct 2007
Location: Latvia, Liepaja
Distribution: Slackware
Posts: 92

Rep: Reputation: 29
Slackware comes with mocp (music on console) it's nice!

https://i.imgur.com/SMQ5ktR.png

Last edited by imitis; 03-16-2021 at 03:28 PM.
 
2 members found this post helpful.
Old 03-17-2021, 07:34 AM   #35
JWJones
Senior Member
 
Registered: Jun 2009
Posts: 1,444

Rep: Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709
Quote:
Originally Posted by jr_bob_dobbs View Post
Today, after reading this thread, I did some searching and that was a voyage of discovery, indeed. I found a cool-looking and cool website, which had other links of interest in addition to soma. Then, before going through the whole download-build-compile-etc., loop, I, on a lark typed "soma" in the console and ... I already have it? Or it's part of slackware?

I picked a station and ... wow, it works without me even having to select a sound driver. Very cool!

I feel like I'm the last to know about this?
Yes, soma has been a part of Slackware for a long time, and it is exclusive to Slackware. It is my go-to for music listening in Slackware. I'm glad you discovered it and like it! That's the beauty of Slackware, there's always something more to discover.
 
1 members found this post helpful.
Old 03-18-2021, 05:10 AM   #36
NonNonBa
Member
 
Registered: Aug 2010
Distribution: Slackware
Posts: 192

Rep: Reputation: Disabled
I've just realized that soma is a good example of "playing with the mplayer's slave mode".
 
1 members found this post helpful.
  


Reply



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
How change text color using linux in text mode only runlevel 3? Xavius Linux - General 7 05-07-2009 02:19 AM
Change from GUI mode to text mode alexr186 Linux - Software 4 01-08-2009 06:56 AM
Change the display mode in text mode Drunkalot Linux - General 7 08-12-2005 11:35 AM
How to; Suse9.3 prof. text mode to graphical mode anjum Linux - Software 5 07-20-2005 11:36 PM
Booting in text mode versus graphics mode LChalupa Linux - Newbie 3 01-15-2005 07:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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