NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 41 42 43 44 45 … 433 Next »
Series recording woes

Series recording woes
SpinyGreen
Offline

Junior Member

Posts: 17
Threads: 2
Joined: Sep 2018
#1
2018-10-04, 05:54 PM
I am new to NPVR. I like it, but there seem to be some, dare I say, "warts"? I am afraid I need some help with what on surface would seem to be a simple task.

My wife watches a program aired daily (weekdays) on a cable news channel. For a variety of reasons she watches it time shifted. The task is to record the show daily but always automatically delete all but the latest weekday's recording. This was dead simple with Windows Media Center, which I am attempting to replace. The problem with NPVR is that I can't seem to make changes to series options "stick". It goes through all the motions but the end result is what I started with.

Our present setup:
Server machine is an Intel Core i5, running Windows 7 Ultimate, always on. (My desktop tower.)
Signal source is a pair of HDHR3 Primes, on wired LAN. All 6 tuners are available to NPVR.
Server software is NPVR + Emby + Emby NPVR add-in.
Guide service is Schedules Direct.
No tuners were set up in Emby. All recording is via NPVR. Emby access to tuners for live TV is via NPVR.
Client is the Emby channel on a Roku2 connected wirelessly, which is used for both live and recorded TV.
The TV has only two connections, the Roku and a sound bar.

I originally set up the series in question on 10/19. I created it with some parameters I wanted to change. What follows is my best recollection of what happened next.

I tried to modify the parameters shortly after initial setup, using the NPVR application on the server. In the guide, with the cell selected for that program on that day, I pressed "enter" on the keyboard and reached a dialog with options: Close, Update, Cancel, Find All. I chose Update and reached exactly the dialog I expected, which appeared to allow changing all options. I made the change and then clicked OK to exit and presumably save the changes. On re-entry to the update dialog soon after to make an additional change, I found the dialog showing the values before the previous change. I tried several time to make the change "stick", but each time found no feedback indicating the change had occurred.

I then decided to cancel the series entirely and start over from scratch. That seemed to work, but a new problem appeared. Although all subsequent days in the guide had the show marked to record (red), the current day was not scheduled. I re-entered the dialog and found it was set to record all new, but on OK, the current day was stubbornly NOT RED. Not wishing to skip that day's recording, I re-entered and set to record once.

I have since set up additional series recordings on the same channel, earlier and later than that time slot. I confirmed yesterday by scrolling the guide that all of those time slots are marked to record for all future weekdays in the current guide. However, the main desired program is marked to record only this week.

I installed the SQLite Spy program yesterday and used it to open a copy of the npvr.db3 file. What I found was that the RECURRING_RECORDING table has eight (8) entries for the recalcitrant program, all of which are marked enabled. The SCHEDULED_RECORDING table has entries only for this week, with recurrence_oid column set to the lowest value in the "priority" column of the entries in the RECURRING_RECORDING table for that show. That entry has match_rules dated 2018-09-19 which are the original rules I tried to update. The recordings are being made with 2 minute padding both ends, although I only want (and have tried to change) to 1 minute padding.

The other series have recordings scheduled for the remaining weekdays in the guide, with their recurrence_oid column set to the priority values of their respective entries in the RECURRING_RECORDING table. All of them record as specified and work as I wish.

Is it possible to straighten out the db so that it has correct rules for ALL recordings and doesn't miss future recordings? The algorithm used to manage the table with the eight series setups for one show seems to be somewhat obtuse. Do I need to wipe out the db and start over from scratch when I decide to change options for a particular series? As I stated above, I am baffled.

Although I have been developing Windows database applications for a couple decades, I have no experience with SQLite and don't want to make matters worse. Also, the IDE platform I use doesn't support SQLite (unless SQLite has an ODBC interface---I haven't investigated that).

Second issue:
When attempting to watch the desired recording on the evening of the 2nd, it appeared on the Roku Emby app that there were two recordings, one of which was dated the previous Friday. I stupidly deleted it (using the Emby app). This somehow resulted in deletion of the entire folder on the server for that program. All of this is Emby related, not NPVR. However, I wanted to examine the NPVR logs for the day to try to figure out whether it had recorded that day. What I found was there are no logs in the NPVR logs folder for that entire day. (The folder was recreated by NPVR for the recording on the 3rd.)

I believe that issue is somehow connected to a momentary power failure that occurred on the server computer causing it to hibernate for a few minutes shortly past noon on the 2nd. I happened to be typing into an application when it suddenly hibernated. After bringing power back up on the computer, it resumed with seemingly no incident. However, there are no NPVR logs that entire day. Logging resumed just past midnight October 3. My guess is the hibernation broke a memory-based connection to the logs and they disappeared in a puff of smoke.

The Windows Application log recorded several Event ID=0 entries for the NPVR Recording Service at the time of the incident. All of them have the message "PowerEvent handled successfully by the service." "Handled successfully" seems not quite accurate.
There are 5 entries at 12:03 PM, at :10, :12, :13 :16, :17 seconds.
There are 4 entries at 12:06 PM, at :21, :25, :25, :26 seconds
Prior to that incident, the last logged entry for NPVR was 12:51:46 PM September 25, "Service started successfully".

Third issue:
Live TV on the NPVR app has no sound. The computer has no speakers. The only output device is earphones. No sound in the earphones. Zilch. None. The Emby app produces sound, both on the server, and on its various clients. All other applications produce sound. The sound on the server motherboard (ASUS) is handled by a Realtek audio chip, manged with an ASUS supplied "Realtek HD Audio Manager". The Audio codec according to this manager is ALC892. In the Decoders section of NPVR setup, I configured all audio decoders to Microsoft except E-AC3, which only allows "Disabled". I have no idea how to set up that section. Presumably I have it set up wrong for NPVR usage of this chip.

I have not attached any logs, because the only NPVR logs available do not pertain to the time period of any of the events described above.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,809
Threads: 769
Joined: Nov 2003
#2
2018-10-04, 06:08 PM
SpinyGreen Wrote:Third issue:
Live TV on the NPVR app has no sound. The computer has no speakers. The only output device is earphones. No sound in the earphones. Zilch. None. The Emby app produces sound, both on the server, and on its various clients. All other applications produce sound. The sound on the server motherboard (ASUS) is handled by a Realtek audio chip, manged with an ASUS supplied "Realtek HD Audio Manager". The Audio codec according to this manager is ALC892. In the Decoders section of NPVR setup, I configured all audio decoders to Microsoft except E-AC3, which only allows "Disabled". I have no idea how to set up that section. Presumably I have it set up wrong for NPVR usage of this chip.
The usual reason for missing sound is that the user hasn't specified a decoder. In your case, since you're in the USA, this will probably need the AC3 decoder.

Given you've got no speakers though, and it sounds like you have set the AC3 decoder, then next most likely thing is the audio renderer. The best way is to leave the audio renderer set to 'default' in NextPVR, and make sure Windows system default audio playback device is your headphones (and they're plugged in). ie, check you're hearing system sounds etc, then it should be also the correct default audio renderer in NextPVR. The alternative is to explicitly select the Realtek device in the audio renderer setting in NextPVR (but you're better off setting it as the default)
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,809
Threads: 769
Joined: Nov 2003
#3
2018-10-04, 06:13 PM
SpinyGreen Wrote:My wife watches a program aired daily (weekdays) on a cable news channel. For a variety of reasons she watches it time shifted. The task is to record the show daily but always automatically delete all but the latest weekday's recording. This was dead simple with Windows Media Center, which I am attempting to replace. The problem with NPVR is that I can't seem to make changes to series options "stick". It goes through all the motions but the end result is what I started with.
This is pretty easy to setup in NextPVR too. In guide select 'record season', and set 'keep' to 5 recordings. This way it'll always have the last 5 recordings. When it goes to create the 6th recording, it'll delete the oldest, meaning it'll always have the last week's recordings (on 5 week days).

To edit a recurring recording, go to the Recordings screen, and press right a few times until you get to the Recurring Recording this. You can Update the recurring recording from there.
SpinyGreen
Offline

Junior Member

Posts: 17
Threads: 2
Joined: Sep 2018
#4
2018-10-04, 06:48 PM
SpinyGreen Wrote:What I found was there are no logs in the NPVR logs folder for that entire day.

My error. I assumed a new log each day. I now see that some logs cover multiple days. (Even with the massively extra logging with debug enabled) The log for the 2nd is embedded in the log dated for the 3rd. I have attached a zip with logs going back to 9/25, as far back as is there. However, the attempted updates of the series occurred earlier.
SpinyGreen
Offline

Junior Member

Posts: 17
Threads: 2
Joined: Sep 2018
#5
2018-10-04, 07:37 PM
sub Wrote:The usual reason for missing sound is that the user hasn't specified a decoder. In your case, since you're in the USA, this will probably need the AC3 decoder.

Given you've got no speakers though, and it sounds like you have set the AC3 decoder, then next most likely thing is the audio renderer. The best way is to leave the audio renderer set to 'default' in NextPVR, and make sure Windows system default audio playback device is your headphones (and they're plugged in). ie, check you're hearing system sounds etc, then it should be also the correct default audio renderer in NextPVR. The alternative is to explicitly select the Realtek device in the audio renderer setting in NextPVR (but you're better off setting it as the default)

The headphones are set as the default device, and they are plugged in. I have tried various of the Audiotek smorgasboard of options none of which produce sound, but currently have it left on default.

I don't really need Live TV frpm that app, although it would be convenient. I have media center configured with a couple of the tuners so unless they are in use elsewhere, I can use that. Then there is also the View app provided by Silicondust.
SpinyGreen
Offline

Junior Member

Posts: 17
Threads: 2
Joined: Sep 2018
#6
2018-10-04, 07:41 PM
sub Wrote:This is pretty easy to setup in NextPVR too. In guide select 'record season', and set 'keep' to 5 recordings. This way it'll always have the last 5 recordings. When it goes to create the 6th recording, it'll delete the oldest, meaning it'll always have the last week's recordings (on 5 week days).

To edit a recurring recording, go to the Recordings screen, and press right a few times until you get to the Recurring Recording this. You can Update the recurring recording from there.

I have done that too many times already. It stubbornly refuses to change the padding settings to what I want. Or rather, just creates a new db entry and continues to use the original one to record.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,809
Threads: 769
Joined: Nov 2003
#7
2018-10-04, 09:35 PM
SpinyGreen Wrote:I have done that too many times already. It stubbornly refuses to change the padding settings to what I want. Or rather, just creates a new db entry and continues to use the original one to record.
Given we're not seeing any other reports, and my quick tests this morning show it working correctly, I'm sure you must be doing something odd.

You need make sure you edit recurring recording the Recording->Recurring screen, and use the 'Update' button.

If you're sure it's still happening - if you can zip and attach your NPVR.db3 file, and a description of a set of steps you're trying to perform, and I'll try the same thing here with your data. Just list one specific set of steps, so we can focus on that specific scenario first.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,809
Threads: 769
Joined: Nov 2003
#8
2018-10-04, 09:36 PM
SpinyGreen Wrote:The headphones are set as the default device, and they are plugged in. I have tried various of the Audiotek smorgasboard of options none of which produce sound, but currently have it left on default.

I don't really need Live TV frpm that app, although it would be convenient. I have media center configured with a couple of the tuners so unless they are in use elsewhere, I can use that. Then there is also the View app provided by Silicondust.
What AC3 decoder, and MPEG1 audio decoders do you have selected?
SpinyGreen
Offline

Junior Member

Posts: 17
Threads: 2
Joined: Sep 2018
#9
2018-10-04, 10:34 PM
sub Wrote:Given we're not seeing any other reports, and my quick tests this morning show it working correctly, I'm sure you must be doing something odd.

You need make sure you edit recurring recording the Recording->Recurring screen, and use the 'Update' button.

If you're sure it's still happening - if you can zip and attach your NPVR.db3 file, and a description of a set of steps you're trying to perform, and I'll try the same thing here with your data. Just list one specific set of steps, so we can focus on that specific scenario first.

In the Emby Web app (localhost:8096), under Live TV "Schedule" button, the "Series" top menu item shows icons for all series shown in the npvr.db3 file, including all 8 instances of the series in question!

I am going to make a S.W.A.G. that this dialog comes courtesy of the NPVR plugin. When any of those 8 series icons is clicked on, all 8 series show the "keep up to:" section selection as "As many as possible" despite the fact that all of those in the database are the value 1. All other settings shown in this dialog match the values shown in the database entries. (New, channel, air time, start pad, end pad). This would appear to be a bug in the NPVR addin. Only one of the eight series shows actual future recordings being scheduled, those being the shows today and Friday. That matches the other db table.

I am now wondering if I used that dialog last week instead of the NPVR guide. (No idea who supports that.)

What I am going to try is delete the 7 unused series entries. They do not appear to have any connection anywhere else in the db. I will then try to edit the last one. I will capture the db at various steps if it is not behaving as it should. Over the weekend, I will delete the last one and then create a new series that will start on Monday. (I will stay clear of the one in Emby.)
SpinyGreen
Offline

Junior Member

Posts: 17
Threads: 2
Joined: Sep 2018
#10
2018-10-04, 11:28 PM
Both were set to Microsoft DTV-DVD Audio Decoder.
I just downloaded and installed the LAV package and set the AC3 to that. Now get sound.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Recording movies / TV to XBMC directory stucture spinnaker 10 3,782 2024-06-03, 03:56 AM
Last Post: Rod Hutchinson
  Not recording errors vidwiz 4 1,132 2024-04-17, 05:39 PM
Last Post: mvallevand
  Add Series/Episode Info to Recording Metadata andrewj 2 1,184 2023-11-20, 03:42 PM
Last Post: sub
  Recording to a network drive woes. 2leftfeet 12 7,523 2022-04-05, 08:03 PM
Last Post: mvallevand
  device needed for recording David209 2 1,817 2021-04-04, 08:47 AM
Last Post: David209
  PC not going to sleep after recording LeoL 7 3,504 2021-04-01, 07:17 PM
Last Post: Handy.Man
  HDHomerun recording bizzarely not working Jean0987654321 3 2,160 2021-03-27, 03:23 PM
Last Post: Jean0987654321
Video Restrict Recording Space foucomm 1 1,398 2021-01-30, 09:25 PM
Last Post: mvallevand
  Directory dropdown on the recording edit dialog MicahMakenzie 1 1,574 2021-01-11, 04:37 PM
Last Post: Graham
  Recording service stopped or not running at scheduled time MattInetroit 3 1,985 2021-01-08, 12:03 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