Mailing List Archive

[MythTV/mythtv] 525e3b: Add optional metadata grabber for television: tvmaze
Branch: refs/heads/fixes/31
Home: https://github.com/MythTV/mythtv
Commit: 525e3b0bb4ec0a160ea35591b28ca7d4ae067313
https://github.com/MythTV/mythtv/commit/525e3b0bb4ec0a160ea35591b28ca7d4ae067313
Author: Roland Ernst <rcrernst@gmail.com>
Date: 2021-02-20 (Sat, 20 Feb 2021)

Changed paths:
M mythtv/bindings/python/setup.py
A mythtv/bindings/python/tvmaze/__init__.py
A mythtv/bindings/python/tvmaze/embed.py
A mythtv/bindings/python/tvmaze/endpoints.py
A mythtv/bindings/python/tvmaze/episode.py
A mythtv/bindings/python/tvmaze/locales.py
A mythtv/bindings/python/tvmaze/person.py
A mythtv/bindings/python/tvmaze/season.py
A mythtv/bindings/python/tvmaze/show.py
A mythtv/bindings/python/tvmaze/tvmaze_api.py
A mythtv/bindings/python/tvmaze/utils.py
A mythtv/programs/scripts/metadata/Television/tvmaze.py
A mythtv/programs/scripts/metadata/Television/tvmaze_tests.txt

Log Message:
-----------
Add optional metadata grabber for television: tvmaze

See
https://www.tvmaze.com/
https://www.tvmaze.com/api

This commit adds an alternative metadata grabber for TV-Series.
The tvmaze metadata grabber follows the defintions in
https://www.mythtv.org/wiki/MythTV_Universal_Metadata_Format

To enable this grabber, run in mythtv frontend
"Setup" -> "Artwork and Data Sources"
and select 'TVMaze.com' for the default TelevisionGrabber.

Once done, you can check this global setting with mysql:

[mythconverg]> select * from settings where value like '%grabber%';
+--------------------+-------------------------------+----------+
| value | data | hostname |
+--------------------+-------------------------------+----------+
| TelevisionGrabber | metadata/Television/tvmaze.py | NULL |
| MovieGrabber | metadata/Movie/tmdb3.py | NULL |
+--------------------+-------------------------------+----------+

Any further metadata update will then use these grabbers.

Note: The tvmaze grabber is compatible to python 2.7 and 3.6+.
(cherry picked from commit eb1c3771a90b0a1badc9ef0341e9612ea0cca7f5)


_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-commits