Advertisement
Guest User

ncmpcpp

a guest
Oct 11th, 2014
1,714
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.88 KB | None | 0 0
  1. ####################################################
  2. ## this is example configuration file, copy it to ##
  3. ## ~/.ncmpcpp/config and set up your preferences ##
  4. ####################################################
  5. #
  6. ##### directories ######
  7. ##
  8. ## Directory for storing ncmpcpp related files.
  9. ## Changing it is useful if you want to store
  10. ## everything somewhere else and provide command
  11. ## line setting for alternative location to config
  12. ## file which defines that while launching ncmpcpp.
  13. ##
  14. #
  15. ncmpcpp_directory = ~/.ncmpcpp
  16. #
  17. ##
  18. ## Directory for storing downloaded lyrics. It
  19. ## defaults to ~/.lyrics since other MPD clients
  20. ## (eg. ncmpc) also use that location.
  21. ##
  22. #
  23. #lyrics_directory = ~/.lyrics
  24. #
  25. ##### connection settings #####
  26. #
  27. mpd_host = localhost
  28. #
  29. mpd_port = 6600
  30. #
  31. #mpd_connection_timeout = 5
  32. #
  33. ## Needed for tag editor and file operations to work.
  34. ##
  35. mpd_music_dir = ~/Music
  36. #
  37. mpd_crossfade_time = 3
  38. #
  39. ##### music visualizer #####
  40. ##
  41. ## Note: In order to make music visualizer work you'll
  42. ## need to use mpd fifo output, whose format parameter
  43. ## has to be set to 44100:16:1 for mono visualization
  44. ## or 44100:16:2 for stereo visualization. Example
  45. ## configuration (it has to be put into mpd.conf):
  46. ##
  47. ## audio_output {
  48. ## type "fifo"
  49. ## name "Visualizer feed"
  50. ## path "/tmp/mpd.fifo"
  51. ## format "44100:16:2"
  52. ## }
  53. ##
  54. #
  55. #visualizer_fifo_path = /tmp/mpd.fifo
  56. #
  57. ##
  58. ## Note: Below parameter is needed for ncmpcpp
  59. ## to determine which output provides data for
  60. ## visualizer and thus allow syncing between
  61. ## visualization and sound as currently there
  62. ## are some problems with it.
  63. ##
  64. #
  65. #visualizer_output_name = Visualizer feed
  66. #
  67. ##
  68. ## If you set format to 44100:16:2, make it 'yes'.
  69. ##
  70. #visualizer_in_stereo = yes
  71. #
  72. ##
  73. ## Multiply received samples by given value. Very
  74. ## useful for proper visualization of quiet music.
  75. ##
  76. #visualizer_sample_multipler = 1
  77. #
  78. ##
  79. ## Note: Below parameter defines how often ncmpcpp
  80. ## has to "synchronize" visualizer and audio outputs.
  81. ## 30 seconds is optimal value, but if you experience
  82. ## synchronization problems, set it to lower value.
  83. ## Keep in mind that sane values start with >=10.
  84. ##
  85. #
  86. #visualizer_sync_interval = 30
  87. #
  88. ##
  89. ## Note: To enable spectrum frequency visualization
  90. ## you need to compile ncmpcpp with fftw3 support.
  91. ##
  92. #
  93. ## Available values: spectrum, wave.
  94. ##
  95. #visualizer_type = wave
  96. #
  97. #visualizer_look = ●▮
  98. #
  99. ##### system encoding #####
  100. ##
  101. ## ncmpcpp should detect your charset encoding
  102. ## but if it failed to do so, you can specify
  103. ## charset encoding you are using here.
  104. ##
  105. ## Note: You can see whether your ncmpcpp build
  106. ## supports charset detection by checking output
  107. ## of `ncmpcpp --version`.
  108. ##
  109. ## Note: Since MPD uses UTF-8 by default, setting
  110. ## this option makes sense only if your encoding
  111. ## is different.
  112. ##
  113. #
  114. #system_encoding = ""
  115. #
  116. ##### delays #####
  117. #
  118. ## Time of inactivity (in seconds) after playlist
  119. ## highlighting will be disabled (0 = always on).
  120. ##
  121. #playlist_disable_highlight_delay = 5
  122. #
  123. ## Defines how long messages are supposed to be visible.
  124. ##
  125. #message_delay_time = 5
  126. #
  127. ##### song format #####
  128. ##
  129. ## for song format you can use:
  130. ##
  131. ## %l - length
  132. ## %f - filename
  133. ## %D - directory
  134. ## %a - artist
  135. ## %A - album artist
  136. ## %t - title
  137. ## %b - album
  138. ## %y - date
  139. ## %n - track number (01/12 -> 01)
  140. ## %N - full track info (01/12 -> 01/12)
  141. ## %g - genre
  142. ## %c - composer
  143. ## %p - performer
  144. ## %d - disc
  145. ## %C - comment
  146. ## %P - priority
  147. ## $R - begin right alignment
  148. ##
  149. ## you can also put them in { } and then it will be displayed
  150. ## only if all requested values are available and/or define alternate
  151. ## value with { }|{ } eg. {%a - %t}|{%f}
  152. ##
  153. ## Note: If you want to set limit on maximal length of a tag, just
  154. ## put the appropriate number between % and character that defines
  155. ## tag type, e.g. to make album take max. 20 terminal cells, use '%20b'.
  156. ##
  157. ## Note: Format that is similar to "%a - %t" (i.e. without any additional
  158. ## braces) is equal to "{%a - %t}", so if one of the tags is missing,
  159. ## you'll get nothing.
  160. ##
  161. ## text can also have different color than the main window has,
  162. ## eg. if you want length to be green, write "$3%l$9".
  163. ##
  164. ## Available values:
  165. ##
  166. ## - 0 - default window color (discards all other colors)
  167. ## - 1 - black
  168. ## - 2 - red
  169. ## - 3 - green
  170. ## - 4 - yellow
  171. ## - 5 - blue
  172. ## - 6 - magenta
  173. ## - 7 - cyan
  174. ## - 8 - white
  175. ## - 9 - end of current color
  176. ##
  177. ## Note: colors can be nested.
  178. ##
  179. #
  180. #song_list_format = {%a - }{%t}|{$8%f$9}$R{$3(%l)$9}
  181. #song_list_format = {%a - }{%t}|{$8%f$9}$R{$3(%l)$9}
  182. #
  183. #song_status_format = {{%a{ "%b"{ (%y)}} - }{%t}}|{%f}
  184. song_status_format = {{%a{ "%b"{ (%y)}} - }{%t}}|{%f}
  185. #
  186. #song_library_format = {%n - }{%t}|{%f}
  187. song_library_format = {%n - }{%t}|{%f}
  188. #
  189. #tag_editor_album_format = {(%y) }%b
  190. tag_editor_album_format = {(%y) }%b
  191. #
  192. ##
  193. ## Note: Below variables are used for sorting songs in browser.
  194. ## The sort mode determines how songs are sorted, and can be used
  195. ## in combination with a sort format to specify a custom sorting format.
  196. ## Available values for browser_sort_mode are "name", "mtime", "format"
  197. ## and "noop".
  198. ##
  199. #
  200. #browser_sort_mode = name
  201. #
  202. #browser_sort_format = {%a - }{%t}|{%f} {(%l)}
  203. #
  204. ##
  205. ## Note: Below variables are for alternative version of user's interface.
  206. ## Their syntax supports all tags and colors listed above plus some extra
  207. ## markers used for text attributes. They are followed by character '$'.
  208. ## After that you can put:
  209. ##
  210. ## - b - bold text
  211. ## - u - underline text
  212. ## - r - reverse colors
  213. ## - a - use alternative character set
  214. ##
  215. ## If you don't want to use an attribute anymore, just put it again, but
  216. ## this time insert character '/' between '$' and attribute character,
  217. ## e.g. {$b%t$/b}|{$r%f$/r} will display bolded title tag or filename
  218. ## with reversed colors.
  219. ##
  220. #
  221. #alternative_header_first_line_format = $b$1$aqqu$/a$9 {%t}|{%f} $1$atqq$/a$9$/b
  222. alternative_header_first_line_format = $b$5$aqqu$/a$9 {$3%t$9}|{%f} $5$atqq$/a$9$/b
  223. #
  224. #alternative_header_second_line_format = {{$4$b%a$/b$9}{ - $7%b$9}{ ($4%y$9)}}|{%D}
  225. alternative_header_second_line_format = {{$5$b%a$/b$9}{ - $7%b$9}{ ($6%y$9)}}|{%D}
  226. #
  227. ##
  228. ## Note: below variables also support text attributes listed above.
  229. ##
  230. #
  231. #now_playing_prefix = $b
  232. now_playing_prefix = $b$3
  233. #
  234. #now_playing_suffix = $/b
  235. now_playing_suffix = $9$/b
  236. #
  237. #browser_playlist_prefix = "$2playlist$9 "
  238. #
  239. #selected_item_prefix = $6
  240. #
  241. #selected_item_suffix = $9
  242. #
  243. #modified_item_prefix = $3> $9
  244. #
  245. ## Note: colors are not supported for below variable.
  246. ##
  247. #song_window_title_format = {%a - }{%t}|{%f}
  248. #
  249. ##### columns settings #####
  250. ##
  251. ## syntax of song columns list format is "column column etc."
  252. ##
  253. ## - syntax for each column is:
  254. ##
  255. ## (width of column)[column's color]{displayed tag}
  256. ##
  257. ## Note: Width is by default in %, if you want a column to
  258. ## have fixed size, add 'f' after the value, e.g. (10)[white]{a}
  259. ## will be the column that take 10% of screen (so the real column's
  260. ## width will depend on actual screen size), whereas (10f)[white]{a}
  261. ## will take 10 terminal cells, no matter how wide the screen is.
  262. ##
  263. ## - color is optional (if you want the default one, type [])
  264. ##
  265. ## Note: You can give a column additional attributes by putting appropriate
  266. ## character after displayed tag character. Available attributes are:
  267. ##
  268. ## - r - column will be right aligned
  269. ## - E - if tag is empty, empty tag marker won't be displayed
  270. ##
  271. ## You can also:
  272. ##
  273. ## - give a column custom name by putting it after attributes,
  274. ## separated with character ':', e.g. {lr:Length} gives you
  275. ## right aligned column of lengths named "Length".
  276. ##
  277. ## - define sequence of tags, that have to be displayed in case
  278. ## predecessor is empty in a way similar to the one in classic
  279. ## song format, i.e. using '|' character, e.g. {a|c|p:Owner}
  280. ## creates column named "Owner" that tries to display artist
  281. ## tag and then composer and performer if previous ones are
  282. ## not available.
  283. ##
  284. #
  285. #song_columns_list_format = (20)[]{a} (6f)[green]{NE} (50)[white]{t|f:Title} (20)[cyan]{b} (7f)[magenta]{l}
  286. song_columns_list_format = (20)[]{a} (6f)[magenta]{NE} (50)[]{t|f:Title} (20)[]{b} (7f)[magenta]{l}
  287. #
  288. ##### various settings #####
  289. #
  290. ##
  291. ## Note: Custom command that will be executed each
  292. ## time song changes. Useful for notifications etc.
  293. ##
  294. ## Attention: It doesn't support song format anymore.
  295. ## Use `ncmpcpp --now-playing SONG_FORMAT` instead.
  296. ##
  297. #execute_on_song_change = ""
  298. #
  299. #playlist_show_remaining_time = no
  300. #
  301. #playlist_shorten_total_times = no
  302. #
  303. #playlist_separate_albums = no
  304. #
  305. ##
  306. ## Note: Possible display modes: classic, columns.
  307. ##
  308. #playlist_display_mode = columns
  309. #
  310. #browser_display_mode = classic
  311. #
  312. #search_engine_display_mode = classic
  313. #
  314. #playlist_editor_display_mode = classic
  315. #
  316. #discard_colors_if_item_is_selected = yes
  317. discard_colors_if_item_is_selected = yes
  318. #
  319. #incremental_seeking = yes
  320. #
  321. #seek_time = 1
  322. #
  323. #volume_change_step = 2
  324. #
  325. #autocenter_mode = no
  326. autocenter_mode = yes
  327. #
  328. #centered_cursor = no
  329. centered_cursor = yes
  330. #
  331. ##
  332. ## Note: You can specify third character which will
  333. ## be used to build 'empty' part of progressbar.
  334. ##
  335. #progressbar_look = =>
  336. #
  337. #progressbar_boldness = yes
  338. #
  339. ## Available values: database, playlist.
  340. ##
  341. #default_place_to_search_in = database
  342. #
  343. ## Available values: classic, alternative.
  344. ##
  345. #user_interface = classic
  346. user_interface = alternative
  347. #
  348. data_fetching_delay = yes
  349. #
  350. ## Available values: artist, album_artist, date, genre, composer, performer.
  351. ##
  352. #media_library_primary_tag = artist
  353. #
  354. ## Available values: wrapped, normal.
  355. ##
  356. #default_find_mode = wrapped
  357. #
  358. ## Available values: add, select.
  359. ##
  360. #default_space_mode = add
  361. #
  362. #default_tag_editor_pattern = %n - %t
  363. #
  364. #header_visibility = yes
  365. #
  366. #statusbar_visibility = yes
  367. #
  368. #titles_visibility = yes
  369. #
  370. #header_text_scrolling = yes
  371. #
  372. #cyclic_scrolling = no
  373. #
  374. #lines_scrolled = 2
  375. #
  376. #follow_now_playing_lyrics = no
  377. follow_now_playing_lyrics = yes
  378. #
  379. #fetch_lyrics_for_current_song_in_background = no
  380. #
  381. #store_lyrics_in_song_dir = no
  382. #
  383. #generate_win32_compatible_filenames = yes
  384. #
  385. #allow_for_physical_item_deletion = no
  386. #
  387. ##
  388. ## Note: If you set this variable, ncmpcpp will try to
  389. ## get info from last.fm in language you set and if it
  390. ## fails, it will fall back to english. Otherwise it will
  391. ## use english the first time.
  392. ##
  393. ## Note: Language has to be expressed as an ISO 639 alpha-2 code.
  394. ##
  395. #lastfm_preferred_language = en
  396. #
  397. ## Available values: add_remove, always_add.
  398. ##
  399. #space_add_mode = always_add
  400. #
  401. #show_hidden_files_in_local_browser = no
  402. #
  403. ##
  404. ## How shall screen switcher work?
  405. ##
  406. ## - "previous" - switch between the current and previous screen.
  407. ## - "screen1,...,screenN" - switch between given sequence of screens.
  408. ##
  409. ## Screens available for use: help, playlist, browser, search_engine,
  410. ## media_library, playlist_editor, tag_editor, outputs, visualizer, clock.
  411. ##
  412. #screen_switcher_mode = playlist, browser
  413. #
  414. ##
  415. ## Note: You can define startup screen for ncmpcpp
  416. ## by choosing screen from the list above.
  417. ##
  418. #startup_screen = playlist
  419. #
  420. ##
  421. ## Default width of locked screen (in %).
  422. ## Acceptable values are from 20 to 80.
  423. ##
  424. #
  425. #locked_screen_width_part = 50
  426. locked_screen_width_part = 70
  427. #
  428. #ask_for_locked_screen_width_part = yes
  429. #
  430. #jump_to_now_playing_song_at_start = yes
  431. #
  432. #ask_before_clearing_playlists = yes
  433. ask_before_clearing_playlists = no
  434. #
  435. #clock_display_seconds = no
  436. #
  437. #display_volume_level = yes
  438. #
  439. #display_bitrate = no
  440. #
  441. #display_remaining_time = no
  442. #
  443. ## Available values: none, basic, extended.
  444. ##
  445. #regular_expressions = none
  446. #
  447. ##
  448. ## Note: If below is enabled, ncmpcpp will ignore leading
  449. ## "The" word while sorting items in browser, tags in
  450. ## media library, etc.
  451. ##
  452. #ignore_leading_the = no
  453. #
  454. #block_search_constraints_change_if_items_found = yes
  455. #
  456. #mouse_support = yes
  457. #
  458. #mouse_list_scroll_whole_page = yes
  459. #
  460. #empty_tag_marker = <empty>
  461. #
  462. #tags_separator = " | "
  463. #
  464. #tag_editor_extended_numeration = no
  465. #
  466. #media_library_sort_by_mtime = no
  467. #
  468. #enable_window_title = yes
  469. #
  470. ##
  471. ## Note: You can choose default search mode for search
  472. ## engine. Available modes are:
  473. ##
  474. ## - 1 - use mpd built-in searching (no regexes, pattern matching)
  475. ## - 2 - use ncmpcpp searching (pattern matching with support for regexes,
  476. ## but if your mpd is on a remote machine, downloading big database
  477. ## to process it can take a while
  478. ## - 3 - match only exact values (this mode uses mpd function for searching
  479. ## in database and local one for searching in current playlist)
  480. ##
  481. #
  482. #search_engine_default_search_mode = 1
  483. #
  484. #external_editor = nano
  485. #
  486. ## Note: set to yes if external editor is a console application.
  487. ##
  488. #use_console_editor = yes
  489. #
  490. ##### colors definitions #####
  491. #
  492. #colors_enabled = yes
  493. colors_enabled = yes
  494. #
  495. #empty_tag_color = cyan
  496. empty_tag_color = cyan
  497. #
  498. #header_window_color = default
  499. header_window_color = cyan
  500.  
  501. #volume_color = default
  502. volume_color = magenta
  503. #
  504. #state_line_color = default
  505. state_line_color = cyan
  506. #
  507. #state_flags_color = default
  508. state_flags_color = magenta
  509. #
  510. #main_window_color = yellow
  511. main_window_color = cyan
  512. #
  513. #color1 = white
  514. color1 = cyan
  515. #
  516. #color2 = green
  517. color2 = green
  518. #
  519. #main_window_highlight_color = yellow
  520. main_window_highlight_color = magenta
  521.  
  522. #progressbar_color = black
  523. progressbar_color = blue
  524. #
  525. #progressbar_elapsed_color = green
  526. progressbar_elapsed_color = green
  527. #
  528. #statusbar_color = cyan
  529. statusbar_color = cyan
  530. #
  531. #alternative_ui_separator_color = black
  532. alternative_ui_separator_color = green
  533. #
  534. #active_column_color = red
  535. active_column_color = magenta
  536. #
  537. #visualizer_color = yellow
  538. visualizer_color = green
  539. #
  540. #window_border_color = green
  541. window_border_color = cyan
  542. #
  543. #active_window_border = red
  544. active_window_border = magenta
  545. #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement