Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

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

  1. #11
    Join Date
    May 2006
    Location
    Canada
    Posts
    29,127
    My understanding of how mp4 transcoded files worked in v4 is the database didn't need to get updated, it could show as .ts but NextPVR would play (on the host only) the mp4 file if no ts file is found.

    The API based system did not work this way, it does not even expose files when the ts file is not found.

    Regarding Nlite, it is a hybrid the file would shows because it doesn't use the /live?recording= interface it uses the /stream= interface however both apis's will stream the mp4 file.

    NextPVR v4 remote client cannot play these files via the NextPVR protocol

    I suspect v5 works the same way. nlite and Kodi UI client should be able to play the file. I'd be interested in seeing the Kodi knewc logs for UI client for one of these files.


    Martin

  2. #12
    Join Date
    Jan 2012
    Location
    Waikato, NZ
    Posts
    84
    Just of interest and may or may-not be relevant:

    Martin, that is correct that in V4 clients won't play .mp4's as per my post a while back https://forums.nextpvr.com/showthrea...273#post526273

    so in the config there was an entry to just play the recording as a file instead of streaming it by changing the config line entry:
    <RecordingDirectoryTranslation>d:\temp~\\someser ve r\someshare</RecordingDirectoryTranslation>

    I was hoping similar is possible when a future windows V5 client is released that connects to a server on a different machine.
    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

  3. #13
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    91,107
    What normally happens, in v4 or v5...

    1)Whenever the application asks for the recording list, it loads the list from the database, checking each file exists before adding it to the list returned.
    2)If a file didn't exist, and you've got <CheckForRenamedRecordings> set to true, it'll check if there is an alternative file with same name + different extension, like .mp4 etc, and if found will update the database
    3)If a file didn't exist, and you've got <CheckForRenamedRecordings> set to false, it'll delete the entry from the database

    The one complication, is when the web app, or web api in v5 asks for the recording list requests the 'superfast version', which basically bypass the file check, and just returns the filenames from the database. I would think your mp4 files should be listed there, but there may be somewhere else I forget, which is filtering out non .ts files.

  4. #14
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    91,107
    Nlite still says the recording is there
    So Nlite doesn't use that superfast version of the api, so should do the checks listed above. If it's listings your recording in Nlite's Recording screen, then it's definitely still in the database.

  5. #15
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    91,107
    I usually leave everything as .mp4, but I'll try to reproduce it.

  6. #16
    Join Date
    Jan 2012
    Location
    Waikato, NZ
    Posts
    84
    Just an update. Last night I set <AutoRemoveMissingRecordings>false</AutoRemoveMissingRecordings> and not only the new recordings but the previously missing recordings have shown up on the recordings history.
    The url you sent me also shows the .mp4s listed.
    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
  •