cc-4105: fixd for parsing metadata title
This commit is contained in:
parent
96b57d688a
commit
0573237b7e
|
@ -241,7 +241,7 @@ def normalized_metadata(md, original_path):
|
||||||
# Note: I don't know why I'm doing a unicode string comparison here
|
# Note: I don't know why I'm doing a unicode string comparison here
|
||||||
# that part is copied from the original code
|
# that part is copied from the original code
|
||||||
if is_airtime_recorded(new_md):
|
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
|
# We assume that MDATA_KEY_YEAR is always given for airtime recorded
|
||||||
# shows
|
# shows
|
||||||
new_md['MDATA_KEY_TITLE'] = u'%s-%s-%s:%s:%s' % \
|
new_md['MDATA_KEY_TITLE'] = u'%s-%s-%s:%s:%s' % \
|
||||||
|
|
Loading…
Reference in New Issue