Back To Back recordings fail on DVB-T | Page 2

Discussion in 'pre 1.0 RC1' started by lar282, September 19, 2007.

  1. infinite.loop
    • Premium Supporter

    infinite.loop Retired Team Member

    Joined:
    December 26, 2004
    Messages:
    16,163
    Likes Received:
    3,861
    Gender:
    Male
    Location:
    127.0.0.1
    Ratings:
    +4,154 / 7
    Home Country:
    Austria Austria
    Show System Specs
    i am just a tester, no developer :)


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. lar282

    lar282 Portal Pro

    Joined:
    July 11, 2004
    Messages:
    414
    Likes Received:
    2
    Ratings:
    +2 / 0
    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
     
  4. infinite.loop
    • Premium Supporter

    infinite.loop Retired Team Member

    Joined:
    December 26, 2004
    Messages:
    16,163
    Likes Received:
    3,861
    Gender:
    Male
    Location:
    127.0.0.1
    Ratings:
    +4,154 / 7
    Home Country:
    Austria Austria
    Show System Specs
    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.
     
  5. gibman
    • Premium Supporter

    gibman Retired Team Member

    Joined:
    October 4, 2006
    Messages:
    2,998
    Likes Received:
    1,321
    Occupation:
    Developer
    Location:
    Aarhus
    Ratings:
    +1,372 / 0
    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
     
  6. SciDoctor
    • Premium Supporter

    SciDoctor Retired Team Member

    Joined:
    February 2, 2005
    Messages:
    1,465
    Likes Received:
    128
    Location:
    England
    Ratings:
    +138 / 0
    Show System Specs
    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.
     
  7. gibman
    • Premium Supporter

    gibman Retired Team Member

    Joined:
    October 4, 2006
    Messages:
    2,998
    Likes Received:
    1,321
    Occupation:
    Developer
    Location:
    Aarhus
    Ratings:
    +1,372 / 0
    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
     
  8. gibman
    • Premium Supporter

    gibman Retired Team Member

    Joined:
    October 4, 2006
    Messages:
    2,998
    Likes Received:
    1,321
    Occupation:
    Developer
    Location:
    Aarhus
    Ratings:
    +1,372 / 0
    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
     
  9. SciDoctor
    • Premium Supporter

    SciDoctor Retired Team Member

    Joined:
    February 2, 2005
    Messages:
    1,465
    Likes Received:
    128
    Location:
    England
    Ratings:
    +138 / 0
    Show System Specs
    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)
     
  10. lar282

    lar282 Portal Pro

    Joined:
    July 11, 2004
    Messages:
    414
    Likes Received:
    2
    Ratings:
    +2 / 0
    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
     
  11. gibman
    • Premium Supporter

    gibman Retired Team Member

    Joined:
    October 4, 2006
    Messages:
    2,998
    Likes Received:
    1,321
    Occupation:
    Developer
    Location:
    Aarhus
    Ratings:
    +1,372 / 0
    Home Country:
    Denmark Denmark
    I've attached a file to the thread...look above u:)
    tvservice.exe

    /Gibman
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!