[mythtv-commits] [MythTV/mythtv] eb1c37: Add optional metadata grabber for television: tvmaze

rcrdnalor noreply at github.com
Sat Feb 13 16:39:11 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: eb1c3771a90b0a1badc9ef0341e9612ea0cca7f5
      https://github.com/MythTV/mythtv/commit/eb1c3771a90b0a1badc9ef0341e9612ea0cca7f5
  Author: Roland Ernst <rcrernst at gmail.com>
  Date:   2021-01-18 (Mon, 18 Jan 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+.


  Commit: 8b2ff2f867980258a6015fbae0c5139bcdf5c0b0
      https://github.com/MythTV/mythtv/commit/8b2ff2f867980258a6015fbae0c5139bcdf5c0b0
  Author: rcrdnalor <40721016+rcrdnalor at users.noreply.github.com>
  Date:   2021-02-13 (Sat, 13 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:
  -----------
  Merge pull request #303 from rcrdnalor/python-tvmaze

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+.


Compare: https://github.com/MythTV/mythtv/compare/869e499c172b...8b2ff2f86798


More information about the mythtv-commits mailing list