Modify

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#4989 closed defect (invalid)

LiveTV picks a multirec set that is recording already

Reported by: mythtv.org@… Owned by: ijr
Priority: minor Milestone: unknown
Component: mythtv Version: 0.21-fixes
Severity: low Keywords: mythtv livetv multirec tuner encoder
Cc: Ticket locked: yes

Description

Hauppauge Nova-T 500 Dual DVB-T. 2 multirec each. So 4 tuners total.

Encoder 1 - Tuner 1
Encoder 2 - Tuner 1
Encoder 3 - Tuner 2
Encoder 4 - Tuner 2

Encoder 4 is recording, LiveTV picks Encoder 3. Meaning LiveTV is locked to that multiplex. Priorities are all at standard 0. I can switch to the other encoder manually.

Attachments (0)

Change History (13)

comment:1 Changed 7 years ago by Hadley Rich <hads@…>

Looks similar to #4909

comment:2 Changed 7 years ago by anonymous

Similar, although #4909 seems to be several things in one (can't switch tuner, picks tuner on same multiplex, segfaults).

This is just the fact that the algorithm for picking a tuner for LiveTV doesn't seem to take into account that the tuner is already in use.

It should work the same way as the scheduler. If a channel is on a different multiplex it would pick the other tuner. LiveTV should assume that the user wants access to all channels.

comment:3 Changed 7 years ago by Hadley Rich <hads@…>

Just to note that there weren't segfaults in #4909

comment:4 Changed 7 years ago by anonymous

Just to note #4909 is marked invalid due to no backtrace from segfault. Swiftly moving on ...

comment:5 Changed 7 years ago by Hadley Rich <hads@…>

Yes, but if you read the description and comments you will see that there is in fact no segfault.

comment:6 Changed 7 years ago by anonymous

The original ticket has no segfault but danielk marks it invalid .. twice. Hence new ticket. To be honest I searched for open tickets, if I'd of seen that I'd of commented. It would probably of been marked invalid again and a fight ensued. Maybe a new ticket isn't such a bad thing.

comment:7 Changed 7 years ago by skerit@…

A regular recording is able to choose the correct (virtual or not) tuner. Why can't LiveTV?

comment:8 Changed 7 years ago by skerit@…

I've tried to tackle this problem in the source, but I'm afraid I can't learn C++ and get acquainted with the MythtV source files that quick. To prove that we'r enot crazy, and that this is a big problem, I'll give you a detailed description of the problem:

There are 3 capture cards and 15 virtual tuners.

Tuner 1, 2, 3, 4, 5 for capture card A (Astra 2, 3) Tuner 6, 7, 8, 9, 10 for capture card B (Astra 1) Tuner 11, 12, 13, 14, 15 for capture card C (Astra 1, 2, 3)

When I start my first LiveTV instance, it tunes to an Astra 1 channel on tuner 15

When I start my second LiveTV instance, it tunes to the same channel. It does this on the same card, but on tuner 14 (which is kind of a waste, but still, it's good)

I can switch to every channel on this multiplex. Yay.

Then, I go to the Program Guide. I want to switch to another channel, also on Astra 1, but on a different multiplex. It starts to make the switch, but it fails, and retunes the first channel.

I try to tune a channel on Astra 2, but since it's also on this capture card, it doesn't think it needs to make the switch, and just fails.

So, what's happening? MythTV considers these virtual tuners to be real tuners. They're either available for every channel or they're not available at all, it has no in between.

comment:9 Changed 7 years ago by danielk

  • Resolution set to invalid
  • Status changed from new to closed

feature request without patch

comment:10 Changed 7 years ago by mythtv.org@…

I'm sure from the outset the LiveTV encoder selecter was not designed to pick a tuner that is being shared by another recording, when better options are available. If the recording encoder selector is able to select the appropriate encoder, why shouldn't LiveTV?

Multirec was added a few months ago but the encoder selecter for LiveTV has been abandoned?

I'm not saying that this is high priority, but to say that it isn't a bug is short sighted.

comment:11 Changed 7 years ago by S00ps

I have the same problem.. multi-recording between multiplexes works very nicely in VDR and allows selection of all channels if a free tuner card exists.. Mythtv doesn't select the free TV card by default in livetv and makes changing channels a pain.. it can't be that hard to default to the free card could it?? Sorry, Daniel, but everything seems to be working very nicely except for this glitch

comment:12 Changed 7 years ago by skerit@…

Indeed, closing this bug seems completely unfair. I can't understand how you could call this a feature request, when all we want is for MythTV to effectively use our tuners.

Maybe ticket #5998 (which plans on simplifying multirec) could tackle this issue?

comment:13 Changed 7 years ago by stuartm

  • Ticket locked set

You want enhanced functionality from multirec, aka a new feature. You want someone else to do all the work, otherwise there would be a patch. Yet somehow closing the ticket is completely unfair whilst expecting the devs to devote their time to your needs is not?

Add Comment

Modify Ticket

Action
as closed The owner will remain ijr.
The resolution will be deleted. Next status will be 'new'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.