Browse files

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

  • Loading branch information...
1 parent 2076d12 commit dbd7a9e47f1ffa003f0011cbf76359829eab2122 @wagnerrp wagnerrp committed Sep 20, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 mythtv/bindings/python/MythTV/dataheap.py
View
6 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 dbd7a9e

Please sign in to comment.