Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Database deletes recording entry when .ts deleted but transcode exists.

  1. #1
    Join Date
    Jan 2012
    Location
    Waikato, NZ
    Posts
    85

    Database deletes recording entry when .ts deleted but transcode exists.

    In V4 if a .ts file is transcoded say to an .mp4 then the .ts is deleted, the database entry stays and the recording can still be played.

    Is it envisaged in that V5 will be able to do the same? At the moment, if the .ts file is deleted, then the entry disappears from the recordings list.
    Damian
    Attached Files Attached Files
    Win Server: ASRock P67 Pro3 B3, i5 2500K 4.0Ghz, 16GB, Nvidia GT430 HDMI, Win 10 Pro 64bit, Win-TV Quad HD, Win-TV Nova-T USB.
    UnRaid NAS Server: Gigabyte i7 2600 3.4Ghz, 16GB, S3 Trio VGA PCI Video, DVB LibreElec for DVB-T tuner drivers, Hauppage Win-TV 2210 Dual DVB-T.
    Win Client: Intel NUC i3 Broadwell, 4GB Ram, 128GB SSD, Win 10 Pro 64bit.
    Linux Client: Raspberry Pi 3+, OSMC + Kodi

  2. #2
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    91,181
    It's supposed to, but it looks like I might had the defaults set incorrectly in the install.

    Check your config.xml has:

    <AutoRemoveMissingRecordings>true</AutoRemoveMissingRecordings>
    <CheckForRenamedRecordings>true</CheckForRenamedRecordings>
    <NoRemoveWhenTreeMissing>true</NoRemoveWhenTreeMissing>

  3. #3
    Join Date
    Jan 2012
    Location
    Waikato, NZ
    Posts
    85
    Wow, that was a fast reply

    Mine are:
    <AutoRemoveMissingRecordings>false</AutoRemoveMissingRecordings>
    <CheckForRenamedRecordings>false</CheckForRenamedRecordings>
    <NoRemoveWhenTreeMissing>false</NoRemoveWhenTreeMissing>

    I shall change them and try again.
    Win Server: ASRock P67 Pro3 B3, i5 2500K 4.0Ghz, 16GB, Nvidia GT430 HDMI, Win 10 Pro 64bit, Win-TV Quad HD, Win-TV Nova-T USB.
    UnRaid NAS Server: Gigabyte i7 2600 3.4Ghz, 16GB, S3 Trio VGA PCI Video, DVB LibreElec for DVB-T tuner drivers, Hauppage Win-TV 2210 Dual DVB-T.
    Win Client: Intel NUC i3 Broadwell, 4GB Ram, 128GB SSD, Win 10 Pro 64bit.
    Linux Client: Raspberry Pi 3+, OSMC + Kodi

  4. #4
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    91,181
    Remember to stop the server, update the values, then restart the server

  5. #5
    Join Date
    Jan 2012
    Location
    Waikato, NZ
    Posts
    85
    Thanks sub,
    Agree... I thought I would try it without restarting the docker container as it was doing some other tests, and this worked straight off, but I should think there are settings that do need a restart so always advisable.
    Win Server: ASRock P67 Pro3 B3, i5 2500K 4.0Ghz, 16GB, Nvidia GT430 HDMI, Win 10 Pro 64bit, Win-TV Quad HD, Win-TV Nova-T USB.
    UnRaid NAS Server: Gigabyte i7 2600 3.4Ghz, 16GB, S3 Trio VGA PCI Video, DVB LibreElec for DVB-T tuner drivers, Hauppage Win-TV 2210 Dual DVB-T.
    Win Client: Intel NUC i3 Broadwell, 4GB Ram, 128GB SSD, Win 10 Pro 64bit.
    Linux Client: Raspberry Pi 3+, OSMC + Kodi

  6. #6
    Join Date
    Jan 2012
    Location
    Waikato, NZ
    Posts
    85
    Hi sub, thought this was working, but after some further testing, it doesn't. Once the .mp4 is created, and the original .ts file is deleted, the recording entry disappears off the web gui.
    Nlite still says the recording is there which mislead me, but it crashes on trying to play the file. I am guessing it is getting the synopsis from the .xml file that still exists in the same folder as the .mp4 recording.

    I have attached the log when I recorded the end of "Million Dollar Listing Los Angeles" at 16:13, then it was transcoded to an .mp4 and the .ts file was deleted at 16:27.

    My config.xml has:

    <AutoRemoveMissingRecordings>true</AutoRemoveMissingRecordings>
    <CheckForRenamedRecordings>true</CheckForRenamedRecordings>
    <NoRemoveWhenTreeMissing>true</NoRemoveWhenTreeMissing>

    Damian
    Attached Files Attached Files
    Win Server: ASRock P67 Pro3 B3, i5 2500K 4.0Ghz, 16GB, Nvidia GT430 HDMI, Win 10 Pro 64bit, Win-TV Quad HD, Win-TV Nova-T USB.
    UnRaid NAS Server: Gigabyte i7 2600 3.4Ghz, 16GB, S3 Trio VGA PCI Video, DVB LibreElec for DVB-T tuner drivers, Hauppage Win-TV 2210 Dual DVB-T.
    Win Client: Intel NUC i3 Broadwell, 4GB Ram, 128GB SSD, Win 10 Pro 64bit.
    Linux Client: Raspberry Pi 3+, OSMC + Kodi

  7. #7
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    91,181
    If you log into the web app, then open this url, does it list your mp4 file?

  8. #8
    Join Date
    Jan 2012
    Location
    Waikato, NZ
    Posts
    85
    Quote Originally Posted by sub View Post
    If you log into the web app, then open this url, does it list your mp4 file?
    Is "this url" meant to be a link?
    Win Server: ASRock P67 Pro3 B3, i5 2500K 4.0Ghz, 16GB, Nvidia GT430 HDMI, Win 10 Pro 64bit, Win-TV Quad HD, Win-TV Nova-T USB.
    UnRaid NAS Server: Gigabyte i7 2600 3.4Ghz, 16GB, S3 Trio VGA PCI Video, DVB LibreElec for DVB-T tuner drivers, Hauppage Win-TV 2210 Dual DVB-T.
    Win Client: Intel NUC i3 Broadwell, 4GB Ram, 128GB SSD, Win 10 Pro 64bit.
    Linux Client: Raspberry Pi 3+, OSMC + Kodi

  9. #9
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    91,181

  10. #10
    Join Date
    Jan 2012
    Location
    Waikato, NZ
    Posts
    85
    Thanks sub, There are no .mp4 file entries there. I also did a search for the filename and there is none. I suspect it has been deleted.
    Win Server: ASRock P67 Pro3 B3, i5 2500K 4.0Ghz, 16GB, Nvidia GT430 HDMI, Win 10 Pro 64bit, Win-TV Quad HD, Win-TV Nova-T USB.
    UnRaid NAS Server: Gigabyte i7 2600 3.4Ghz, 16GB, S3 Trio VGA PCI Video, DVB LibreElec for DVB-T tuner drivers, Hauppage Win-TV 2210 Dual DVB-T.
    Win Client: Intel NUC i3 Broadwell, 4GB Ram, 128GB SSD, Win 10 Pro 64bit.
    Linux Client: Raspberry Pi 3+, OSMC + Kodi

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •