Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Commits

Ticket #255: Improved scheduling of consecutive programs with pre-roll/overrecord

 

 

MythTV commits RSS feed   Index | Next | Previous | View Threaded


mythtv at cvs

Aug 23, 2005, 5:26 PM

Post #1 of 16 (3273 views)
Permalink
Ticket #255: Improved scheduling of consecutive programs with pre-roll/overrecord

#255: Improved scheduling of consecutive programs with pre-roll/overrecord
---------------------------------------------+------------------------------
Reporter: Max Barry <mythtv [at] maxbarry> | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone:
Component: mythtv | Version: head
Severity: medium | Cc: |
---------------------------------------------+------------------------------
Hello devs,

Attached is a patch to improve MythTV's scheduling of consecutive
programs. It's meant to help users in areas where TV stations tend not to
broadcast shows at the advertised time (e.g. Australians), and who try to
compensate for this with the global overrecord setting.

= Current Behavior =

When consecutive programs are scheduled, Myth will default them both to
the same tuner and ignore the global pre-roll and/or overrecord settings
-- even if a second (or subsequent) tuner sits idle.

This is problematic for users in areas where TV stations tend not to
broadcast programs at their advertised time, as ignoring the overrecord
usually means missing the end of the show. At present, such users need to
manually extend the end time of every single recording, which is annoying
and occasionally leads to creating unintended scheduling conflicts.

= After Patch =

Myth will attempt to honour the global pre-roll and overrecord settings by
switching a program to a different card or showing, if this can be done
without disrupting anything else.

Myth's behaviour is unaltered except when:

'''(a)''' there are scheduled programs that do not conflict, but are too
close together to allow the pre-roll and overrecord settings to be
honoured;

and

'''(b)''' one or more of these programs has an alternative showing
available (e.g. free tuner card or other broadcast time) that could be
recorded in full, including pre-roll and overrecord.

Please note that this means the patch does not alter MythTV's behaviour at
all unless the user has set a positive pre-roll or overrecord.

= Issues =

If a user goes into Utilities/Setup -> Setup -> TV Settings -> General and
changes his global pre-roll or overrecord setting, it'd be nice for a
reschedule to be triggered. But I haven't coded this (because I have no
idea how to). So if you turn pre-roll/overrecord on or off, it doesn't
have any effect until the next reschedule (i.e. mythbackend restarts or a
new program is recorded/scheduled).

Max.

--
Ticket URL: <http://cvs.mythtv.org/trac/ticket/255>
MythTV <http://www.mythtv.org/>
MythTV


mythtv at cvs

Aug 24, 2005, 4:05 PM

Post #2 of 16 (3154 views)
Permalink
Re: Ticket #255: Improved scheduling of consecutive programs with pre-roll/overrecord [In reply to]

#255: Improved scheduling of consecutive programs with pre-roll/overrecord
---------------------------------------------+------------------------------
Reporter: Max Barry <mythtv [at] maxbarry> | Owner: gigem
Type: patch | Status: new
Priority: minor | Milestone:
Component: mythtv | Version: head
Severity: medium | Resolution:
Cc: |
---------------------------------------------+------------------------------
Changes (by ijr):

* owner: ijr => gigem

--
Ticket URL: <http://cvs.mythtv.org/trac/ticket/255>
MythTV <http://www.mythtv.org/>
MythTV


mythtv at cvs

Sep 15, 2005, 5:33 AM

Post #3 of 16 (3143 views)
Permalink
Re: Ticket #255: Improved scheduling of consecutive programs with pre-roll/overrecord [In reply to]

#255: Improved scheduling of consecutive programs with pre-roll/overrecord
---------------------------------------------+------------------------------
Reporter: Max Barry <mythtv [at] maxbarry> | Owner: gigem
Type: patch | Status: new
Priority: minor | Milestone:
Component: mythtv | Version: head
Severity: medium | Resolution:
Cc: |
---------------------------------------------+------------------------------
Comment (by Max Barry <mythtv [at] maxbarry>):

As requested by David, I've modified the patch to include a setting with
which to control its behaviour.

In "Utilities/Setup" -> "Setup" -> "TV Settings" -> "General" there is now
a dedicated OverTime page. A new setting on this page asks when the user
would like MythTV to apply the OverTime buffers. Options are:

0) [Default] Apply unless it would create a conflict, require the use of
an additional tuner card, or require MythTV to record an earlier or later
showing. In other words, ignore pre-roll and overrecord unless they can be
honoured without affecting anything else. This is MythTV's current
behavior.

1) Apply unless it would create a conflict or require the use of an idle
tuner. MythTV will, however, select an earlier/later showing if this
enables it to honour the OverTime settings.

2) Apply unless it would create a conflict. MythTV will, however, assign
programs to idle tuner cards or record earlier/later showings if this is
necessary to capture the pre-roll/overrecord. [IMHO this should be
MythTV's new default behaviour.]

3) Apply always. This turns OverTime into a hard setting, which MythTV
will always obey even if this means creating a conflict.

Hopefully this makes everyone happy, by allowing users to employ the
OverTime setting in whichever way works best for them.

Thanks to David for taking the time to discuss the issues with me and
provide guidance!

Max.

--
Ticket URL: <http://cvs.mythtv.org/trac/ticket/255>
MythTV <http://www.mythtv.org/>
MythTV


mythtv at cvs

Sep 24, 2005, 11:40 AM

Post #4 of 16 (3137 views)
Permalink
Re: Ticket #255: Improved scheduling of consecutive programs with pre-roll/overrecord [In reply to]

#255: Improved scheduling of consecutive programs with pre-roll/overrecord
---------------------------------------------+------------------------------
Reporter: Max Barry <mythtv [at] maxbarry> | Owner: gigem
Type: patch | Status: new
Priority: minor | Milestone:
Component: mythtv | Version: head
Severity: medium | Resolution:
---------------------------------------------+------------------------------
Comment (by anonymous):

Shouldn't there be an additional option - "Apply unless it would cause a
conflict or require MythTV to record an earlier or later showing" - for
people who don't mind tying up all their tuners briefly (e.g. because they
don't use LiveTV mode anyway, all their tuners are equally good, etc) but
don't want their recordings delayed?

--
Ticket URL: <http://cvs.mythtv.org/trac/ticket/255>
MythTV <http://www.mythtv.org/>
MythTV


mythtv at cvs

Sep 24, 2005, 8:20 PM

Post #5 of 16 (3142 views)
Permalink
Re: Ticket #255: Improved scheduling of consecutive programs with pre-roll/overrecord [In reply to]

#255: Improved scheduling of consecutive programs with pre-roll/overrecord
---------------------------------------------+------------------------------
Reporter: Max Barry <mythtv [at] maxbarry> | Owner: gigem
Type: patch | Status: new
Priority: minor | Milestone:
Component: mythtv | Version: head
Severity: medium | Resolution:
---------------------------------------------+------------------------------
Comment (by pcjabber <pcjabber [at] gmail>):

I agree with anonymous (from Sep 24)'s comments. There should be another
option, "Apply unless conflict or other showing.". That way every option
would be covered. Some people don't mind using any tuner, but they don't
want a later showing (sometimes the next showing is several days away).

--
Ticket URL: <http://cvs.mythtv.org/trac/ticket/255>
MythTV <http://www.mythtv.org/>
MythTV


mythtv at cvs

Dec 14, 2005, 3:21 PM

Post #6 of 16 (3114 views)
Permalink
Re: Ticket #255: Improved scheduling of consecutive programs with pre-roll/overrecord [In reply to]

#255: Improved scheduling of consecutive programs with pre-roll/overrecord
---------------------------------------------+------------------------------
Reporter: Max Barry <mythtv [at] maxbarry> | Owner: gigem
Type: patch | Status: new
Priority: minor | Milestone:
Component: mythtv | Version: head
Severity: medium | Resolution:
---------------------------------------------+------------------------------
Comment (by anonymous):

Will this be added to main svn?

--
Ticket URL: <http://cvs.mythtv.org/trac/ticket/255>
MythTV <http://www.mythtv.org/>
MythTV


mythtv at cvs

Dec 14, 2005, 3:22 PM

Post #7 of 16 (3112 views)
Permalink
Re: Ticket #255: Improved scheduling of consecutive programs with pre-roll/overrecord [In reply to]

#255: Improved scheduling of consecutive programs with pre-roll/overrecord
---------------------------------------------+------------------------------
Reporter: Max Barry <mythtv [at] maxbarry> | Owner: gigem
Type: patch | Status: new
Priority: minor | Milestone:
Component: mythtv | Version: head
Severity: medium | Resolution:
---------------------------------------------+------------------------------
Changes (by anonymous):

* cc: => garfield_99999 [at] yahoo

--
Ticket URL: <http://cvs.mythtv.org/trac/ticket/255>
MythTV <http://www.mythtv.org/>
MythTV


mythtv at cvs

Apr 11, 2006, 1:07 AM

Post #8 of 16 (3083 views)
Permalink
Re: Ticket #255: Improved scheduling of consecutive programs with pre-roll/overrecord [In reply to]

#255: Improved scheduling of consecutive programs with pre-roll/overrecord
---------------------------------------------+------------------------------
Reporter: Max Barry <mythtv [at] maxbarry> | Owner: gigem
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: 0.19
Severity: medium | Resolution:
---------------------------------------------+------------------------------
Changes (by anonymous):

* milestone: 0.20 => unknown
* version: head => 0.19

--
Ticket URL: <http://cvs.mythtv.org/trac/ticket/255>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Apr 11, 2006, 1:37 AM

Post #9 of 16 (3081 views)
Permalink
Re: Ticket #255: Improved scheduling of consecutive programs with pre-roll/overrecord [In reply to]

#255: Improved scheduling of consecutive programs with pre-roll/overrecord
---------------------------------------------+------------------------------
Reporter: Max Barry <mythtv [at] maxbarry> | Owner: gigem
Type: patch | Status: new
Priority: minor | Milestone: 0.20
Component: mythtv | Version: head
Severity: medium | Resolution:
---------------------------------------------+------------------------------
Changes (by anonymous):

* milestone: unknown => 0.20
* version: 0.19 => head

--
Ticket URL: <http://cvs.mythtv.org/trac/ticket/255>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Apr 11, 2006, 7:37 AM

Post #10 of 16 (3078 views)
Permalink
Re: Ticket #255: Improved scheduling of consecutive programs with pre-roll/overrecord [In reply to]

#255: Improved scheduling of consecutive programs with pre-roll/overrecord
---------------------------------------------+------------------------------
Reporter: Max Barry <mythtv [at] maxbarry> | Owner: gigem
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: medium | Resolution:
---------------------------------------------+------------------------------
Changes (by gigem):

* milestone: 0.20 => unknown

Comment:

Unless you're a Myth developer, please don't change milestone and version
fields. If you are a Myth developer, please login before doing so.

--
Ticket URL: <http://cvs.mythtv.org/trac/ticket/255>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Jun 1, 2006, 5:00 AM

Post #11 of 16 (3074 views)
Permalink
Re: Ticket #255: Improved scheduling of consecutive programs with pre-roll/overrecord [In reply to]

#255: Improved scheduling of consecutive programs with pre-roll/overrecord
---------------------------------------------+------------------------------
Reporter: Max Barry <mythtv [at] maxbarry> | Owner: gigem
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: medium | Resolution:
---------------------------------------------+------------------------------
Comment (by mythtv-dev [at] phipps-hutton):

I may be completely missing the point but isn't the original reason for
this bug is to handle consecutive programs on stations that don't stick to
the schedules?

I think it would be more efficient to have the recordings coalesed into
one recording task and have that task record to the output files according
to the individual schedules. This is probably a major change to the way
recording works and during the overlap twice as much disk writing would be
happening but it would only require one tuner.

Cheers,
Tim.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/255>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Dec 5, 2006, 6:33 AM

Post #12 of 16 (2802 views)
Permalink
Re: Ticket #255: Improved scheduling of consecutive programs with pre-roll/overrecord [In reply to]

#255: Improved scheduling of consecutive programs with pre-roll/overrecord
---------------------------------------------+------------------------------
Reporter: Max Barry <mythtv [at] maxbarry> | Owner: gigem
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: medium | Resolution:
---------------------------------------------+------------------------------
Comment (by Paul.Hampson [at] Pobox):

Actually, the point is to allow the use of global pre-roll and overrecord
settings to optionally select a different showing or use another tuner to
meet the pre-roll/overrecord values requested.

I'm attaching a compile-tested forward port of smarter-scheduling.2.diff
to 0.20, I'll be testing it over the next week or so.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/255#comment:12>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Dec 5, 2006, 6:39 AM

Post #13 of 16 (2814 views)
Permalink
Re: Ticket #255: Improved scheduling of consecutive programs with pre-roll/overrecord [In reply to]

#255: Improved scheduling of consecutive programs with pre-roll/overrecord
---------------------------------------------+------------------------------
Reporter: Max Barry <mythtv [at] maxbarry> | Owner: gigem
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: medium | Resolution:
---------------------------------------------+------------------------------
Changes (by Paul.Hampson [at] Pobox):

* cc: Paul.Hampson [at] Pobox (added)

Comment:

Hmm. Just realised that the patch doesn't update mythtv-setup, it still
shows the pre-roll/overrecord values on the General(Advanced) page... That
ought to be trivial to fix...

Once this is functionality-tested, I'll see about fixing that and posting
a new patch.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/255#comment:13>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Jan 11, 2007, 3:11 AM

Post #14 of 16 (2730 views)
Permalink
Re: Ticket #255: Improved scheduling of consecutive programs with pre-roll/overrecord [In reply to]

#255: Improved scheduling of consecutive programs with pre-roll/overrecord
---------------------------------------------+------------------------------
Reporter: Max Barry <mythtv [at] maxbarry> | Owner: gigem
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: medium | Resolution:
---------------------------------------------+------------------------------
Comment (by willu.mailingLists [at] cse):

There has been a softpad branch for a while that works pretty well.
Unfortunately, as noted by David Engel in his [http://www.gossamer-
threads.com/lists/mythtv/dev/238199#238199 mailing list post], it looks
like will not be merged into trunk.

It would be nice however if some of the simpler, but more conflicty, parts
of the patch were merged into trunk. That would allow a normal {{{svn
up}}} to keep the scheduler up to date, because it doesn't change much.
The (simple) parts that do change, the myth protocol, would be kept up to
do date in trunk, but unused by most people.

I'll attach a patch that just makes the programinfo and myth protocol
changes. I trimmed my normal diff back to do this (and I'm not entirely
confident of the mythweb part). It would be great if this could be
applied.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/255#comment:14>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Jan 12, 2007, 1:13 AM

Post #15 of 16 (2689 views)
Permalink
Re: Ticket #255: Improved scheduling of consecutive programs with pre-roll/overrecord [In reply to]

#255: Improved scheduling of consecutive programs with pre-roll/overrecord
---------------------------------------------+------------------------------
Reporter: Max Barry <mythtv [at] maxbarry> | Owner: gigem
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: medium | Resolution:
---------------------------------------------+------------------------------
Comment (by willu.mailingLists [at] cse):

The mythweb part of that last patch was broken. I'll attach a new patch
for just that part.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/255#comment:15>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Dec 6, 2008, 9:49 AM

Post #16 of 16 (1483 views)
Permalink
Re: Ticket #255: Improved scheduling of consecutive programs with pre-roll/overrecord [In reply to]

#255: Improved scheduling of consecutive programs with pre-roll/overrecord
---------------------------------------------+------------------------------
Reporter: Max Barry <mythtv [at] maxbarry> | Owner: gigem
Type: patch | Status: closed
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: medium | Resolution: wontfix
Mlocked: 0 |
---------------------------------------------+------------------------------
Changes (by Dibblah):

* status: new => closed
* resolution: => wontfix


Comment:

Doesn't apply to trunk, will not be applied in current form.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/255#comment:16>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits

MythTV commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.