NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Linux v
« Previous 1 … 30 31 32 33 34 Next »
Database deletes recording entry when .ts deleted but transcode exists.

 
  • 0 Vote(s) - 0 Average
Database deletes recording entry when .ts deleted but transcode exists.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,768
Threads: 954
Joined: May 2006
#11
2019-08-19, 12:47 AM
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
vintdiesel
Offline

Member

Posts: 114
Threads: 23
Joined: Jan 2012
#12
2019-08-19, 02:30 AM
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/showthread.ph...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~\\someserve 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
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#13
2019-08-19, 03:27 AM
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.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#14
2019-08-19, 03:29 AM
Quote: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.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#15
2019-08-19, 03:32 AM
I usually leave everything as .mp4, but I'll try to reproduce it.
vintdiesel
Offline

Member

Posts: 114
Threads: 23
Joined: Jan 2012
#16
2019-08-19, 07:12 PM
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
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): « Previous 1 2


Possibly Related Threads…
Thread Author Replies Views Last Post
  Recording Plyback Timeline Issue JeffH 11 566 2025-01-17, 03:20 PM
Last Post: mvallevand
  Wake on suspend for recording flyingsubs 15 4,363 2024-12-03, 01:07 PM
Last Post: mvallevand
  update of the media database kfmf 9 507 2024-11-17, 12:09 PM
Last Post: mvallevand
  NextPVR i.mjh.nz [Failed: Recording interrupted] Nzbaxterman 6 657 2024-10-29, 11:44 PM
Last Post: sub
Wink recording rules - nextpvr kfmf 4 683 2024-07-20, 08:50 AM
Last Post: kfmf
  Live stream not working while recording pciber 6 849 2024-06-10, 07:48 AM
Last Post: pciber
  Time scheduled radio recording? WagMan 8 1,000 2024-01-13, 05:34 PM
Last Post: mvallevand
  Recording length error VCR58 20 2,063 2023-11-12, 11:46 PM
Last Post: mvallevand
  Nextpvr Has Stopped Recording Mark_S 4 842 2023-05-28, 04:27 PM
Last Post: Mark_S
  Failed recording for a particular show spagio 9 1,388 2023-01-12, 12:46 AM
Last Post: mvallevand

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode