作者 Anonymous [actionscript] 2007-12-16 18:23 (点击下载)

  1. # This is a configuration file for the MOC player. It should be named 'config'
  2. # and placed in directory ~/.moc/
  3. # Comments begins with '#'.
  4. # You can use quotes and escape ('\') in parameters
  5.  
  6.  
  7. # Show file titles (title, author, album) instead of file names.
  8. ReadTags = yes
  9.  
  10. # Directory in which you store music files, if you specify it, you will be able
  11. # to quickly go to this directory with the '-m' parameter or the 'm' command.
  12. # This can also point to a playlist.
  13. #MusicDir = "/home/joe/music"
  14.  
  15. # How to sort? FileName is the only option for now.
  16. Sort = FileName
  17.  
  18. # Show errors in the streams, for example CRC errors or broken frames in mp3
  19. # files
  20. ShowStreamErrors = no
  21.  
  22. # Ignore CRC errors in MP3 files. Most players do that, so the default value is
  23. # set to yes.
  24. Mp3IgnoreCRCErrors = yes
  25.  
  26. # Turn on repeat.
  27. Repeat = yes
  28.  
  29. # Turn on shuffle.
  30. Shuffle = yes
  31.  
  32. # Turn on AutoNext
  33. AutoNext = yes
  34.  
  35. # Default FormatString
  36. # %n - Track number
  37. # %a - Artist
  38. # %A - Album
  39. # %t - Title
  40. # %(X:TRUE:FALSE) - ternary expression - if X exists, do TRUE, otherwaise
  41. # FALSE. '\' - escape character (must be double, because of
  42. # config interpreter). man zshmisc for more info.
  43. FormatString = "%(n:%n :)%(a:%a - :)%(t:%t:)%(A: \(%A\):)"
  44.  
  45. # Output buffer size in kilobytes. Minimum value is 128KB. */
  46. OutputBuffer = 4096
  47.  
  48. # Input buffer size in kilobytes. Minimum value is 32KB. */
  49. InputBuffer = 1024
  50.  
  51. # How much to fill the input buffer before playing (in kilobytes)?
  52. # This can't be more than InputBuffer value.
  53. # Remember that for network streams beside the positive effect this also causes
  54. # delay between what you can hear and what is broadcasted.
  55. Prebuffering = 512
  56.  
  57. # Use this HTTP proxy server for internet streams. If not set, the
  58. # environmential variables http_proxy and ALL_PROXY will be used if present.
  59. #HTTPProxy = my_proxy:port
  60.  
  61. # Sound driver - OSS, ALSA, JACK, or null (only for debugging)
  62. # You can enter more than one driver separated by a coma. The first working
  63. # driver will be used.
  64. SoundDriver = JACK, ALSA, OSS
  65.  
  66. # Jack output settings
  67. JackOutLeft = "alsa_pcm:playback_1"
  68. JackOutRight = "alsa_pcm:playback_2"
  69.  
  70. # OSS output device
  71. OSSDevice = /dev/dsp
  72.  
  73. # OSS Mixer device
  74. OSSMixerDevice = /dev/mixer
  75.  
  76. # OSS Mixer channel: pcm or master
  77. OSSMixerChannel = pcm
  78.  
  79. # Second OSS Mixer channel: pcm or master
  80. OSSMixerChannel2 = master
  81.  
  82. # ALSA mixer device
  83. AlsaMixer = PCM
  84.  
  85. # Second ALSA mixer device
  86. AlsaMixer2 = Master
  87.  
  88. # ALSA output device
  89. AlsaDevice = default
  90.  
  91. # Show files with dot at the beginning?
  92. ShowHiddenFiles = no
  93.  
  94. # Start in the music directory if no arguments are given. If set to no, start
  95. # in the current directory.
  96. StartInMusicDir = no
  97.  
  98. # Hide file name extensions
  99. HideFileExtension = no
  100.  
  101. # Show file format in menu.
  102. ShowFormat = yes
  103.  
  104. # Show file time in menu. Possible options: yes, no, IfAvailable - show the
  105. # time only when it was read before (often works faster)
  106. ShowTime = IfAvailable
  107.  
  108. # Theme file. This can be absolute path or relative to
  109. # /usr/share/moc/themes/ (depends on installation prefix) or ~/.moc/themes/
  110. # Theme = example_theme
  111.  
  112. # The theme used when running on on xterm
  113. # XTermTheme = transparent-background
  114.  
  115. # MOC directory - where pid file, socket, and state files are stored.
  116. # You can use ~ at the begining
  117. # MOCDir = ~/.moc
  118.  
  119. # Use mmap() to read files. mmap() is much slower on NFS.
  120. UseMmap = no
  121.  
  122. # Perform character set conversion using iconv() to tags and file names
  123. # read from playlist files. This option has format: FROM:TO.
  124. # To get list of supported sets use the iconv -l command.
  125.  
  126. # Assume this encoding for ID3 version 1/1.1 tags (mp3 files). Unlike ID3v2
  127. # UTF-8 is not used here and MOC can't guess how tags are encoded. Another
  128. # solution is using librcc (see the next option). This option is ignored
  129. # if UseRCC is set to yes.
  130. ID3v1TagsEncoding = GB18030
  131.  
  132. # Use librcc to fix ID3 version 1/1.1 tags encoding.
  133. #UseRCC = yes
  134.  
  135. # Use librcc to filenames and directory names encoding.
  136. #UseRCCForFilesystem = yes
  137.  
  138. # Remember the playlist after exit?
  139. SavePlaylist = yes
  140.  
  141. # When using more than one client (interface) at a time, do the share the
  142. # playlist?
  143. SyncPlaylist = yes
  144.  
  145. # Choose a keymap file (relative to ~/.moc/ or absolute path)
  146. # Example keymap with description is included (keymap.example).
  147. #Keymap = my_keymap
  148.  
  149. # Use ASCII characters instead of graphic for drawing lines. This helps on
  150. # some terminals.
  151. ASCIILines = no
  152.  
  153. # FastDirs, these allow you jump directly to a directory, the key bindings are
  154. # in the keymap file.
  155. #Fastdir1 = /mp3/rock
  156. #Fastdir2 = /mp3/electronic
  157. #Fastdir3 = /mp3/rap
  158. #Fastdir4 = /mp3/etc
  159. #Fastdir5 =
  160. #Fastdir6 =
  161. #Fastdir7 =
  162. #Fastdir8 =
  163. #Fastdir9 =
  164. #Fastdir10 =
  165.  
  166. # How fast to seek? Number of seconds per key stroke.
  167. #SeekTime = 1
  168.  
  169. # How fast to seek (when using silent seeking)? Number of seconds per key
  170. # stroke.
  171. #SilentSeekTime = 5
  172.  
  173. # Resample method to use. There are few methods of resampling sound supported
  174. # by libresamplerate. The default is the fastest (linear). Better description
  175. # is here: http://www.mega-nerd.com/libsamplerate/api_misc.html#Converters
  176. #
  177. # High quality (based on bandlimited interpolation), but slow methods:
  178. #
  179. # SincBestQuality - really slow (I know you probably have an xx GHz processor,
  180. # but it's not enough to not see this in the top output :)
  181. # The worst case Signal-to-Noise Ratio is 97dB.
  182. # SincMediumQuality - much faster
  183. # SincFastest - the fastest bandlimited interpolation
  184. #
  185. # Poor quality, but much faster methods:
  186. #
  187. # ZeroOrderHold - really poor quality, but it's really fast
  188. # Linear - a bit better and a bit slower
  189. #
  190. #ResampleMethod = Linear
  191.  
  192. # Always use this sample rate when opening the audio device (and resample the
  193. # sound is necessary). When set to 0 the device is opened with the file's rate.
  194. #ForceSampleRate = 48000
  195.  
  196. # By default even if the sound card reports that it can output 24bit samples
  197. # MOC converts 24bit PCM to 16bit. This option set to yes allows MOC to use
  198. # 24bit output (for example MP3 decoder uses this format). This is disabled
  199. # in the default configuration because there were reports that it prevents
  200. # from playing MP3 files on some soundcards.
  201. #Allow24bitOutput = no
  202.  
  203. # Use realtime priority for output buffer thread. This will prevent gaps while
  204. # playing even with heavy load. The user which runs MOC must have permissions
  205. # to set such a priority. This could be dangerous, because it is possible that
  206. # a bug in MOC will freeze your computer.
  207. #UseRealtimePriority = no
  208.  
  209. # Size of the in-memory cache for file tags in KB.
  210. TagsCacheSize = 256
  211.  
  212. # Number items in the playlist.
  213. PlaylistNumbering = yes
  214.  
  215. # Main window layoutis can be configured. You can change the position and the
  216. # size of the menus (directory and playlist). You have 3 layouts ant switch
  217. # between then using the 'l' key (standard mapping). By default only 2 layouts
  218. # are configured.
  219. #
  220. # The format is as folows:
  221. # Each menu is described in format NAME:POSITION_X,POSITION_Y,WIDTH,HEIGHT
  222. # NAME is directory or playlist
  223. # Other parameters define position and size of the menu. They can be absolute
  224. # numbers (like 10) or a percent value of the screen size (like 45%).
  225. # WIDTH and HEIGHT can have value of FILL which means fill the screen from
  226. # the menu's position to the border.
  227. # Separate menu descriptions using a space.
  228. # Menus may overlap.
  229. # You must describe at least one menu (default is to fill the whole window).
  230. # There must be at least one layout (Layout1) defined. Other can be empty ("").
  231. #
  232. # Examples:
  233. #
  234. # Just one layout, the directory will occupy the whole screen, the playlist
  235. # will have 1/4 of the screen size and be positioned at lower right corner.
  236. # Layout1 = "playlist:50%,50%,50%,50%"
  237. # Layout2 = ""
  238. # Layout3 = ""
  239. #
  240. # The scrren is split into two parts: playlist at the top and the directory
  241. # menu at the bottom. Playlist will occupy 10 lines and the directory menu
  242. # the rest.
  243. # Layout1 = "playlist:0,0,100%,10 directory:0,10,100%,FILL"
  244. #
  245. # Default configuration:
  246. # Layout1 = "directory:0,0,50%,100% playlist:50%,0,50%,100%"
  247. # Layout2 = "directory:0,0,100%,100% playlist:0,0,100%,100%"
  248. # Layout3 = ""
  249.  
  250. # When the song changes, should the menu be scrolled so that the currently
  251. # played file is visible?
  252. FollowPlayedFile = yes
  253.  
  254. # What to do if the interface was started and something from the playlist is
  255. # playing? If CanStartInPlaylist is set to "yes", the interface will switch to
  256. # the playlist. When set to "no" it will start from the last directory.
  257. CanStartInPlaylist = yes
  258.  
  259. # Executing external commands (1 - 10) invoked with key commands (F1 - F10 by
  260. # default).
  261. # Some arguments are substituted befor executing:
  262. # %f - file path
  263. # %i - title made from tags
  264. #
  265. # Data from tags:
  266. # %t - title
  267. # %a - album
  268. # %r - artist
  269. # %n - track
  270. # %m - time of the file (in seconds)
  271. #
  272. # Parameters above applys to the currently selected file. If you change them to
  273. # capital letters, they are taken from the currently played file.
  274. #
  275. # Programms are run using execv(), not a shell, so you can't do things like
  276. # redirecting the output to a file. The command string is split using blank
  277. # characters as separators, the first element is the command to be executed
  278. # and the rest are parameters, so if you use "echo Playing: %i" we run program
  279. # echo (from $PATH) with 2 parameters: 'Playing:' string and the title. Even
  280. # if the title contains spaces it's still one parameter and it's safe if it
  281. # contains `rm -rf /`.
  282. #
  283. # Examples:
  284. # ExecCommand1 = "cp %f /mnt/usb_drive"
  285. # ExecCommand2 = "/home/joe/now_playing %i"
  286.  
  287. # Display the cursor in the line with the selected file. This can be usefu with
  288. # a braille display.
  289. # UseCursorSelection = no
  290.  
  291. # Set the terminal title when running under xterm.
  292. #SetXtermTitle = yes
  293.  
  294. # Set the terminal title when running under screen.
  295. #SetScreenTitle = yes
  296.  
  297. # Display full paths instead of just file names in the playlist.
  298. #PlaylistFullPaths = yes
  299.  
  300. # Enable oversampling (yes/no)
  301. #ModPlug_Oversampling = yes
  302. # Enable noise reduction (yes/no)
  303. #ModPlug_NoiseReduction = yes
  304. # Enable reverb (yes/no)
  305. #ModPlug_Reverb = no
  306. # Enable mega-bass (yes/no)
  307. #ModPlug_MegaBass = no
  308. # Enable surround (yes/no)
  309. #ModPlug_Surround = no
  310. # Resampling mode. One of FIR/SPLINE/LINEAR/NEAREST
  311. # FIR : 8 tap fir filter (extremely high quality)
  312. # SPLINE : Cubic spline interpolation (high quality)
  313. # LINEAR : Linear interpolation (fast, good quality)
  314. # NEAREST : No interpolation (very fast, extremely bad sound quality)
  315. #ModPlug_ResamplingMode = FIR
  316. # Number of channles (1 or 2)
  317. #ModPlug_Channels = 2
  318. # Bits per sample (8,16,32). 32 Bits seems ot be buggy...
  319. #ModPlug_Bits = 16
  320. # Sampling rate (11025, 22050, 44100, 48000)
  321. #ModPlug_Frequency = 44100
  322. # Reverb level 0(quiet)-100(loud)
  323. #ModPlug_ReverbDepth = 0
  324. # Reverb delay in ms, usually 40-200ms
  325. #ModPlug_ReverbDelay = 0
  326. # Bass level 0(quiet)-100(loud)
  327. #ModPlug_BassAmount = 0
  328. # Bass cutoff in Hz (10-100)
  329. #ModPlug_BassRange = 10
  330. # Surround level 0(quiet)-100(heavy)
  331. #ModPlug_SurroundDepth = 0
  332. # Surround delay in ms, usually 5-40ms
  333. #ModPlug_SurroundDelay = 0
  334. # Number of times to loop. Zero prevents looping. -1 loops forever.
  335. #ModPlug_LoopCount = 0
  336.  
  337. #TiMidity-Options
  338. # Rate must be in between 8000 and 48000
  339. #TiMidity_Rate = 44100
  340. # Bitrate is 8 or 16
  341. #TiMidity_Bits = 16
  342. # Channels is 1 or 2
  343. #TiMidity_Channels = 2
  344. # Volume-Range is 0-800
  345. #TiMidity_Volume = 100
  346. # You can setup a TiMidity-Config-File here
  347. # Leave unset to use library defaults (/etc/timidity.cfg mostly)
  348. #TiMidity_Config =
  349.  
  350.  
  351. # SidPlay2-Options
  352. # Default length of a song if not in database (seconds)
  353. #SidPlay2_DefaultSongLength = 180
  354. # Play at least a specific time if song is shorter (seconds)
  355. #SidPlay2_MinimumSongLength = 0
  356. # Set path to a HVSC-compatible database (if not set, database is disabled)
  357. #SidPlay2_Database
  358. # Sampling Frequency (4000-48000Hz)
  359. #SidPlay2_Frequency = 44100
  360. # Sampling Resolution (8/16)
  361. #SidPlay2_Bits = 16
  362. # Playback Mode :
  363. # "M": Mono (best for mady SIDs)
  364. # "S": Stereo
  365. # "L"/"R": Left / Right
  366. #SidPlay2_PlayMode = "M"
  367. # Optimisation-level (0-2), 0 is best quality
  368. #SidPlay2_Optimisation = 0
  369. # Use start-song information from SID (1) or start at first song (0)
  370. # Songs before the start-song won't be played.
  371. #SidPlay2_StartAtStart = 1
  372. # Play sub-tunes
  373. #SidPlay2_PlaySubTunes = 1
  374.  
  375. # OnSongChange
  376. # Specify the full path (i.e. no ~) of an executable to run
  377. # Arguments will be passed, and you can use the following escapes:
  378. # %a artist
  379. # %r album
  380. # %f filename
  381. # %t title
  382. # %n track
  383. # %d file duration in XX:YY form
  384. # %D file duration, number of seconds
  385. #
  386. # No pipes/redirects can be used directly, but writing a shell
  387. # script can do the job.
  388. #
  389. # Example:
  390. #
  391. #OnSongChange = "/home/jack/.moc/myscript %a %r"
  392.  
  393. # OnStop
  394. # Run the following command (full path, no arguments) when MOC changes state
  395. # to stopped (when user stopped playing or changes a song).
  396. #
  397. #OnStop = "/home/jack/.moc/myscript_on_stop"

提交下面的校正或者修改. (点击这里开始一个新的帖子)
姓名: 在 cookie 中记住我的名字

屏幕抓图:(jpeg 或 png)