Put back a placeholder for the obsolete scan type that had recently been removed. scan preference use those constants, so they can't be changed.

--HG--
extra : convert_revision : svn%3Ac306627e-7827-47d3-bdf0-9a457c9553a1/trunk%40126
This commit is contained in:
hsoft 2009-09-06 12:36:25 +00:00
parent eea31b3c3f
commit a197403a44
1 changed files with 2 additions and 1 deletions

View File

@ -21,8 +21,9 @@ from .ignore import IgnoreList
SCAN_TYPE_FIELDS,
SCAN_TYPE_FIELDS_NO_ORDER,
SCAN_TYPE_TAG,
UNUSED, # Must not be removed. Constants here are what scan_type in the prefs are.
SCAN_TYPE_CONTENT,
SCAN_TYPE_CONTENT_AUDIO) = range(6)
SCAN_TYPE_CONTENT_AUDIO) = range(7)
SCANNABLE_TAGS = ['track', 'artist', 'album', 'title', 'genre', 'year']