LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 11-03-2012, 09:19 AM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
Can somebody suggest a cli CD player with more than regular features (not mplayer).


Hi:

For all I like linux I've never been able to find a linux cli audio CD player that is a descent program. Of course, there is Slack's workbone, a very handy audio CD player and a good example of trade-off between facilities and resource-hunger.

I would be happy (not exaggerating) to find such a cli program with only one extra feature over workbone, which by the way can be instructed to leave the console free for you to use it (it stays running in the background if you like, i.e., not interactively): to start a track from whichever place within the track you wish and being able to specify it by means of an option in the command line, in the way mplayer, e.g., does it ('mplayer //cdda 3 -ss 12.43.70' would be: play track 3 of the CD, starting at 12 min, 43.70 sec). Why not mplayer, then? Only one reason. It's like using an atom bomb to kill an ant.

The question: Can somebody suggest a cli CD player like the one described above?

Last edited by stf92; 11-03-2012 at 11:29 AM.
 
Old 11-03-2012, 09:37 AM   #2
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,308

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
once you find suitable cli cdplayer you can send it to background with screen
 
Old 11-03-2012, 09:59 AM   #3
archShade
Member
 
Registered: Mar 2006
Location: Delft NL
Distribution: Debian; Slackware; windows 7
Posts: 218

Rep: Reputation: 53
cdcd (command driven cd player) will do this I beieve although I have not used it in a while. guesse I like to make sure my ants are good and dead
 
Old 11-03-2012, 11:28 AM   #4
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Will this , archShade, do for a slackware operating system? It's ArchLinux, but the page enumerates a lot of OSs, including slackware. However, for 32 bits (as well as for 64) they offer only one package.

Last edited by stf92; 11-03-2012 at 11:30 AM.
 
Old 11-03-2012, 12:15 PM   #5
archShade
Member
 
Registered: Mar 2006
Location: Delft NL
Distribution: Debian; Slackware; windows 7
Posts: 218

Rep: Reputation: 53
I have no expriance with arch and do not know if a package from arch will run on slack (someone who knows care to chime in), but I have a feeling it won't. I genrally only look at http://packages.slackware.com/ for slack packages, sadly that route is not gonna cut it this time. If I cannot find it there I look on the project website and somtimes (rarely) there may be a slack package.

This is in no way garanteed.
Else install from source which you may have to do if you want to run this. Is a quite easy instalation (standard ./configure; make; su -c "make install") you will need gcc (or another c compiler), make, and licdaudio installed for this to work.

Latest source can be found herehttp://directory.fsf.org/wiki/Cdcd.

I appreciate that instalation from source can be messy at times but I think its well worth doing if you want a package. Another way would be to create your own slack package (from the source) here is a helpful wiki article on the subject. I am a poor guide for this (having not actually done it) but I'm sure there are plenty round here who have. Then you can upload your file and help other people who want to use cdcd under slack in future.

I'm sorry if this is overly simplistic (I appreciate you are quite an experianced linux user) but it's better to cover as much as possible. (Although if I have missed or glossed over anything please don't be afraid to ask)
 
1 members found this post helpful.
Old 11-03-2012, 12:32 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Ref. post #4

The Arch package cdcd-0.6.6-6-i686.pkg.tar.xz is one file : /usr/bin/cdcd
.. and has few dependencies :
$ ldd cdcd
libcdaudio.so.1
libreadline.so.6
.
libncurses.so.5

.. Should work on any contemporary Linux OS.
32bits http://archlinux.c3sl.ufpr.br/commun...686.pkg.tar.xz
64bits http://archlinux.c3sl.ufpr.br/commun..._64.pkg.tar.xz

.

Last edited by knudfl; 11-03-2012 at 12:34 PM.
 
1 members found this post helpful.
Old 11-03-2012, 12:48 PM   #7
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by stf92 View Post
Why not mplayer, then? Only one reason. It's like using an atom bomb to kill an ant.
Can you elaborate ?
 
Old 11-03-2012, 12:54 PM   #8
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
I got this

cdcd-0.6.6-i486-1sl.tgz*
cdcd-0.6.6-i486-1sl.tgz.asc*
cdcd-0.6.6-i486-1sl.txt*
src/

at http://slackware.org.uk/slacky/slack...ltimedia/cdcd/. And my OS
is slackware 12.0. That is to be lucky (12.2 - 12.0 = only 0.2). Within
src/. there comes a slackbuilds script, but no checksums.

Cdcd is the program suggested in post #3, whose manual I was reading and is versatil enough without pretending to serve me a cup of coffe too.
 
Old 11-03-2012, 01:22 PM   #9
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Quote:
Originally Posted by archShade View Post
I have no expriance with arch and do not know if a package from arch will run on slack (someone who knows care to chime in), but I have a feeling it won't. I genrally only look at http://packages.slackware.com/ for slack packages, sadly that route is not gonna cut it this time. If I cannot find it there I look on the project website and somtimes (rarely) there may be a slack package.

This is in no way garanteed.
Else install from source which you may have to do if you want to run this. Is a quite easy instalation (standard ./configure; make; su -c "make install") you will need gcc (or another c compiler), make, and licdaudio installed for this to work.

Latest source can be found herehttp://directory.fsf.org/wiki/Cdcd.
Thanks for these links, archShade.
Quote:

I appreciate that instalation from source can be messy at times but I think its well worth doing if you want a package. Another way would be to create your own slack package (from the source) here is a helpful wiki article on the subject. I am a poor guide for this (having not actually done it) but I'm sure there are plenty round here who have. Then you can upload your file and help other people who want to use cdcd under slack in future.
I have some experience compiling (even compiled the kernel but, slavishly following a third person's instructions). About making packages, I have always wanted to do it, and if I did not it only was for lack of time (an erroneous appreciation as I realize each time I have to compile mplayer).

Quote:
[...](Although if I have missed or glossed over anything please don't be afraid to ask)
I will certain do, archShade, and a lot of thanks for your posts. I'm about to begin compilation of cdcd.

Last edited by stf92; 11-03-2012 at 01:24 PM.
 
Old 11-03-2012, 01:29 PM   #10
archShade
Member
 
Registered: Mar 2006
Location: Delft NL
Distribution: Debian; Slackware; windows 7
Posts: 218

Rep: Reputation: 53
I have to ask why are you still using slakware 12.0? is there a reason you cannot upgrade. The current version of slack is 14. This is comming from someone running 13.37 however I use slack as a bit of a toy OS (I'm not saying slack is a toy) that I use to try out little projects such as messing around with kernals or trying to configure stuff manually. Most of the time I use Debian (stable) for the just works factor.

I plan to upgradeafter my next set of exams.
 
Old 11-03-2012, 01:52 PM   #11
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
@knudfl: Thanks for your useful remarks.

@Tex: Have you ever heard of utorrent ('u' stands for mu)? They use the fact it is a tiny program to advertise it. Because of that I immediately adopted it. A small program runs faster than a big one on the same machine. And takes less room (RAM/disk). But of course, it's all a matter of taste.

Last edited by stf92; 11-04-2012 at 05:26 AM.
 
Old 11-03-2012, 02:55 PM   #12
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Quote:
Originally Posted by archShade View Post
I have to ask why are you still using slakware 12.0? is there a reason you cannot upgrade. The current version of slack is 14. This is comming from someone running 13.37 however I use slack as a bit of a toy OS (I'm not saying slack is a toy) that I use to try out little projects such as messing around with kernals or trying to configure stuff manually. Most of the time I use Debian (stable) for the just works factor.

I plan to upgradeafter my next set of exams.
I'll put it this way: some people enjoy using the transistor. I enjoy reinventing it. Sure, you have to reinvent quantum mechanics first, but that is fun too. And, like you, I use several operating systems. One of them is MS-DOS 5.00 (1991).
 
Old 11-03-2012, 03:38 PM   #13
archShade
Member
 
Registered: Mar 2006
Location: Delft NL
Distribution: Debian; Slackware; windows 7
Posts: 218

Rep: Reputation: 53
compleatley off topic but

Quote:
Originally Posted by stf92 View Post
A small program runs faster than a big one on the same machine. And takes less room (RAM). But of course, it's all a matter of taste.
Although this is a good rule of thumb it's not always true. If there is suffciant RAM a program with a larger footprint can outperform one with a small footprint (which may end up being IO bound to another slower part of the computer). It is also possible to have a program that is desighned in a moduler way to only load the parts needed for a particular task where a smaller non-moduler program loads it's entirity into RAM. Another example is if there is a program that has to derive mathematically an oft used constant from an input before using it it would be more efficiant to calculate it once rather than every time it was called but a program that called the function each time would be less efficient than a program that calculated it once even though the one that called the function many times would use less RAM. Many of these issue are solved by modern optimizeers.

As I said 99.9/100 times you would be correct but it's not always the case, even more true when it comes scientific computing.

Another thing that may limit this (and more relevent to the discssion). Multiple instances of a single tool will often have large sections shared which means that if you have mplayer doing many things it could be more efficiant than having multiple specific tools open at the same time.

All that being said I would have though (but have no evidence) that in this situation the standalone cd player would perform bettter.
 
Old 11-03-2012, 04:51 PM   #14
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 8

The Slackware 12.2 package cdcd-0.6.6-i486-1sl.tgz
http://slackware.org.uk/slacky/slack...6-i486-1sl.tgz
.. works OK on Slackware 12.0, when you have the dependency libcdaudio
http://slackbuilds.org/result/?search=cdaudio&sv=13.1

Binary package for 12.0 : libcdaudio-0.99.12p2-i486-1_SBo.tgz ( 88 kB )
https://docs.google.com/open?id=0B7S...jFyYjVqTFdBYTg

.
 
1 members found this post helpful.
Old 11-03-2012, 05:44 PM   #15
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Quote:
Originally Posted by knudfl View Post
# 8

The Slackware 12.2 package cdcd-0.6.6-i486-1sl.tgz
http://slackware.org.uk/slacky/slack...6-i486-1sl.tgz
.. works OK on Slackware 12.0, when you have the dependency libcdaudio
http://slackbuilds.org/result/?search=cdaudio&sv=13.1

Binary package for 12.0 : libcdaudio-0.99.12p2-i486-1_SBo.tgz ( 88 kB )
https://docs.google.com/open?id=0B7S...jFyYjVqTFdBYTg

.
Most kind of you, Sir, and thank you very much.
 
  


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
LXer: 13 Features of Regular Expressions LXer Syndicated Linux News 0 11-13-2010 10:40 PM
[SOLVED] cli php missing modules as regular user but not as root jraidan Slackware 7 09-10-2010 07:18 AM
Which CLI / Text editor has greatest number of features ? frenchn00b General 1 06-20-2010 04:10 AM
I want to use a sniffer soft on Linux CLI mode. Please suggest one for me. 80mail Linux - Networking 5 08-12-2005 08:42 AM
Kate - Regular Expression Replace and Other Features? apachedude Linux - Software 0 01-04-2005 01:49 PM

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

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