Advertisement
Guest User

Untitled

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