Permalink
Browse files

Add 'releasedate' to properties handled by Video.importMetadata()

(cherry picked from commit dbd7a9e)
  • Loading branch information...
1 parent c933730 commit d8ca64e65f99c628571cfc09ce88f70228b165b7 @wagnerrp wagnerrp committed Sep 20, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 mythtv/bindings/python/MythTV/dataheap.py
@@ -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]
@@ -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]

0 comments on commit d8ca64e

Please sign in to comment.