[mythtv-users] Important: Changes to Metadata lookup in March 2021

Hika van den Hoven hikavdh at gmail.com
Wed Feb 24 23:44:46 UTC 2021

Hoi Peter,

Wednesday, February 24, 2021, 7:08:16 PM, you wrote:

> Test it by running these

> Display help page
> /usr/share/mythtv/metadata/Television/tmdb3tv.py -h

> Display series data xml
> /usr/share/mythtv/metadata/Television/tmdb3tv.py -l en -a US -M Monk

> Display episode data xml
> /usr/share/mythtv/metadata/Television/tmdb3tv.py -l en -a US -N 1695 
> "Mr. Monk and the Psychic"

> Display episode data xml
> /usr/share/mythtv/metadata/Television/tmdb3tv.py -l en -a US -N Monk 
> "Mr. Monk and the Psychic"

> Run the same tests for tvmaze.py

> Let me know if this works.

> Note: You need to install them on all frontends and backend.

> Peter

OK, for tvmaze.py

First to use it on older mythtv versions with python 2.7 change the first line of  tvmaze.py to:
#!/usr/bin/env python2

I was missing the following python libraries:

bug line 504:
        if not os.path.exists(cachedir):
-            os.makedirs(cachepath)
+            os.makedirs(cachedir)
        if sys.version_info[0] == 2:

/usr/share/mythtv/metadata/Television/tmdb3tv.py -l en -a US -N 1695 "Mr. Monk and the Psychic"
`ERROR: <type 'exceptions.Exception'> : Cannot find episodes for inetref '1695'.`

The rest gave proper output.

Tot mails,
  Hika                            mailto:hikavdh at gmail.com

"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"

De lerende Mens

More information about the mythtv-users mailing list