[mythtv-commits] mythtv/master commit: 4478316e1 by Raymond Wagner (wagnerrp)

MythTV noreply at mythtv.org
Sat Jan 7 10:40:43 UTC 2012


      Author:  Raymond Wagner <rwagner at mythtv.org>
 Change Date:  2012-01-07T02:37:25-08:00
   Push Date:  2012/01/07 02:40:33 -0800
  Repository:  mythtv
      Branch:  master
New Revision:  4478316e13974e32cdaa0551151e6f545ed776d8
   Changeset:  https://github.com/MythTV/mythtv/commit/4478316e1

Log:

Add caching to tmdbv3 requests.

The adds a persistent cache to requests made through the tmdbv3 api
library, stored to /tmp/pytmdb3.cache in JSON format. Default lifetime
for stored results is one hour.

Also adds handling for TMDB's listed status codes.

Added:

   mythtv/bindings/python/MythTV/tmdb3/cache.py
   mythtv/bindings/python/MythTV/tmdb3/request.py

Modified:

   mythtv/bindings/python/MythTV/tmdb3/tmdb_api.py
   mythtv/bindings/python/MythTV/tmdb3/tmdb_exceptions.py



More information about the mythtv-commits mailing list