B"H rearrange vdir code in a clearer fashion

This commit is contained in:
hhm 2017-03-22 02:22:36 -04:00
parent 55e0dd0609
commit 5aab757fd9
2 changed files with 34 additions and 17 deletions

View file

@ -7,11 +7,8 @@ ALBUM = 'album'
DIRECTORY = 'directory'
VDIR = 'vdir'
PREFIX = 'subidy'
ROOT = 'root'
SEARCH = 'search'
ROOT_URI = '%s:%s:%s' % (PREFIX, VDIR, ROOT)
regex = re.compile(r'(\w+?):(\w+?)(?::|$)(.+?)?$')
def is_type_result_valid(result):