-
Notifications
You must be signed in to change notification settings - Fork 1
autosingleton
mried edited this page Feb 3, 2015
·
1 revision
This little plugin adds the ability to automatically decide if the items of a folder should be imported as an album or as singletons.
This works for my own music library and not necessary for yours...
To load the plugin, simply add it to your list of plugins:
plugins: autosingleton
There is nothing else to configure. To change the build in rules, you have to change the code of the is_singleton method.
The following rules are checked in the given order:
- If the containing folder is called
misc, it's a singleton. - If there is a directory inside the directory of the file, it's a singleton.
- If the filename does not start with at least two digits followed by
-, it's a singleton. - The rest is considered to be an album.