Remove events_pending
[gmpc.git] / doc / Manual.txt
blob4a662eded120fa22241d44e712288c8f36f77c1b
1 GMPC v0.14.0 Manual
2 ===================
3 Qball Cow <qball@qballcow.nl>
4 v0.2, December 2006
8 {index}
10 Quick Starters Guide
11 ---------------------
13 If you start gmpc for the first time you see the following default window:
15 .The Main Window, Disconnected
16 image::images/gmpc-mainwindow.png["The Main Window, disconnected"]
18 To connect to mpd, you first need to enter the location of mpd. You can do this in the preferences window.
19 (Music->Preferences)
21 .The Preferences dialog, Connection
22 image::images/gmpc-preferences-connection.png["The Preferences dialog, Connection"]
24 Enter the correct information and click *Connect* and close the preferences window.
26 .The Main Window, connected
27 image::images/gmpc-mainwindow-connected.png["The Main Window, connected"]
29 If you haven't used anyother client with mpd yet, you won't see any music in the playlist. 
30 You need to add music from mpd's database to the playlist. In gmpc you can do this in different ways, for example using the File brohttp://qballcow.nl/Guide/Manual.htmlwser.
32 .The File Browser
33 image::images/gmpc-filebrowser.png["The File Browser"]
35 The file browser acts like any other file browser. You can browse through the music in the way it's stored on the file-system.
37 [NOTE]
38 If you don't see any folders of music here, it's possible mpd's database haven't been updated yet. You can do this by right-clicking on the "Browse Filesystem" and select update. If this doesn't work (it might take some time), please look at mpd's link:http://mpd.wikia.com[Wiki]
40 To add a folder, or music-file right click and select add (or press insert-key to add the selected items).
41 You will see a message in the status bar.
43 .The File Browser, adding a folder
44 image::images/gmpc-filebrowser-add.png["The File Browser, adding a folder"]
46 You can now press "Play" to enjoy your music.
48 .Gmpc Playing
49 image::images/gmpc-mainwindow-playing.png["Gmpc Playing"]
51 TIP: To get cover art in gmpc, you need to install provider plugins
53 [[X20]]
54 Main Window
55 -----------
56 Interface
57 ~~~~~~~~~~~
59 The main window consist of everything beside the browser. It features the player controls, and the posibility to switch from one browser to the other.
61 .Main window 
62 image::images/gmpc-mainwindow-playing.png["Gmpc Playing"]
64 The main window can be devided into 4 parts:
66 1. Menu Bar
67 2. Player
68 3. Browser
69 4. Status bar
71 1. Menu Bar
72 ^^^^^^^^^^^
74 image::images/mainwindow-menubar.png["Menu Bar"]
76 The menubar provides quick access to most functionality in gmpc.
77 The structure can vary depending on the state gmpc is in, but it basically looks as follow:
79 - Music
80   * Connect
82         Connect to the currently selected profile.
84   * Disconnect
86         If connected, disconnect
88   * Send Password
90         If you are connected to a mpd that has limited permissions, you can use this command to authenticate to get extra permissions. 
92   * Profiles
94         Shows in a sub-menu a list of available profiles. 
96   * Preferences
98         Opens the preferences window
100   * Quit
101 - Control
102   * Play/Pause
104         Start playing, or if pause a playing song.
106   * Stop
108         Stop playback
110   * Next
112         Skip to the next song
114   * Previous
116         Go back to the previous song, 
118   * Repeat
120         Enable/Disable repeat mode
122   * Random
124         Enable/Disable random order playback
126 - View
127   * <<X22, Expand Interface>>
128   * <<X22, Collapse Interface>>
129   * Show current song information #make link
131         Calls the Song information window for the currently playing song
133   * Show artist image
135         Gmpc can show, if available, a image of the artist in the lower left corner.
136         This lets you turn that image on/off
138 - Option
140         The option menu shows the available options that the current selected browser provides, it is equal to the context menu of the left treeview.
142 - Go
144         The go menu provides a easy way to access the different browsers.
146 - Help
147   * About
149 2. Player 
150 ^^^^^^^^^
152 image::images/mainwindow-player.png["Player"]
154 The player gives you quick access to the default player controls. (Need a nice story here)
156 TIP: You can quickly jump to a position in the song by middle clicking on that position in the progress slider.
158 NOTE: To get cover art in the player you need to install the correct plugins that provides them to gmpc.
160 3. Browser
161 ^^^^^^^^^^
163 image::images/mainwindow-browser.png["Browser"]
165 In the left tree-view you can browse through the browser and the different browsers. Depending on what browser selected the right pane will show the content. This can be a list view, f.e. the current playlist but it can also embed firefox to show you a wikipedia page (the wikipedia plugin does this). 
167 4. Status Bar
168 ^^^^^^^^^^^^^
170 image::images/mainwindow-statusbar.png["Status Bar"]
172 The status bar consists of 2 parts. On the left you see short term information messages, like 'Added 5 songs'. 
173 On the right you see information about the current browser, for example in the Current Playlist you see the total time of the playing list.
175 NOTE: Plugins/browsers are allowed to add widgets to the status bar, so does the file-browser show a small icon in the status bar when mpd is updating it's database.
177 Keybindings
178 ~~~~~~~~~~~
180 .Keybindings Player:
181 [frame="all",grid="all"]
182 `--------------`-----------------
183 Key combination Command
184 ------------------------------
185 Ctrl - Right    Skip to next song
186 Ctrl - Left     Skip to previous song
187 Ctrl - Up       Play/Pause
188 Ctrl - Down     Stop
189 Keypad 6        Skip to next song
190 Keypad 4        Skip to previous song
191 Keypad 8        Play/Pause
192 Keypad 5        Stop
193 Ctrl - s        Random on/off
194 Ctrl - r        Repeat on/off
195 ----------------------------
198 .Keybindings Interface:
199 [frame="all",grid="all"]
200 `--------------`-----------------
201 Key combination Command
202 ------------------------------
203 Ctrl- '+'       <<X22,Expand interface>>
204 Ctrl- -         <<X22,Collapse interface>>
205 Keypad +        <<X22,Expand interface>>
206 Keypad -        <<X22,Collapse interface>>
207 F1              Go to <<X30, 'the current playlist'>>
208 F2              Go To <<X35, 'the playlist search browser'>>
209 Ctrl- j         Goes to <<X35, 'the playlist search browser'>> and allows you to directly type in a search.
210 F3              Go to <<X40, 'the File browser'>>
211 F4              Go to <<X50, 'the Artist browser'>>
212 F5              Go to <<X60, 'the database search browser'>>
213 F6              Go to the Information view
214 F7              Go to the meta browser
216 ------------------------------
218 [[X22]]
219 Interface Expanding/Collapsing
220 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
222 The main window has 3 possible sizes:
224 Full mode 
225 ^^^^^^^^^
226 Everything is visible. 
228 .Full mode 
229 image::images/gmpc-full-size.png["Full mode"]
231 Small mode
232 ^^^^^^^^^^
233 Hides the Left treeview, and replaces it by a Selection box.
235 .Small mode 
236 image::images/gmpc-small-size.png["Small mode"]
238 Tiny mode 
239 ^^^^^^^^^
240 Only shows the player elements.
242 .Tiny mode 
243 image::images/gmpc-tiny-size.png["Tiny mode"]
245 [[X30]]
246 Current Playlist
247 ----------------
249 image::images/gmpc-mainwindow-playing.png["Gmpc showing the 'current playlist' browser"]
251 Moving songs around
252 ~~~~~~~~~~~~~~~~~~~
253 You can drag and drop songs in the playlist by selecting them and 'dragging' them to the new location. At the moment this is only posssible for one song at the time, due to limitations in gtk.
256 Column Selector
257 ~~~~~~~~~~~~~~~
258 From the right mouse menu on the current playlist you can open the column selector.
260 image::images/current-playlist-column.png["Column Selector"]
262 The column selector lets you enable,disable and move columns around. 
264 TIP: You can also move columns directly in the browser by dragging them around.
266 Context Menu
267 ~~~~~~~~~~~~
269 When right clicking on gmpc, you get a small context menu with the following options:
271 [frame="all",grid="all"]
272 `---------------`------------------------
273  Action          Result
274 --------------------------------------
275 Remove          Removes the selected songs
276 Crop            Removes all, but the selected songs
277 Clear           Clears the playlist
278 Shuffle         Shuffles the order of the playlist
279 Information     Shows the song information of the selected songs
280 Column          Opens the column selector
281 -------------------------------------
283 Option Menu
284 ~~~~~~~~~~~
286 You can get to the option menu by right clicking on the 'browser selector' or selecting 'option' from the menu bar.
288 [frame="all",grid="all"]
289 `---------------`------------------------
290  Action          Result
291 --------------------------------------
292 Save            Saves the current playlist
293 Clear           Clears the playlist
294 Add Url         Opens the add url window, that allows you to add a stream to the playlist
295 -------------------------------------
297 NOTE: Plugins are allowed to add entries to the option menu.
299 Keybindings
300 ~~~~~~~~~~~
301 The keybindings will only work when the input focus is on the current playlist browser.
303 .Keybindings Current Playlist:
304 [frame="all",grid="all"]
305 `---------------`----------------------------------------
306 Key combination Command
307 ---------------------------------------------------------
308 Del             Delete the currently selected songs 
309 Enter           Play the first selected song
310 Alt - i         Show song info about the selected songs
311 Space           Show and select the current song
312 Any character   Start a search as  you type.
313 ---------------------------------------------------------
315 TIP: If you don't want to view metadata in columns, you can return to the 'old' behauviour by selecting 'Markup' in the column-selector. Then you can change this markup in the preferences window.
317 [[X35]]
318 Playlist Search Browser 
319 -----------------------
321 Keybindings:
324 [[X40]]
325 File Browser
326 ------------
328 Keybindings:
331 [[X50]]
332 Artist Browser
333 --------------
334 Keybindings:
337 [[X60]]
338 Database Search Browser
339 -----------------------
340 Keybindings:
343 [[X100]]
344 Advanced features
345 -----------------
347 Gmpc can be further configured by directy edited the config file. If you edit the configuration file directly make sure gmpc isn't running.
348 There configuration file is stored in '~/.gmpc/' and is called 'gmpc.cfg'.
350 The following extra changes can be made:
352 1. *playlist::background-load-playlist*: Gmpc's playlist works using a lazy loading model.  It only loads the song info of the visible songs, this increases startup speed, and saves allot of (startup) bandwidth. But it does make searching the playlist slow the first time.  With this option gmpc starts filling in the missing data of the playlist in the background. (This can slow gmpc down when connected to mpd using a very slow connection) 
353 2. *playlist::player_markup*: This allows you to change the way gmpc displays the song information in the player part of the window. Editing this markup you should keep in mind that the processed result is a valid pango markup. (see pango documentation).
354 3. *Default::allow-multiple*: Gmpc normally only allows one instant per user to be running, with this option you can turn that extra check off.  (This option only works when gmpc is compiled with session support).
355 4. *connection::mpd-update-speed*: Change the speed gmpc poll's mpd for status/state changes. The value denotes the time between checks in ms. 
356 5. *connection::profile-file*: Gmpc stores the created profiles in a separate config file, with this option you can change the location of this file.
357 6. *tray-icon::y/x-offset*: Change the x/y offset the tooltip makes relative to the corner it's placed at.
358 7. *tray-icon::middle-mouse-action*: Change the behavior middle mouse clicking on the tray icon. Valid values are: pause,play,next,prev,stop 
359 8. *cover-art::browser-size*: Change the size of cover images in the browsers. At the moment this has only effect on the artist browser.
361 [[X110]]
365 A collection of frequently asked questions.