Cannot delete TV Recordings after switching drives (1 Viewer)

rlevis

MP Donator
  • Premium Supporter
  • August 15, 2008
    492
    24
    New Zealand New Zealand
    Country flag
    Version 1.14 of MP & TV Server.

    I moved the Recorded TV folder to a new hard drive in the same computer, changed the Recording Folder in TV Server config. The Database Import tab initially had a problem with the database being corrupted so I ran C:\Program Files\MySQL\MySQL Server 5.6\bin>mysqlcheck mptvdb --auto-repair -e -u root -p. This appeared to work well and then the recordings imported correctly.

    I can play the recordings in MP client but I cannot delete them. It says "Could not delete TV recording". All new recordings since the change can be deleted.

    I thought it must be a file permission issue, but I've tried everything including giving "Everyone" full rights and changing ownership of the folder to LOCAL_SERVICE.

    I even deleted the ts and xml files within the folder and MP client would still not allow the deletion, so it seems the issue is not related to file permissions but something in the database? I've been able to delete programs in MP client that don't exist in the folder previously.

    I checked the TV Server log and nothing there at all regarding the deletion. I set the logging to Debug level and then I received this line 5 times in a row...

    [2017-03-18 23:26:46,016] [Log ] [10 ] [DEBUG] - DeleteRecordingOnDisk: 'D:\Videos\Recorded TV\BBC World News - BBC World - 2017-03-09.ts'

    What do I need to do to fix this?
     
    Last edited:

    rlevis

    MP Donator
  • Premium Supporter
  • August 15, 2008
    492
    24
    New Zealand New Zealand
    Country flag
    Yes I did click that button at one stage, but nothing changed.
     

    rlevis

    MP Donator
  • Premium Supporter
  • August 15, 2008
    492
    24
    New Zealand New Zealand
    Country flag
    I tried another approach. I renamed the folder so the recorded tv files could not be found. Then in TV Server config, selected Remove Invalid Entries, but each file I answered Yes to report an error "Cleanup failed: Unable to remove objects that have not yet been persisted".
     

    rlevis

    MP Donator
  • Premium Supporter
  • August 15, 2008
    492
    24
    New Zealand New Zealand
    Country flag
    Ok, after doing the above, I think there were records that did delete. I held the Y button down initially before I started seeing the error above. I can now delete the programs in MP. Perhaps there were duplicated entries in the database and the old database items were being viewed. Now it seems the old database items are not being viewed in MP and it's working correctly. I assume there is still something wrong in the database but who cares if it's working.
     

    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
    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
    Frans Nijhuis [further infos missing] Deleting all TV channels and all channel groups in "MP 2 TV configuration" fails 2.2 Archive 1
    Similar threads

























    Top Bottom