Search found 169 matches

by daraden
Fri Feb 16, 2018 11:52 am
Forum: Troubleshooting
Topic: User Job reports error but completes
Replies: 29
Views: 1280
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: 1280
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: 1280
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: 1280
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: 1280
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: 1280
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: 486
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: 227
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: 1546
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: 1546
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: 1199
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: 1880
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...
by daraden
Thu Jun 29, 2017 4:49 pm
Forum: Linux
Topic: Mythbackend with Libreelec
Replies: 3
Views: 1177
United States of America

Re: Mythbackend with Libreelec

Its been a while since I've used 0.27, but I don't remember it ever setting watched when using Kodi. On 0.28 with Kodi 17.3 it is setting watched in the database.
by daraden
Fri Jun 02, 2017 6:04 am
Forum: Troubleshooting
Topic: Simultaneous recording on HDHomeRun fails
Replies: 3
Views: 416
United States of America

Re: Simultaneous recording on HDHomeRun fails

I have a HDHomerun connect(newer version of the dual) on the devices webpage there is a system log. Is that available on the dual?

Given the age and that it seems to be rebooting. my first thought is the power supply might be going bad.
by daraden
Wed May 24, 2017 1:01 am
Forum: Services API
Topic: Get artwork using API
Replies: 12
Views: 1845
United States of America

Re: Get artwork using API

The best way to get a unique recording entry would be using the chanid and starttime with Dvr/GetRecorded. For videos you would need to strip the path name to just the file name and use Video/GetVideoByFileName.

Bill any reason you suggested GetRecordedList TitleRegEx instead?