Cannot delete a recording after watching (1 Viewer)

tCC

Portal Pro
December 1, 2008
131
6
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.
 

Attachments

  • recording.zip
    30.6 KB

tCC

Portal Pro
December 1, 2008
131
6
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 :)
 

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
    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.
     

    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
    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
     

    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
    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
     

    Users who are viewing this thread

    Top Bottom