MM2: Fixed bug where mm would choke on songs without MDATA_KEY_CREATOR when trying to decide if they

are recorded or not.
This commit is contained in:
Rudi Grinberg 2012-08-22 14:39:25 -04:00
parent e9bc0074c0
commit d12b1645fd
1 changed files with 1 additions and 0 deletions

View File

@ -83,6 +83,7 @@ def is_file_supported(path):
# TODO : In the future we would like a better way to find out whether a show
# has been recorded
def is_airtime_recorded(md):
if not 'MDATA_KEY_CREATOR' in md: return False
return md['MDATA_KEY_CREATOR'] == u'Airtime Show Recorder'
def clean_empty_dirs(path):