cc-4105: fixd for parsing metadata title

This commit is contained in:
Rudi Grinberg 2012-08-14 17:46:20 -04:00
parent 96b57d688a
commit 0573237b7e
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ def normalized_metadata(md, original_path):
# Note: I don't know why I'm doing a unicode string comparison here
# that part is copied from the original code
if is_airtime_recorded(new_md):
hour,minute,second,name = md['MDATA_KEY_TITLE'].split("-",4)
hour,minute,second,name = md['MDATA_KEY_TITLE'].split("-",3)
# We assume that MDATA_KEY_YEAR is always given for airtime recorded
# shows
new_md['MDATA_KEY_TITLE'] = u'%s-%s-%s:%s:%s' % \