[fixed] [MP2-767] Disappearing Daily/Weekly Recording Schedules (1 Viewer)


Portal Member
March 10, 2012
New Zealand New Zealand
Country flag
MediaPortal 2 Version: 2.2

I’ve recently moved from MP1 to MP2 2.2pre and find that series recordings that have been setup occasionally disappear. I’ve traced the problem to deleting an episode while it’s still recording. I normally delete recordings once I’ve viewed them.
The attached logs show this problem: I’ve setup a daily recording schedule for the news program “Prime News - First At 5.30” which occurs daily from 17:30 for 30 minutes (plus pre and post recording). Note I normally only watch the first half of this show.
[2018-10-19 17:52:34,092] [237044907] [101 ] [DEBUG] - Scheduler.CancelSchedule: Prime News - First At 5.30 10/19/2018 17:30:00
I believe this should be a Cancel Current Recording request?

Steps to Reproduce:
1) Schedule a series recording
2) View recording while recording an Episode
3) Delete current recording while it is still recording



MP2 Product Manager
  • Team MediaPortal
  • May 16, 2008
    Germany Germany
    Country flag
    I can't confirm this here:
    1. I just scheduled to record a (already running) show on a channel every time it is broadcasted
    2. The recording is started immediately
    3. I then deleted the recorded file from the recording folder menu
    4. The file was deleted - and the recording immediately started again: the schedule with a dozen entried remained unchanged
    All in all exactly the behavior that is expected.

    I can only imagine that instead of scheduling a repeated recording you entered a single one. There are two places where you can verify that you did it right: one is in the above-mentioned Recordings Schedule screen of MP2, the other is the TV Configuration app under Schedules where all scheduled recordings are listed.
    Last edited:


    Portal Member
    March 10, 2012
    New Zealand New Zealand
    Country flag
    Did some more testing and find that schedule types "Every time on this channel" and "Weekly every time on this channel" behave as per your test results, however schedule types "Daily" and "Weekly" both cancel the schedule.

    Looks like MP2 is doing something special for "... every time on this schedule" schedule types as it's creating an additional schedule recording "Once" see bitmap.



    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    Germany Germany
    Country flag
    Reference to code part: MediaPortal/MediaPortal-2.
    var matchingSchedules = allSchedules.Where(schedule => schedule.[B]IsRecordingProgram[/B](canceledProgram, true));
    Possible cause: there could be multitple Schedules for "IsRecordingProgram = true" returned (both series and current single recording) and the later loop removes all occurrences. IIRC there was no direct link between ProgramId and ScheduleId, that's why there was a lookup logic required.

    Nikki Locke

    Development Group
  • Team MediaPortal
  • February 2, 2019
    United Kingdom United Kingdom
    Country flag
    I am looking into this now. The MP2-Client code in DeleteRecordingFromStorage.cs always deletes the schedule that is making the recording before trying to delete the file.

    If the schedule is a series, I propose to alter it to get the list of programs for that schedule, and only cancel the one program that is currently recording from the schedule.

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

    OP Similar threads Forum Replies Date
    H MP2 database won't keep in synch with recordings General 4
    H [solved] MP2 Wiedergabe von Aufnahmen und Live TV geht nicht Allgemeines Support- und Diskussionsforum 6
    ge2301 [WiP] MP2Web - A platform independent web client for MP2 MediaPortal 2 58
    F Problems with new install of MP2 Newcomers Forum 3
    catalpa Bug MP2-837 Allgemeines Support- und Diskussionsforum 2
    P MP2: US user, OTA - can NOT get SchedulesDirect plugin to work on MP1 or MP2 --> how do I get OTA schedule? General 5
    bigboss97 Does anyone has a SoundGraph imon remote file for MP2 to share? General 0
    ge2301 Android based client for MP2 MediaPortal 2 3
    R MP2 GUI Issues General 7
    P [solved] MP2 new install, 2 x hdhomerun tuners, client on same PC unable to view TV & recordings Newcomers Forum 8
    Lichloathe MP2 importing keyart instead of poster General 0
    Lichloathe Trakt for MP2 question General 7
    C Streaming/transcoding MP2 vs MP1? General 1
    P MP 2 - Request to add an additional TV series Filename protocal Feature Requests 0
    C Streaming to clients over Wifi. MP1 or MP2? Newcomers Forum 0
    CyberSimian MP2 synchronising of stoptime MediaPortal 1 Talk 5
    M Initial Setup MP2 (On Wndows 10) General 2
    R [solved] MP2 Client ist extrem langsam Allgemeines Support- und Diskussionsforum 5
    D [solved] EPG Buddy for MP2 - Does it work? General 5
    T Amazon und Netflix in MP2 - Wie? Allgemeines Support- und Diskussionsforum 6
    J [solved] How to in MP2 General 19
    M [fixed] [MP2-831] 12h time format shown in TV Guide with Swedish language settings Submit: Bug Reports 27
    Volker MP2 Rewind / zurückspulen bei Live TV funktioniert nicht Allgemeines Support- und Diskussionsforum 3
    B [solved] MP2.2.3 TV Guide not scrolling with mouse wheel General 2
    T [solved] MP2 Switch off visualisation when listening to audio....PLEASE!!! General 23
    Similar threads

    Top Bottom