Search found 172 matches

by daraden
Tue Aug 07, 2018 2:01 pm
Forum: Troubleshooting
Topic: (Solved) mytharchive script failing after upgrade to 0.28
Replies: 3
Views: 426
United States of America

Re: mytharchive script failing after upgrade to 0.28

do you have a working .mythtv/config.xml in the users home directory?
by daraden
Mon Apr 16, 2018 3:14 am
Forum: Troubleshooting
Topic: New client to old backend
Replies: 2
Views: 535
United States of America

Re: New client to old backend

I'll second pgbennet's suggestion. It is the same procedure I plan to follow and the reason I've been procrastinating on upgrading to 29. only difference is I'm using a separate disk, with a slightly larger root partition to accommodate extra services/programs I use. For a dedicated backend/frontend...
by daraden
Mon Apr 09, 2018 12:41 am
Forum: Wishlist/Feature Suggestions
Topic: API call needed for retain recording
Replies: 3
Views: 1037
United States of America

Re: API call needed for retain recording

I think a better way to go about it would be to make tns:Program(return of /Dvr/GetRecorded) include all of the recorded entry's from the database. Then add an UpdateRecorded call to modify the data in the database. So rather than a call for every item someone may wish to modify you have one call th...
by daraden
Fri Feb 16, 2018 11:52 am
Forum: Troubleshooting
Topic: User Job reports error but completes
Replies: 29
Views: 1938
United States of America

Re: User Job reports error but completes

It may not seem like a huge deal now, but after you have used it a few dozen times and find out what is broken it could be. Of course it could be its just not setting the return code properly. You could try changing the end of the script to look like this if len(args) == 1: runjob(jobid=args[0]) sys...
by daraden
Tue Feb 13, 2018 6:48 pm
Forum: Troubleshooting
Topic: User Job reports error but completes
Replies: 29
Views: 1938
United States of America

Re: User Job reports error but completes

It is crashing when trying to delete the original/commercial edited file.

is '/Media/MythTV/Recordings/1501_20171230143000.ts' the correct full path to the recording file?

What OS are you using?
by daraden
Fri Feb 09, 2018 1:31 pm
Forum: Troubleshooting
Topic: User Job reports error but completes
Replies: 29
Views: 1938
United States of America

Re: User Job reports error but completes

Your tzoffset should currently be -5 for The Bahamas. For some reason when i previously did the math my brain assumed 9:30pm. Check your recording directory for the recording file(1501_20180113143000.ts). If the recording is set to start early it may be slightly different. Daylight savings time can ...
by daraden
Sat Feb 03, 2018 1:14 am
Forum: Troubleshooting
Topic: User Job reports error but completes
Replies: 29
Views: 1938
United States of America

Re: User Job reports error but completes

for the "Ocean Treks" recording you posted earlier the command would look like /home/mythtv/transcode-h264-v2.py --chanid 1501 --starttime 20180127143000 --tzoffset 7 the chanid and starttime are used to identify the recording you wish to interact with in the database. In the case of this script you...
by daraden
Thu Feb 01, 2018 3:14 am
Forum: Troubleshooting
Topic: User Job reports error but completes
Replies: 29
Views: 1938
United States of America

Re: User Job reports error but completes

The DB error is likely because of the way the script handles the start time. when only using the chanid and starttime variables, it expects a UTC timestamp. If using the starttime from the filename it needs tzoffset to build the UTC timestamp.
by daraden
Thu Feb 01, 2018 12:17 am
Forum: Troubleshooting
Topic: User Job reports error but completes
Replies: 29
Views: 1938
United States of America

Re: User Job reports error but completes

For running the script from a terminal you need to run it as /home/mythtv/transcode-h264-v2.py --chanid <chanid> --starttime <starttime> --tzoffset <your UTC offeset> I haven't used that script in a long time, there was an audio issue with mythtranscode that made me write my own script. I do remembe...
by daraden
Sun Nov 05, 2017 4:40 am
Forum: Troubleshooting
Topic: Transcoding of HEVC recordings to H.264
Replies: 3
Views: 720
United States of America

Re: Transcoding of HEVC recordings to H.264

you should be able to use Mythffmpeg. comand would look something like

Code: Select all

mythffmpeg -i input.ts -map 0 -c:a copy -c:v libx264 -preset:v medium -crf:v 18 output.ts
by daraden
Wed Oct 18, 2017 5:22 am
Forum: Troubleshooting
Topic: Using DVI2HD converter from StarTech - no audio
Replies: 2
Views: 310
United States of America

Re: Using DVI2HD converter from StarTech - no audio

Is the usb being detected as an audio device? If so you may need to change the audio device in frontend setup.
by daraden
Wed Oct 18, 2017 5:15 am
Forum: Services API
Topic: AddRecordSchedule Perl example?
Replies: 13
Views: 2399
United States of America

Re: AddRecordSchedule Perl example?

Yeah, I saw how to post via UserAgent, but I was hoping that there was a method to do so using LibXML since it can get from a URL. I'll likely have to resort to using UserAgent, but it would have been nice to be able to just post back the already built and formatted DOM rather than having to break ...
by daraden
Tue Oct 17, 2017 10:40 am
Forum: Services API
Topic: AddRecordSchedule Perl example?
Replies: 13
Views: 2399
United States of America

Re: AddRecordSchedule Perl example?

Not a perl person, but did a quick google of "perl http post xml". looks like you need to use LWP::UserAgent and HTTP::Request to create an http post request.
by daraden
Wed Sep 27, 2017 9:15 am
Forum: Troubleshooting
Topic: Mythbackend continuously restarting
Replies: 13
Views: 1522
United States of America

Re: Mythbackend continuously restarting

Is this happening when you first boot or any time you start the backend?
you can use

Code: Select all

sudo systemctl stop mythtv-backend.service
to stop and

Code: Select all

sudo systemctl start mythtv-backend.service
to start the backend.
by daraden
Mon Sep 11, 2017 6:46 pm
Forum: General Discussion
Topic: Cutting commercials without transcoding
Replies: 7
Views: 3041
United States of America

Re: Cutting commercials without transcoding

Have not upgraded to 29 yet, but i use this script to remove commercials. #!/usr/bin/env python2 # -*- coding: UTF-8 -*- # MythTV commercial removal -- by Daraden # usage userjob = /path to script/script.py --jobid %JOBID% # /path to script/script.py --chanid --starttime can also be used from __futu...