Search found 148 matches

by wmorrison
Tue Jun 08, 2021 5:18 pm
Forum: Off-Topic
Topic: LinkedIn, connections/networking, endorsements etc.
Replies: 0
Views: 168
United States of America

LinkedIn, connections/networking, endorsements etc.

I am looking for a new job after 20 years developing mostly Java, Oracle Service Bus, and Mulesoft Anypoint (in reverse chronological order.) However, I have skills not related to technologies used in my last job, many of which I've either learned or brushed up on since I've been using MythTV (the f...
by wmorrison
Sat May 22, 2021 9:01 pm
Forum: Troubleshooting
Topic: 'result 1' for event commands, where does output go?
Replies: 4
Views: 767
United States of America

Re: 'result 1' for event commands, where does output go?

wmorrison wrote:
Sat May 22, 2021 8:56 pm
Problem is, there was a ModuleNotFoundError happening before the logger got set up.
That is, my user finds the module, but user mythtv doesn't.
by wmorrison
Sat May 22, 2021 8:56 pm
Forum: Troubleshooting
Topic: 'result 1' for event commands, where does output go?
Replies: 4
Views: 767
United States of America

Re: 'result 1' for event commands, where does output go?

Ugh! Figured it out. I was putting all my imports at the top of my Python script, where they're "supposed" to be. Then defining a logger class and redirecting stdout and stderr to it. Problem is, there was a ModuleNotFoundError happening before the logger got set up. I moved all imports except sys b...
by wmorrison
Sat May 22, 2021 3:44 pm
Forum: Troubleshooting
Topic: 'result 1' for event commands, where does output go?
Replies: 4
Views: 767
United States of America

'result 1' for event commands, where does output go?

I have a few scripts that run on events. Usually, when I first start testing them (actually run by MythTV) I only see 'result 1' (failure) in mythbackend.log but any output from the script is lost. Any tips on debugging? Does the output get logged anywhere? I have other scripts that are running, so ...
by wmorrison
Sat May 15, 2021 2:12 pm
Forum: Troubleshooting
Topic: Permanently switch off fetching covert art etc. from the 'net and use local sources only
Replies: 5
Views: 346
United States of America

Re: Permanently switch off fetching covert art etc. from the 'net and use local sources only

I have a similar question. I do want to retrieve all text metadata, but no images. Are there no settings for this? I've searched everywhere I can think of. It's not just a matter of not wanting to see the images, I don't want to waste bandwidth downloading them, but I do want the text for descriptio...
by wmorrison
Sat Apr 24, 2021 11:49 pm
Forum: Troubleshooting
Topic: Duplicate channels in sqlite db, best way to fix?
Replies: 3
Views: 284
United States of America

Re: Duplicate channels in sqlite db, best way to fix?

Well, the duplicates are from SD itself. I just set up a new database as a test (different directory and config, so it's "clean") and the duplicates are there. In fact besides the duplicate channel numbers, it also has some pre-repack channels with the old channel numbers. So I guess it doesn't caus...
by wmorrison
Thu Apr 22, 2021 11:51 pm
Forum: Troubleshooting
Topic: Duplicate channels in sqlite db, best way to fix?
Replies: 3
Views: 284
United States of America

Re: Duplicate channels in sqlite db, best way to fix?

When I say duplicate, I don't just mean "same network," I mean actual duplicates in sqlite SchedulesDirect.DB with the same channum, atscMajor, atscMinor, uhfVhf, but different station (id.) I know how to deselect them but I don't know how it happened and want to know how to clean up the sd database.
by wmorrison
Thu Apr 22, 2021 2:06 am
Forum: Troubleshooting
Topic: Duplicate channels in sqlite db, best way to fix?
Replies: 3
Views: 284
United States of America

Duplicate channels in sqlite db, best way to fix?

I use tv_grab_zz_sdjson_sqlite. I notice there are about four duplicate channels. mythfilldatabase.log shows they are skipped as 'Unknown xmltv channel identifier.' Any idea how this could happen? Is the data coming duplicated from SchedulesDirect, or could it be "old channel" info that didn't get c...
by wmorrison
Fri Apr 16, 2021 4:51 pm
Forum: Troubleshooting
Topic: Creating manual recording with API, dupmethod and searchtype wrong
Replies: 2
Views: 290
United States of America

Re: Creating manual recording with API, dupmethod and searchtype wrong

Thanks. Got it working. Have a python script fired when a recording starts. It looks back a few hours in the schedule on chanid and checks if any sports was on. If there was, it automatically schedules an "overtime" recording for an hour after the show. I know I can modify individual rules to record...
by wmorrison
Thu Apr 15, 2021 10:46 pm
Forum: Troubleshooting
Topic: Creating manual recording with API, dupmethod and searchtype wrong
Replies: 2
Views: 290
United States of America

Creating manual recording with API, dupmethod and searchtype wrong

I'm creating manual recording rules with Dvr/AddRecordSchedule. It works, but dupmethod and searchtype are not getting set to values I specified. Should they be integers, or strings? I've tried both, and it doesn't work either way. Trying to set dupmethod 1 searchtype 5 to mimic a manual rule set up...
by wmorrison
Sat Jan 30, 2021 8:51 pm
Forum: General Discussion
Topic: Disabling DVD subtitles by default?
Replies: 1
Views: 254
United States of America

Disabling DVD subtitles by default?

Whenever I play a DVD (internal player,) subtitles default to "on." I can turn them off, but I'd rather "off" be the default state.

I can't find a setting for this. Is there one?
by wmorrison
Fri Jan 08, 2021 3:52 am
Forum: Troubleshooting
Topic: ubuntu 18 - 20 upgrade completly broke my mythtv
Replies: 9
Views: 557
United States of America

Re: ubuntu 18 - 20 upgrade completly broke my mythtv

Was going to post a link to a post where I had a similar problem last year, but I see you fixed it with a fresh install. Still, if you're interested...

viewtopic.php?f=36&t=3835

I use Timeshift for backup so I just kept restoring and trying again until I got it right.
by wmorrison
Wed Jan 06, 2021 5:34 am
Forum: General Discussion
Topic: Is it safe to add new columns to a table? (created and modified timestamps in program)
Replies: 3
Views: 251
United States of America

Re: Is it safe to add new columns to a table? (created and modified timestamps in program)

bill6502, OK, so altering mythconverg tables is not a good idea. Also, the lastModified data you showed only shows when the entire schedule for that stationID was updated, not individual programs. But I'm onto something. I made a copy of the sqlite database file, then let mythfilldatabase run. Then,...
by wmorrison
Thu Dec 31, 2020 3:26 pm
Forum: General Discussion
Topic: Is it safe to add new columns to a table? (created and modified timestamps in program)
Replies: 3
Views: 251
United States of America

Is it safe to add new columns to a table? (created and modified timestamps in program)

I would like to alter my program table, adding two new columns for create and modified timestamp, auto-populated. As discussed in these two links: https://www.oreilly.com/library/view/mysql-cookbook/0596001452/ch05s34.html https://www.tutorialspoint.com/can-mysql-automatically-store-timestamp-in-a-r...