<div dir="ltr">On Wed, May 2, 2018 at 4:24 PM, Ashu Desai <span dir="ltr"><<a href="mailto:ashu.desai@gmail.com" target="_blank">ashu.desai@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">On Tue, May 1, 2018 at 10:22 AM Greg Oliver <<a href="mailto:oliver.greg@gmail.com" target="_blank">oliver.greg@gmail.com</a>> wrote:<br><div class="gmail_quote"><div><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-family:monospace,monospace">I am having an issue where mythbackend is not correctly doing the metadata lookups (well, it is, but it is not returning results properly, but when I run it from the command line (same command), it works).<br><br></div><div style="font-family:monospace,monospace">Anyone else see this and have a solution.  It has been failing like this since I upgraded to 0.29 from 0.28 - in other words, *all* of my recordings have no metadata other than what Schedules Direct provides since my upgrade.<br></div><div style="font-family:monospace,monospace"><br>MythTV Version : v29.1-v29.1-8-g925ceea0fb<br>MythTV Branch : fixes/29<br>Network Protocol : 91<br>Library API : 29.20180131-3<br>QT Version : 5.9.4<br>Options compiled in:<br> linux debug use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bdjava using_bindings_perl using_bindings_python using_bindings_php using_crystalhd using_dvb using_firewire using_frontend using_hdhomerun using_vbox using_ceton using_hdpvr using_ivtv using_joystick_menu using_libcec using_libcrypto using_libdns_sd using_libfftw3 using_libxml2 using_lirc using_mheg using_opengl using_opengl_video using_opengl_themepainter using_qtwebkit using_qtscript using_qtdbus using_taglib using_v4l2 using_x11 using_xrandr using_xv using_debugtype using_systemd_notify using_systemd_journal using_bdjava using_bindings_perl using_bindings_python using_bindings_php using_fontconfig using_freetype2 using_mythtranscode using_opengl using_vaapi using_vdpau using_ffmpeg_threads using_mheg using_libass using_libxml2 using_libmp3lame<br><br></div><div style="font-family:monospace,monospace">Failed internal run::<br>2018-05-01 10:12:57.075940 I [30383/30396] JobQueue jobqueue.cpp:197 (ProcessQueue) - JobQueue: Currently set to run up to 10 job(s) max.<br>2018-05-01 10:12:57.077510 I [30383/30396] JobQueue jobqueue.cpp:1297 (GetJobsInQueue) - JobQueue: GetJobsInQueue: findJobs search bitmask 4, found 14 total jobs<br>2018-05-01 10:12:57.077643 I [30383/30396] JobQueue jobqueue.cpp:1354 (GetJobsInQueue) - JobQueue: GetJobsInQueue: Ignore 'Look up Metadata' Job for chanid 7111 @ 20180430000000 in Finished state.<br>2018-05-01 10:12:57.077727 I [30383/30396] JobQueue jobqueue.cpp:1354 (GetJobsInQueue) - JobQueue: GetJobsInQueue: Ignore 'Flag Commercials' Job for chanid 7111 @ 20180430000000 in Finished state.<br>2018-05-01 10:12:57.077806 I [30383/30396] JobQueue jobqueue.cpp:1354 (GetJobsInQueue) - JobQueue: GetJobsInQueue: Ignore 'Flag Commercials' Job for chanid 7051 @ 20180430020000 in Finished state.<br>2018-05-01 10:12:57.077885 I [30383/30396] JobQueue jobqueue.cpp:1354 (GetJobsInQueue) - JobQueue: GetJobsInQueue: Ignore 'Look up Metadata' Job for chanid 7081 @ 20180430020100 in Finished state.<br>2018-05-01 10:12:57.077964 I [30383/30396] JobQueue jobqueue.cpp:1354 (GetJobsInQueue) - JobQueue: GetJobsInQueue: Ignore 'Flag Commercials' Job for chanid 7081 @ 20180430020100 in Finished state.<br>2018-05-01 10:12:57.078043 I [30383/30396] JobQueue jobqueue.cpp:1354 (GetJobsInQueue) - JobQueue: GetJobsInQueue: Ignore 'Look up Metadata' Job for chanid 7041 @ 20180501000000 in Finished state.<br>2018-05-01 10:12:57.078122 I [30383/30396] JobQueue jobqueue.cpp:1354 (GetJobsInQueue) - JobQueue: GetJobsInQueue: Ignore 'Flag Commercials' Job for chanid 7041 @ 20180501000000 in Finished state.<br>2018-05-01 10:12:57.078201 I [30383/30396] JobQueue jobqueue.cpp:1354 (GetJobsInQueue) - JobQueue: GetJobsInQueue: Ignore 'Look up Metadata' Job for chanid 7041 @ 20180501010000 in Finished state.<br>2018-05-01 10:12:57.078280 I [30383/30396] JobQueue jobqueue.cpp:1354 (GetJobsInQueue) - JobQueue: GetJobsInQueue: Ignore 'Flag Commercials' Job for chanid 7041 @ 20180501010000 in Finished state.<br>2018-05-01 10:12:57.078358 I [30383/30396] JobQueue jobqueue.cpp:1354 (GetJobsInQueue) - JobQueue: GetJobsInQueue: Ignore 'Flag Commercials' Job for chanid 7051 @ 20180501020100 in Finished state.<br>2018-05-01 10:12:57.078437 I [30383/30396] JobQueue jobqueue.cpp:1354 (GetJobsInQueue) - JobQueue: GetJobsInQueue: Ignore 'Flag Commercials' Job for chanid 7081 @ 20180501020100 in Finished state.<br>2018-05-01 10:12:57.078533 I [30383/30396] JobQueue jobqueue.cpp:1354 (GetJobsInQueue) - JobQueue: GetJobsInQueue: Ignore 'Look up Metadata' Job for chanid 7051 @ 20180501020100 in Finished state.<br>2018-05-01 10:12:57.078620 I [30383/30396] JobQueue jobqueue.cpp:1354 (GetJobsInQueue) - JobQueue: GetJobsInQueue: Ignore 'Look up Metadata' Job for chanid 7051 @ 20180430020000 in Finished state.<br>2018-05-01 10:12:57.078699 I [30383/30396] JobQueue jobqueue.cpp:1361 (GetJobsInQueue) - JobQueue: GetJobsInQueue: Found 'Look up Metadata' Job for chanid 7081 @ 20180501020100 in Queued state.<br>2018-05-01 10:12:57.078833 I [30383/30396] JobQueue jobqueue.cpp:1168 (InJobRunWindow) - JobQueue: Currently set to run new jobs from 00:00 to 23:59<br>2018-05-01 10:12:57.078841 I [30383/30396] JobQueue jobqueue.cpp:249 (ProcessQueue) - JobQueue: Currently Running 0 jobs.<br>2018-05-01 10:12:57.078861 I [30383/30396] JobQueue jobqueue.cpp:462 (ProcessQueue) - JobQueue: Processing 'Look up Metadata' job for chanid 7081 @ 20180501020100, current status is 'Queued'<br>2018-05-01 10:12:57.078878 I [30383/30396] JobQueue jobqueue.cpp:976 (ChangeJobStatus) - JobQueue: ChangeJobStatus(37023, Pending, '')<br>2018-05-01 10:12:57.082473 I [30383/30396] JobQueue jobqueue.cpp:976 (ChangeJobStatus) - JobQueue: ChangeJobStatus(37023, Starting, '')<br>2018-05-01 10:12:57.086550 I [30383/32132] Metadata_37023 jobqueue.cpp:2157 (DoMetadataLookupThread) - JobQueue: Metadata Lookup Starting for "The Crossing":"Ten Years Gone" recorded from channel 7081 at 2018-05-01T02:01:00Z<br>2018-05-01 10:12:57.086562 I [30383/32132] Metadata_37023 jobqueue.cpp:2169 (DoMetadataLookupThread) - JobQueue: Running command: '/usr/bin/mythmetadatalookup -j 37023 --verbose general,jobqueue,record,system --logpath /var/log/mythtv --loglevel info'<br>2018-05-01 10:12:57.088820 I [30383/32132] Metadata_37023 mythsystemunix.cpp:948 (Fork) - Managed child (PID: 32134) has started! * command=/usr/bin/<wbr>mythmetadatalookup -j 37023 --verbose general,jobqueue,record,system --logpath /var/log/mythtv --loglevel info, timeout=0<br>2018-05-01 10:12:59.420936 I [30383/30405] ProcessRequest mainserver.cpp:1738 (HandleAnnounce) - MainServer: MainServer::ANN Monitor<br>2018-05-01 10:12:59.420957 I [30383/30405] ProcessRequest mainserver.cpp:1743 (HandleAnnounce) - MainServer: adding: backend-0(7f732021f660) as a client (events: 0)<br>2018-05-01 10:12:59.422219 I [30383/30405] ProcessRequest mainserver.cpp:1738 (HandleAnnounce) - MainServer: MainServer::ANN Monitor<br>2018-05-01 10:12:59.422240 I [30383/30405] ProcessRequest mainserver.cpp:1743 (HandleAnnounce) - MainServer: adding: backend-0(ec9820) as a client (events: 1)<br>2018-05-01 10:13:02.085083 I [30383/30396] JobQueue jobqueue.cpp:197 (ProcessQueue) - JobQueue: Currently set to run up to 10 job(s) max.<br>2018-05-01 10:13:02.086594 I [30383/30396] JobQueue jobqueue.cpp:1297 (GetJobsInQueue) - JobQueue: GetJobsInQueue: findJobs search bitmask 4, found 14 total jobs<br>2018-05-01 10:13:02.086715 I [30383/30396] JobQueue jobqueue.cpp:1354 (GetJobsInQueue) - JobQueue: GetJobsInQueue: Ignore 'Look up Metadata' Job for chanid 7111 @ 20180430000000 in Finished state.<br>2018-05-01 10:13:02.086798 I [30383/30396] JobQueue jobqueue.cpp:1354 (GetJobsInQueue) - JobQueue: GetJobsInQueue: Ignore 'Flag Commercials' Job for chanid 7111 @ 20180430000000 in Finished state.<br>2018-05-01 10:13:02.086879 I [30383/30396] JobQueue jobqueue.cpp:1354 (GetJobsInQueue) - JobQueue: GetJobsInQueue: Ignore 'Flag Commercials' Job for chanid 7051 @ 20180430020000 in Finished state.<br>2018-05-01 10:13:02.086960 I [30383/30396] JobQueue jobqueue.cpp:1354 (GetJobsInQueue) - JobQueue: GetJobsInQueue: Ignore 'Look up Metadata' Job for chanid 7081 @ 20180430020100 in Finished state.<br>2018-05-01 10:13:02.087039 I [30383/30396] JobQueue jobqueue.cpp:1354 (GetJobsInQueue) - JobQueue: GetJobsInQueue: Ignore 'Flag Commercials' Job for chanid 7081 @ 20180430020100 in Finished state.<br>2018-05-01 10:13:02.087119 I [30383/30396] JobQueue jobqueue.cpp:1354 (GetJobsInQueue) - JobQueue: GetJobsInQueue: Ignore 'Look up Metadata' Job for chanid 7041 @ 20180501000000 in Finished state.<br>2018-05-01 10:13:02.087199 I [30383/30396] JobQueue jobqueue.cpp:1354 (GetJobsInQueue) - JobQueue: GetJobsInQueue: Ignore 'Flag Commercials' Job for chanid 7041 @ 20180501000000 in Finished state.<br>2018-05-01 10:13:02.087278 I [30383/30396] JobQueue jobqueue.cpp:1354 (GetJobsInQueue) - JobQueue: GetJobsInQueue: Ignore 'Look up Metadata' Job for chanid 7041 @ 20180501010000 in Finished state.<br>2018-05-01 10:13:02.087358 I [30383/30396] JobQueue jobqueue.cpp:1354 (GetJobsInQueue) - JobQueue: GetJobsInQueue: Ignore 'Flag Commercials' Job for chanid 7041 @ 20180501010000 in Finished state.<br>2018-05-01 10:13:02.087438 I [30383/30396] JobQueue jobqueue.cpp:1354 (GetJobsInQueue) - JobQueue: GetJobsInQueue: Ignore 'Flag Commercials' Job for chanid 7051 @ 20180501020100 in Finished state.<br>2018-05-01 10:13:02.087542 I [30383/30396] JobQueue jobqueue.cpp:1354 (GetJobsInQueue) - JobQueue: GetJobsInQueue: Ignore 'Flag Commercials' Job for chanid 7081 @ 20180501020100 in Finished state.<br>2018-05-01 10:13:02.087629 I [30383/30396] JobQueue jobqueue.cpp:1354 (GetJobsInQueue) - JobQueue: GetJobsInQueue: Ignore 'Look up Metadata' Job for chanid 7051 @ 20180501020100 in Finished state.<br>2018-05-01 10:13:02.087710 I [30383/30396] JobQueue jobqueue.cpp:1354 (GetJobsInQueue) - JobQueue: GetJobsInQueue: Ignore 'Look up Metadata' Job for chanid 7051 @ 20180430020000 in Finished state.<br>2018-05-01 10:13:02.087794 I [30383/30396] JobQueue jobqueue.cpp:1361 (GetJobsInQueue) - JobQueue: GetJobsInQueue: Found 'Look up Metadata' Job for chanid 7081 @ 20180501020100 in Starting state.<br>2018-05-01 10:13:02.087930 I [30383/30396] JobQueue jobqueue.cpp:1168 (InJobRunWindow) - JobQueue: Currently set to run new jobs from 00:00 to 23:59<br>2018-05-01 10:13:02.087939 I [30383/30396] JobQueue jobqueue.cpp:249 (ProcessQueue) - JobQueue: Currently Running 1 jobs.<br>2018-05-01 10:13:02.087959 I [30383/30396] JobQueue jobqueue.cpp:429 (ProcessQueue) - JobQueue: Skipping 'Look up Metadata' job for chanid 7081 @ 20180501020100, current job status is 'Starting'<br>2018-05-01 10:13:02.515993 I [30383/32166] MythSocketThread(63) mainserver.cpp:7643 (connectionClosed) - Monitor sock(7f732021f660) 'backend-0' disconnected<br>2018-05-01 10:13:02.516290 I [30383/32168] MythSocketThread(65) mainserver.cpp:7643 (connectionClosed) - Monitor sock(ec9820) 'backend-0' disconnected<br>2018-05-01 10:13:02.569540 I [30383/31095] SystemManager mythsystemunix.cpp:354 (run) - Managed child (PID: 32134) has exited! command=/usr/bin/<wbr>mythmetadatalookup -j 37023 --verbose general,jobqueue,record,system --logpath /var/log/mythtv --loglevel info, status=0, result=0<br>2018-05-01 10:13:02.588082 I [30383/32132] Metadata_37023 jobqueue.cpp:976 (ChangeJobStatus) - JobQueue: ChangeJobStatus(37023, Finished, 'Metadata Lookup Complete.')<br><br></div><div style="font-family:monospace,monospace">Successful from cmdline::<br>[greg@backend-0 .mythtv]$ /usr/bin/mythmetadatalookup -j 37023<br>2018-05-01 10:13:58.419844 C  mythmetadatalookup version: fixes/29 [v29.1-v29.1-8-g925ceea0fb] <a href="http://www.mythtv.org" target="_blank">www.mythtv.org</a><br>2018-05-01 10:13:58.419872 C  Qt version: compile: 5.9.4, runtime: 5.9.4<br>2018-05-01 10:13:58.419876 N  Enabled verbose msgs:  general<br>2018-05-01 10:13:58.419888 N  Setting Log Level to LOG_INFO<br>2018-05-01 10:13:58.430807 I  Added logging to the console<br>2018-05-01 10:13:58.431064 I  Setup Interrupt handler<br>2018-05-01 10:13:58.431076 I  Setup Terminated handler<br>2018-05-01 10:13:58.431085 I  Setup Segmentation fault handler<br>2018-05-01 10:13:58.431092 I  Setup Aborted handler<br>2018-05-01 10:13:58.431100 I  Setup Bus error handler<br>2018-05-01 10:13:58.431106 I  Setup Floating point exception handler<br>2018-05-01 10:13:58.431114 I  Setup Illegal instruction handler<br>2018-05-01 10:13:58.431122 I  Setup Real-time signal 0 handler<br>2018-05-01 10:13:58.431132 I  Setup Hangup handler<br>2018-05-01 10:13:58.431250 N  Using runtime prefix = /usr<br>2018-05-01 10:13:58.431253 N  Using configuration directory = /home/greg/.mythtv<br>2018-05-01 10:13:58.431325 I  Assumed character encoding: en_US.UTF-8<br>2018-05-01 10:13:58.431635 I  Using localhost value of backend-0<br>2018-05-01 10:13:58.431683 I  Start up testing connections. DB localhost, BE , attempt 0, status dbAwake<br>2018-05-01 10:13:59.453541 N  Setting QT default locale to en_US<br>2018-05-01 10:13:59.453562 I  Current locale en_US<br>2018-05-01 10:13:59.453609 N  Reading locale defaults from /usr/share/mythtv//locales/en_<wbr>us.xml<br>2018-05-01 10:13:59.459187 I  Loading en_us translation for module mythfrontend<br>2018-05-01 10:13:59.459534 I  Testing grabbers and metadata sites for functionality...<br>2018-05-01 10:13:59.460515 I  Starting process signal handler<br>2018-05-01 10:13:59.460590 I  Starting IO manager (read)<br>2018-05-01 10:13:59.460610 I  Starting process manager<br>2018-05-01 10:13:59.462010 I  Starting IO manager (write)<br>2018-05-01 10:14:00.664472 I  All grabbers tested and working.  Continuing...<br>2018-05-01 10:14:00.672861 I  MythCoreContext::<wbr>ConnectCommandSocket(): Connecting to backend server: <a href="http://192.168.100.150:6543" target="_blank">192.168.100.150:6543</a> (try 1 of 1)<br>2018-05-01 10:14:00.674390 I  MythCoreContext::<wbr>CheckProtoVersion(): Using protocol version 91 BuzzOff<br>2018-05-01 10:14:00.965646 I  Running Grabber: /usr/share/mythtv/metadata/<wbr>Television/ttvdb.py -l en -a US -N The Crossing Ten Years Gone<br>2018-05-01 10:14:02.974016 I  Result Found, Season 1 Episode 5<br>2018-05-01 10:14:03.976843 I  Running Grabber: /usr/share/mythtv/metadata/<wbr>Television/ttvdb.py -l en -a US -N 328631 Ten Years Gone<br>2018-05-01 10:14:04.429209 I  Result Found, Season 1 Episode 5<br>2018-05-01 10:14:04.429361 I  Returning Metadata Results:  1 5<br>2018-05-01 10:14:04.712769 I  Metadata Image Download: <a href="http://www.thetvdb.com/banners/seasons/328631-1-2.jpg" target="_blank">http://www.thetvdb.com/<wbr>banners/seasons/328631-1-2.jpg</a> -> myth://Coverart@backend-0/The Crossing Season 1_coverart.jpg<br>2018-05-01 10:14:05.712159 I  Metadata Image Download: <a href="http://www.thetvdb.com/banners/fanart/original/328631-3.jpg" target="_blank">http://www.thetvdb.com/<wbr>banners/fanart/original/<wbr>328631-3.jpg</a> -> myth://Fanart@backend-0/The Crossing Season 1_fanart.jpg<br>2018-05-01 10:14:07.683855 N  MythMetadataLookup run complete.<br>2018-05-01 10:14:07.683871 I  Waiting for threads to exit.<br></div></div></blockquote><div><br></div></div></div><div>Have a similar issue of metadata lookup with "Videos" - it needs my "approval" for 90% of the movies as opposed to before where only a selected few needed to be manually selected.</div><div><br></div><div>No solution, hoping something will turn out. </div></div></div><br></blockquote></div><div style="font-family:monospace,monospace" class="gmail_default">​I am not having the MythVideo issue you are - it is working fine for me in that regard (only prompting when ultiple results are returned).​</div><br></div></div>