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

Hika van den Hoven hikavdh at gmail.com
Thu Feb 25 00:43:06 UTC 2021


Hoi Hika,

Thursday, February 25, 2021, 12:44:46 AM, you wrote:

> 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:
>     
> https://pypi.org/project/requests-cache/
> https://pypi.org/project/python-dateutil/1.4/

> 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"
> gave:
> `ERROR: <type 'exceptions.Exception'> : Cannot find episodes for inetref '1695'.`

> The rest gave proper output.

> Tot mails,
>   Hika                            mailto:hikavdh at gmail.com

I later realized that the error was because the inetref was for
tmdb3tv.
So substituting 1695 with 543 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