Cannot delete a recording after watching (1 Viewer)

tCC

Portal Pro
December 1, 2008
131
6
Netherlands Netherlands
TV-Server Version: 1.1.0 (latest svn build)
MediaPortal Version: 1.1.0 (latest svn build)
MediaPortal Skin: Streamed MP (custom svn build)
Windows Version: Windows 7 Ultimate Build 16385 x86
CPU Type: Intel Core2 Duo E6600 (2.4Ghz)
HDD: Western Digital Scorpio Blue WD5000BEVT (500GB)
Memory: 4GB Kingston DDR2-800
Motherboard: ASUS P5W DH Deluxe
Video Card: HiS ATI Radeon HD 2600XT (256MB)
Video Card Driver: ATI Catalyst 9.7
Sound Card: Realtek ALC882
Sound Card AC3: Coaxial Out
Sound Card Driver: Realtek High-Definition Audio Driver 2.29
1. TV Card: FireDTV FloppyDTV (hw version 01.26.02)
1. TV Card Type: DVB-C
1. TV Card Driver: FloppyDTV Integrated Driver 1.0 Beta
MPEG2 Video Codec: Microsoft DTV-DVD Video Decoder
MPEG2 Audio Codec: Microsoft DTV-DVD Audio Decoder
h.264 Video Codec:
Satelite/CableTV Provider: Ziggo
HTPC Case: OrigenAE X15e v2
Cooling: 3x Nexus 80mm Real Silent Case Fan and 1x Noctua NH-U9 With Nexus 92mm Real Silent Case Fan
Power Supply: Corsair HX520W
Remote: Microsoft MCE Remote
TV: Samsung LE55A956
TV - HTPC Connection: DVI

When I watch a recording I cannot delete the file I've just watched, something is locking the file. When I first standby my computer and resume it again the lock is gone and the file is removable.
 

Attachments

tCC

Portal Pro
December 1, 2008
131
6
Netherlands Netherlands
Unlocker says the file isn't beeing locked, but when I try to delete the file within Windows Explorer it errors with "The action can't be completed because the file is open in MediaPortal" so it is MediaPortal itself that's locking the file.

When I restart MediaPortal (no standby/resume) I am able to delete the file.

Please fix :)
 

tourettes

Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Please fix :)
    Please tell what causes that issue on your system :) No one else has been reporting such (so fixing it is pretty hard unless we know what causes it in your system).

    I would assume that the graph is somehow holding the file (i.e. it is not destroyed completely).
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    TSReaderPlayer:grapbuilder=null
    That is the interesting part in the logs.

    Code:
        protected virtual void CloseInterfaces()
        {
          int hr;
          if (_graphBuilder == null)
          {
            Log.Info("TSReaderPlayer:grapbuilder=null");
            return;
          }
    So the cleanup is not done as the filter graph has been already destroyed(?!). Sorry, I have no clue why such could happen on your system. What 3rd party plugins you are using?

    Would require someone who is able to debug with Visual Studio to be able to reproduce the issue and step thru following two methods to see what goes wrong.

    BaseTSReaderPlayer::CloseInterfaces()
    TSReaderPlayer::Cleanup()
     

    tCC

    Portal Pro
    December 1, 2008
    131
    6
    Netherlands Netherlands
    I have this problem the last couple of SVN's already. why not try my exact steps I wrote and find out if the problem is in your system as well ? If not, than I can search my own system, but I think it's a bug in MediaPortal, not in my configuration.

    What do you mean with 3rd party plugins ? The logging shows all my plugins ?
    Running streamed mp as skin and Moving Pictures 0.7.5 as extra plugin.
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    I have this problem the last couple of SVN's already. why not try my exact steps I wrote and find out if the problem is in your system as well ? If not, than I can search my own system, but I think it's a bug in MediaPortal, not in my configuration.
    Please post the exact SVN version that the bug appears (helps solving the issue). I personally cannot reproduce the issue (just tested).

    What do you mean with 3rd party plugins ? The logging shows all my plugins ?
    Running streamed mp as skin and Moving Pictures 0.7.5 as extra plugin.
    Try using default skin and disabling Moving Pictures plugin, sorry cannot thing anything else.

    what comes to the oddity in the log, seems that I have it as well (so it is some ugly code in MP that creates such logging. I.e. graph is tried to clean up twice or something similar.).
     

    tCC

    Portal Pro
    December 1, 2008
    131
    6
    Netherlands Netherlands
    with latest svn build I mean exactly the latest --> MediaPortal SVN-Snapshot:-07-25-2009 12-08h - Revision:23230

    Tried only to switch the skin to Blue3wide, same problem
    Switched the skin to Blue3wide and disabled MovingPictures, same problem

    Steps I do to see the error:

    - start mediaportal
    - goto tv
    - record current program
    - stop recording
    - play recording
    - delete recording <-- error
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Steps I do to see the error:

    - start mediaportal
    - goto tv
    - record current program
    - stop recording
    - play recording
    - delete recording <-- error
    This is not what you posted in the first post :) So, it could be even TV server that is locking the file. Iäm not able to test that. Anyone else able to test it?
     

    tCC

    Portal Pro
    December 1, 2008
    131
    6
    Netherlands Netherlands
    "When I watch a recording I cannot delete the file I've just watched" <-- I didn't lie, I just didn't say the exept steps I did.

    Happens with previous recordings as well:

    - start mediaportal
    - goto tv
    - goto recorded tv
    - play recording
    - delete recording <-- error
     

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

    OP Similar threads Forum Replies Date
    N [solved] Cannot delete recordings from remote client MediaPortal 2 32
    J [solved] Newbie to MediaPortal 2 - Cannot open/run TV programs Newcomers Forum 4
    caveman [solved] Cannot download new version My TVSeries 5
    B xmltv - cannot import tvguide.xml australia Installation, configuration support 0
    T I cannot get a basic media import-what is the best configuration? General 10
    Terra LAVFilter Plugin cannot be updated (MP1.23) MediaPortal 1 Plugins 10
    Baron of L/S [solved] Cannot record MediaPortal 1 Talk 3
    D Cannot get a fully populated UK Freesat EPG (DVB-S) General 14
    K [solved] Cannot get EPG populating in the UK General 7
    Terra [solved] MP TV Server cannot find any channels anymore, DVB viewer works Installation, configuration support 8
    N [fixed] [MP2-786] Cannot play audio playlist with >=1000 entries 2.2 Archive 36
    D [solved] Initital testing with second client - cannot play recorded TV General 33
    U Client cannot tune channels General 1
    G [solved] Cannot skip when programme info is visible Archive 20
    O [solved] Cannot find TV DVB-T2 channels (TBS-6281SE) Newcomers Forum 7
    M Cannot connect after W10 update General Support 5
    morpheus_xx Was this spam? I deleted it... Online Facilities 4
    R [solved] Unable to delete single recording General 2
    P Recordings not showing up unless re-imported and not possible to delete General 0
    R [solved] MP will not delete recordings that are on NAS Television (MyTV frontend and TV-Server) 23
    N [Finished] [MP2-781] Enable one-click deletion of grouped TV recordings MediaPortal 2 70
    G MP 1.21 TVserver race condition when cant delete recording triggered by episode management General Support 0
    N [Finished] MP2-803 - Delete full series doesn't work when viewing a program in the extended schedule screen MediaPortal 2 12
    G [solved] How do you delete media in Mediaportal2? General 14
    R Mediaportal will not delete Recorded TV items that do not exist MediaPortal 1 Talk 0
    Similar threads

























    Top Bottom