Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- directory: # C:\Users\UserName\Music\
- library: # C:\Users\UserName\Music\lib.blb
- import:
- move: yes
- per_disc_numbering: yes
- plugins: inline zero scrub fetchart
- asciify_paths: no
- id3v23: yes
- art_filename: folder
- original_date: yes
- replace:
- '[\\/]': ''
- '^\.': ''
- '[\x00-\x1f]': ''
- '[<>:"\?\*\|]': ''
- '\.$': ''
- match:
- ignored: source media mediums country label catalognum
- fetchart:
- cautious: yes
- cover_names: cover front art album folder
- sources: filesystem fanarttv itunes amazon albumart google
- maxwidth: 1000
- enforce_ratio: yes
- zero:
- keep_fields: title artist album albumartist year track tracktotal disc disctotal disctitle
- update_database: true
- item_fields:
- capitalised_title: |
- v = title.split(" ")
- q = ""
- words = ["a", "an", "at", "and", "by", "for", "in", "of", "on", "to", "the"]
- try:
- if title.lower() == "" or title.lower() == "[untitled]":
- return "Untitled"
- except TypeError:
- return "Untitled"
- for i, word in enumerate(v):
- if i == 0 or not word.lower() in words:
- v[i] = word[0].upper() + word[1:]
- else:
- v[i] = word.lower()
- for i, word in enumerate(v):
- if i < len(v) - 1:
- q += word + " "
- else:
- q += word
- return q
- disc_prefix: |
- if disctotal > 1:
- v = str(disc)
- if len(v) < 2:
- return "0" + v + " - "
- return ""
- paths:
- default: $albumartist/$album/$disc_prefix$track - $capitalised_title
- comp: Various Artists/$album/$disc_prefix$track - $capitalised_title
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement