From a197403a44282d3397d9eb11eef0200d1ca5079f Mon Sep 17 00:00:00 2001 From: hsoft Date: Sun, 6 Sep 2009 12:36:25 +0000 Subject: [PATCH] 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 --- base/py/scanner.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/base/py/scanner.py b/base/py/scanner.py index a4a8891f..18b83444 100644 --- a/base/py/scanner.py +++ b/base/py/scanner.py @@ -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']