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.

473 lines
13 KiB

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