Mailing List Archive

Modifying MythTV 32 to use tvmaze instead of tvdb
Hi,

I'm running a pre-release version of 32 from around September 2020, which
is before the Metadata scanner change from using tvdb.com to tvmaze.com.(at
least that's what I understand from the Wiki)

I'd rather not upgrade if I can help it. I'm running pretty old hardware
(Atom CPU and ancient NVidia graphics card) so I'm concerned I might find
something is unsupported?

Also, laziness is an issue.....


Here's the question:

How easy would it be for me to replace the ttvdb.py scanner on my system
with what I believe is the currently supported tvmaze.py script?

Opinions on whether this is a sensible thing to try, and pointers to what
would be involved are welcomed.

Thanks.
Re: Modifying MythTV 32 to use tvmaze instead of tvdb [ In reply to ]
On 8/11/23 08:01, David Watkins wrote:
> Hi,
>
> I'm running a pre-release version of 32 from around September 2020,
> which is before the Metadata scanner change from using tvdb.com
> <http://tvdb.com> to tvmaze.com.(at least that's what I understand
> from the Wiki)
>
> I'd rather not upgrade if I can help it.  I'm running pretty old
> hardware (Atom CPU and ancient NVidia graphics card) so I'm concerned
> I might find something is unsupported?
>
> Also, laziness is an issue.....
>
>
> Here's the question:
>
> How easy would it be for me to replace the ttvdb.py scanner on my
> system with what I believe is the currently supported tvmaze.py script?
>
> Opinions on whether this is a sensible thing to try, and pointers to
> what would be involved are welcomed.
>
> Thanks.
>
>
> _______________________________________________

tvdb is available again in the latest version. The code has been updated
to support tvdb4 as well as tmdb3 and tvmaze.
Re: Modifying MythTV 32 to use tvmaze instead of tvdb [ In reply to ]
Thanks Peter,

I'll do a bit more investigating then. I've a bunch of orphaned recordings
which I've moved into videos and it would be nice to have a bit of metadata
for them.

The results of scanning are not very successful. I've set up the sort of
filenames described in the Wiki but I can't tell what site the scanner is
going to nor what parameters it is searching for.

For example if search manually search TVDB, TVMaze and TVMovieDB on the web
for 'Annika' they all find the 2021 TV series of that name as the top hit.
A myth videoscan finds other programmes with Annika in the title, and some
without, but never the one I want.

I'm going to increase the frontend log level and see I that gives me any
clues as to what is going on.

thanks for replying.

On Fri, 11 Aug 2023 at 17:23, Peter Bennett <pb.mythtv@gmail.com> wrote:

>
> On 8/11/23 08:01, David Watkins wrote:
>
> Hi,
>
> I'm running a pre-release version of 32 from around September 2020, which
> is before the Metadata scanner change from using tvdb.com to
> tvmaze.com.(at least that's what I understand from the Wiki)
>
> I'd rather not upgrade if I can help it. I'm running pretty old hardware
> (Atom CPU and ancient NVidia graphics card) so I'm concerned I might find
> something is unsupported?
>
> Also, laziness is an issue.....
>
>
> Here's the question:
>
> How easy would it be for me to replace the ttvdb.py scanner on my system
> with what I believe is the currently supported tvmaze.py script?
>
> Opinions on whether this is a sensible thing to try, and pointers to what
> would be involved are welcomed.
>
> Thanks.
>
>
>
> _______________________________________________
>
> tvdb is available again in the latest version. The code has been updated
> to support tvdb4 as well as tmdb3 and tvmaze.
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
Re: Modifying MythTV 32 to use tvmaze instead of tvdb [ In reply to ]
On 8/11/23 13:05, David Watkins wrote:
> I'll do a bit more investigating then.  I've a bunch of orphaned
> recordings which I've moved into videos and it would be nice to have a
> bit of metadata for them.
>
> The results of scanning are not very successful.  I've set up the sort
> of filenames described in the Wiki but I can't tell what site the
> scanner is going to nor what parameters it is searching for.
>
> For example if search manually search TVDB, TVMaze and TVMovieDB on
> the web for 'Annika' they all find the 2021 TV series of that name as
> the top hit.  A myth videoscan finds other programmes with Annika in
> the title, and some without, but never the one I want.
>
> I'm going to increase the frontend log level and see I that gives me
> any clues as to what is going on.
>
> thanks for replying.
>
> On Fri, 11 Aug 2023 at 17:23, Peter Bennett <pb.mythtv@gmail.com> wrote:

The way I do it works well. I name the directory with the series name
and the episodes in the directory as SxxExx.mkv

For Example

Annika/S01E01.mkv

Annika/S01E02.mkv

etc.

In shows where the name is not unique this may not give what you want.
If you search thetvdb.com for Annika, you find the 2021 series labeled
Annika (2021). In this case, it may help to name the directory Annika
(2021).

To re-scan things that were wrongly scanned, I move the directory out of
the videos storage group. run "mythutil --scanvideos", move it back into
the recording group and run "mythutil --scanvideos" again. Just renaming
it and scanning does not look up the metadata again.

Peter
Re: Modifying MythTV 32 to use tvmaze instead of tvdb [ In reply to ]
Hi Peter,

Yes I'd worked out that I have to move the file in and out of the recording
group to generate a rescan. That slowed me down for a while.

I had tried adding the date to the filename but putting it in brackets was
the magic spell and the search is working for me now. Thanks for that.

Cranking the loglevel up to 'debug' did provide some useful information too.

Worth noting that running mythutil --scanvideos logged into the backend log
while pressing 'Scan for Changes' on the GUI logged to the frontend one.



On Fri, 11 Aug 2023 at 22:42, Peter Bennett <pb.mythtv@gmail.com> wrote:

>
> On 8/11/23 13:05, David Watkins wrote:
>
> I'll do a bit more investigating then. I've a bunch of orphaned
> recordings which I've moved into videos and it would be nice to have a bit
> of metadata for them.
>
> The results of scanning are not very successful. I've set up the sort of
> filenames described in the Wiki but I can't tell what site the scanner is
> going to nor what parameters it is searching for.
>
> For example if search manually search TVDB, TVMaze and TVMovieDB on the
> web for 'Annika' they all find the 2021 TV series of that name as the top
> hit. A myth videoscan finds other programmes with Annika in the title, and
> some without, but never the one I want.
>
> I'm going to increase the frontend log level and see I that gives me any
> clues as to what is going on.
>
> thanks for replying.
>
> On Fri, 11 Aug 2023 at 17:23, Peter Bennett <pb.mythtv@gmail.com> wrote:
>
> The way I do it works well. I name the directory with the series name and
> the episodes in the directory as SxxExx.mkv
>
> For Example
>
> Annika/S01E01.mkv
>
> Annika/S01E02.mkv
>
> etc.
>
> In shows where the name is not unique this may not give what you want. If
> you search thetvdb.com for Annika, you find the 2021 series labeled
> Annika (2021). In this case, it may help to name the directory Annika
> (2021).
>
> To re-scan things that were wrongly scanned, I move the directory out of
> the videos storage group. run "mythutil --scanvideos", move it back into
> the recording group and run "mythutil --scanvideos" again. Just renaming it
> and scanning does not look up the metadata again.
>
> Peter
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>