Skip to content

Commit

Permalink
Add 'releasedate' to properties handled by Video.importMetadata()
Browse files Browse the repository at this point in the history
  • Loading branch information
wagnerrp committed Sep 20, 2012
1 parent 2076d12 commit dbd7a9e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions mythtv/bindings/python/MythTV/dataheap.py
Expand Up @@ -963,7 +963,8 @@ def _allow_change(self, tag, overwrite):

# pull direct tags
for tag in ('title', 'subtitle', 'tagline', 'season', 'episode',
'inetref', 'homepage', 'trailer', 'userrating', 'year'):
'inetref', 'homepage', 'trailer', 'userrating', 'year',
'releasedate'):
if metadata[tag] and _allow_change(self, tag, overwrite):
self[tag] = metadata[tag]

Expand Down Expand Up @@ -1011,7 +1012,8 @@ def exportMetadata(self):

# pull direct tags
for tag in ('title', 'subtitle', 'tagline', 'season', 'episode',
'inetref', 'homepage', 'trailer', 'userrating', 'year'):
'inetref', 'homepage', 'trailer', 'userrating', 'year',
'releasedate'):
if self[tag]:
metadata[tag] = self[tag]

Expand Down

0 comments on commit dbd7a9e

Please sign in to comment.