Inspired by the help from the web ui I tried the following:
* activate +Fetch artwork for new recordings+
* added api key to +Additional command line options when fetching artwork for new recordings+
--tmdb-key <my api key>
I expected that the tvhmeta script will be started automatically by tvheadend.
But I found nothing in the journal (journalctl -g tvhmeta).
Any idea where to get more information on how to use this feature?
UPDATE #1
I found some additional information in a comment in the header of the of script found in /usr/bin/tvhmeta.
# Update Tvheadend recordings with additional external metadata such
# as artwork.
#
# Currently only supports movies. Currently only updates artwork,
# though future versions may also update other metadata (such as
# imdb number).
#
# Sample usage is via a pre-processing rule in Tvheadend with extra
# arguments of "--uuid %U --tmdb-key abcdef".
#
# This will then invoke the program as such:
# ./tvhmeta --uuid 8fefddddaa8a57ae4335323222f8e83a1 --tmdb-key abcdef
#
# Optional arguments include:
# --host, --port, --debug.
#
# Interface Stability:
# Unstable: This program is undergoing frequent interface changes.
I set +Additional command line options when fetching artwork for new recordings+ to
--uuid %U --tmdb-key <my api key> --debug
UPDATE #2
After activating +Debug to syslog+ and adding dvr to +debug systems+ I got some output in the journal.
Jul 22 11:49:08 obelix tvheadend[624]: dvr: "Der Koloss von Rhodos" on "arte": End of program: Aborted by user
Jul 22 11:49:50 obelix tvheadend[624]: dvr: Ignoring fanart for entry without good data for Käthe und ich - Das Findelkind "bc64d11dd8478fa42a598cdcee13f556"
Jul 22 11:49:50 obelix tvheadend[624]: dvr: entry bc64d11dd8478fa42a598cdcee13f556 "Käthe und ich - Das Findelkind" on "ONE" starting at 2021-07-22 11:44:30, with broadcast id "<noid>", scheduled for recording >
Jul 22 11:49:50 obelix tvheadend[624]: dvr: Ignoring fanart for entry without good data for Käthe und ich - Das Findelkind "bc64d11dd8478fa42a598cdcee13f556"
Jul 22 11:49:50 obelix tvheadend[624]: dvr: Ignoring fanart for entry without good data for Käthe und ich - Das Findelkind "bc64d11dd8478fa42a598cdcee13f556"
Jul 22 11:49:50 obelix tvheadend[624]: dvr: "Käthe und ich - Das Findelkind" on "ONE" recorder starting
Jul 22 11:49:50 obelix tvheadend[624]: dvr: Ignoring fanart for entry without good data for Käthe und ich - Das Findelkind "bc64d11dd8478fa42a598cdcee13f556"
Jul 22 11:49:50 obelix tvheadend[624]: mpegts: 10743.75H in DVB-S Network - tuning on STV090x Multistandard #1 : DVB-S #0
Jul 22 11:49:51 obelix tvheadend[624]: subscription: 0034: "DVR: Käthe und ich - Das Findelkind" subscribing on channel "ONE", weight: 500, adapter: "STV090x Multistandard #1 : DVB-S #0", network: "DVB-S Networ>
Jul 22 11:49:53 obelix tvheadend[624]: dvr: File "/home/hts/recordings/Käthe und ich - Das Findelkind.ts" -- No such file or directory -- Using for recording
Jul 22 11:49:53 obelix tvheadend[624]: dvr: /home/hts/recordings/Käthe und ich - Das Findelkind.ts from adapter: "STV090x Multistandard #1 : DVB-S #0", network: "DVB-S Network", mux: "10743.75H", provider: "ARD>
Jul 22 11:49:53 obelix tvheadend[624]: dvr: # type lang resolution aspect ratio sample rate channels
Jul 22 11:49:53 obelix tvheadend[624]: dvr: 1 MPEG2VIDEO ? ?
Jul 22 11:49:53 obelix tvheadend[624]: dvr: 2 MPEG2AUDIO ger 96000 ?
Jul 22 11:49:53 obelix tvheadend[624]: dvr: 3 MPEG2AUDIO mis 96000 ?
Jul 22 11:49:53 obelix tvheadend[624]: dvr: 4 TELETEXT
Jul 22 11:49:53 obelix tvheadend[624]: dvr: 5 AC3 ger 96000 ?
Jul 22 11:50:02 obelix tvheadend[624]: dvr: dvr entry 6fcc32c8aead207912522973bbbc4a7c event Der Koloss von Rhodos on arte - EPG marking start
Jul 22 11:50:32 obelix tvheadend[624]: dvr: Ignoring fanart for entry without good data for Stern des Gesetzes "b4da6264bda5dd8f7472cb87b9a27fd8"
Jul 22 11:50:32 obelix tvheadend[624]: dvr: entry b4da6264bda5dd8f7472cb87b9a27fd8 "Stern des Gesetzes" on "arte" starting at 2021-07-22 13:39:30, with broadcast id "<noid>", scheduled for recording by "admin"
Jul 22 11:50:32 obelix tvheadend[624]: dvr: Ignoring fanart for entry without good data for Stern des Gesetzes "b4da6264bda5dd8f7472cb87b9a27fd8"
Jul 22 11:50:32 obelix tvheadend[624]: dvr: Ignoring fanart for entry without good data for Stern des Gesetzes "b4da6264bda5dd8f7472cb87b9a27fd8"
Jul 22 11:50:55 obelix tvheadend[624]: dvr: Ignoring fanart for entry without good data for Mutter kündigt "04cf8136b5323597e79d03fde3988a0d"
Jul 22 11:50:55 obelix tvheadend[624]: dvr: entry 04cf8136b5323597e79d03fde3988a0d "Mutter kündigt" on "ZDF" starting at 2021-07-22 18:04:30, with broadcast id "<noid>", scheduled for recording by "admin"
Jul 22 11:50:55 obelix tvheadend[624]: dvr: Ignoring fanart for entry without good data for Mutter kündigt "04cf8136b5323597e79d03fde3988a0d"
Jul 22 11:50:55 obelix tvheadend[624]: dvr: Ignoring fanart for entry without good data for Mutter kündigt "04cf8136b5323597e79d03fde3988a0d"
Jul 22 11:51:13 obelix tvheadend[624]: dvr: Ignoring fanart for entry without good data for Ich - Einfach unverbesserlich 2 "926841aacae5872b9fac6b05f2b33695"
Jul 22 11:51:13 obelix tvheadend[624]: dvr: entry 926841aacae5872b9fac6b05f2b33695 "Ich - Einfach unverbesserlich 2" on "VOX" starting at 2021-07-22 18:04:30, with broadcast id "<noid>", scheduled for recording>
Jul 22 11:51:13 obelix tvheadend[624]: dvr: Ignoring fanart for entry without good data for Ich - Einfach unverbesserlich 2 "926841aacae5872b9fac6b05f2b33695"
Jul 22 11:51:13 obelix tvheadend[624]: dvr: Ignoring fanart for entry without good data for Ich - Einfach unverbesserlich 2 "926841aacae5872b9fac6b05f2b33695"
Jul 22 11:51:28 obelix tvheadend[624]: dvr: Ignoring fanart for entry without good data for Der Kroatien-Krimi: Tränenhochzeit "f8f1d9c415ba01c4020f8411d90313e4"
Jul 22 11:51:28 obelix tvheadend[624]: dvr: entry f8f1d9c415ba01c4020f8411d90313e4 "Der Kroatien-Krimi: Tränenhochzeit" on "Das Erste" starting at 2021-07-22 18:04:30, with broadcast id "<noid>", scheduled for >
Jul 22 11:51:28 obelix tvheadend[624]: dvr: Ignoring fanart for entry without good data for Der Kroatien-Krimi: Tränenhochzeit "f8f1d9c415ba01c4020f8411d90313e4"
Jul 22 11:51:28 obelix tvheadend[624]: dvr: Ignoring fanart for entry without good data for Der Kroatien-Krimi: Tränenhochzeit "f8f1d9c415ba01c4020f8411d90313e4"
Jul 22 11:52:14 obelix tvheadend[624]: dvr: Ignoring fanart for entry without good data for Sliver "9cebeaecbcfa5a3dc54b915603d9135b"
Jul 22 11:52:14 obelix tvheadend[624]: dvr: entry 9cebeaecbcfa5a3dc54b915603d9135b "Sliver" on "zdf_neo" starting at 2021-07-22 22:19:30, with broadcast id "<noid>", scheduled for recording by "admin"
Jul 22 11:52:14 obelix tvheadend[624]: dvr: Ignoring fanart for entry without good data for Sliver "9cebeaecbcfa5a3dc54b915603d9135b"
Jul 22 11:52:14 obelix tvheadend[624]: dvr: Ignoring fanart for entry without good data for Sliver "9cebeaecbcfa5a3dc54b915603d9135b"
But the EPG data seems to be of low quality: +Ignoring fanart for entry without good data+.
I wonder what the minimum requirements for good data are?
UPDATE #3
I cloned the tvheadend code from github and used the force. ;-)
grep -ri "Ignoring fanart for entry without good data for"
/* Only want 'good' episodes since ones with bad data will get
* bad artwork. Good episodes have a season/episode (assume
* episode) or year (assume movie).
*/
if (!de->de_epnum.s_num && !de->de_epnum.e_num &&
!de->de_copyright_year) {
tvhdebug(LS_DVR, "Ignoring fanart for entry without good data for %s \"%s\"",
lang_str_get(de->de_title, NULL),
idnode_uuid_as_str(&de->de_id, ubuf));
return 0;
}
I guess this comes down to the following minimum requirements: season number AND episode number AND copyright year
The documentation also mentions that: Fanart grabbers only work correctly if your scrapper provides high quality information. In particular, they require +season and episode+ details for series, +and year+ details for movies.
I get the EPG data from the EIT of the German DVB-S muxes/services. Unfortunately none of them provides any of the three minimum requirements.
There is nothing more to expect from here. But perhaps my shared experiences can save other interested people some time. ;-)