Guest User

ncmpcpp-config

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