Back To Back recordings fail on DVB-T (1 Viewer)

lar282

Portal Pro
July 11, 2004
414
2
diff

Seems like we have different results infinityloop! Wierd
Have u heard anything from any devs that are willing to take a look at the bug?


//Lasse
 

infinite.loop

Retired Team Member
  • Premium Supporter
  • December 26, 2004
    16,163
    4,133
    127.0.0.1
    Home Country
    Austria Austria
    Seems like we have different results infinityloop! Wierd
    Have u heard anything from any devs that are willing to take a look at the bug?
    dev dev "free" atm to take a look.
    as soon as one finishes the current task, it will be looked at.

    this issue only occurs if you record 2 shows on different transponders with one tv-card.
     

    gibman

    Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Aarhus
    Home Country
    Denmark Denmark
    @lar82

    your rec's look like this

    SVT1 9:30 10:00
    TV3 9:50 10:40

    Since they are on diff. transponders did u not get a conflict warning at the time when u added the 2nd recording ?

    U could either
    1) skip the new recording
    2) skip the original conflicting recording
    3) keep the conflict

    I assume u chose 3

    What would u have the tvserver do when it detects such a recording ?
    They are on diff. transponders and u only have 1 card.

    When rec. 2 is about to start it could detect this conflict and perhaps do one of the following things.,

    1) if recording 1 is on the card needed for recording 2, then check if recording 1 is currently in its post-recording phase, if yes, stop recording 1 and initiate recording 2 ASAP.

    or

    2) if recording 1 is on the card needed for recording 2, then get the end-time (incl. posttime) for recording 1 and add that to the recording2 start time. now persist the newly modified recording2 schedule ? now it should restart again in a few mins.

    I dont do much recording myself, but shouldnt the conflictmanager on the tvserver somehow handle this automatically ?

    /gibman
     

    SciDoctor

    Retired Team Member
  • Premium Supporter
  • February 2, 2005
    1,465
    139
    England
    The problem I see at the moment is that the first schedule isn't removed form the stack when the next schedule starts and because of this the tuner is stopped from recording when the first schedule end time occurs.(when there is an overlap in recording time)

    If priorities worked then the next schedule should obey this and wait (or not depending on priority) and if it overides the first schedule then the stack should be adjusted to comply.

    Obviously the above is rarely needed in multituner set ups unless you have a very congested EPG and record a lot at the same time then this is needed.
     

    gibman

    Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Aarhus
    Home Country
    Denmark Denmark
    An easy way to insert new schedules of any choice is using this SQL;

    INSERT INTO Schedule
    (idChannel, scheduleType, programName, startTime, endTime, maxAirings, priority, directory, quality, keepMethod, keepDate, preRecordInterval,
    postRecordInterval, canceled, recommendedCard)
    VALUES (99, 0, 'show1', CONVERT(datetime, '09/29/07 12:00:00'), CONVERT(datetime, '09/29/07 12:15:00'), 5, 0, '', 0, 0, CONVERT(datetime,
    '01/01/00 00:00:00'), 5, 5, CONVERT(datetime, '01/01/00 00:00:00'), - 1)



    get the channelid from channels DB :)

    /Gibman
     

    gibman

    Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Aarhus
    Home Country
    Denmark Denmark
    could u guyz try this fresh compile of

    tvservice.exe

    All it does is that when show2 is starting to record it correctly disposes of show1 (if exists).

    This has the nice effect of show1 not stopping later when in fact its not "alive" anymore.
    Now show2 is complete and not cut short by show1 ending time.

    /Gibman
     

    SciDoctor

    Retired Team Member
  • Premium Supporter
  • February 2, 2005
    1,465
    139
    England
    Will test when I'm at home next.

    This new change/addition to the code, does it affect schedules in a multituner setup or concecutive schedules on the same channel/mux?

    OR does it only affect schedules if the tuner is forced to change mux/frequency (this is the only situation where the clash problem occurs)
     

    lar282

    Portal Pro
    July 11, 2004
    414
    2
    holiday

    I am on holiday on cypress,but will try it out sund.is it in SVN? or do I need this special exe?

    lasse
     

    gibman

    Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Aarhus
    Home Country
    Denmark Denmark
    I've attached a file to the thread...look above u:)
    tvservice.exe

    /Gibman
     

    Users who are viewing this thread

    Top Bottom