Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.misc > #2391 > unrolled thread

Open Cubic Player, terminal music player, first ran on DOS

Started byRS Wood <rsw@therandymon.com>
First post2014-04-15 09:51 +0000
Last post2014-04-15 09:51 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.misc


Contents

  Open Cubic Player, terminal music player, first ran on DOS RS Wood  <rsw@therandymon.com> - 2014-04-15 09:51 +0000

#2391 — Open Cubic Player, terminal music player, first ran on DOS

FromRS Wood <rsw@therandymon.com>
Date2014-04-15 09:51 +0000
SubjectOpen Cubic Player, terminal music player, first ran on DOS
Message-ID<liivfr$vm3$1@solani.org>
From the «lovely terminal tunes» department:
Title: Linux Terminal Application: Open Cubic Player
Author: linuxari
Date: Tue, 15 Apr 2014 05:01:56 -0400
Link: http://feedproxy.google.com/~r/Linuxaria_En/~3/rXOVUls7GD0/linux-terminal-application-open-cubic-player

An interesting article by Cirrus first posted on his blog[1]

Hi

Again ill be writing about yet another TUI application, which will run with
or without an X server. Those who know me are aware i prefer to use the
console where possible, not because i wanna be l33t but merely because i find
it does things better, faster and in many cases opens up more
options/preferences than you get with the GUI counterparts. My latest find
started life in or around December of 1994 as a DOS binary-only freeware.
Thankfully at the tail end of 2003 someone took the time and effort to port
it to Linux, and other ‘Unix like’ Operating systems.

Open Cubic Player[2] (OCP) as mentioned will run in a TTY as well as in a
graphical environment, here’s a few scrot’s of OCP

[image 3][3] [image 4][4]



Both images above are from the ocp-X11 ( the graphical environment) now it’s
only fair i show you some scrots of OCP running in a non graphical
environment.

[image 5]
[5]

[image 6][6]

Using ocp-curses we dont get the same visualisations, only the spectrum
analyzer, whereas in the X version we have choice of around 4 visualisations

Video of ocp-curses[7]

Ok if you are still reading im guessing you too must be in the TUI advocacy
minority, im proud of you.  To show how proud im going to give a step by step
tutorial on how to install this on any linux boxxen, so much so that even the
novice will be able to follow the steps.  I would call myself an intermediate
Linux user and i found OCP to have a wee learning curve so ill share some of
my findings too that will maybe save you some time and effort, one hopes.  I
am a big fan of MPD/ncmpccpp for my music player on linux, but OCP comes a
close second, for me, only place if falls short is that i’m not able to
stream http audio ( not that i’ve discovered as yet ). Firstly go and have a
a read Here[8] ,it will also be wise to bookmark that page.

Now let’s get down to pimping our consoles, I tried a few OCP packages and
only THIS[9] one built without issue on 3 linux boxxen, both i686 & x86_64, 
so go right ahead and download the compressed .tar.bz2.  Once downloaded
extract the contents ( only 1 folder named ocp-0.1.21)  extract that folder
to somewhere in your home directory, for the purpose of this tutorial i’d
recommend creating a  new folder in your home directory and name it ‘ build
‘  and extract ocp-0.1.21 to there.

Next go ahead and open up a terminal ( new user’s dont be scared it’s not
only leet haxxors who use a terminal

Assuming you followed above steps by creating a folder named ‘build ‘ in your
home directory and extracted the tarball therein then run this command in
terminal

cd ~/build/ocp-0.1.21

cd = change directory, so you have just moved into the ocp-0.1.21 folder by
issuing that command.   Next up run this command

./configure

you will see text scrolling past, once it’s done and you are returned to your
PS1 (command prompt)  do this command

make

again you will see text scrolling past, once finished the final step is to
issue this command

su

enter password when prompted

(su= super user, linux requires elevated priviliges to install software or to
change system settings, this is a factor as to why we don’t see that many
viruses & malware on Linux and other ‘ Unix like’ systems.  Once you have
given the su command you will be prompted for password, enter it ( you wont
see it on the screen as you type)  now the final command is

make install

and once that’s finished installing type exit to leave super user, now you
have just installed the application from source, ( well done to any new users
who are still with me here)  you can type ocp in a terminal or launcher to
run the graphical version of the application, typing ocp-curses in a terminal
or tty will launch the non graphical version.

Config file is stored in ~/.ocp/ocp.ini  HERE[10] is mine, line 65 should be
edited to point to your music directory. Editing line 28 or ; commenting it
out will change colours.

To have playlist play continuously press the insert key when chosen directory
is highlighted in the ocp file manager

In the graphical ocp the keys a,o,b will change visualisations, pressing
shift & a is my prefered vizualsation ( spectrum analyzer )

I use i3 tiling Window Manager and i find adding this line to ~/.i3/config
makes the X version better
1 for_window [title="Open Cubic Player"] floating enable; border 1pixel;

If you have any questions or get stuck feel free to leave a comment and ill
respond ASAP

That’s all folks.

cirrus

Related posts:

1.Linux Terminal: sshfs, Remote directory over ssh[11]
2.How-To: Create ISO Images from Command-Line[12]

[image 13]

[image 15][14]
[image 17][16][image 19][18][image 21][20][image 22]

Links:
[1]: http://cirrusminor.info/2014/03/22/open-cubic-player/#more-1529 (link)
[2]: http://www.cubic.org/player/ (link)
[3]: http://cdn.linuxaria.com/wp-content/uploads/2014/04/ocp02.png (link)
[4]: http://cdn.linuxaria.com/wp-content/uploads/2014/04/ocp01.png (link)
[5]: http://cdn.linuxaria.com/wp-content/uploads/2014/04/ocp03.png (link)
[6]: http://cdn.linuxaria.com/wp-content/uploads/2014/04/ocp04.png (link)
[7]: https://asciinema.org/a/8403 (link)
[8]: http://www.cubic.org/player/doc/ (link)
[9]: http://sourceforge.net/projects/opencubicplayer/ (link)
[10]: https://gist.github.com/cirrusUK/9668515 (link)
[11]: http://linuxaria.com/article/linux-terminal-sshfs-remote-directory-over-ssh?lang=en (link)
[12]: http://linuxaria.com/article/how-to-create-iso-images-from-command-line?lang=en (link)
[13]: http://yarpp.org/pixels/ba2be3fba9b21a2a23229e17892b86c0 (image)
[14]: http://linuxaria.com/?flattrss_redirect&id=7999&md5=ba504281b6bcc77355b0e241379d6b98 (link)
[15]: http://cdn.linuxaria.com/wp-content/plugins/flattr/img/flattr-badge-large.png (image)
[16]: http://feeds.feedburner.com/~ff/Linuxaria_En?a=rXOVUls7GD0:Gu8wQ_WtRSU:yIl2AUoC8zA (link)
[17]: http://feeds.feedburner.com/~ff/Linuxaria_En?d=yIl2AUoC8zA (image)
[18]: http://feeds.feedburner.com/~ff/Linuxaria_En?a=rXOVUls7GD0:Gu8wQ_WtRSU:qj6IDK7rITs (link)
[19]: http://feeds.feedburner.com/~ff/Linuxaria_En?d=qj6IDK7rITs (image)
[20]: http://feeds.feedburner.com/~ff/Linuxaria_En?a=rXOVUls7GD0:Gu8wQ_WtRSU:gIN9vFwOqvQ (link)
[21]: http://feeds.feedburner.com/~ff/Linuxaria_En?i=rXOVUls7GD0:Gu8wQ_WtRSU:gIN9vFwOqvQ (image)
[22]: http://feeds.feedburner.com/~r/Linuxaria_En/~4/rXOVUls7GD0 (image)

[toc] | [standalone]


Back to top | Article view | comp.misc


csiph-web