• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

nevlib/H07-May-2022-3,1982,373

.dependH A D01-Feb-2000931 2221

CHANGESH A D17-Mar-2000491 1714

COPYINGH A D22-Jul-199914.6 KiB170124

MakefileH A D29-Jul-20013 KiB12677

Makefile.inH A D03-May-20223 KiB12575

READMEH A D17-Mar-20005.4 KiB118101

TODOH A D17-Mar-2000851 2217

cmp3.hH A D03-May-20222.5 KiB10879

cmp3common.cH A D03-May-20224.3 KiB146104

cmp3curses.cH A D13-Jun-200114.9 KiB479378

cmp3fileio.cH A D01-Jul-20014.1 KiB149102

cmp3funcs.hH A D03-May-20222.4 KiB9063

cmp3general.cH A D13-Jun-20011.5 KiB6039

cmp3id3.cH A D13-Jun-20011.3 KiB4629

cmp3id3.hH A D13-Jun-20012.7 KiB174161

cmp3listfiles.cH A D03-May-20226.8 KiB294236

cmp3llist.cH A D13-Jun-20013.3 KiB12682

cmp3main.cH A D03-May-202224.4 KiB810643

cmp3manager.cH A D07-Jul-20014.7 KiB209149

cmp3manager.hH A D13-Jun-2001615 2719

cmp3playlist.cH A D07-Jul-200113.2 KiB406308

cmp3rcH A D17-Mar-2000294 2420

cmp3shmdump.cH A D07-Jul-20011.4 KiB5746

cmp3vars.hH A D13-Jun-2001343 1612

cmp3volume.cH A D03-May-20222.5 KiB9357

config.h.inH A D29-Jul-20011.5 KiB5939

configureH A D29-Jul-200158.1 KiB1,9491,611

configure.inH A D29-Jul-2001741 3225

install-shH A D29-Jul-20015.5 KiB252153

keydef.hH A D13-Jun-20011.3 KiB4742

rnmp3.cH A D03-May-20228.5 KiB280198

README

1Cmp3 - Console mp3 frontend
2
3INSTALLING -
4Edit Makefile and set all variables properly. make. make install.
5Problems might come up if your curses library isn't ncurses. Please upgrade
6to the latest version from
7http://www.clark.net/pub/dickey/ncurses/ncurses.html
8
9There is now (with 2.0pre5) a cmp3rc file which is required. Simply edit
10cmp3rc and specify your favorite options. On installation, it will be
11copyied to it's final location where the binary will look for it. This is a
12simple ini file meant to be edited by hand. This file is not compatible with
13previous versions of the cmp3rc file. Please specify your directory mappings
14again according to the examples.
15
16RUNNING -
17Just run the program if you are brave. Use F1 for help on keys.
18Run "cmp3 help" for a list of possible commands. Most notable is the passing
19of an ass file.
20If something breaks, run "cmp3 quit" then try again.
21
22**************************************************************************
23**** List of Keys! Help is also at F1 in regular or list modes within ****
24********* These are the default settings - change them in keydef.h *******
25**************************************************************************
26
27'q' - Quit Cmp3 (Outside List Mode)
28'l' - Enter List Mode (see below)
29Tab or Left/Right - Switch to Directory/mp3 list
30Up/Down - Scroll
31PgUp/PgDwn - Scroll FAST!
32'd' - add entire current directory to playlist (must be in directory)
33'D' - recursively add entire current directory to playlist
34'c' - clear entire playlist (minus the song playing currently)
35'+' - Increase the volume ( '=' works too)
36'-' - Decrease the voume  (that is a minus sign)
37'k' - kill current song
38F5  - restart current song
39'p' - pause song (unpause when next key is hit)
40'r' - refresh screen (Reread the directory and clean screen if something else
41    threw something into that tty)
42's' - The greatest function ever! Suspend the interface, the playlist will
43    continue playing until it's all over and you get your console back.
44    If you restart Cmp3 while the playlist is going, it will find your
45    old playlist and you can keep editing it.
46'w' - write playlist to file, currently it will write to specified file in
47    whatever directory you are currently in or the ass repository if
48    compiled in be placed there.  View any generated ass file for available
49    options.
50Delete - remove file from system, does no permission checking... if it
51    didn't delete... you can't delete it (be careful)
52F2  - bring up directory change dialog to specify directory to change to
53'h' - go back to home directory (where Cmp3 was initialized)
54'a' - (only when an ass repository is defined in makefile) switches to ass
55	directory and lets you select available ass files
56'R' - toggle repeat mode on/off - you will see an R show up at the bottom
57		left of the screen
58
59In List Mode -
60'q' - Quit List Mode
61Up/Down - Scroll
62'd' - Remove file from list
63'g' - grab/let go of a file, use this to move around a file (Up/Down)
64(PgUp/PgDwn won't work because I didn't feel the need for it, can be added
65    very easily, if you think it's a good idea... let me know)
66'r' - Randomize the playlist. If a song is grabbed, the list starting there
67    will be randomized with previous songs in the same order.
68
69m3u and pls file loading
70Cmp3 has gained the ability to read pls and m3u files at version 2.0pre4
71m3u files created by x11amp or xmms should work transparently. Simply find
72them and run them. In order for playlist files created under windows to be
73loaded, a mapping of drive letters to mount points is required. Take a look
74at the included cmp3rc and create a similar file for your setup and point to
75it with the config_file parameter in the Makefile. If the config file cannot
76be loaded, selecting a windows m3u or pls file will do nothing.
77
78rnmp3 -
79A small program that I use to make sure my mp3 collection is named
80consistently. Beware that if used incorrectly, it will screw up all your
81filenames beyond recognition. Safe way of seeing what it will do is running
82it with any command-line argument that doesn't begin with '-'. "rnmp3 test"
83is a descriptive way of running it. It needs filenames to be piped in. You
84can run "find | rnmp3 test" to rename all files. When a directory name gets
85renamed, the files under it will fail. Just run the command as many times as
86it takes until there is no output.
87
88Contacting me -
89If you have any questions/comments/problems with this program, please
90email me at
91
92pandama@psu.edu
93
94and let me know what you think of it and give me some ideas.
95Check back rarely to
96
97http://www.personal.psu.edu/nkk104/cmp3/
98
99NOTES -
100I promise to add some helpful output to the screen about what is currently
101going on. I've been lazy because I can listen and tell if something's
102playing or not.
103If you are having problems with not being able to hear anything yet cmp3
104says it's playing, uncomment the DEBUG option in the makefile, compile and
105see what mpg123 is saying from /tmp/cmp3log
106
107Thanks to Michael Hipp and Oliver Fromme for developing the best damn mp3
108player out today. mpg123 is truly a masterpiece.
109
110Thanks VERY much to Jeff Drost for helping me with Cmp3, expecially the
111shared memory stuff. I feel this is the strongest feature.
112
113Thanks also go to Jon Armstrong for helping me find a hideously big and
114pesky bug in the linked list library. This guy spent hours helping someone
115he didn't know. The only satisfaction he wanted was to know that someone
116learned something about C that day.
117
118# EOF