NextPVR Forums
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR v5 Support Linux v
« Previous 1 … 9 10 11 12 13 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: 36,756
Threads: 727
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: 100
Threads: 20
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: 96,869
Threads: 676
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: 96,869
Threads: 676
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: 96,869
Threads: 676
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: 100
Threads: 20
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
  Wake on suspend for recording flyingsubs 7 543 2021-01-29, 07:30 PM
Last Post: sub
  Multiple recording directories CDinger 5 211 2020-12-23, 07:43 PM
Last Post: LinuxDVR
  Recording fail error 404 CDinger 4 132 2020-12-21, 02:28 PM
Last Post: CDinger
  Recording service not running at recording time baj1 22 472 2020-11-21, 07:05 PM
Last Post: mvallevand
  Strange recording folder name VCR58 16 395 2020-11-08, 09:13 PM
Last Post: VCR58
  Recording and playing issues gwbraa99 1 156 2020-10-28, 02:53 AM
Last Post: mvallevand
  nothing recording post upgrade. CDinger 2 159 2020-10-25, 09:45 PM
Last Post: CDinger
  Recording Failer shspvr 12 401 2020-10-25, 02:09 PM
Last Post: shspvr
  Recording stops before ending time j_yves 4 399 2020-10-13, 05:04 PM
Last Post: j_yves
  Usb Recording Mounted Hard Drive Rudy065 7 417 2020-08-31, 09:38 PM
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