Debian Codegraph @

README

raw ◀ ▶
1 Debian patch touch this file
1 Bongo is a flexible and usable media player for GNU Emacs. If you
2 store your music collection locally and use structured file names,
3 then Bongo is a great way for you to play music from within Emacs.
4
5 Bongo can be installed through MELPA using `M-x package-install'.
6
7 Getting Started
8 ===============
9
10 Though Bongo has certain preferences about how you name the files in
11 your music collection (see below), you should be able to get started
12 right away by runing `M-x bongo RET' and following the instructions.
13
14 Before getting your hands dirty, you might want to skim through the
15 customization group for Bongo (`M-x customize-group RET bongo RET').
16 It might be fun to browse through all of it, but at the moment the
17 most important option is `bongo-enabled-backends', which determines
18 what external programs Bongo will use to play media.
19
20 Bongo will try to find a reasonable set of default backends by looking
21 for the programs `vlc', `mpg123', `ogg123', `speexdec', `timidity',
22 `mikmod' and `afplay'. (If you install one of these programs now, you
23 will have to restart Emacs for Bongo to pick it up automatically.)
24
25 If you want to use another program for media playback, you can easily
26 define your own backend. Basic play/pause functionality works with
27 any backend, whereas other features like seeking require custom code.
28 (The default pause functionality is implemented using `SIGSTOP'.)
29
30 Your Music Collection
31 =====================
32
33 For the best Bongo user experience, your music collection should have
34 hierarchical file names. That is, they should be named according to
35 one of the following templates:
36
37 Artist - 2014 - Album - 01 - Title.mp3
38 Artist - 2014 - Album - Title.mp3
39 Artist - Album - 01 - Title.mp3
40 Artist - Album - Title.mp3
41 Artist - Title.mp3
42 Title.mp3
43
44 So any reasonable combination of artist, year, album, index and title
45 in the right order (less specific to more specific) should be okay.
46 Embedding the metadata in the file name is simple and robust and also
47 speeds up the process of fetching it.
48
49 You don't have to use ` - ' as the separator, but you can't use `/'
50 and have your files in nested directories. The information actually
51 needs to be stored in the basename of each file.
52
53 Basic Commands
54 ==============
55
56 To start Bongo, run `M-x bongo RET'. To insert a file or a whole
57 directory of files, type `i'. Then hit `RET' to play one of them.
58 To see a list of available commands, run `M-x describe-mode RET'.
59 Here are some common ones for your convenience:
60
61 `i' Insert a track (or a directory tree full of tracks).
62 `RET' Start playing the track at point (and then continue).
63 `SPC' Pause playback (if supported by the backend).
64 `C-c C-s' Stop playback (or start, if already stopped).
65 `C-c C-n' Start playing the next track.
66 `C-c C-r' Start playing a random track.
67 `s' Seek backward or forward (if supported by the backend).
68 `l' Move point to the current track and recenter.
69 `q' Quit Bongo (bury Bongo buffers and delete windows).
70
71 `c' Copy the track or section under point.
72 `k' Kill the track or section under point.
73 `C-w' Kill all tracks and sections in the region.
74 `y' Reinsert the last copied or killed stuff.
75 `I u' Insert a URI (can be used to play podcasts and radio).
76 `I TAB' List other kinds of tracks that can be inserted.
77
78 `2 C-c C-n' Skip the next track and start playing the one after that.
79 `3 C-c C-s' Stop playback after the next three tracks finish playing.
80 `3 RET' Start playing the track under point, and continue playing
81 tracks, but stop after playing the third track.
82 `C-u C-c C-s'
83 Stop playback after each track finishes playing (this is
84 good when playing movies, for example).
85 `C-u C-u C-c C-s'
86 Stop playback after the track at point finishes playing.
87 `C-u C-c C-n'
88 Play the next track after each track finishes playing
89 (this undoes the effect of `C-u C-c C-s').
90 `C-u C-c C-r'
91 Play tracks in random order.
92
93 Here are some commands that are nice if you use library buffers:
94
95 `h' Switch from playlist to library (or vice versa).
96 `C-u h' Switch from playlist to library (or vice versa), leaving
97 the original buffer visible in another window.
98 `e' Append the track under point or the region (if active)
99 to the end of the playlist buffer.
100 `3 e' Append the track at point and the two after that to the
101 end of the playlist buffer.
102 `E' Insert the track under point or the region (if active)
103 into the playlist buffer, directly below the track
104 that's currently playing.
105 `C-x C-s' Save the current buffer (library buffers are stored
106 using the `.bongo-library' file extension).
107
108 Finally, since you've read this far, here are a few bonus commands:
109
110 `d' Open a Dired buffer containing the track under point.
111 `r' Rename the file corresponding to the track under point.
112 `v' Change audio volume (requires the `volume-el' package).