You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

540 lines
15 KiB

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