Advertisement
Guest User

per_rob

a guest
Feb 3rd, 2014
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.31 KB | None | 0 0
  1.  
  2. # SUL SERVER Beta
  3. ==================
  4.  
  5. # ps | grep mpd
  6. ---------------
  7. root 7665 0.0 0.1 3868 752 tty1 S+ 23:54 0:00 \_ grep mpd
  8. root 7549 0.9 2.6 69132 13768 ? Ssl 23:25 0:17 /usr/bin/mpd --create-db /etc/mpd.conf
  9.  
  10.  
  11. # less /etc/mpd.conf | grep -v '#'
  12. ----------------------------------
  13.  
  14. music_directory "/musica"
  15. playlist_directory "/home/ennio/.mpd/playlists"
  16. db_file "/home/ennio/.mpd/mpd.db"
  17. log_file "/home/ennio/.mpd/mpd.log"
  18. pid_file "/home/ennio/.mpd/mpd.pid"
  19. state_file "/home/ennio/.mpd/mpdstate"
  20.  
  21. port "6600"
  22. log_level "default"
  23.  
  24. input {
  25. plugin "curl"
  26. }
  27.  
  28. audio_output {
  29. type "alsa"
  30. name "My ALSA Device"
  31. driver "null"
  32. }
  33. audio_output {
  34. type "httpd"
  35. name "My HTTP Stream"
  36. port "8000"
  37. format "44100:16:1"
  38. }
  39.  
  40. filesystem_charset "UTF-8"
  41. id3v1_encoding "UTF-8"
  42.  
  43.  
  44. # Nessun segno di vita sulle porte 6600 e 8000 rivelato da 'netstat'
  45.  
  46.  
  47. SUL CLIENT Alfa
  48. ===============
  49.  
  50. # /etc/mpd.conf
  51. ---------------
  52.  
  53. db_file "/home/ennio/.mpd/tag_cache"
  54. pid_file "/home/ennio/.mpd/mpd/pid"
  55. state_file "/home/ennio/.mpd/mpdstate"
  56.  
  57. bind_to_address "localhost"
  58. log_level "default"
  59.  
  60. input {
  61. plugin "curl"
  62. }
  63.  
  64. audio_output {
  65. type "alsa"
  66. name "My ALSA Device"
  67. }
  68.  
  69. filesystem_charset "UTF-8"
  70. id3v1_encoding "UTF-8"
  71.  
  72.  
  73.  
  74. less .ncmpcpp/config | grep -v '#'
  75. ----------------------------------
  76. mpd_host = "localhost"
  77. mpd_port = "6600"
  78. mpd_music_dir = "/musica/"
  79. visualizer_output_name = ""
  80. visualizer_sync_interval = "30"
  81. song_list_format = "{%a - }{%t}|{$8%f$9}$R{$3(%l)$9}"
  82.  
  83. playlist_display_mode = "classic" (classic/columns)
  84. browser_display_mode = "classic" (classic/columns)
  85. incremental_seeking = "yes"
  86. default_place_to_search_in = "database" (database/playlist)
  87. search_engine_default_search_mode = "2"
  88. use_console_editor = "yes"
  89. colors_enabled = "yes"
  90.  
  91.  
  92. # netstat | grep 6600
  93. ----------------------
  94. tcp 0 0 127.0.0.1:6600 0.0.0.0:* LISTEN 2405/mpd
  95. tcp 0 0 192.168.1.6:32832 192.168.1.11:6600 ESTABLISHED 2428/ncmpcpp
  96.  
  97. # netstat | grep 8000
  98. -----------------------
  99. (vuoto)
  100.  
  101. # ps | tail -1
  102. ---------------
  103. root 2405 0.0 1.5 56760 4496 ? Ssl 23:00 0:00 /usr/bin/mpd /etc/mpd.conf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement