Advertisement
Guest User

config.yaml help

a guest
Aug 15th, 2019
568
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.13 KB | None | 0 0
  1. library: c:/beets/musiclibrary.db
  2. directory: Z:/Music/Sorted
  3.  
  4. plugins: badfiles copyartifacts bucket convert duplicates fetchart fromfilename info inline mbcollection mbsync missing scrub the lastgenre
  5.  
  6. pluginpath: C:\Users\ME\AppData\Local\Programs\Python\Python37\Lib\site-packages\beetsplug
  7. threaded: yes
  8. timeout: 5.0
  9. verbose: 0
  10. terminal_encoding:
  11. original_date: no
  12. artist_credit: no
  13. id3v23: no
  14. va_name: "Various Artists"
  15.  
  16. paths:
  17. default: %bucket{%asciify{%left{%the{$albumartist},2}}}/$albumartist/$albumartist - %if{$original_year,$original_year,$year} - $album %if{$u_version,{$u_version$} }[$u_format]/$disc_and_track - $artist - $title
  18. comp: VA/%bucket{%asciify{%left{%the{$album},2}}}/$album - %if{$original_year,$original_year,$year} %if{$u_version,{$u_version$} }[$u_format]/$disc_and_track - $artist - $title
  19.  
  20. format_item: $album - $artist - $title
  21. art_filename: folder
  22. threaded: yes
  23.  
  24. import:
  25. write: yes
  26. copy: yes
  27. move: no
  28. link: no
  29. hardlink: no
  30. delete: no
  31. resume: yes
  32. incremental: no
  33. quiet: yes
  34. quiet_fallback: asis
  35. autotag: yes
  36. log: c:/beets/.beet.log
  37. default_action: apply
  38. duplicate_action: ask
  39. bell: yes
  40.  
  41. sort_album: albumartist+ album+ date+
  42. sort_item: artist+ album+ date+ disc+ track+
  43.  
  44. per_disc_numbering: yes
  45. clutter: [ "Thumbs.DB" , ".DS_Store" , "folder.jpg" ]
  46. ignore: [".*", "*~", "System Volume Information", "lost+found"]
  47. ignore_hidden: no
  48.  
  49. replace:
  50. '[\\/]': _
  51. '^\.': _
  52. '[\x00-\x1f]': _
  53. '[<>:"\?\*\|]': _
  54. '\.$': _
  55. '\s+$': ''
  56. '^\s+': ''
  57. '^-': _
  58.  
  59. path_sep_replace: _
  60. asciify_paths: yes
  61. art_filename: cover
  62. max_filename_length: 0
  63.  
  64. bucket:
  65. bucket_alpha: [ _, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z ]
  66. bucket_alpha_regex:
  67. A: ^[^a-zA-Z0-9]*[Aa]
  68. B: ^[^a-zA-Z0-9]*[Bb]
  69. C: ^[^a-zA-Z0-9]*[Cc]
  70. D: ^[^a-zA-Z0-9]*[Dd]
  71. E: ^[^a-zA-Z0-9]*[Ee]
  72. F: ^[^a-zA-Z0-9]*[Ff]
  73. G: ^[^a-zA-Z0-9]*[Gg]
  74. H: ^[^a-zA-Z0-9]*[Hh]
  75. I: ^[^a-zA-Z0-9]*[Ii]
  76. J: ^[^a-zA-Z0-9]*[Jj]
  77. K: ^[^a-zA-Z0-9]*[Kk]
  78. L: ^[^a-zA-Z0-9]*[Ll]
  79. M: ^[^a-zA-Z0-9]*[Mm]
  80. N: ^[^a-zA-Z0-9]*[Nn]
  81. O: ^[^a-zA-Z0-9]*[Oo]
  82. P: ^[^a-zA-Z0-9]*[Pp]
  83. Q: ^[^a-zA-Z0-9]*[Qq]
  84. R: ^[^a-zA-Z0-9]*[Rr]
  85. S: ^[^a-zA-Z0-9]*[Ss]
  86. T: ^[^a-zA-Z0-9]*[Tt]
  87. U: ^[^a-zA-Z0-9]*[Uu]
  88. V: ^[^a-zA-Z0-9]*[Vv]
  89. W: ^[^a-zA-Z0-9]*[Ww]
  90. X: ^[^a-zA-Z0-9]*[Xx]
  91. Y: ^[^a-zA-Z0-9]*[Yy]
  92. Z: ^[^a-zA-Z0-9]*[Zz]
  93. _: ^[^a-zA-Z0-9]*[0-9]
  94.  
  95. item_fields:
  96. disc_and_track: u'%02i.%02i' % (disc, track) if disctotal > 1 else u'%02i' % (track)
  97. album_fields:
  98. u_format: |
  99. item = items[0]
  100. if item.format == "FLAC" and item.bitdepth == 24:
  101. return "FLAC24"
  102. return item.format
  103. u_version: |
  104. item = items[0]
  105. label = item.label
  106. cat = item.catalognum
  107. if item.original_year == item.year:
  108. year = ""
  109. else:
  110. year = item.year
  111. country = item.country
  112. media = item.media
  113. if cat == "[none]":
  114. cat = ""
  115. if "Vinyl" in media:
  116. media = "Vinyl"
  117. elif "Digital Media" in media:
  118. media = "WEB"
  119. list = []
  120. for i in [label, cat, year, country, media]:
  121. if i != "" and i != 0:
  122. if type(i) != str:
  123. i = str(i)
  124. list.append(i)
  125. return " - ".join(list)
  126.  
  127. match:
  128. strong_rec_thresh: 0.1
  129. medium_rec_thresh: 0.25
  130. rec_gap_thresh: 0.25
  131. max_rec:
  132. missing_tracks: medium
  133. unmatched_tracks: medium
  134. distance_weights:
  135. source: 2.0
  136. artist: 3.0
  137. album: 3.0
  138. media: 1.0
  139. mediums: 1.0
  140. year: 1.0
  141. country: 0.5
  142. label: 0.5
  143. catalognum: 0.5
  144. albumdisambig: 0.5
  145. album_id: 5.0
  146. tracks: 2.0
  147. missing_tracks: 0.9
  148. unmatched_tracks: 0.6
  149. track_title: 3.0
  150. track_artist: 2.0
  151. track_index: 1.0
  152. track_length: 2.0
  153. track_id: 5.0
  154. preferred:
  155. countries: []
  156. media: []
  157. original_year: no
  158. ignored: []
  159. required: []
  160. ignored_media: []
  161. ignore_video_tracks: yes
  162. track_length_grace: 10
  163. track_length_max: 30
  164.  
  165. musicbrainz:
  166. user: user
  167. pass: pass
  168. mbcollection:
  169. collection: ####
  170. copyartifacts:
  171. extensions: .cue .log .m3u .m3u8 .jpg .jpeg .png .nfo .wav .pdf .txt .m3u
  172. lastgenre:
  173. auto: yes
  174. force: yes
  175. min_weight: 10
  176. source: album
  177. whitelist: yes
  178. canonical: C:\Users\ME\AppData\Local\Programs\Python\Python37\Lib\site-packages\beetsplug\lastgenre\genres-tree.yaml
  179. whitelist: C:\Users\ME\AppData\Local\Programs\Python\Python37\Lib\site-packages\beetsplug\lastgenre\genres.txt
  180. count: 1
  181. fetchart:
  182. sources: filesystem amazon itunes albumart coverart
  183.  
  184. the:
  185. patterns: [ '^La ', '^Le ', '^Les ', '^Un ', '^Une ', '^Tha ', "^L'" , '^L’' , '^“The' ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement