Advertisement
Dj_Dexter

config ncmpcpp

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