def iterplayables():
ls = DirScanner(stripdot=True)<EOL>filt = lambda x: ( os.path.isdir(x) or x[-<NUM_LIT:4>:].lower() in ALLOWED_TYPES )<EOL>func = lambda x: '<STR_LIT:/>'.join(x.split('<STR_LIT:/>')[-<NUM_LIT:2>:])<EOL>for x,y in ls.iteritems(want_files=True, want_dirs=False, func=func, filt=filt):<EOL><INDENT>yield {      '<STR_LIT:name>': x.decode('<STR_LIT:utf-8>'),<EOL>'<STR_LIT>': escape_utf8(y)     }<EOL><DEDENT>
fast iterator of playable file object/dicts found on disk