[mythtv-users] Trying to get schedules direct working

Douglas Peale Douglas_Peale at Comcast.net
Sat May 16 23:19:29 UTC 2026


On 5/16/26 16:13, Bill Meek wrote:
> sudo --set-home --user=mythtv mythfilldatabase --verbose=system,xmltv

I'm afraid the results don't make much sense to me.

$ sudo --set-home --user=mythtv mythfilldatabase --verbose=system,xmltv
[sudo] password for dpeale:
2026-05-16 16:15:54.085693 C  mythfilldatabase version: fixes/34 [v34.0+fixes.20240210.e3e165a1-0ubuntu6] www.mythtv.org
2026-05-16 16:15:54.085698 C  Qt version: compile: 5.15.12, runtime: 5.15.13
2026-05-16 16:15:54.085714 I  Linux Mint 22.3 (x86_64)
2026-05-16 16:15:54.085715 N  Enabled verbose msgs:  general system xmltv
2026-05-16 16:15:54.085719 N  Setting Log Level to LOG_INFO
2026-05-16 16:15:54.095996 I  Added logging to the console
2026-05-16 16:15:54.096135 I  Setup Interrupt handler
2026-05-16 16:15:54.096138 I  Setup Terminated handler
2026-05-16 16:15:54.096142 I  Setup Segmentation fault handler
2026-05-16 16:15:54.096144 I  Setup Aborted handler
2026-05-16 16:15:54.096146 I  Setup Floating point exception handler
2026-05-16 16:15:54.096148 I  Setup Illegal instruction handler
2026-05-16 16:15:54.096150 I  Setup Bus error handler
2026-05-16 16:15:54.096160 I  Setup Real-time signal 0 handler
2026-05-16 16:15:54.096164 I  Setup Hangup handler
2026-05-16 16:15:54.096237 N  Using runtime prefix = /usr
2026-05-16 16:15:54.096243 N  Using configuration directory = /home/mythtv/.mythtv
2026-05-16 16:15:54.096309 I  Assumed character encoding: en_US.UTF-8
2026-05-16 16:15:54.096508 I  Empty LocalHostName. This is typical.
2026-05-16 16:15:54.096515 I  Using a profile name of: 'BlackBox' (Usually the same as this host's name.)
2026-05-16 16:15:54.096605 I  Start up testing connections. DB localhost, BE , attempt 0, status dbAwake, Delay: 2000
2026-05-16 16:15:55.103563 N  Setting QT default locale to en_US
2026-05-16 16:15:55.103568 I  Current locale en_US
2026-05-16 16:15:55.103590 N  Reading locale defaults from /usr/share/mythtv//locales/en_us.xml
2026-05-16 16:15:55.113146 I  PowerDBus: Added UPower.Device '/org/freedesktop/UPower/devices/battery_hidpp_battery_0'
2026-05-16 16:15:55.114143 I  Power: On AC power
2026-05-16 16:15:55.120667 I  Power: Supported actions: Suspend,Restart,Shutdown
2026-05-16 16:15:55.121161 I  Loading en_us translation for module mythfrontend
2026-05-16 16:15:55.121925 I  Current MythTV Schema Version (DBSchemaVer): 1379
2026-05-16 16:15:55.123021 I MythCoreContext::ConnectCommandSocket(): Connecting to backend server: 127.0.0.1:6543 (try 1 of 1)
2026-05-16 16:15:55.124164 I MythCoreContext::CheckProtoVersion(): Using protocol version 91 BuzzOff
2026-05-16 16:15:55.124296 I  Opening blocking connection to master backend
2026-05-16 16:15:55.340683 I  Updating source #3 (NorthWest) with grabber tv_grab_zz_sdjson
2026-05-16 16:15:55.341365 I  Found 130 channels for source 3 which use grabber
2026-05-16 16:15:55.341512 I  Starting process manager
2026-05-16 16:15:55.341571 I  Starting process signal handler
2026-05-16 16:15:55.341639 I  Starting IO manager (read)
2026-05-16 16:15:55.343444 I  Starting IO manager (write)
2026-05-16 16:15:55.343458 I  Managed child (PID: 57010) has started! * command=tv_grab_zz_sdjson --capabilities, timeout=25
2026-05-16 16:15:55.624357 I  Managed child (PID: 57010) has exited! command=tv_grab_zz_sdjson --capabilities, status=0, result=0
2026-05-16 16:15:55.642002 I  Grabber has capabilities: baseline manualconfig preferredmethod
2026-05-16 16:15:55.643652 I  Managed child (PID: 57012) has started! * command=tv_grab_zz_sdjson --preferredmethod, timeout=15
2026-05-16 16:15:55.904467 I  Managed child (PID: 57012) has exited! command=tv_grab_zz_sdjson --preferredmethod, status=0, result=0
2026-05-16 16:15:55.942359 I  Grabber prefers method: allatonce
2026-05-16 16:15:55.942792 I  XMLTV config file is: /home/mythtv/.mythtv/NorthWest.xmltv
2026-05-16 16:15:55.943532 I  Grabber Command: nice tv_grab_zz_sdjson --config-file '/home/mythtv/.mythtv/NorthWest.xmltv' 
--output /tmp/myth6sDm0y
2026-05-16 16:15:55.943533 I  ----------------- Start of XMLTV output -----------------
2026-05-16 16:15:55.945170 I  Managed child (PID: 57014) has started! * command=nice tv_grab_zz_sdjson --config-file 
'/home/mythtv/.mythtv/NorthWest.xmltv' --output /tmp/myth6sDm0y, timeout=0
2026-05-16 16:15:56.226226 I  Managed child (PID: 57014) has exited! command=nice tv_grab_zz_sdjson --config-file 
'/home/mythtv/.mythtv/NorthWest.xmltv' --output /tmp/myth6sDm0y, status=256, result=1
2026-05-16 16:15:56.242723 I  You need to configure the grabber by running it with --configure
2026-05-16 16:15:56.242726 I  ------------------ End of XMLTV output ------------------
2026-05-16 16:15:56.243272 E  XMLTV grabber returned error code 1
2026-05-16 16:15:56.246022 I  Managed child (PID: 57016) has started! * command=/usr/share/mythtv/metadata/Movie/tmdb3.py -v, 
timeout=0
2026-05-16 16:15:56.386544 I  Managed child (PID: 57016) has exited! command=/usr/share/mythtv/metadata/Movie/tmdb3.py -v, 
status=0, result=0
2026-05-16 16:15:56.395072 I  Managed child (PID: 57019) has started! * command=/usr/share/mythtv/metadata/Television/tmdb3tv.py 
-v, timeout=0
2026-05-16 16:15:56.495439 I  Managed child (PID: 57019) has exited! command=/usr/share/mythtv/metadata/Television/tmdb3tv.py 
-v, status=0, result=0
2026-05-16 16:15:56.544858 I  Managed child (PID: 57022) has started! * command=/usr/share/mythtv/metadata/Television/ttvdb4.py 
-v, timeout=0
2026-05-16 16:15:56.605129 I  Managed child (PID: 57022) has exited! command=/usr/share/mythtv/metadata/Television/ttvdb4.py -v, 
status=0, result=0
2026-05-16 16:15:56.644965 I  Managed child (PID: 57024) has started! * command=/usr/share/mythtv/metadata/Television/tvmaze.py 
-v, timeout=0
2026-05-16 16:15:56.705226 I  Managed child (PID: 57024) has exited! command=/usr/share/mythtv/metadata/Television/tvmaze.py -v, 
status=0, result=0
2026-05-16 16:15:56.745195 I  Managed child (PID: 57026) has started! * command=/usr/share/mythtv/metadata/Music/mbutils.py -v, 
timeout=0
2026-05-16 16:15:56.845579 I  Managed child (PID: 57026) has exited! command=/usr/share/mythtv/metadata/Music/mbutils.py -v, 
status=0, result=0
2026-05-16 16:15:56.894270 E  Malformed XML file, missing </tv> element, at line 1, Premature end of document.
2026-05-16 16:15:57.309465 I  Updating source #4 (North) with grabber tv_grab_zz_sdjson
2026-05-16 16:15:57.310104 I  Found 119 channels for source 4 which use grabber
2026-05-16 16:15:57.311801 I  Managed child (PID: 57028) has started! * command=tv_grab_zz_sdjson --capabilities, timeout=25
2026-05-16 16:15:57.572754 I  Managed child (PID: 57028) has exited! command=tv_grab_zz_sdjson --capabilities, status=0, result=0
2026-05-16 16:15:57.594458 I  Grabber has capabilities: baseline manualconfig preferredmethod
2026-05-16 16:15:57.596156 I  Managed child (PID: 57030) has started! * command=tv_grab_zz_sdjson --preferredmethod, timeout=15
2026-05-16 16:15:57.857068 I  Managed child (PID: 57030) has exited! command=tv_grab_zz_sdjson --preferredmethod, status=0, result=0
2026-05-16 16:15:57.894837 I  Grabber prefers method: allatonce
2026-05-16 16:15:57.895262 I  XMLTV config file is: /home/mythtv/.mythtv/North.xmltv
2026-05-16 16:15:57.895968 I  Grabber Command: nice tv_grab_zz_sdjson --config-file '/home/mythtv/.mythtv/North.xmltv' --output 
/tmp/mythGe3kj2
2026-05-16 16:15:57.895968 I  ----------------- Start of XMLTV output -----------------
2026-05-16 16:15:57.897666 I  Managed child (PID: 57032) has started! * command=nice tv_grab_zz_sdjson --config-file 
'/home/mythtv/.mythtv/North.xmltv' --output /tmp/mythGe3kj2, timeout=0
2026-05-16 16:15:59.623130 I  Managed child (PID: 57032) has exited! command=nice tv_grab_zz_sdjson --config-file 
'/home/mythtv/.mythtv/North.xmltv' --output /tmp/mythGe3kj2, status=65280, result=255
2026-05-16 16:15:59.646901 I  Initializing...
2026-05-16 16:15:59.646904 I  Magic number checking on storable file failed at /usr/lib/x86_64-linux-gnu/perl/5.38/Storable.pm 
line 421, at /usr/bin/tv_grab_zz_sdjson line 694.
2026-05-16 16:15:59.646905 I  ** POST https://json.schedulesdirect.org/20141201/token ==> 200 OK
2026-05-16 16:15:59.646907 I  ** GET https://json.schedulesdirect.org/20141201/status ==> 200 OK (1s)
2026-05-16 16:15:59.646908 I  Updating lineups...
2026-05-16 16:15:59.646909 I  ** GET https://json.schedulesdirect.org/20141201/lineups/USA-OTA-95127 ==> 200 OK
2026-05-16 16:15:59.646910 I  Indexing channels...
2026-05-16 16:15:59.646912 I  No lineups or channels configured.
2026-05-16 16:15:59.646912 I  ------------------ End of XMLTV output ------------------
2026-05-16 16:15:59.647463 E  XMLTV grabber returned error code 255
2026-05-16 16:15:59.647762 E  Malformed XML file, missing </tv> element, at line 1, Premature end of document.
2026-05-16 16:15:59.884272 I  Updating source #5 (South) with grabber tv_grab_zz_sdjson
2026-05-16 16:15:59.884679 I  Found 24 channels for source 5 which use grabber
2026-05-16 16:15:59.886364 I  Managed child (PID: 57035) has started! * command=tv_grab_zz_sdjson --capabilities, timeout=25
2026-05-16 16:16:00.147312 I  Managed child (PID: 57035) has exited! command=tv_grab_zz_sdjson --capabilities, status=0, result=0
2026-05-16 16:16:00.147499 I  Grabber has capabilities: baseline manualconfig preferredmethod
2026-05-16 16:16:00.149188 I  Managed child (PID: 57037) has started! * command=tv_grab_zz_sdjson --preferredmethod, timeout=15
2026-05-16 16:16:00.410180 I  Managed child (PID: 57037) has exited! command=tv_grab_zz_sdjson --preferredmethod, status=0, result=0
2026-05-16 16:16:00.447896 I  Grabber prefers method: allatonce
2026-05-16 16:16:00.448336 I  XMLTV config file is: /home/mythtv/.mythtv/South.xmltv
2026-05-16 16:16:00.449037 I  Grabber Command: nice tv_grab_zz_sdjson --config-file '/home/mythtv/.mythtv/South.xmltv' --output 
/tmp/mythGfbFUJ
2026-05-16 16:16:00.449038 I  ----------------- Start of XMLTV output -----------------
2026-05-16 16:16:00.450701 I  Managed child (PID: 57044) has started! * command=nice tv_grab_zz_sdjson --config-file 
'/home/mythtv/.mythtv/South.xmltv' --output /tmp/mythGfbFUJ, timeout=0
2026-05-16 16:16:00.732038 I  Managed child (PID: 57044) has exited! command=nice tv_grab_zz_sdjson --config-file 
'/home/mythtv/.mythtv/South.xmltv' --output /tmp/mythGfbFUJ, status=256, result=1
2026-05-16 16:16:00.748246 I  You need to configure the grabber by running it with --configure
2026-05-16 16:16:00.748251 I  ------------------ End of XMLTV output ------------------
2026-05-16 16:16:00.748773 E  XMLTV grabber returned error code 1
2026-05-16 16:16:00.749036 E  Malformed XML file, missing </tv> element, at line 1, Premature end of document.
2026-05-16 16:16:00.990173 I  Updating source #6 (NorthWest ATSC3) with grabber tv_grab_zz_sdjson
2026-05-16 16:16:00.990850 I  Found 130 channels for source 6 which use grabber
2026-05-16 16:16:00.992534 I  Managed child (PID: 57046) has started! * command=tv_grab_zz_sdjson --capabilities, timeout=25
2026-05-16 16:16:01.253511 I  Managed child (PID: 57046) has exited! command=tv_grab_zz_sdjson --capabilities, status=0, result=0
2026-05-16 16:16:01.298939 I  Grabber has capabilities: baseline manualconfig preferredmethod
2026-05-16 16:16:01.300667 I  Managed child (PID: 57048) has started! * command=tv_grab_zz_sdjson --preferredmethod, timeout=15
2026-05-16 16:16:01.581646 I  Managed child (PID: 57048) has exited! command=tv_grab_zz_sdjson --preferredmethod, status=0, result=0
2026-05-16 16:16:01.599313 I  Grabber prefers method: allatonce
2026-05-16 16:16:01.599760 I  XMLTV config file is: /home/mythtv/.mythtv/NorthWest ATSC3.xmltv
2026-05-16 16:16:01.601576 I  Grabber Command: nice tv_grab_zz_sdjson --config-file '/home/mythtv/.mythtv/NorthWest ATSC3.xmltv' 
--output /tmp/mythmgxlJi
2026-05-16 16:16:01.601577 I  ----------------- Start of XMLTV output -----------------
2026-05-16 16:16:01.603194 I  Managed child (PID: 57050) has started! * command=nice tv_grab_zz_sdjson --config-file 
'/home/mythtv/.mythtv/NorthWest ATSC3.xmltv' --output /tmp/mythmgxlJi, timeout=0
2026-05-16 16:16:01.884158 I  Managed child (PID: 57050) has exited! command=nice tv_grab_zz_sdjson --config-file 
'/home/mythtv/.mythtv/NorthWest ATSC3.xmltv' --output /tmp/mythmgxlJi, status=256, result=1
2026-05-16 16:16:01.899702 I  You need to configure the grabber by running it with --configure
2026-05-16 16:16:01.899705 I  ------------------ End of XMLTV output ------------------
2026-05-16 16:16:01.900233 E  XMLTV grabber returned error code 1
2026-05-16 16:16:01.900518 E  Malformed XML file, missing </tv> element, at line 1, Premature end of document.
2026-05-16 16:16:02.099229 E  Failed to fetch some program info
2026-05-16 16:16:02.099249 I  Adjusting program database end times.
2026-05-16 16:16:02.099508 I      0 replacements made
2026-05-16 16:16:02.099509 I  Marking generic episodes.
2026-05-16 16:16:02.955050 I      Found 680
2026-05-16 16:16:02.955053 I  Extending non-unique programids with multiple parts.
2026-05-16 16:16:03.717285 I      Found 0
2026-05-16 16:16:03.717288 I  Fixing missing original airdates.
2026-05-16 16:16:05.274730 I      Found 0 with programids
2026-05-16 16:16:05.341927 I      Found 0 without programids
2026-05-16 16:16:05.341929 I  Marking repeats.
2026-05-16 16:16:06.115795 I      Found 0
2026-05-16 16:16:06.115798 I  Unmarking new episode rebroadcast repeats.
2026-05-16 16:16:06.971574 I      Found 0
2026-05-16 16:16:08.618109 I  Marking episode first showings.
2026-05-16 16:16:10.699140 I      Found 91464
2026-05-16 16:16:10.699142 I  Marking episode last showings.
2026-05-16 16:16:12.771352 I      Found 92938
2026-05-16 16:16:12.791073 I
===============================================================
| Attempting to contact the master backend for rescheduling.  |
| If the master is not running, rescheduling will happen when |
| the master backend is restarted.                            |
===============================================================
2026-05-16 16:16:12.791606 N  mythfilldatabase run complete.
2026-05-16 16:16:12.791646 I  PowerDBus: Closing interfaces
2026-05-16 16:16:12.791868 I  Waiting for threads to exit.
2026-05-16 16:16:12.792031 I  Exiting

-- 
Note: the attached .asc file is a cryptographic signature that would allow you to verify that this message has not been modified from what was sent.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x7B9B5178E6AE112A.asc
Type: application/pgp-keys
Size: 2452 bytes
Desc: OpenPGP public key
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20260516/c99e29fe/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20260516/c99e29fe/attachment.sig>


More information about the mythtv-users mailing list