[mythtv-firehose] mythtv branch fixes/0.25 updated by wagnerrp. v0.25.1-30-g56fd9e2

Git Repo Owner noreply at mythtv.org
Tue Jun 12 23:38:51 UTC 2012


The branch, fixes/0.25 has been updated on the
mythtv repository by gitolite user wagnerrp.
       via  56fd9e2cd63c4700f90f6e0b9326d36bc38cff92 (commit)
       via  cdc03f4b09fd6a77893aa1df5948f128dd86b391 (commit)
       via  1c03ae068b8acb9bbde6dd439af482498e3b89ff (commit)
       via  c9be5e2eec12cdbfbf5556aefadb1ee63cba1160 (commit)
       via  f7f76e55b0ff198d19b3dce2474f98f934717a48 (commit)
       via  e900fa37b2680d79cf26096a89555a31121b00f2 (commit)
       via  d590289d80ffffc792b4e386f1f2bbbcea3478dc (commit)
       via  5f5ca21fbd51ec0771034abc45e1b607c0b8db50 (commit)
       via  7563f810ae017226023b476b7a5d0f9d863aa3f3 (commit)
       via  b277cc3bd8a723c2621e80d0d9506a46c7f5ca9a (commit)
       via  81dabbc40b0b3fdc1b542a9d7fe9da74f0fbbefd (commit)
       via  9439a827f3c1178ad33a81a326d5e0ed87cdca31 (commit)
       via  1493687d26482b777d07eb02f5fda77d0b501cef (commit)
       via  59cc85156d402eb2bdd91c088d44407fb8e6df3a (commit)
       via  2fd53643f8911e92c01fb49ca3cd2710d735831b (commit)
       via  b0e61cffcced4170c1fe8821155a830f9f38056a (commit)
       via  ac4a15845876f5802ce78152543e1cb19ec9e04e (commit)
       via  802d86c668bacd3e6089ad9c5c9b2cd092d344bf (commit)
       via  9c3fb94c1136f270d4a02a4ff294e6484b3b7d83 (commit)
       via  47b77a6bd2b17ea5962d1c78751e33305cdd1aa2 (commit)
       via  8ec550daa5a9a75c65b57fd5d3b62692bcb1e93b (commit)
       via  e0462f253faf920793bb76a84869cb98b4b4a218 (commit)
       via  afc068223b062e6579586d10be2f7d0d1441524d (commit)
       via  d750957b9b841d15d2c208e13df57e39419a1eb5 (commit)
       via  a2cb6df059542bf62f627f79310e9a891d4e891d (commit)
       via  ea43a7777f68d4b317138904b6e53616c10a9d52 (commit)
       via  4e2e129393ecef050134d605888bfec2c565599c (commit)
       via  631ae1075c35107d759c83fa1faa519841949397 (commit)
      from  648f0aec326c03b39091fda8ac64450d0f0e76e3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 56fd9e2cd63c4700f90f6e0b9326d36bc38cff92
Author:    Raymond Wagner <rwagner at mythtv.org> at Mon, 21 May 2012 02:32:30 -0400
Committer: Raymond Wagner <rwagner at mythtv.org> at Tue, 12 Jun 2012 19:37:46 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=56fd9e2cd63c4700f90f6e0b9326d36bc38cff92

Move interactive access to separate script.
This removes the interactive behavior of tmdb_api.py and places it in a
new script.  The script can be run from the source directory, but does
not get installed with the library.
(cherry picked from commit 76c8c518ff8dcc1206a984d2a5c12503f194870a)



commit cdc03f4b09fd6a77893aa1df5948f128dd86b391
Author:    Raymond Wagner <rwagner at mythtv.org> at Thu, 3 May 2012 02:56:30 -0400
Committer: Raymond Wagner <rwagner at mythtv.org> at Tue, 12 Jun 2012 19:36:55 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=cdc03f4b09fd6a77893aa1df5948f128dd86b391

Add method to search for movies similar to current. (cherry picked from commit 30a0d398cc5f40487a69ddcc3beff77b09052def)



commit 1c03ae068b8acb9bbde6dd439af482498e3b89ff
Author:    Raymond Wagner <rwagner at mythtv.org> at Thu, 3 May 2012 02:43:07 -0400
Committer: Raymond Wagner <rwagner at mythtv.org> at Tue, 12 Jun 2012 19:36:45 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=1c03ae068b8acb9bbde6dd439af482498e3b89ff

Clean up __repr__ methods, and impose soft 80-character line limit. (cherry picked from commit 676cbb1aaf9c8d19d207ec9575ffaa9665d8e710)



commit c9be5e2eec12cdbfbf5556aefadb1ee63cba1160
Author:    Raymond Wagner <rwagner at mythtv.org> at Thu, 3 May 2012 01:12:28 -0400
Committer: Raymond Wagner <rwagner at mythtv.org> at Tue, 12 Jun 2012 19:36:35 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=c9be5e2eec12cdbfbf5556aefadb1ee63cba1160

Improve handling of invalid responses from TMDB
When an HTML error is received from the TMDB API, this will now attempt
to process a specific error type from the returned JSON.  If no error
type is given, or the resposnse was not JSON, it will raise the previous
TMDBHTTPError.
(cherry picked from commit 7425634d7b92f8bbe9abdc8b50c4148c96c87f40)



commit f7f76e55b0ff198d19b3dce2474f98f934717a48
Author:    Raymond Wagner <rwagner at mythtv.org> at Tue, 1 May 2012 15:50:44 -0400
Committer: Raymond Wagner <rwagner at mythtv.org> at Tue, 12 Jun 2012 19:36:16 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=f7f76e55b0ff198d19b3dce2474f98f934717a48

Use `date` rather than `datetime` for storing dates. (cherry picked from commit c2ef5d143f1bfc9931ef9f7487fda3b93780fe8f)



commit e900fa37b2680d79cf26096a89555a31121b00f2
Author:    Raymond Wagner <rwagner at mythtv.org> at Mon, 30 Apr 2012 20:07:29 -0400
Committer: Raymond Wagner <rwagner at mythtv.org> at Tue, 12 Jun 2012 19:35:56 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=e900fa37b2680d79cf26096a89555a31121b00f2

Correct file cache error handling to ignore rather than raise errors. (cherry picked from commit 27dff377fe6612b870a4cf28b9c058567be1a3bb)



commit d590289d80ffffc792b4e386f1f2bbbcea3478dc
Author:    Raymond Wagner <rwagner at mythtv.org> at Mon, 30 Apr 2012 16:50:20 -0400
Committer: Raymond Wagner <rwagner at mythtv.org> at Tue, 12 Jun 2012 19:35:46 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=d590289d80ffffc792b4e386f1f2bbbcea3478dc

Use `date` type rather than `datetime` for 'releasedate attribute'. (cherry picked from commit 5b86d8bb95c69205d8669bb23c30ccd6b8514c4b)



commit 5f5ca21fbd51ec0771034abc45e1b607c0b8db50
Author:    Raymond Wagner <rwagner at mythtv.org> at Mon, 30 Apr 2012 16:49:57 -0400
Committer: Raymond Wagner <rwagner at mythtv.org> at Tue, 12 Jun 2012 19:35:37 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=5f5ca21fbd51ec0771034abc45e1b607c0b8db50

Bypass aborts resulting from attempting to process empty strings. (cherry picked from commit aa0e26f1abc7370d8840abdfd8ced2fdf2ef76f7)



commit 7563f810ae017226023b476b7a5d0f9d863aa3f3
Author:    Raymond Wagner <rwagner at mythtv.org> at Mon, 30 Apr 2012 02:12:12 -0400
Committer: Raymond Wagner <rwagner at mythtv.org> at Tue, 12 Jun 2012 19:34:16 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=7563f810ae017226023b476b7a5d0f9d863aa3f3

Correct missed changes in __init__.py (cherry picked from commit 361e06851f02f5a70f554fcee0890a7a37e6ad95)



commit b277cc3bd8a723c2621e80d0d9506a46c7f5ca9a
Author:    Raymond Wagner <rwagner at mythtv.org> at Mon, 30 Apr 2012 01:59:11 -0400
Committer: Raymond Wagner <rwagner at mythtv.org> at Tue, 12 Jun 2012 19:33:56 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=b277cc3bd8a723c2621e80d0d9506a46c7f5ca9a

Add adult filter for people searches (cherry picked from commit b28c566ef2b6a6379821bcc9023f84cba04b4e05)



commit 81dabbc40b0b3fdc1b542a9d7fe9da74f0fbbefd
Author:    Raymond Wagner <rwagner at mythtv.org> at Sat, 14 Apr 2012 18:26:59 -0400
Committer: Raymond Wagner <rwagner at mythtv.org> at Tue, 12 Jun 2012 19:33:45 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=81dabbc40b0b3fdc1b542a9d7fe9da74f0fbbefd

Add assorted authenticated methods.
This adds methods for setting ratings and favorite status against
movies, as well as pulling lists of movies for which those have been
set. This adds a bypass in the cache to not operate on anything with a
lifetime of '0'.
(cherry picked from commit fb7c7cd3dfd4692e6c5acc61f0d2fd927b04d50e)



commit 9439a827f3c1178ad33a81a326d5e0ed87cdca31
Author:    Raymond Wagner <rwagner at mythtv.org> at Sat, 14 Apr 2012 17:31:20 -0400
Committer: Raymond Wagner <rwagner at mythtv.org> at Tue, 12 Jun 2012 19:33:36 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=9439a827f3c1178ad33a81a326d5e0ed87cdca31

Add basic session handling and passthrough. (cherry picked from commit 3debcd531d8ed454b8ed9f4b61da6e03690ce13c)



commit 1493687d26482b777d07eb02f5fda77d0b501cef
Author:    Raymond Wagner <rwagner at mythtv.org> at Sat, 14 Apr 2012 15:30:26 -0400
Committer: Raymond Wagner <rwagner at mythtv.org> at Tue, 12 Jun 2012 19:33:24 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=1493687d26482b777d07eb02f5fda77d0b501cef

Corrects handling of '0' for cast ordering. (cherry picked from commit 500454560030795a7c914cb985c30711e302d65a)



commit 59cc85156d402eb2bdd91c088d44407fb8e6df3a
Author:    Raymond Wagner <rwagner at mythtv.org> at Wed, 11 Apr 2012 01:28:27 -0400
Committer: Raymond Wagner <rwagner at mythtv.org> at Tue, 12 Jun 2012 19:33:15 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=59cc85156d402eb2bdd91c088d44407fb8e6df3a

Improve file cache performance.
This reworks the cache framework, and alters the file cache engine to
support incremental writes. This allows the results from 256 queries to
be stored before having to rewrite the file. Previously, having to
rewrite the entire cache file on each step would take longer than
actually querying TMDB once the cache stored more than ~100 entries.

May be a bit fragile.
(cherry picked from commit 23fa543ceb2690340e74d257a6bc86f817c02be6)



commit 2fd53643f8911e92c01fb49ca3cd2710d735831b
Author:    Raymond Wagner <rwagner at mythtv.org> at Wed, 11 Apr 2012 01:24:21 -0400
Committer: Raymond Wagner <rwagner at mythtv.org> at Tue, 12 Jun 2012 19:33:06 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=2fd53643f8911e92c01fb49ca3cd2710d735831b

Fix Cache exceptions. (cherry picked from commit 642de961e034072eaf6342c01451b040f0b9ab3b)



commit b0e61cffcced4170c1fe8821155a830f9f38056a
Author:    Raymond Wagner <rwagner at mythtv.org> at Wed, 11 Apr 2012 01:23:18 -0400
Committer: Raymond Wagner <rwagner at mythtv.org> at Tue, 12 Jun 2012 19:32:56 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=b0e61cffcced4170c1fe8821155a830f9f38056a

Remove empty space. (cherry picked from commit c35f455ee4bf2dbaac87f6ce2fca2f489cd2d209)



commit ac4a15845876f5802ce78152543e1cb19ec9e04e
Author:    Raymond Wagner <rwagner at mythtv.org> at Mon, 2 Apr 2012 13:28:11 -0400
Committer: Raymond Wagner <rwagner at mythtv.org> at Tue, 12 Jun 2012 19:32:45 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=ac4a15845876f5802ce78152543e1cb19ec9e04e

Adds proper encoding to strings being passed to a request. (cherry picked from commit e0d604111ba9f09e4f161d4280ea132e0e4a1990)



commit 802d86c668bacd3e6089ad9c5c9b2cd092d344bf
Author:    Raymond Wagner <rwagner at mythtv.org> at Sun, 1 Apr 2012 03:14:49 -0400
Committer: Raymond Wagner <rwagner at mythtv.org> at Tue, 12 Jun 2012 19:32:36 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=802d86c668bacd3e6089ad9c5c9b2cd092d344bf

Add slice support to search result pager. (cherry picked from commit 86b54a14992a24c3f727efd5247842ee2d2393c3)



commit 9c3fb94c1136f270d4a02a4ff294e6484b3b7d83
Author:    Raymond Wagner <rwagner at mythtv.org> at Sat, 31 Mar 2012 20:14:52 -0400
Committer: Raymond Wagner <rwagner at mythtv.org> at Tue, 12 Jun 2012 19:32:26 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=9c3fb94c1136f270d4a02a4ff294e6484b3b7d83

Update Logo() class with proper image sizes from Configuration(). (cherry picked from commit 2198d9ef21d5aaf47550084b8904e3da73137956)



commit 47b77a6bd2b17ea5962d1c78751e33305cdd1aa2
Author:    Raymond Wagner <rwagner at mythtv.org> at Sat, 31 Mar 2012 20:03:41 -0400
Committer: Raymond Wagner <rwagner at mythtv.org> at Tue, 12 Jun 2012 19:32:15 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=47b77a6bd2b17ea5962d1c78751e33305cdd1aa2

Correct Studio.logo processing. (cherry picked from commit 2e4bc644b0d2b0277a18ffa0b0e66aa18c17dfc6)



commit 8ec550daa5a9a75c65b57fd5d3b62692bcb1e93b
Author:    Raymond Wagner <rwagner at mythtv.org> at Sat, 31 Mar 2012 19:52:53 -0400
Committer: Raymond Wagner <rwagner at mythtv.org> at Tue, 12 Jun 2012 19:32:06 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=8ec550daa5a9a75c65b57fd5d3b62692bcb1e93b

Allow locale fallthrough for movie images and alternate titles.
When fallthrough is enabled, queries for backdrops, posters, and
alternate titles will not filter for the selected locale, but will
instead sort the results to place those matching the specified locale at
the top of the list.

Also resolves an issue where Request() was incorrectly passing 'None' as
an argument when no locale was set.
(cherry picked from commit ddc0cb0550b8de72e4ddad874ad05865b3b50c3f)



commit e0462f253faf920793bb76a84869cb98b4b4a218
Author:    Raymond Wagner <rwagner at mythtv.org> at Sat, 31 Mar 2012 19:15:39 -0400
Committer: Raymond Wagner <rwagner at mythtv.org> at Tue, 12 Jun 2012 19:31:55 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=e0462f253faf920793bb76a84869cb98b4b4a218

Allow Datalists to be sorted natively without supplying a key. (cherry picked from commit 61045e47bca155fb40ec2de47d01cd86bd28992b)



commit afc068223b062e6579586d10be2f7d0d1441524d
Author:    Raymond Wagner <rwagner at mythtv.org> at Fri, 30 Mar 2012 00:49:19 -0400
Committer: Raymond Wagner <rwagner at mythtv.org> at Tue, 12 Jun 2012 19:31:37 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=afc068223b062e6579586d10be2f7d0d1441524d

Correct cache file selection logic inverted by 4663490f8fa. (cherry picked from commit 75a14b7da282f15fc84819418ec845e86559eaf2)



commit d750957b9b841d15d2c208e13df57e39419a1eb5
Author:    Raymond Wagner <rwagner at mythtv.org> at Fri, 30 Mar 2012 00:48:04 -0400
Committer: Raymond Wagner <rwagner at mythtv.org> at Tue, 12 Jun 2012 19:31:28 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=d750957b9b841d15d2c208e13df57e39419a1eb5

Update README for additional options. (cherry picked from commit 166655c70bb4ac340c6e559b167114f3e08bbdc0)



commit a2cb6df059542bf62f627f79310e9a891d4e891d
Author:    Raymond Wagner <rwagner at mythtv.org> at Fri, 30 Mar 2012 00:41:31 -0400
Committer: Raymond Wagner <rwagner at mythtv.org> at Tue, 12 Jun 2012 19:31:18 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=a2cb6df059542bf62f627f79310e9a891d4e891d

Add support for additional Studio information. (cherry picked from commit e99630e023a6ae8033bba27528e9a3ca45e72c1e)



commit ea43a7777f68d4b317138904b6e53616c10a9d52
Author:    Raymond Wagner <rwagner at mythtv.org> at Thu, 29 Mar 2012 23:43:12 -0400
Committer: Raymond Wagner <rwagner at mythtv.org> at Tue, 12 Jun 2012 19:31:10 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=ea43a7777f68d4b317138904b6e53616c10a9d52

Add 'adult' and 'alias' to Person class. (cherry picked from commit 38922793f5732d10c4dfbcf6d421d40667812675)



commit 4e2e129393ecef050134d605888bfec2c565599c
Author:    Raymond Wagner <rwagner at mythtv.org> at Thu, 29 Mar 2012 14:15:19 -0400
Committer: Raymond Wagner <rwagner at mythtv.org> at Tue, 12 Jun 2012 19:31:00 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=4e2e129393ecef050134d605888bfec2c565599c

Improves cache file selection for Windows. (cherry picked from commit 263d8680de3566f2109b76b4b1d4d2779b967d10)



commit 631ae1075c35107d759c83fa1faa519841949397
Author:    Raymond Wagner <rwagner at mythtv.org> at Thu, 29 Mar 2012 13:36:54 -0400
Committer: Raymond Wagner <rwagner at mythtv.org> at Tue, 12 Jun 2012 19:30:48 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=631ae1075c35107d759c83fa1faa519841949397

Add __contains__ for proper lookup in cache Engines class. (cherry picked from commit 08bffa5f6df497f28fe3481fe80b517628b0f1a3)



-----------------------------------------------------------------------

Summary of changes:
 mythtv/bindings/python/tmdb3/README                |   25 +-
 mythtv/bindings/python/tmdb3/setup.py              |    2 +-
 mythtv/bindings/python/tmdb3/tmdb3/__init__.py     |    3 +-
 mythtv/bindings/python/tmdb3/tmdb3/cache.py        |   35 ++-
 mythtv/bindings/python/tmdb3/tmdb3/cache_engine.py |   31 ++-
 mythtv/bindings/python/tmdb3/tmdb3/cache_file.py   |  342 ++++++++++++++++----
 mythtv/bindings/python/tmdb3/tmdb3/cache_null.py   |    4 +-
 mythtv/bindings/python/tmdb3/tmdb3/locales.py      |   72 ++++-
 mythtv/bindings/python/tmdb3/tmdb3/pager.py        |    2 +
 mythtv/bindings/python/tmdb3/tmdb3/request.py      |   49 +++-
 mythtv/bindings/python/tmdb3/tmdb3/tmdb_api.py     |  311 ++++++++++++------
 .../bindings/python/tmdb3/tmdb3/tmdb_exceptions.py |   17 +-
 mythtv/bindings/python/tmdb3/tmdb3/util.py         |   42 ++-
 scripts/pytmdb3.py                                 |   53 +++
 tmdb3/tmdb_auth.py                                 |  131 ++++++++
 15 files changed, 888 insertions(+), 231 deletions(-)
 create mode 100755 scripts/pytmdb3.py
 create mode 100644 tmdb3/tmdb_auth.py

-- 



More information about the mythtv-firehose mailing list