{5} Assigned, Active Tickets by Owner (Full Description) (78 matches)

List tickets assigned, group by ticket owner. This report demonstrates the use of full-row display.

beirdo (3 matches)

Ticket Summary Component Milestone Type Created
Description
#10868 Nuvexport is failing on an uninitialised value error Apps - Nuvexport unknown Bug Report - Crash Jun 27, 2012

Running Nuvexport .25 fixes on a Linux Mint 13 Mate 64 bit server.

Installed Nuvexport from the .25 fixes branch.

While trying to process any files getting the following error.


Use of uninitialized value $info{"video_type"} in string eq at /usr/share/perl5/MythTV/Recording.pm line 327, <STDIN> line 2. Stream type 'lavfpref' is not an mpeg, and will not work with this program.

Cleaning up temp files.


I'm not a perl coder but looking at the code it looked to me like it could be the output produced by mplayer as in the appropriate line it outputs MPG2 not MPEG2


[lavf] stream 2: audio (mp3), -aid 1, -alang eng ID_SUBTITLE_ID=0 ID_SID_0_LANG=eng [lavf] stream 3: subtitle (dvbsub), -sid 0, -slang eng LAVF: Program 1 PROGRAM_ID=1 LAVF: 2 audio and 1 video streams found LAVF: build 3478528 VIDEO: [MPG2] 704x576 0bpp 25.000 fps 15000.0 kbps (1831.1 kbyte/s) [V] filefmt:42 fourcc:0x3247504D size:704x576 fps:25.000 ftime:=0.0400 Load subtitles in /mnt/mythfifofum/


Whereas the perl code at that line is looking for MPEG[12]


# First, we check for the existence of an mpeg info program

my $program = find_program('mplayer');

# Nothing found? Die

die "You need mplayer to use this script on mpeg-based files.\n\n" unless ($program);

# Grab the info we want from mplayer (go uber-verbose to override --really-quiet)

my $idargs = "-v -v -v -v -nolirc -nojoystick -vo null -ao null -frames 0 -identify"; my $data = $program $idargs '$file' 2>/dev/null; study $data; ($info{'video_type'}) = $data =~ m/VIDEO:?\s*(MPEG[12]|H264)/m; ($info{'width'}) = $data =~ m/ID_VIDEO_WIDTH=0*([1-9]\d*)/m; ($info{'height'}) = $data =~ m/ID_VIDEO_HEIGHT=0*([1-9]\d*)/m; ($info{'fps'}) = $data =~ m/ID_VIDEO_FPS=0*([1-9]\d*(?:\.\d+)?)/m; ($info{'audio_sample_rate'}) = $data =~ m/ID_AUDIO_RATE=0*([1-9]\d*)/m; ($info{'audio_bitrate'}) = $data =~ m/ID_AUDIO_BITRATE=0*([1-9]\d*)/m; ($info{'audio_bits_per_sample'}) = $data =~ m/AUDIO:.+?ch,\s*[su](8|16)/mi; ($info{'audio_channels'}) = $data =~ m/ID_AUDIO_NCH=0*([1-9]\d*)/m;


So I modified the script to look for MPG2 rather then MPEG[12] and still get the same error.


#10509 mythtranscode --showprogress does show out in stdout MythTV - Mythtranscode unknown Bug Report - General Mar 25, 2012

mythtranscode --showprogress no longer show transcode progress in sysout. Eg. mythtranscode --mpeg2 --honorcutlist --showprogress --outfile test.mpg --chanid 1191 --starttime 20120318160000

The above example does not show the status in stdout. Only the current time and version of mythtranscode is displayed in stdout. 2012-03-25 19:37:57.822853 C mythtranscode version: [v0.25pre] www.mythtv.org

Running myth from git v0.25-rc-54-g78ad8be


#10286 Weather world map for mythweather Plugin - MythWeather unknown Patch - Feature Jan 25, 2012

I've created a patch, which extends MythWeather? with a screen, which displays a world map with weather of different locations (actuall only one can be defined). As a map it uses the NASA blue marble maps. Since both maps are a little bit bigger files, the patch containing both maps is also a little bit bigger (about 40MB). Therefore I've hosted the patch at http://ftp.engsas.de/mythweather-worldweathermap.patch.

The screen is not finished yet, since two questions are not solved.

  1. How can multiple locations can be assigned to one screen?
  2. How can weather locations be mapped to geo coordinates more reliable? (Actually it works, if the weather location is something like CITY, COUNTRY (e.g. London, Great Britain)

Nevertheless I'll hope some others find that idea nice and want to help a bit.


Peter Bennett (7 matches)

Ticket Summary Component Milestone Type Created
Description
#12010 mythcommflag --rebuild does not re-create good seektables with h264 recordings MythTV - Video Decoding unknown Bug Report - General Jan 10, 2014

This looks like a re-run of #11435 and #6243. Initial report here, quoted below.

http://www.gossamer-threads.com/lists/mythtv/users/561003#561003

I have just found that for recordings from DVB-T2 FreeviewHD in the UK, (h264), a listing of the markup data generated after mythcommflag --rebuild contains only a small subset of the lines in a similar listing made immediately after recording.

In the 'original' table, keyframe separation is typically around 24 frames. In the 'rebuilt' table the spacing is variable, sometimes in the hundreds of frames. Points listed there are also in the original table.

hexdump shows that all keyframes in the original list for this recording begin 47 40 65 3x, and to me look genuine. The problem does not affect DVB-T SD recordings, which are mpeg2 format.

In my tests I have usually been working with recordings having seektables that have been rebuilt, often several times. This may explain why editing has sometimes been difficult.

mythutil --chanid 1102 --starttime 20140109182600 --getmarkup Haworth_orig.xml mythcommflag --rebuild --chanid 1102 --starttime 20140109182600 mythutil --chanid 1102 --starttime 20140109182600 --getmarkup Haworth_rebuilt.xml

ls -l Haw* -rw-rw-r--. 1 john john 290708 Jan 9 19:13 Haworth_orig.xml -rw-rw-r--. 1 john john 73286 Jan 9 19:16 Haworth_rebuilt.xml


#12993 HEVC/H265 Parser missed for Recordings MythTV - Video Playback unknown Bug Report - General Feb 7, 2017

Because there exist no HEVC/H265 parser inside libmythtv (called in DTVRecorder::ProcessVideoTSPacket) there are no information about the video quality in the recording view.

For German DVB-T2 HD this could be fixed by an easy fix (set height to 1080, width to 1920 and frameRate to 50). When DVB-T2 HD the only HEVC source it might be OK.

But at the end a new module is needed similar to mythtv/libs/libmythtv/mpeg/H264Parser.cpp.


#13124 Live TV Using wrong tuner MythTV - Recording unknown Bug Report - General Sep 17, 2017

I have 5 tuners, with sequence for Schedule set as 12345 and sequence for LiveTV set as 54321 respectively. Live TV should select the fifth tuner by prefernence, then the 4th etc. If I enter Live TV from the program schedule "Watch this channel" option it selected the first tuner instead of the last. Entering via Live TV on the menu selected the correct tuner.

Work around - after setting the first three tuners to 0 for Live TV sequence, (i.e. 00021) it correctly selected the 5th tuner.

I don't know what it could be doing, if it was using the schedule order or the tuner sequence, after setting the first three to 0 it would have selected the 4th.


#13242 Seektable for video can be created but is not recognised MythTV - Mythcommflag unknown Bug Report - General Mar 10, 2018
[john@HP_Fed ~]$ mythcommflag --rebuild --video  /mnt/sdb1/Vids/21664_20180309155800_6619.ts
2018-03-10 13:21:06.353216 C  mythcommflag version: master [v30-Pre-v30-Pre-515-ge7173e3] www.mythtv.org
2018-03-10 13:21:06.353263 C  Qt version: compile: 5.9.4, runtime: 5.9.4
MythTV Commercial Flagger, building seek table for:
    /mnt/sdb1/Vids/21664_20180309155800_6619.ts
Rebuild started at Sat Mar 10 13:21:07 2018
2018-03-10 13:21:30.474475 E  decoding error End of file (-541478725)
Rebuild completed at Sat Mar 10 13:21:30 2018
[john@HP_Fed ~]$ 

... but on playing the video and entering the editor it reports "No seektable"

Ticket #10804 refers.

mythutil/commandlineparser.cpp refers to a Video Gallery name, and there is a --parse-video-filename option in mythutil. My filename-fixated approach may conflict with the media-metadata approach, not for the first time, but the log above implies that the intended file was scanned. (It was created by an experimental mythTScut.sh which I have appended to the mythDVBcut entry in the wiki)


#13292 LiveTV Channel Switching - DVB-T/T2 UK Freeview MythTV - DVB needs_triage Bug Report - General Jun 6, 2018

I am seeing a number of issues in LiveTV when changing to certain channels on DVB-T/T2 UK Freeview. The symptoms vary from an ok channel change, to video with no audio, vidio with wrong audio (subtitle fails) to "cannot open decoder".

It seems that codec detection for LiveTV is having problems with certain channels, where mp3 codec is detected. It is particularly noticeable for Sky News channel.

The issues are also present on mythtv 29, so the recent bump to ffmpeg 4 in master does not seem to be the cause.

mythtv 0.28 works but also has the Ring Buffer detection issues, but channel change is ok.

Note Channel switching times are also long due to Ring Buffer detection not failing, it falls back to in-file.

Attached are a number of debug logs including ffmpeg, mythffmpeg and mediainfo data taken from a recording of Sky News channel.


#13589 Bugs in backend serviceAPIs MythTV - Services API - Backend needs_triage Bug Report - General Feb 25, 2020

The leanfront frontend for MythTV uses service APIs exclusively to support a fully functional frontend. In the process of developing this I have found some bugs in the service APIs:

  • File names in URLS should be url encoded (art urls). The way they currently are returned, the URL fails if a program title has a colon or other special character (e.g. Law and Order: Special Victim's Unit).
  • Redirect for download of files on slave backends use wrong URL. Redirects to host name as server address. This does not work if there is no DNS or the DNS name does not match the MythTV host name. The API should look up the IP address of the host in the settings and use that. (Note I cannot use the hosts file to resolve the address since the APIs are called from Android and you cannot update android system files).
  • Settings API returns nothing for null host id requests. Entries that are system wide have null host id and they should be able to be read.
  • GetRecordedList has parameters for selecting by RecordId, Start Time and many others. It seems that whatever you specify, you still get the full unfiltered list
  • Guide/GetProgramGuide has a problem if two channels have the same xmltvid. It only gets the programs on one of the channels and the other channel is omitted. This can happen for various reasons, e.g. the same channel is available on two frequencies. Mythfrontend does not have this problem, and Guide/GetProgramList does not have this problem.

#13494 Add framerate-based sync setting MythTV - Video Playback needs_triage Patch - Feature Oct 20, 2019

I have a bit of an oddball setup* where the audio always leads the video by a specific number of frames, not by a fixed number of milliseconds. As I also use variable refresh rates (set automatically by the recording being played) this can range from annoying to completely unwatchable, unless one keeps a table of known offsets and adjusts the audio sync for each recording when it starts.

Needless to say this is a pain and makes MythTV nearly unusable. I've put together this patch to make it all work again -- it adds a new (hidden) per-frontend setting to the database called VideoSyncDelayFrames?, and automatically combines it with the existing audio sync setting.

It's fairly crude, this is my first time hacking on the MythTV codebase. If there's a better way to do what I'm trying to do suggestions are quite welcome -- at least my old TV recordings are watchable again in the meantime!

Note this has the side effect of showing the "base" A/V sync value when you go to the Adjust Audio Sync screen. I'm torn -- I like seeing the starting value, but at the same time it makes adjusting A/V sync more complex since you need to know the FPS of the recording to make an informed adjustment.

  • It's a projector and custom (homebrew) 8 channel speaker system hung directly off the frontend. The translator boxes between the frontend and the projector (and maybe the logic board in the projector too) are what seem to be buffering enough frames to cause a very noticeable A/V desync.

Bill Meek (2 matches)

Ticket Summary Component Milestone Type Created
Description
#13518 tmdb3.py not automatically loads available cover/banner MythTV - General 31.1 Bug Report - General Nov 21, 2019

Just testing current master revisited tmdb3.py and discover following:

script finds ok metadata for given movie but not automatically loads cover & banner.

However - when I go to "edit metadata" and ask script to manually find&load online cover & banner - it loads OK cover&banner.

Is this expected?

In other words: is it expected that user will need to manually load cover/banner even if script can do this automatically?

My example is: tmdb3.py with movie id=93856


#13574 packaging/deb/debian - multiple issues ubuntu 20.04 focal Packaging 31.1 Bug Report - General Feb 5, 2020

Attempting to install mythtv from ppa:mythbuntu/31 on Ubuntu 20.04 focal daily build fails. I understand that focal is still in development.

I get a permission denied error at line 54 (cat $INPUT > $NEW) of mythtv-common.postinst.

Something in focal has changed, don't know if it is a bug, or tightening of code somewhere, so that something that previously worked, but should not have, now fails. The same code on Ubuntu 18.04 LTS is fine.

temporarily changing to

cp $INPUT $NEW

allowed it continue, so something is happening due to > redirection (works fine on Ubuntu 18.04 LTS)

There is also a problem with mythtv-database.postinst as it fails to configure database user mythtv is not setup. mysql 8 is being installed, so I suspect a similar change to that recently made to mc.sql mythtv master in commit 83803f53 Database: update mc.sql for MySQL version 8 change is required


cpinkham (3 matches)

Ticket Summary Component Milestone Type Created
Description
#10700 RFE: recording failed system event MythTV - General unknown Bug Report - General May 7, 2012

I had a number of recordings fail due to a faulty tuner as such:

May  6 19:03:01 pvr mythbackend[2119]: I Scheduler scheduler.cpp:2505 (HandleTuning) Canceling recording since tuning timeout, 180 seconds, has been exceeded.
May  6 19:03:01 pvr mythbackend[2119]: I Scheduler scheduler.cpp:2459 (HandleRecordingStatusChange) Canceled recording (Recorder Failed): "Once Upon a Time": channel 3129 on cardid 6, sourceid 2

My "recording finished" system event didn't get fired for these though, I'd guess due to the fact that they failed.

I'd like to be able to hook on a failed recording event though.


#11387 Mythtranscode Deleting Aspect Ratio Data MythTV - Mythtranscode unknown Bug Report - General Jan 30, 2013

I've been running mythtranscode to losslessly remove commercials from my mpeg2 recordings. It appears that all data for the recording is being deleted from recordedmarkup when mythtranscode is run.

I noticed this because the aspect ratio of recordings played in mythweb in flash after transcoding are defaulting to 4:3 aspect ratio. By looking through the source code for mythweb, I noticed that this was caused by the recordedmarkup being deleted from the database. I believe this is occurring when it is transcoded.


#10595 Video Setup Wizard can hang if sample videos can not be downloaded. MythTV - General unknown Bug Report - Hang/Deadlock Apr 13, 2012

I tried the setup wizard. Downloading the Sd or HD sample file hangs the frontend. Found in 0.25, same in master from now. One thing is the failing download, the other thing is the hanging frontend.


dblain (1 match)

Ticket Summary Component Milestone Type Created
Description
#11075 services API returns errors as XML no matter what you ask for MythTV - UPnP unknown Bug Report - General Sep 9, 2012
curl --header accept:application/json 'http://localhost:6544/Dvr/GetRecordeengList'

yields:

<?xml version="1.0" encoding="utf-8"?>
<detail>
  <errorCode>401</errorCode>
  <errorDescription>Invalid Action</errorDescription>
</detail>

that ain't no json I ever heard of!


Karl Egly (2 matches)

Ticket Summary Component Milestone Type Created
Description
#12662 EITFixup Glashart-media DVB-C NL MythTV - EIT 29.2 Bug Report - General Feb 22, 2016

EIT on DVB-C from Glashart-media in NL is not correctly showing special characters, like umlaut etc.

See attached dvbsnoop output.

Probably a EITfixup required.


#12012 Abbreviated show names don't work for Title MythTV - Video Library unknown Patch - Bug Fix Jan 12, 2014

When parsing the filename to create the title for the video, the system removes all dots (periods), however, when there are multiple single characters these are likely an abbreviation. Examples

House M.D G.I Joe

The issue is that when a lookup is done against tmdb, thetvdb, there is no match as what is searched is "House M D" or "G I Joe".

There are 2 ways to solve this. In the metadata Lookup, or in the logic to parse the filename. Metadata lookup would cover more areas, however, at this point, the user may have altered the name, so we should lookup exactly what they have asked.

Pull will be attached shortly.


gigem (1 match)

Ticket Summary Component Milestone Type Created
Description
#10682 Add excluded_cards to GET_FREE_RECORDER_LIST protocol command MythTV - General 29.2 Developer Task May 2, 2012

Currently we have to make many individual backend queries to work around this situation.

Also, change vector<> to QVector<> in this area of code.

See http://code.mythtv.org/cgit/mythtv/commit/?id=dc6a18af542c9de80f06cc22485d6ac8b932dfeb


jpoet (2 matches)

Ticket Summary Component Milestone Type Created
Description
#13321 Seg Fault when upgrading Steppes Theme MythTV - User Interface Library needs_triage Bug Report - Crash Sep 19, 2018

When upgrading to Steppes theme 2.40, mythfrontend fails with a seg fault. After restart it is ok.


#13297 Playback hangs and then times out after unpausing MythTV - Video Playback unknown Bug Report - General Jun 21, 2018

When unpausing playback after a moderate pause of a few minutes (I don't know exactly how long it takes), the frontend doesn't resume playback and is unresponsive to keypresses. It eventually times out after about 10 seconds and exits back to the watch recordings screen.


JYA (2 matches)

Ticket Summary Component Milestone Type Created
Description
#12295 LiveTV stalling and exiting at programme transitions after [4ff7c1fca] MythTV - Video Playback unknown Bug Report - General Oct 12, 2014

Running Gentoo, installing using ebuilds. When watching liveTV all versions newer than 317d5b7 keep stalling briefly every now and then (Waited XXXms for video buffers in log) and when one show ends and another one starts liveTV exits to main menu. This seems to be frontend problem only, my backend is updated to latest and works no problem.


#10370 DVD playback fail with default settings on MacOS X Ports - OSX unknown Bug Report - General Feb 22, 2012

Using MacOS 10.7 (or 10.6)

MythFrontend will fail to play any DVD

When selecting the play DVD option in the Optical Menu ; in the log you get:

libdvdread: Using libdvdcss version 1.2.9 for DVD access
libdvdread: Can't stat /dev/r/dev/disk1
No such file or directory
libdvdread: Could not open /dev/r/dev/disk1
libdvdnav: vm: failed to open/read the DVD
2012-02-22 21:33:51.365260 I  MediaMonitor::selectDrivePopup(Select a DVD drive) - No suitable devices
2012-02-22 21:33:51.366886 I  DVDInfo: Trying dvd://dev/r/dev/disk1
2012-02-22 21:33:51.369193 E  DVDInfo: Failed to open device at /dev/r/dev/disk1
2012-02-22 21:33:51.369200 I  DVDInfo: Finishing.

programs/mythfrontend/main.cpp automatically prefix the device name with /dev/r

Yet, the default device name it isn't defined by the user is /dev/disk1 (defined in libs/libmyth/mediamonitor_darwin.h

The documentation in the settings statea: "This device must exist, and the user playing the DVD needs to have read permission on the device. 'default' will let the MediaMonitor? choose a device"

using "default" does nothing, it uses /dev/disk1 unless defined in the settings, and default is /dev/disk1 which myth try to play as /dev/r/dev/disk1 which will *always* be an invalid device

The log also shows: MediaMonitor::selectDrivePopup(Select a DVD drive) - No suitable devices

No such popup ever appears...

MythFrontend should either automatically determine what the right DVD device is, not prepend /dev/r to any path name or properly display the selectDrivePopup


Klaas de Waal (14 matches)

Ticket Summary Component Milestone Type Created
Description
#12847 DVB adapter kept open forever at frontend timeout MythTV - Recording unknown Bug Report - General Aug 6, 2016

When/If? the frontend times out in LiveTV the adapter that was in use will be kept open forever by mythbackend. This will happen if you tune into a DVB channel that syncs, but doesn't contain a transmission. The problem here is that the current multi LNB setup method relies on the backend releasing the adapter for the other LNB:s to use when selected. At the moment on of these failures will require a reboot of the backend to clear out.

EIT scan also seems to be able to trigger a similar situation, where the adapter is kept open forever


#12184 CI/CAM: Connection establishment for not spec compliant CAMs broken MythTV - General unknown Bug Report - General Jun 24, 2014

This is for MythTV 0.27.1.

I do have a CAM that unconditionally sends T_SB for tcid 2 on connection open which is not spec compliant. MythTV basically provisions for such cases in cCiTransportConnection::CreateConnection?().

However, cCiTransportConnection::RecvTPDU() breaks this as it unconditionally calls Init() on any "error", thus resetting the processing state from CREATION to IDLE.

The attached patch fixes this for my case and should be seen as a sample workaround. Actually some interworking between CreateConnection?() and RecvTPDU() is required to handle the retry cases in state CREATION properly.


#12483 When Scanning Pre-defined Muliplex's,.. Freqid is not entered. MythTV - Channel Scanner 32.0 Bug Report - General Aug 3, 2015

When Scanning/tuning Pre-defined Multiplex's,.. Freqid information is not entered into the database.

Although if a "full scan" and retune is performed Freqid information is entered correctly.


#12657 Missing HD channel multiplex MythTV - Channel Scanner 32.0 Bug Report - General Feb 21, 2016

Using 0.27.6 and HDHomeRun Connect dual tuner (UK). Freeview aerial pointed at Sandy Heath transmitter.

All channels one multiplex are missing.

Frequency table is set to 'try-all' (with 'europe-west' get no HD channels at all). Region is set to United-Kingdom.

Scanning (TV+radio) results in 131 channels. None of the BBC HD channels are found. On looking carefully nothing on multiplex PSB 3 is found. In backend 'edit transports' 8 frequencies are listed, and Sandy Heath does use 8, but not the same 8 - 474MHz is missing, and PSB 3 uses 474MHz.

If a new one is added (ATSC, 474000000, QAM-256), and channels rescanned, 141 are found and PSB 3 is found, and all expected HD channels are there.

Therefore, wondering if some embedded frequency table in the backend setup has an out of date list?


#13000 DiscEq setup cannot open all capture routes MythTV - DVB 32.0 Bug Report - General Feb 15, 2017

Setting up a DiscEq? according to the new rules mythfrontend tries to open all the channels during startup and fails on most of them due to the tuner being in use.

Error messages as follows: 2017-02-15 14:46:34.412969 W [2979/2979] CoreContext? recorders/dvbchannel.cpp:390 (CheckOptions?) - DVBChan[5](/dev/dvb/adapter5/frontend0): Selected fec_inner parameter unsupported by this driver. 2017-02-15 14:46:34.859730 I [2979/2979] CoreContext? recorders/dvbchannel.cpp:712 (Tune) - DVBChan[4](/dev/dvb/adapter9/frontend0): Next tuning after less than 1000ms. Delaying by 1000ms 2017-02-15 14:46:36.188478 I [2979/2979] CoreContext? recorders/dvbchannel.cpp:712 (Tune) - DVBChan[4](/dev/dvb/adapter9/frontend0): Next tuning after less than 1000ms. Delaying by 1000ms 2017-02-15 14:46:38.719512 W [2979/2979] CoreContext? recorders/dvbchannel.cpp:390 (CheckOptions?) - DVBChan[21](/dev/dvb/adapter5/frontend0): Selected fec_inner parameter unsupported by this driver. 2017-02-15 14:46:39.148910 W [2979/2979] CoreContext? recorders/dvbchannel.cpp:245 (Open) - DVBChan[25](/dev/dvb/adapter5/frontend0): Opening DVB frontend device failed.

eno: Operation not permitted (1)

2017-02-15 14:46:39.148921 E [2979/2979] CoreContext? recorders/dvbchannel.cpp:250 (Open) - DVBChan[25](/dev/dvb/adapter5/frontend0): Failed to open DVB frontend device due to fatal error or too many attempts. 2017-02-15 14:46:39.148927 E [2979/2979] CoreContext? recorders/channelbase.cpp:769 (CreateChannel?) - ChannelBase?: CreateChannel?() Error: Failed to open device /dev/dvb/adapter5/frontend0 2017-02-15 14:46:39.149440 E [2979/2979] CoreContext? main_helpers.cpp:202 (setupTVs) - Problem with capture cards. Card 25 failed init 2017-02-15 14:46:39.268178 W [2979/2979] CoreContext? recorders/dvbchannel.cpp:245 (Open) - DVBChan[26](/dev/dvb/adapter5/frontend0): Opening DVB frontend device failed.

eno: Operation not permitted (1)

2017-02-15 14:46:39.268191 E [2979/2979] CoreContext? recorders/dvbchannel.cpp:250 (Open) - DVBChan[26](/dev/dvb/adapter5/frontend0): Failed to open DVB frontend device due to fatal error or too many attempts. 2017-02-15 14:46:39.268199 E [2979/2979] CoreContext? recorders/channelbase.cpp:769 (CreateChannel?) - ChannelBase?: CreateChannel?() Error: Failed to open device /dev/dvb/adapter5/frontend0 2017-02-15 14:46:39.269198 E [2979/2979] CoreContext? main_helpers.cpp:202 (setupTVs) - Problem with capture cards. Card 26 failed init

As you can see the first opening of adapter5 (DVBChan[5]) is Ok, but the rest fail (DVBChan[25] and DVBChan[26])

And I HAVE ticked the "Release when not in use" in mythtv-setup...


#13463 Incorrect classification of data channels as TV channels MythTV - Mythtv-setup 32.0 Bug Report - General Jun 19, 2019

Some DVB satellite channels are incorrectly classified as TV channels. For example, channel "GFD Service" on Astra-1 19.2E is added to the list of TV channels even when in mythtv-setup/Channel Editor/Channel? Scan/Desired? Services only "TV" is selected.

Analysis shows that "GFD Service" has service_type 0x96. This is not a TV service but a "user defined" value as defined in "Table 89:Service type coding", page 83, DVB Bluebook A038, Feb 2019.

In MythTV the service_type evaluation is done in dvbdescriptors.h, function IsDTV. In addition to the service_type values defined in Table 89 there are also a number of user defined values classified as TV.
These additional values are used in the Dish/Echostar/Nimiq? satellite channels to identify TV channels, as described in ticket #2372. The service type 0x96 used by "GFD Service" is one of those additional values.

As I understand it, the user defined service_type values should be preceded by a private_data_specifier that identifies the user, as defined in https://www.dvbservices.com/identifiers/private_data_spec_id

In the aforementioned Astra-1 streams the private_data_specifier is present and has the value 0x2 which corresponds to BskyB.

The correct solution, as I see it, is to use the Dish/Echostar/Nimiq? service types only when they have been preceded by the correct private data specifier. For this I need to know if there are private data specifiers present and what the values are. If somebody knows this please tell me!

Another possibility is to use the original network ID to identify Dish/Echostar/Nimiq? services. This is implicitly suggested in comment 5 of ticket #2372 where the table dtv_privatetypes is mentioned. This table contains a network ID and a list of service types. However, I have not found code that does actually use this table. Also, given the rather static nature of these numbers (ticket #2372 was closed 11 years ago) a hard-coded implementation might be the best solution.

Comments are welcome!


#11870 Channel scanning deadlock with DVB MythTV - Channel Scanner 32.0 Bug Report - Hang/Deadlock Sep 21, 2013

I get a 100% reproducible deadlock when scanning for DVB channels.

It always happens on transponder 1070, which may mean this issue is hard to trigger.

Anyway this is clearly a deadlock:

DVBStreamHandler::RunTS()

holds MPEGStreamData::_encryption_lock and then tries to take ChannelScanSM::lock

ChannelScanSM::run()

holds ChannelScanSM::lock and then tries to take MPEGStreamData::_encryption_lock

callstack: #0 syscall () at ../ports/sysdeps/unix/sysv/linux/arm/syscall.S:37 #1 0x75a19624 in ?? () from /usr/lib/arm-linux-gnueabihf/libQtCore.so.4 #2 0x75a16cfe in QMutex::lockInternal() () from /usr/lib/arm-linux-gnueabihf/libQtCore.so.4 #3 0x769e24e0 in QMutex::lockInline (this=0xe236a8) at /usr/include/qt4/QtCore/qmutex.h:198 #4 0x769e2438 in QMutexLocker::QMutexLocker (this=0x642b993c, m=0xe236a8) at /usr/include/qt4/QtCore/qmutex.h:109 #5 0x76cf9f7c in ChannelScanSM::HandleEncryptionStatus? (this=0xe23660, pnum=2740, encrypted=true)

at channelscan/channelscan_sm.cpp:551

#6 0x76af79be in MPEGStreamData::ProcessEncryptedPacket? (this=0xe40890, tspacket=...) at mpeg/mpegstreamdata.cpp:2016 #7 0x76af47a2 in MPEGStreamData::ProcessTSPacket (this=0xe40890, tspacket=...) at mpeg/mpegstreamdata.cpp:1046 #8 0x76af4694 in MPEGStreamData::ProcessData? (this=0xe40890, buffer=0x6380a008 "G\037\220\220", <incomplete sequence \336>,

len=102648) at mpeg/mpegstreamdata.cpp:1022

#9 0x76dcbb4e in DVBStreamHandler::RunTS (this=0xe3d828) at recorders/dvbstreamhandler.cpp:266 #10 0x76dcad84 in DVBStreamHandler::run (this=0xe3d828) at recorders/dvbstreamhandler.cpp:118 #11 0x767ebcde in ?? () from /usr/lib/libmythbase-0.27.so.0 #12 0x75a1a49a in ?? () from /usr/lib/arm-linux-gnueabihf/libQtCore.so.4 ---Type <return> to continue, or q <return> to quit--- #13 0x75a1a49a in ?? () from /usr/lib/arm-linux-gnueabihf/libQtCore.so.4 Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 21 (Thread 0x652ba410 (LWP 27669)): #0 syscall () at ../ports/sysdeps/unix/sysv/linux/arm/syscall.S:37 #1 0x75a19624 in ?? () from /usr/lib/arm-linux-gnueabihf/libQtCore.so.4 ---Type <return> to continue, or q <return> to quit--- #2 0x75a16dcc in QMutex::lock() () from /usr/lib/arm-linux-gnueabihf/libQtCore.so.4 #3 0x769e24e0 in QMutex::lockInline (this=0xe4094c) at /usr/include/qt4/QtCore/qmutex.h:198 #4 0x769e2438 in QMutexLocker::QMutexLocker (this=0x652b9834, m=0xe4094c) at /usr/include/qt4/QtCore/qmutex.h:109 #5 0x76af71d2 in MPEGStreamData::TestDecryption? (this=0xe40890, pmt=0x6dca7170) at mpeg/mpegstreamdata.cpp:1885 #6 0x76cfa450 in ChannelScanSM::TestNextProgramEncryption? (this=0xe23660) at channelscan/channelscan_sm.cpp:627 #7 0x76cfb69e in ChannelScanSM::UpdateChannelInfo? (this=0xe23660, wait_until_complete=false)

at channelscan/channelscan_sm.cpp:877

#8 0x76cfede6 in ChannelScanSM::HandleActiveScan? (this=0xe23660) at channelscan/channelscan_sm.cpp:1584 #9 0x76cfe8d8 in ChannelScanSM::run (this=0xe23660) at channelscan/channelscan_sm.cpp:1482 #10 0x767ebcba in MThread::run() () from /usr/lib/libmythbase-0.27.so.0 #11 0x767ebcde in ?? () from /usr/lib/libmythbase-0.27.so.0 #12 0x75a1a49a in ?? () from /usr/lib/arm-linux-gnueabihf/libQtCore.so.4


#11482 Implement support for LNAs through DVB API MythTV - DVB 32.0 Developer Task Apr 10, 2013

http://linuxtv.org/downloads/v4l-dvb-apis/FE_GET_SET_PROPERTY.html#DTV-LNA

Since a lot of users have problems with drivers that default to disabling the LNA built into their tuners we should implement support for enabling the LNA when using the card with MythTV.

My experience of handling user support requests in IRC and mailing lists suggests that most users need the LNA enabled, so the simplest solution would just enable by default with a GUI option to disable it.

A better implementation would automatically the LNA if the signal strength/quality falls below a reasonable threshold. The difficulty here is that signal strength can change over time and with changes in weather, so the very best implementation would be tied to the signal monitor and work per-tune rather than be set once when scanning.


#11679 DVB-T2 mutlti PLP support MythTV - DVB unknown Developer Task Jul 14, 2013

I am unable to watch TV from PLP 1,2,3. I am use scan-s2 for scanning multiplex and found all channels in all PLP. MythTV found tv channes in PLP 0 only.


#12793 add configuration widget for "dvb_eitscan" to the HDHR configuration MythTV - HDHomeRun 32.0 Developer Task May 26, 2016

The setting already works, but can only be set by bypassing mythtv-setup. From mythtv/libs/libmythtv/videosource.cpp

class DVBEITScan : public CheckBoxSetting, public CaptureCardDBStorage
{
  public:
    DVBEITScan(const CaptureCard &parent) :
        CheckBoxSetting(this),
        CaptureCardDBStorage(this, parent, "dvb_eitscan")
    {
        setLabel(QObject::tr("Use DVB card for active EIT scan"));
        setValue(true);
        setHelpText(
            QObject::tr("If enabled, activate active scanning for "
                        "program data (EIT). When this option is enabled "
                        "the DVB card is constantly in-use."));
    };
};
DVBExtra::DVBExtra(DVBConfigurationGroup &parent)
    : count(new InstanceCount(parent.parent))
{
    VerticalConfigurationGroup* rec = new VerticalConfigurationGroup(false);
    rec->setLabel(QObject::tr("Recorder Options"));
    rec->setUseLabel(false);

    rec->addChild(count);
    rec->addChild(new DVBNoSeqStart(parent.parent));
    rec->addChild(new DVBOnDemand(parent.parent));
    rec->addChild(new DVBEITScan(parent.parent));
    rec->addChild(new DVBTuningDelay(parent.parent));

    addChild(rec);
}

likely can simply be added here

HDHomeRunExtra::HDHomeRunExtra(HDHomeRunConfigurationGroup &parent) :
    count(new InstanceCount(parent.parent))
{
    VerticalConfigurationGroup* rec = new VerticalConfigurationGroup(false);
    rec->setLabel(QObject::tr("Recorder Options"));
    rec->setUseLabel(false);

    rec->addChild(new SignalTimeout(parent.parent, 1000, 250));
    rec->addChild(new ChannelTimeout(parent.parent, 3000, 1750));
    rec->addChild(count);

    addChild(rec);
}

not changing the default behavior would be nice


#13472 Channel Scan improvements MythTV - Channel Scanner 32.0 Developer Task Jul 24, 2019

This ticket is intended to document and track non-trivial changes to the Channel Scan of mythtv-setup.

The idea is to add patches to this ticket that can be applied to the latest master. This gives the possibility for feedback and early testing, before the changes are committed to master.

The attached patch, 20190724-keep-channum-ok-all.patch, implements the following features.

1. Add "OK All" button

After a channel scan you can get a pop-up dialog with text like this:

"Channel xxx has channel number 1 but that is already in use. Please enter a unique channel number. Default is 5."

This question is repeated for each channel with a duplicate channel number, requiring a press on the OK button for each. There is now an "OK All" button that answers OK for all channels.

2. Keep existing channel numbers with a rescan

In mythtv-setup the channel number is by default the service ID of that channel, unless there is a LCN Logical Channel Number present. The channel numbers can later be modified with the Channel Editor of mythtv-setup.
However, this leads to conflicts when the video source is scanned again.
On a rescan mythtv-setup now keeps the existing channel numbers.
Previously, the only way known to me to have user-defined channel numbers is to run a SQL script over the channel table after each scan.

3. No more channel conflicts on service ID's

A "conflicting channel" in mythtv-setup is a channel that does not have a unique channel number. It is essential to have a unique channel number for all channels in a video source otherwise mythbackend can arbitrarily select any channel with the same channel number for a recording.
However, mythtv-setup also considers a channel conflicting if the service ID is the same as another channel and then forces the user to enter a unique channel number.
In my understanding this is a bug because A. it does not change the service ID and B. service ID's do not need to be unique.
For DVB the test on service ID is removed and all DVB channels are now considered "non-conflicting" to start with. Note that later on the check on uniqueness of the channel number is still done.

The test case for this is the Hotbird 13.0E satellite. This satellite has a number of different networks. Each network has probably unique service ID's but, over all channels of the satellite, there are many channels with identical service ID's and identical Logical Channel Numbers.
With this patch, mythtv-setup can now scan all channels of the Hotbird 13.0E with a minimum number of key presses by the user.


#11018 Distortion of Recordings/LiveTV if EIT-Scan is processing on another capturecard MythTV - General unknown Patch - Bug Fix Aug 18, 2012

After upgrading from MythTV 0.21 / Mythbuntu 08.10 to MythTV 0.24 / Mythbuntu 10.04 I detected distortions and artefacts in video/audio in recordings/LiveTV of my BT878/BTTV based DVB-S capturecard. After further investigations I saw that this was caused by an active EIT-Scan on my other DIBcom-3000mc based DVB-T card. If both two cards are active I saw lots of this lines in backend-log:

  E DVBRead mpeg/pespacket.cpp:79 (AddTSPacket) AddTSPacket: Out of sync!!! Need to wait for next payloadStart PID: 0x12, continuity counter: 6 (expected 5).

So I decided to switch of EIT-Scanning of the DVB-T card and the distortions were gone (But as DVB-T and DVB-S in my setup don't based on the same Video-Source I lost EPG-Information of DVB-T and had to record or look LiveTV on the DVB-T channels to update the information). I don't know If this was caused by mythtv or the LinuxTV-v4l/DVB driver framework but I hoped that updating to 0.25 makes things better. As the problem wasn't gone with 0.25 I decided to write a patch that switches of the EIT-Scanning at all capture-cards if a program records or I look liveTV. After the last record finishes the timer eitCrawlIdleStart is set again on all cards. With this attempt I also resolve another problem: I've setup my system to shutdown(hibernate) if it's idle and ACPI-wakeup before new recordings, but it never shutdown after a recording because a EIT-Scan on another card than the recording-card was running after the recording.

So now I provide the patch. Perhaps it could be helpful for some other people.


#13405 EIT missing on some HDHomeRun DVB-C channels MythTV - EIT needs_triage Patch - Bug Fix Feb 10, 2019

On DVB channels received with the four-channel HDHomeRun DVB-C network tuner only the first channel received by mythbackend has the EIT information. When more than one channel is received then the additional channels do not have the EIT information.
This is caused by how the mythbackend sets the PID filters in the HDHomeRun, as shown by the following piece of debug output:

2019-02-09 16:15:21.768390 I  HDHRSH[1](1410F45C): Filter: '0x0000-0x0001 0x0010-0x0012 0x0014 0x0064-0x0069 0x07d0-0x07d1 0x07db-0x07dd 0x0835-0x0837 0x0899 0x08fc 0x0c80 0x0f02'
2019-02-09 16:15:32.840527 I  HDHRSH[2](1410F45C): Filter: '0x0000-0x0001 0x0010-0x0011 0x0014 0x0064-0x0069 0x07d0 0x08fc 0x0b54 0x0dac 0x125c-0x125d 0x1268 0x12c1 0x1388'
2019-02-09 16:14:24.121511 I  HDHRSH[5](1410F45C): Filter: '0x0000-0x0001 0x0010-0x0011 0x0014 0x0064-0x0069 0x07d0 0x08fc 0x0dac 0x125c 0x1388-0x1389 0x1393 0x13ed'

The PID filter settings can be read more easily with the hdhomerun_config utility. In this case (at a different moment, hence different PID values) this gives:

[klaas@modu hdhomerun_config_gui]$ hdhomerun_config 1410F45C get /tuner1/filter
0x0000-0x0001 0x0010-0x0012 0x0014 0x0064-0x0069 0x01f6 0x01f8 0x01fa 0x01fc 0x01fe 0x0200 0x0202 0x07d0 0x08fc-0x08fd 0x0907-0x0908 0x0961-0x0963 0x09c5-0x0f02
[klaas@modu hdhomerun_config_gui]$ hdhomerun_config 1410F45C get /tuner2/filter
0x0000-0x0001 0x0010-0x0011 0x0014 0x0064-0x0069 0x07d0 0x08fc 0x0b54 0x0dac 0x125c-0x125d 0x1268 0x12c1 0x1388
[klaas@modu hdhomerun_config_gui]$ hdhomerun_config 1410F45C get /tuner3/filter
0x0000-0x0001 0x0010-0x0011 0x0014 0x0064-0x0069 0x01f4 0x01f6 0x01f8 0x01fa 0x01fc 0x01fe 0x0200 0x0202 0x0204 0x0206 0x0208 0x020a-0x0fa2
[klaas@modu hdhomerun_config_gui]$

Here also the filter of the first tuner includes PID range 0x0010-0x0012, thus including the EIT PID 0x12; the filters of the second and third tuner do not include PID 0x12.

Initial PID filter values DVB_NIT_PID, DVB_SDT_PID and DVB_TDT_PID are set in the constructor and in the Reset function of DVBStreamData (file dvbstreamdata.cpp).
The problem is fixed by adding DVB_EIT_PID to this list.
This is how the PID filters look after the patch has been applied, recording on three of the four channels:

[klaas@modu hdhomerun_config_gui]$ hdhomerun_config 1410F45C get /tuner0/filter
0x0000-0x0001 0x0010-0x0012 0x0014 0x0064-0x0069 0x07d0 0x08fc 0x0b54 0x0dac 0x0f02 0x125c 0x1388-0x1389 0x1394 0x13ed
[klaas@modu hdhomerun_config_gui]$ hdhomerun_config 1410F45C get /tuner1/filter
0x0000-0x0001 0x0010-0x0012 0x0014 0x0064-0x0069 0x01f6 0x01f8 0x01fa 0x01fc 0x01fe 0x0200 0x0202 0x07d0 0x08fc 0x0a28-0x0a29 0x0a33-0x0a34 0x0a8d-0x0ed8
[klaas@modu hdhomerun_config_gui]$ hdhomerun_config 1410F45C get /tuner2/filter
0x0000-0x0001 0x0010-0x0012 0x0014 0x0064-0x0069 0x07d0-0x07d1 0x07db 0x0835 0x08fc 0x1004 0x125c 0x14b4

Now all three tuner filters include PID range 0x0010-0x0012.

A patch for the fix in dvbstreamdata.cpp is attached.

The question remains why the EIT is received on my KNC-One DVB-C tuners and on the first channel of the HDHomeRun without this fix.

FYI, this problem appeared with extensive testing of ticket #10101 in which EIT data is used to make recording timing more accurate. This fails when there is no EIT data available.


#13121 Sat>IP client support MythTV - Recording needs_triage Patch - Feature Sep 10, 2017

The changes in the branch at https://github.com/cguedel/mythtv/tree/devel/satip add Sat>IP support to the backend. This allows the backend to use Sat>IP compliant networked tuners to record DVB-C/DVB-S/DVB-T programs.

This works relatively stable for me, however I can only test DVB-C on one network. Also, the channel scanner seems to be broken for this network, so I can't really test that.

EIT scanning is also working.

Support for DVB-S is certainly lacking, as the Diseqc configuration is missing altogether.

Also, this only implements the "Unicast Only Profile" as per the Sat>IP spec found at http://www.satip.info/sites/satip/files/resource/satip_specification_version_1_2_2.pdf. Multicast is not supported.


Nicolas Riendeau (1 match)

Ticket Summary Component Milestone Type Created
Description
#12997 [PATCH] Country name correction MythTV - General unknown Patch - Bug Fix Feb 10, 2017

Country name correction for future localization tasks (zh_TW).

https://github.com/MythTV/mythtv/pull/128

Reference (if anyone is interested): https://en.wikipedia.org/wiki/Taiwan


David Hampton (1 match)

Ticket Summary Component Milestone Type Created
Description
#13561 Run clazy over sources. MythTV - General 32.0 Bug Report - General Jan 17, 2020

Clazy is based on clang-tidy and checks for proper usage of the Qt API.

https://github.com/KDE/clazy/


mark-kendall (8 matches)

Ticket Summary Component Milestone Type Created
Description
#13557 Decode errors MythTV - Video Decoding 32.0 Bug Report - General Jan 14, 2020

mythtv-frontend 2:30.0+fixes.201912012038.a27754a~ubuntu19.10.1

When using VAAPI2 decoder: With some recordings playback ends with decode error. If I symlinked the respective ts-file from recordings directory to videos directory I could play it there without the error.

When using Standard decoder: The decode error may happen even if I play from the videos directory. (Besides frontend chashes often.)


#11137 Misformed Captions/subtitles MythTV - Captions 32.0 Bug Report - General Oct 2, 2012

I use Mythbuntu 0.25+fixes

I rip my dvd's with Handbrake to m4v or mkv container format using x264 codec. I rip the subtitles for danish - my native language. They are not burned in but rather included as default subtitle in the video file.

When i play back the videos in Mythtv the subtitles are crude to look at and have a thick contrasting frame around each letter.

When i play the same video file in VLC the subtitles are normal and nice to lokk at and easy to read.

Capture of video played by Mythtv:
http://postimage.org/image/to37bns4r/

Capture of same video played by VLC:
http://postimage.org/image/aezvulcvr/


#12907 Shaking while picture panning on Raspberry Pi Ports - rPi 31.1 Bug Report - General Oct 23, 2016

In sports programs where there is rapid panning of the picture, the video sometimes shakes on a Raspberry Pi 3. The same video plays perfectly smoothly on an amd64 with VDPAU.


#13185 UI Issues with macOS High Sierra Ports - OSX 31.1 Bug Report - General Dec 1, 2017

A MacPorts? user reported various problems with MythTV on macOS 10.13 ("High Sierra"). I've set up a High Sierra VM and installed myth 0.28.2 on it. There are several major UI problems:

1) mythtv-setup shows a blank screen on startup. Clicking anywhere allows the main menu show. It is then easy to trigger the problem where screens stop responding to the keyboard—have to click with a mouse to get focus back For example, adding a new capture card or even just entering the Video Source Setup screen. See #12857 for more description.

2) mythfrontend - shows a menu when it should be in full screen mode. I'll attach a screen grab.

3) mythfrontend - stops responding to the keyboard in certain spots. For example if I enter the Setup > General screen. As above for mythtv-setup, have to click to get focus back.

4) mythfrontend — Dock is properly hidden when starting this app. (The Dock is the macOS application launcher that, by default, floats above other windows.) However, the Dock does not reappear when after exiting mythfrontend. Have to toggle a setting in System Preferences to get the Dock to reappear.

#1 and #3 mean that Myth can no longer be used via a 'ten-foot interface'. It is easy to get into situations where one has to click a mouse to regain control of the application.

#2, #3, and #4 only occur on High Sierra. Need to test #1 under other OS versions to be sure. Myth was built with Qt 5.9.2--version info attached.


#13553 mythtv-setup screen does not full draw - I assume it's to do with backing store MythTV - Mythtv-setup 31.1 Bug Report - General Jan 12, 2020

If I reboot, then start the FE, any future attempts to run mythtv-setup fails with the attached screen. The view is not being properly updated. If I switch to another virtual desktop, then back to the original, mythtv-setup does get redraw correctly. I have to do this every time I change something.

The FE has always worked correctly, just not mythtv-setup.

I could get round this my resetting changing from OpenGL to QT and back again, but these were removed a while ago.

This has been happening for a few years, however with the removal, I now find it intolerable.

This is with opensuse 15.1/packman updates. I'm sure this went back to the opensuse 14 days.


#13554 FPS drops to 4 or few per second and audion sync lost when there is transmission corruption MythTV - General needs_triage Bug Report - General Jan 12, 2020

When I view terrestial transmission, my connection is not great so I occasionally get errors.

When an error does occur, the fps from from 50 to around 4.

If I pause then unpause, the fps increases to 100+, then once it catches up, it reverts back to 50.

With the corruption though, lipsync is lost.


#13568 time details on OSD not updated on program change on live tv MythTV - Video Playback 32.0 Bug Report - General Jan 31, 2020

Start watching live tv... pause it for 10 seconds... the current position and the program length both get updated correctly when you hit 'i' for the position OSD.

Now wait for a program change... if you hit 'i' the position info has both the current length and the position in are both the same.

Now pause it.. you will see both numbers steadily increasing.

Not a big bug, but bug none the less.


#13530 Add support for rendering YUVA pixel formats MythTV - Video Playback 32.0 Developer Task Dec 3, 2019

FFmpeg has a number of YUVA pixel formats that can be rendered without issue. The change is more invasive however as we need to extend VideoFrame? to support 4 planes. Proof of concept patch attached for initial YUVA420P support but I'm not going to commit anything before 0.31 is out. (N.B. Patch also requires Qt5.8 as written).


sphery (4 matches)

Ticket Summary Component Milestone Type Created
Description
#11004 Master backend tries to record to non-existent directory MythTV - Recording unknown Bug Report - General Aug 15, 2012

I've had a persistent issue for about a year where the master backend will try to record to a directory listed in the storage group that isn't present on that system. The only way I've been able to get the system to work is to mount the directory using NFS, however I would prefer to have it work without doing that.

I have the storage group defined on the master backend with the following:

/var/mythtv/tv/recordings/
/var/mythtv/tv2/recordings/
/var/mythtv/tv3/recordings/
/var/tv/recordings/
/var/tv2/recordings/

The first three directories are on the master backend and the last two are on the slave backend. Nothing is defined on the slave backend. My understanding is that the master backend will realize that the last two directories do not exist on that system and not use them, however, on my system, it repeatedly tries to anyway.

I have tried removing all storage group information and re-entering it with no difference.

I posted my issue on the mythtv-users mailing list and Michael Dean asked me to provide some details which I have included below.

master backend:

bob@mythbox:~$ ls -ld /var/{,mythtv/}tv*/recordings
ls: cannot access /var/tv*/recordings: No such file or directory
drwxrwxrwx 2 bob bob  24576 2012-07-19 22:33 /var/mythtv/tv2/recordings
drwxrwxrwx 2 bob bob 126976 2012-07-24 11:43 /var/mythtv/tv3/recordings
drwxrwxrwx 2 bob bob 135168 2012-07-24 12:39 /var/mythtv/tv/recordings

bob@mythbox:~$ df -k /var/{,mythtv/}tv*/recordings
df: `/var/tv*/recordings': No such file or directory
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda2            709363588 692880936  16482652  98% /var/mythtv
/dev/sdb1            1953446464 1896418576  57027888  98% /var/mythtv/tv3
/dev/sdc1            1952558140 1895880720  56677420  98% /var/mythtv/tv

slave backend:

bob@mail:~$ ls -ld /var/{,mythtv/}tv*/recordings
ls: cannot access /var/mythtv/tv*/recordings: No such file or directory
drwxrwxrwx 2 bob bob 49152 2012-07-24 12:39 /var/tv2/recordings
drwxrwxrwx 2 bob bob 20480 2012-07-16 18:14 /var/tv/recordings

bob@mail:~$ df -k /var/{,mythtv/}tv*/recordings
df: `/var/mythtv/tv*/recordings': No such file or directory
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sdb1            976694464 919833692  56860772  95% /var/tv2
/dev/sda2            200184560 183212220  16972340  92% /var/tv

Here is the storage group table:

 +----+-------------+----------+----------------------------------+
| id | groupname   | hostname | dirname                          |
+----+-------------+----------+----------------------------------+
|  9 | Default     | mythbox  | /var/mythtv/tv/recordings/       |
| 12 | Default     | mythbox  | /var/tv/recordings/              |
| 10 | Default     | mythbox  | /var/mythtv/tv2/recordings/      |
| 11 | Default     | mythbox  | /var/mythtv/tv3/recordings/      |
| 14 | Default     | mythbox  | /var/tv2/recordings/             |
| 15 | Videos      | mythbox  | /var/mythtv/videos/              |
| 16 | Coverart    | mythbox  | /var/mythtv/artwork/coverart/    |
| 17 | Fanart      | mythbox  | /var/mythtv/artwork/fanart/      |
| 18 | Screenshots | mythbox  | /var/mythtv/artwork/screenshots/ |
| 19 | Banners     | mythbox  | /var/mythtv/artwork/banners/     |
+----+-------------+----------+----------------------------------+

He requested that I run the backend with the parameters -v file,schedule --loglevel debug. The error appeared pretty quickly. I have attached the log file.

I cut off the log file right after the error appeared. Please let me know if you need any additional information.


#11509 mythfilldatabase pulls incorrect channel information from Schedules Direct MythTV - General unknown Bug Report - General Apr 26, 2013

I was having this issue on version 0.25 and recently upgraded to 0.26.0_p2013022 (Gentoo) in hopes of fixing it, but no luck. I am using the HDHR Prime with Verizon FIOS and Schedules Direct. My issue is I have missing channels, duplicate channels and channels with the wrong channel numbers.

I tried re-adding the video sources after I upgraded. Did a mythfilldatabase and grabbed all the channels from Schedules Direct.

The issue is 100% reproducible.


#12312 mythfilldatabase (SD/DD) does not honour $TMPDIR MythTV - Mythfilldatabase unknown Patch - Bug Fix Nov 2, 2014

The Schedules Direct grabber does not honour (i.e. use) $TMPDIR if it's set.

I will attach a patch that I *think* should do the trick. I only very very occasionally find myself C++ programming so it might be quite right. Constructive criticism welcomed.


#10056 Move SQL statement for jumppoint and keybinding MythTV - General unknown Patch - Feature Sep 23, 2011

It make sense to group all the SQL statements relative to the key bindings and jump points together


mspieth (1 match)

Ticket Summary Component Milestone Type Created
Description
#13563 Update android build to latest tools Ports - Android needs_triage Bug Report - General Jan 20, 2020

Update android build tools to use latest tools and sdk

NDK 20b SDK 28 (29 is latest but not yet prevalent)


paul-h (5 matches)

Ticket Summary Component Milestone Type Created
Description
#12550 IPTV Recorder error with EXT-X-VERSION:5 MythTV - Recording needs_triage Bug Report - General Nov 20, 2015

In attempting to use HLS stream

https://sevenwestmedia01-i.akamaihd.net/hls/live/224813/MEL1/master.m3u8

as an IPTV recorder playback just hangs. Verbose logging suggests when the playlist is parsed the HLS Reader doesn't understand EXT-X-VERSION:5

Output from backend log attached.


#12805 Plugin MythMusic crashes on a specific WMA file Plugin - MythMusic unknown Bug Report - Crash Jun 6, 2016

Playing one of my WMA files causes a segfault in mythfrontend after 5 seconds of playing. Nothing obviously wrong I can spot with the file. Pressing I on the file in mythMusic brings up all the metadata correctly.

I suspect the embedded album art.

Last time I had a problem with one file https://code.mythtv.org/trac/ticket/12403 the fantastic Paul Harrison fixed it very quickly once he had the file in hand. So rather than attaching a trace, I'm linking to the file.

http://codeworks.gen.nz:81/tt/bug.wma

This file has caused crashes for a long time. So it's not due to a recent change. It's taken me a while to track down as the place in the playlist is forgotten so I had to catch it happening.


#12350 segfault in mythzmserver when zoneminder was stoped by user Plugin - MythZoneminder unknown Bug Report - General Jan 20, 2015

Current mythtv master has nice enhancement where user can be notified about zoneminder alarms. When usage scenario is scenario with zoneminder running non-stop - all seems to be OK. My home system uses zoneminder with running state _only when home monitoring is armed_ (there is nobody home). When anybody arrives - zoneminder is turned-off before entry. However in my case, mythzmserver is still constantly 'on' - as without it, starting FE shows error notification at start about missing mythzmserver. Unfortunately having zoneminder stopped but mythzmserver running gives segfaults in mythzmserver at FE start. mythzmserver log is following:

-- Logs begin at Tue 2015-01-13 20:14:46 CET, end at Tue 2015-01-20 15:22:44 CET. --
Jan 20 15:22:28 mythtv mythzmserver[31816]: loading zm config from /etc/zm.conf
Jan 20 15:22:28 mythtv mythzmserver[31816]: ZM is version '1.28.0'
Jan 20 15:22:28 mythtv mythzmserver[31816]: Listening on port: 6548
Jan 20 15:22:28 mythtv mythzmserver[31816]: Failed to shmget for monitor: 5
----------------------------------------------------------------------

trace from segfaulted mythzmserver is following:

----Proces trace------------------------------------------------------
GNU gdb (GDB) 7.4.1
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/mythzmserver...done.
[New LWP 31816]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Core was generated by `/usr/bin/mythzmserver'.
Program terminated with signal 11, Segmentation fault.
#0  0x0000000000407471 in MONITOR::getState (this=0x2f83d50)
    at zmserver.cpp:399
(gdb) quit
----------------------------------------------------------------------


#13608 IPTV Streaming issues with AES-128 encryption MythTV - HTTP Streaming needs_triage Bug Report - General Apr 16, 2020

I've seen this issue with a number of streams including

Some of these streams are geo-restricted - but the ABC OZ stream might work outside of OZ.


#13592 mythmusic fixes for multiple discs Plugin - MythMusic needs_triage Patch - Feature Feb 26, 2020

Ref: https://github.com/MythTV/mythtv/pull/191

I noticed that mythmusic wasn't handling multi-disc albums correctly.

  • the flacvorbis metadata handler didn't know about the DISCNUMBER tag so I added it (I added TOTALTRACKS and TOTALDISCS while I was there too). My goto reference for tag names is https://picard.musicbrainz.org/docs/mappings/ (all my music is tagged using Picard so this is what I've ended up with).
  • once the discnumber was in the DB I noticed that the album sort wasn't handling it correctly, e.g. for a two disc album it would sort disc.track-wise as 1.1, 2.1, 1.2, 2.2, etc rather than 1.1, 1.2, ..., 2.1, 2.2. Incorporate the disc number into the album order to correct this. I believe a single CD can have at most 99 tracks so use a multiplier of 100. This means a 10 disc box set would clash with album map order offset of 1000, so bump that to 10000.

I've been running this on my v30 based production system for a week and have tested against master. I don't know if it is too late for v31.0 but might be nice to have for v31.1?


paulh (1 match)

Ticket Summary Component Milestone Type Created
Description
#12640 mythplugins/configure fails to find cdio/cdda.h Plugin - MythMusic 29.2 Bug Report - General Feb 5, 2016

I haven't attempted to build mythplugins for a couple of years. All the pre-reqs are installed. However, mythplugins reports

...
        libcdio        support will not be included in MythMusic

config.ep includes:

check_lib cdio/cdio.h cdio_open -lcdio
check_header cdio/cdio.h
check_cpp
BEGIN /opt/local/var/macports/build/_Users_craigtreleaven_MacPortsTemp_mythtv.27/mythtv-plugins.27/work/.tmp/mythplugins_conf.vMrvu20m.c
    1	#include <cdio/cdio.h>
    2	int x;
END /opt/local/var/macports/build/_Users_craigtreleaven_MacPortsTemp_mythtv.27/mythtv-plugins.27/work/.tmp/mythplugins_conf.vMrvu20m.c
/usr/bin/clang -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_DARWIN_C_SOURCE -DPIC -pipe -std=c99 -fomit-frame-pointer -fPIC -g -Wall -Wno-parentheses -Wno-format-zero-length -Wdisabled-optimization -Wpointer-arith -Wno-pointer-sign -Wwrite-strings -Wtype-limits -Wundef -Wno-pointer-to-int-cast -Wstrict-prototypes -O3 -fno-math-errno -fno-signed-zeros -O3 -fno-math-errno -fno-signed-zeros -Qunused-arguments -Werror=implicit-function-declaration -Werror=return-type -E -o /opt/local/var/macports/build/_Users_craigtreleaven_MacPortsTemp_mythtv.27/mythtv-plugins.27/work/.tmp/mythplugins_conf.WyESZ2FS.o /opt/local/var/macports/build/_Users_craigtreleaven_MacPortsTemp_mythtv.27/mythtv-plugins.27/work/.tmp/mythplugins_conf.vMrvu20m.c
check_func cdio_open -lcdio
check_ld -lcdio
check_cc
BEGIN /opt/local/var/macports/build/_Users_craigtreleaven_MacPortsTemp_mythtv.27/mythtv-plugins.27/work/.tmp/mythplugins_conf.vMrvu20m.c
    1	extern int cdio_open();
    2	int main(void){ cdio_open(); }
END /opt/local/var/macports/build/_Users_craigtreleaven_MacPortsTemp_mythtv.27/mythtv-plugins.27/work/.tmp/mythplugins_conf.vMrvu20m.c
/usr/bin/clang -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_DARWIN_C_SOURCE -DPIC -pipe -std=c99 -fomit-frame-pointer -fPIC -g -Wall -Wno-parentheses -Wno-format-zero-length -Wdisabled-optimization -Wpointer-arith -Wno-pointer-sign -Wwrite-strings -Wtype-limits -Wundef -Wno-pointer-to-int-cast -Wstrict-prototypes -O3 -fno-math-errno -fno-signed-zeros -O3 -fno-math-errno -fno-signed-zeros -Qunused-arguments -Werror=implicit-function-declaration -Werror=return-type -c -o /opt/local/var/macports/build/_Users_craigtreleaven_MacPortsTemp_mythtv.27/mythtv-plugins.27/work/.tmp/mythplugins_conf.WyESZ2FS.o /opt/local/var/macports/build/_Users_craigtreleaven_MacPortsTemp_mythtv.27/mythtv-plugins.27/work/.tmp/mythplugins_conf.vMrvu20m.c
/usr/bin/clang -Wl,-dynamic,-search_paths_first -o /opt/local/var/macports/build/_Users_craigtreleaven_MacPortsTemp_mythtv.27/mythtv-plugins.27/work/.tmp/mythplugins_conf.RJcXchI4 /opt/local/var/macports/build/_Users_craigtreleaven_MacPortsTemp_mythtv.27/mythtv-plugins.27/work/.tmp/mythplugins_conf.WyESZ2FS.o -lcdio -framework CoreFoundation -framework VideoDecodeAcceleration -framework QuartzCore -lxml2 -lcrypto -lass -lfftw3_threads -lfftw3f -lfftw3 -lmp3lame -lm -liconv -L/opt/local/lib -lfreetype -lx264 -lmp3lame -lfaac -lm -lbz2 -lz
check_lib cdio/cdda.h cdio_cddap_open -lcdio_cdda
check_header cdio/cdda.h
check_cpp
BEGIN /opt/local/var/macports/build/_Users_craigtreleaven_MacPortsTemp_mythtv.27/mythtv-plugins.27/work/.tmp/mythplugins_conf.vMrvu20m.c
    1	#include <cdio/cdda.h>
    2	int x;
END /opt/local/var/macports/build/_Users_craigtreleaven_MacPortsTemp_mythtv.27/mythtv-plugins.27/work/.tmp/mythplugins_conf.vMrvu20m.c
/usr/bin/clang -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_DARWIN_C_SOURCE -DPIC -pipe -std=c99 -fomit-frame-pointer -fPIC -g -Wall -Wno-parentheses -Wno-format-zero-length -Wdisabled-optimization -Wpointer-arith -Wno-pointer-sign -Wwrite-strings -Wtype-limits -Wundef -Wno-pointer-to-int-cast -Wstrict-prototypes -O3 -fno-math-errno -fno-signed-zeros -O3 -fno-math-errno -fno-signed-zeros -Qunused-arguments -Werror=implicit-function-declaration -Werror=return-type -E -o /opt/local/var/macports/build/_Users_craigtreleaven_MacPortsTemp_mythtv.27/mythtv-plugins.27/work/.tmp/mythplugins_conf.WyESZ2FS.o /opt/local/var/macports/build/_Users_craigtreleaven_MacPortsTemp_mythtv.27/mythtv-plugins.27/work/.tmp/mythplugins_conf.vMrvu20m.c
/opt/local/var/macports/build/_Users_craigtreleaven_MacPortsTemp_mythtv.27/mythtv-plugins.27/work/.tmp/mythplugins_conf.vMrvu20m.c:1:10: fatal error: 'cdio/cdda.h' file not found
#include <cdio/cdda.h>
         ^
1 error generated.

I think configure should be using pkg-config. On this system pkg-config reports:

$ pkg-config --libs libcdio libcdio++ libcdio_paranoia
-L/opt/local/lib -lcdio++ -lcdio -lm -Wl,-framework,CoreFoundation -Wl,-framework,IOKit -Wl,-framework,DiskArbitration -lcdio_paranoia -lcdio_cdda -lcdio -lm -liconv -Wl,-rpath,/opt/local/lib -Wl,-framework,CoreFoundation -Wl,-framework,IOKit -Wl,-framework,DiskArbitration 

Attaching config.ep


rcrdnalor (2 matches)

Ticket Summary Component Milestone Type Created
Description
#13622 Python Bindings: traceback in datetime.timestamp() Bindings - Python 31.1 Bug Report - General May 22, 2020

Using Python3.6, the following sequence works:

$ python3
Python 3.6.9 (default, Apr 18 2020, 01:56:04) 
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from MythTV import datetime
>>> t = datetime.now()
>>> t.timestamp()
1590160731.214045

In contrast, on Python3.8, this gives an error:

$ python3
Python 3.8.2 (default, Apr 27 2020, 15:53:34) 
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from MythTV import datetime
>>> t = datetime.now()
>>> t.timestamp()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/local-admin/MythTV/mythservices/MythTV/utility/dt.py", line 483, in timestamp
    return ((utc_naive - utc_epoch).total_seconds())
TypeError: can't subtract offset-naive and offset-aware datetimes

Error reported on the MythTV forum: https://forum.mythtv.org/viewtopic.php?f=6&t=3793


#13620 Python: Create a high level interface to the existing 'services-api' module. Bindings - Python needs_triage Developer Task May 20, 2020

This interface should have the following attributes:

  • An easy to use class providing operations of a service defined in https://www.mythtv.org/wiki/Services_API
  • Usage of soap operations and data types retrieved from the 'WSDL' file provided by MythTV (see link above).
  • Automatically translate data types to/from the xml tree from/to the data types used in the MythTV Python Bindings, e.g. datetime, int, float, boolean types etc. are converted from/to strings of the xml elements.
  • Seamless integration to the existing bindings.
  • Usage of the existing 'services-api' module as transport layer.
  • Simple caching per session of the wsdl structure.
  • No additional dependencies, no additional python packages required.
    Note: This may change in future, once a python package providing soap operations (like python-zeep) gets broader acceptance.

Cons: Python3 only, because MythTV deprecated python2 already.

See https://www.mythtv.org/wiki/Release_Notes_-_31


Roger Siddons (4 matches)

Ticket Summary Component Milestone Type Created
Description
#12287 Extend Watch Recording 'jump' to all groups MythTV - General unknown Patch - Feature Sep 29, 2014

Ticket https://code.mythtv.org/trac/ticket/12157 introduced a very useful feature for navigating between the groups containing a specific recording. However it is currently limited to title groups.

If the group filter does not contain titles then the menu for recordings in "All Programmes" still shows a "List Recorded Episodes" button that performs no action.

For recordings in other groups (watchlist, category, search rules etc) it will navigate to "All Programmes" but then there is no convenient way of returning to the original group.

This patch reimplements the feature as a cyclic search that navigates between all displayed groups (in order of display).

If the group filter contains only titles (typical configuration?) then the behaviour is unchanged, ie. it will toggle between "All Programmes" and the Title group (although the menu options "List All Recordings"/"List Recorded Episodes" are replaced by "Show Next Group").

However, when the group filter also contains other groups (showing the recording), it will cycle through them all of them. For example. for a group filter of Titles, Watchlist & Category (where the title group is shown before the Category group) the navigation will be Watchlist -> the Title Group -> the Category -> All Programmes -> Watchlist etc.

This is much more useful to Watchlist users in particular.


#12296 Watchlist Improvements MythTV - General unknown Patch - Feature Oct 12, 2014

The watchlist has 2 functions:

a) to select the 'first' episode of each series of recordings, b) to present the resulting titles in a convenient order for watching

Issues

(a) 1. It currently selects the earliest/oldest episode so the wrong recording is shown when episodes are recorded out of order.

(a) 2. Series are grouped by recording rule. For rules that record different titles, the later ones will be hidden. Multiple episodes of the same title are shown when multiple rules record the same title.

(b) 3. Current ordering uses arbitrary weightings with a highly subjective set of rules summarised as:

  • promote series with many episodes
  • promote series that are about to record again
  • promote new recordings for 42 hrs
  • promote recordings from the same time of day, demote others
  • promote daily/weekly recordings
  • hide series that have been recently deleted
  • promote quickly watched series
  • demote old recordings

In practice this produces a seemingly random and unintuitive order which is then frequently reshuffled.


A series of patches is attached for ease of review, but should be applied in sequence.

  1. Group watchlist recordings by title rather than recording rule. Thus different titles recorded by a one rule are all shown and a single title recorded by multiple rules are grouped together. Also a pre-requisite for selection by episode number.
  1. 'First' episodes are selected by season/episode as well as age. Initial selection is age. However if the oldest episode has season/episode numbers assigned then it is superseded by any earlier season/episode that exists. Specials or untagged recordings that co-exist with tagged ones thus appear in proper sequence.
  1. The watchlist currently caches its scores in ProgramInfo::recpriority2 in order to display the program score/state on the Info/ProgDetails screen. This is confusing and an abuse of ProgramInfo.
    The score/state is of no interest to the user, who cannot alter it. It is debug information that belongs in the logs and has been removed along with the ProgramInfo caching.
    Themes should remove WATCH_LIST_SCORE & WATCH_LIST_STATUS widgets from progdetails*.html. However they are set as empty to prevent breakage for now.
  1. A new UI widget "watchtotal" enables the watchlist to show the number of episodes of each title, for example a "recordings" buttonlist widget of:
    <textarea name="title">
      <template>%title%% (|watchtotal| episodes)%% - "|subtitle|"%</template>
    </textarea>
    
    will produce:
    The Simpsons (15 episodes) - "Homer does something stupid"
    
    This widget only exists when the Watchlist group is selected in the groups list - for other groups it will show the usual:
    The Simpsons - "Homer does something stupid"
    
  1. Restructures the code to support multiple sort strategies. Adds a setting "WatchListOrder" so the user can select their preferred sorting strategy in Setup/TV Settings/TV Playback/Page 6. It defaults to "Classic" - the existing strategy.
  1. Adds a new simplified sort strategy "LimitedOldest" that is IMHO more stable, intuitive & useful. Titles are ordered by record date (oldest first). New titles & quickly-watched titles are placed at the top; titles that remain unwatched are relegated to the bottom. Two new settings "PlaybackWLRecentLimit" & "PlaybackWLOldLimit" are introduced so the user can adjust this behaviour.

#12297 Upcoming Show Active filter MythTV - General unknown Patch - Feature Oct 12, 2014

The Upcoming Recordings screen has filters for "All" or "Important".

However "Important" still shows inactive rules and 'episode-limited' rules that aren't going to record. If there are lots (for example, to top up kids programmes) they clutter the view.

This patch adds a third filter "Active" that also filters these out to show only programmes that are going to record.

The menu is converted from a DialogBox to a MythMenu in order to use a sub-menu.


#12683 Add Zoomable guide/EPG MythTV - User Interface Library unknown Patch - Feature Mar 10, 2016

Prompted by: https://forum.mythtv.org/viewtopic.php?t=1358&p=6554

Allow themes to define zoomable guide widgets. When detected Zoom In/Out menu options appear to allow user to switch between them.

Also adds TV Frontend/Zoom In/Out key bindings but the number of different zoom bindings is growing - maybe they should be rationalised.

The widgets that are zoomable is prescribed by the code and should be added to the Theme Development Guide.

Zoomable theme widgets use the same principles as the Gallery - an integer suffix on the widget name indicates zoom level (0 = 'most zoomed out'). eg. guidegrid0, guidegrid1, guidegrid2...

Any number of zoom levels may be defined but they must be contiguous (discontiguous ones will be ignored)

Each widget may define different zoom levels. For zoom levels above those defined, the last widget will be used. eg. If a theme defines guidegrid0, guidegrid1, guidegrid2, timelist0, timelist1, then timelist1 will also be used for zoom level 2.

Backwards-compatible with existing themes, for which no zoom options appear and behaviour is unchanged. (An absent zoom suffix is equivalent to suffix "0").

Code defaults to zoom level 0 until user creates the setting by zooming. It could easily default to most zoomed in, but there's no simple way for theme to specify the default zoom level.

The theme file attached merges the modifications from the above thread with Mythbuntu 28.20. It's not pretty (different base theme versions ?) but serves as a demo and an example of how to easily define zoomable widgets. It would be even easier if relative sizing (<area>0,50%,100%,20%</area>) were used.


sphery (1 match)

Ticket Summary Component Milestone Type Created
Description
#12974 Auto expire has race condition MythTV - General 29.2 Bug Report - General Jan 7, 2017

The auto expiration of deleted programs has a race condition.

Recorded programs to be deleted are marked for deletion by setting deletepending=1 in the database and they are also added to a list to be deleted. The deletepending flag in the database stops this recording from appearing in the recording list or in the list of recordings to delete.

The race condition occurs if mythbackend is killed or dies after the recording is flagged for deletion but before it is deleted. The flag in the database stops the same recording from being added to the list again. The file therefore remains on the disk and the entry remains in the database but it is invisible in the frontend recording list and will not be re-added to the list for deletion.

The patch attached is one solution, it may not be optimum. It ignores the deletepending flag if it was set more than 5 minutes ago. This stops the recording becoming invisible so it can be added to the list again and really get deleted.


Stuart Auchterlonie (8 matches)

Ticket Summary Component Milestone Type Created
Description
#7434 max episodes code doesn't respect autoexpire flag on a recording MythTV - General 29.2 Bug Report - General Oct 26, 2009

I've a recording rule setup as follows.

  • Max episodes = 20
  • Record new / delete old
  • Allow autoexpire

I decided i wanted to keep 1 of the 20 recordings and set autoexpire=off on that recording.

However when it recorded a new episode, that episode was removed because it was the oldest, in direct violation of autoexpire=off.

Stuart


#12932 Patch to EIT table version handling in DVBStreamData MythTV - DVB 32.0 Patch - Bug Fix Nov 21, 2016

DVBStreamData current uses code from MPEGStreamData to handle redundancy (duplicate checking) and version checking. This is fine where the tables concerned only use the mpeg PSIPTable TableIDExtension field to uniquely identify instances of sub tables. This is not the case for all DVB tables. In particular the Service Desctiption Table (SDT) and the Event Information Table (see ETSI EN 300 468 V1.15.1, section 3.1 Definitions, definition of sub_table). This patch currently deals with the EIT only. In the EIT case a unique instance of a subtable is identified by the TableID, the TableIDExtension(service_id), the transport stream id, and the original network id.

This patch implements a 64 bit key constructed from the above 4 values as an index instead of the 32 bit key used in the current code.

I have also implemented the following two items.

A function to check EIT table completeness in line with some of the other tables. I think it would be a good idea to pass this flag on to the EIT handling code where it can be used to delay handling of tables sections until the table is complete thus saving unnecessary scheduler calls. It would be even betwwen if the caching necessary to acheive this was also implemented in DVBStreamData in line with the other tables that do this.

Code to handle the "severe" (their words) derogation from the ETSI standard regarding the original network id field here in the UK. As an aside I suspect that the EIT handling only worked here in the UK because the EIT table version handling is broken.

Roger


#12625 Mythweb: Streaming from slave backends Plugin - MythWeb unknown Bug Report - General Jan 29, 2016

I did write up some patch for mythweb to enable streaming of recordings from slave backends.

My system is mythtv .27 on ubuntu 14.04.3

caveats:

  • requires libwww-perl (was installed on my clean ubuntu/mythtv setup)
  • high cpu usage on mythweb host (I'm trying to contact LWP maintainers)

please let me know what you think or if this is the wrong place.

the diff is against git: e56118573fad47a0272631156b2a390128a5c8ba

but I did only test it on my current ubuntu setup with mythweb: 2:0.27.0+fixes.20140324.8ee257c-0ubuntu3

stefan


#12976 Channel Icons not being downloaded from www.lyngsat-logo.com Services - Icon Downloads 29.2 Bug Report - General Jan 15, 2017

Install of 0.28, mythtv-setup seems to have tried downloading a package of Australian channel icons, but each one contains HTML errors like :

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /hires/aa/abc1_au.png
on this server.<br />
</p>
<hr>
<address>Apache Server at www.lyngsat-logo.com Port 80</address>
</body></html>

#13378 mythweb messes up database Plugin - MythWeb 32.0 Bug Report - General Jan 19, 2019

I click an entry, to record, in ‘Program Guide’ The previous show highlights. I click “Don’t record" on the wrong show, THIS entry cannot now be recorded. Going to mythfrontend->manage recordings->program guide it cant be recorded either. I again record the previous show but extend START and STOP times to get my showing. It records correctly.

I'm reporting an issue to help project, not for s solution. Is looks like the hotspot of a click refers to the wrong entry


#13379 schedule messed up by mythweb Plugin - MythWeb 32.0 Bug Report - General Jan 19, 2019

Recorder 1 is recording a show Virtual 2 is not busy Recorder 3 is recording back-to-back shows (SVU 1 hour) 1st show (1st SVU) is fine 2nd is red flagged as conflict Virtual 4 is busy recording

Rec 1 and 2 are on mux 1 Rec 3 and 4 are on mux 2

I edit rule for 1st show to extend end by 1 hour 1st and second show record fine both (shows record fine) (despite conflict marker)

Since mythfrontend is affected the DB must be affected, incorrectly, by mythweb.

Other schedule anomalies occurred (IE scheduling notifier that never goes away) not recorded as 'Not Listed' but live TV shows the program listed and I watch it

Again I report things for the project, not to seek a fix. I'm running Old Mythweb on a VM and no funnies occur (and have not occurred in years of use)


#12276 [PATCH] Fix channel display on mythweb schedules page Plugin - MythWeb 32.0 Patch - Bug Fix Sep 18, 2014

In the course of improving mythweb's handling of the "This Channel" filter with the patch in #11970, I apparently uncovered another older bug where the channel name and number was being clobbered by later schedules which shared the same channel due to a shared channel object. In other words, a schedule with the "This Channel" set would show "[Any]" instead of the specified channel number and name if there was another "Any Channel" schedule loaded after which was based on a program from that same channel, because the template modified the (shared) channel object name to "[Any]".

I'm creating a new ticket instead of re-opening the old ticket. I also expanded the logic to include "Find Daily" and "Find Weekly" schedules because those are also "Find Any" unless the "This Channel" filter is set.

The attached patch is against Master.


#12264 Add --bootstrap option to mythbackend MythTV - General 32.0 Patch - Feature Sep 7, 2014

See pull request

https://github.com/MythTV/mythtv/pull/85


stuartm (1 match)

Ticket Summary Component Milestone Type Created
Description
#11491 Patch to service api (content endpoint) allowing querying of recorded markup data MythTV - Services API - Backend unknown Developer Task Apr 17, 2013

This is a patch to allow the querying of RecordedMarkup? data via services api for third party player commskip.


Raymond Wagner (3 matches)

Ticket Summary Component Milestone Type Created
Description
#7990 Rework of status handling in mythjobqueue MythTV - Mythjobqueue 29.2 Developer Task Jan 29, 2010

The goal of this task is to remove (most of) the custom handling of mythcommflag and mythtranscode within the jobqueue code. The jobqueue will only be responsible for startup and success/failure logs and status updates. The jobs themselves will be responsible for any task specific information displayed in the terminal logs, database logs, or jobqueue table.


#10801 Video screenshot images don't load under certain conditions MythTV - Video Library unknown Bug Report - General Jun 5, 2012

When using storage groups for all video info (Videos themselves as well as meta images), individual episode screenshots do not load under certain conditions and the season cover art is shown instead.

Required conditions:

  • Remote frontend (ie screenshot directory is not locally accessible)
  • Video file that has screenshot and where file is not located in a top level directory (See below for further info)
  • View mode: Browse Library, Show Directory Structure

With the above conditions, if the file is located 1 directory level down from the Storage Group root, the screenshot loads OK. If it is more than 1 level down, the cover image is loaded, not the screenshot. Eg Storage group: /video/ File 1: /video/MyShow/episode1.avi <--- Works File 2: /video/MyShow/season 1/episode1.avi <--- Doesn't work

Note that if you do the same test on the machine where the screenshot files are actually located (Eg combined backend/frontend) everything works OK. It is only when on a remote frontend that this occurs.


#8962 playbackbox.cpp:extract_job_state() inefficient MythTV - General 29.2 Developer Task Sep 18, 2010

Right now it queries the info independently for every recording on screen. But it is much more efficient to get this info in MainServer::HandleQueryRecordings?() where we already do a partial bulk load of this info to set FL_COMMPROCESSING.


xris (1 match)

Ticket Summary Component Milestone Type Created
Description
#10456 Change packaging scripts to build noarch packages as noarch Packaging unknown Patch - Bug Fix Mar 14, 2012

Add BuildArch?: noarch to mythtv.spec and mythweb.spec in packaging/rpm. This will build packages that are not platform specific as noarch.


Note: See TracReports for help on using and creating reports.