diff options
-rw-r--r-- | abs/core/mythtv/stable-0.25/mythtv/PKGBUILD | 4 | ||||
-rwxr-xr-x | abs/core/mythtv/stable-0.25/mythtv/tmdb3_db_update.py | 8 |
2 files changed, 9 insertions, 3 deletions
diff --git a/abs/core/mythtv/stable-0.25/mythtv/PKGBUILD b/abs/core/mythtv/stable-0.25/mythtv/PKGBUILD index 72957a9..936060b 100644 --- a/abs/core/mythtv/stable-0.25/mythtv/PKGBUILD +++ b/abs/core/mythtv/stable-0.25/mythtv/PKGBUILD @@ -6,7 +6,7 @@ pkgname=mythtv pkgver=0.25 -pkgrel=32 +pkgrel=33 commit_hash=`cat ../git_src/git_hash` pkgdesc="A Homebrew PVR project $commit_hash" arch=('i686' 'x86_64') @@ -169,4 +169,4 @@ md5sums=('7ef6de58240e7aad389a0b13d91b1cf6' 'f407d6af23e74a49540755420f84fa58' '5469d9921b726db750b991c87d226158' '187be42b1ffca6badfa539260ffef65e' - 'fbe0fc68707b0c9564a4e00dfa3c4916') + '7460513f6791574eaa0ae0402ffd3688') diff --git a/abs/core/mythtv/stable-0.25/mythtv/tmdb3_db_update.py b/abs/core/mythtv/stable-0.25/mythtv/tmdb3_db_update.py index 4f31364..22fc635 100755 --- a/abs/core/mythtv/stable-0.25/mythtv/tmdb3_db_update.py +++ b/abs/core/mythtv/stable-0.25/mythtv/tmdb3_db_update.py @@ -6,7 +6,7 @@ from socket import gethostname from MythTV import MythDB mythdb = MythDB() localhostname = gethostname() -import sys +import sys, os # Function to set db setting. This setting is set in mythtv-setup. def dbSettingChange(): @@ -15,6 +15,12 @@ def dbSettingChange(): else: mythdb.settings.NULL.MovieGrabber = u'metadata/Movie/tmdb3.py' print 'The MythTV database setting MovieGrabber has been updated to tmdb3.py' + try: + os.remove("/home/mythtv/.mythtv/pytmdb3.cache") + print 'tmdb3 cache at /home/mythtv/.mythtv/pytmdb3.cache removed.' + except OSError: + print "tmdb3 cache at /home/mythtv/.mythtv/pytmdb3.cache doesn't exist." + pass return #taken from systemconfig.py |