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
    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
    Denmark Denmark
    Country flag
    @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
    Country flag
    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
    Denmark Denmark
    Country flag
    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
    Denmark Denmark
    Country flag
    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
    Country flag
    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
    Denmark Denmark
    Country flag
    I've attached a file to the thread...look above u:)
    tvservice.exe

    /Gibman
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    B MP 1.23 First time click TV or Recorded TV fails, 2nd ... it will work General Support 5
    joecrow Scheduled Recordings Failed (MP 1.22) General Support 12
    1gkar LiveTV Records Causing 100% Drive Activity Television (MyTV frontend and TV-Server) 5
    toricred Recordings Change : to _ in Series Name General 0
    P Recording films that have an "intermission" General 3
    H MP2 database won't keep in synch with recordings General 8
    toricred Only Show Actual Recordings General 1
    ajs How recreate Recording thumbs TV-Server 4
    P [solved] MP2 new install, 2 x hdhomerun tuners, client on same PC unable to view TV & recordings Newcomers Forum 8
    CyberSimian [Proposal] Tool to display time of next recording MediaPortal 1 0
    Golf4 TV-Records werden als Audio-Files importiert ? Allgemeines Support- und Diskussionsforum 0
    R [solved] Unable to delete single recording General 2
    R Correct setting for recordings on shared folder General 0
    W [solved] MP suddenly Crashes when starting live TV on most channels and on recordings from the same channels General Support 20
    W [solved] MP suddenly Crashes when starting live TV on some channels and on some recordings Television (MyTV frontend and TV-Server) 1
    S Shortcuts MP1 My Recorded & TV Guide General 10
    F How to reset tv recordings database General 5
    P Recordings not showing up unless re-imported and not possible to delete General 0
    X Recording import hängt Allgemeines Support- und Diskussionsforum 0
    F Recording starts at second time only MediaPortal 1 Talk 6
    T TV Recording Schedule General 2
    T Unwanted recording Newcomers Forum 18
    bta489 [solved] DVB-T2 Recordings: Sometimes no Audio after muxing with mkvmerge Tools and other software 2
    N Play a TV recording needs a double selection - twice ok on remote Television (MyTV frontend and TV-Server) 2
    G Occasional Black screen on Live TV and Recorded TV Watch / Listen Media 5
    Similar threads

























    Top Bottom