Cannot delete a recording after watching

Discussion in '1.0.2 and SVN Builds' started by tCC, July 27, 2009.

  1. tCC

    tCC Portal Pro

    Joined:
    December 1, 2008
    Messages:
    131
    Likes Received:
    6
    Ratings:
    +6 / 0
    Home Country:
    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.


     

    Attached Files:

    • recording.zip
      File size:
      30.6 KB
      Uploaded:
      July 27, 2009
      Views:
      110
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. tourettes
    • Team MediaPortal

    tourettes Retired Team Member

    Joined:
    January 7, 2005
    Messages:
    17,301
    Likes Received:
    4,595
    Ratings:
    +4,810 / 3
  4. tCC

    tCC Portal Pro

    Joined:
    December 1, 2008
    Messages:
    131
    Likes Received:
    6
    Ratings:
    +6 / 0
    Home Country:
    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 :)
     
  5. tourettes
    • Team MediaPortal

    tourettes Retired Team Member

    Joined:
    January 7, 2005
    Messages:
    17,301
    Likes Received:
    4,595
    Ratings:
    +4,810 / 3
    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).
     
  6. tourettes
    • Team MediaPortal

    tourettes Retired Team Member

    Joined:
    January 7, 2005
    Messages:
    17,301
    Likes Received:
    4,595
    Ratings:
    +4,810 / 3
    That is the interesting part in the logs.

    Code (Text):
    1.  
    2.     protected virtual void CloseInterfaces()
    3.     {
    4.       int hr;
    5.       if (_graphBuilder == null)
    6.       {
    7.         Log.Info("TSReaderPlayer:grapbuilder=null");
    8.         return;
    9.       }
    10.  
    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()
     
  7. tCC

    tCC Portal Pro

    Joined:
    December 1, 2008
    Messages:
    131
    Likes Received:
    6
    Ratings:
    +6 / 0
    Home Country:
    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.
     
  8. tourettes
    • Team MediaPortal

    tourettes Retired Team Member

    Joined:
    January 7, 2005
    Messages:
    17,301
    Likes Received:
    4,595
    Ratings:
    +4,810 / 3
    Please post the exact SVN version that the bug appears (helps solving the issue). I personally cannot reproduce the issue (just tested).

    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.).
     
  9. tCC

    tCC Portal Pro

    Joined:
    December 1, 2008
    Messages:
    131
    Likes Received:
    6
    Ratings:
    +6 / 0
    Home Country:
    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
     
  10. tourettes
    • Team MediaPortal

    tourettes Retired Team Member

    Joined:
    January 7, 2005
    Messages:
    17,301
    Likes Received:
    4,595
    Ratings:
    +4,810 / 3
    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?
     
  11. tCC

    tCC Portal Pro

    Joined:
    December 1, 2008
    Messages:
    131
    Likes Received:
    6
    Ratings:
    +6 / 0
    Home Country:
    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
     
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!