NextPVR Forums
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR v5 Support Linux v
1 2 3 4 5 … 13 Next »
recurring recordings not scheduled

 
  • 0 Vote(s) - 0 Average
recurring recordings not scheduled
CDinger
Offline

Member

Posts: 97
Threads: 23
Joined: Aug 2016
#1
2021-01-09, 04:57 PM
I noticed today that only 3 recordings were pending, 2 movies and one of the NFL playoff games. Normally the pending list is very long. I modified my NFL recurring so the games are now scheduled. However, none of my regular series are scheduled. I have not idea what happened.

I am using a fresh install of Arch Linux with current version of nextpvr.

logs attached


Attached Files
.zip   logs-20210109-0845.zip (Size: 630.38 KB / Downloads: 1)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 36,272
Threads: 722
Joined: May 2006
#2
2021-01-09, 05:11 PM
NextPVR makes the odd decision that if a tuner is not available at the start

2021-01-09 07:31:30.069 [ERROR][1] ERROR: Open frontend0 failed

It won't schedule the recording. It is quite annoying on my HDHR device which mioght be uplugged and on your machine by the time your recording is to happen they would probably work too.

You will need to force an EPG update now and will likely need to change your startup script to allow enough time for the devices to load in the future

Martin
CDinger
Offline

Member

Posts: 97
Threads: 23
Joined: Aug 2016
#3
2021-01-09, 05:41 PM
Thanks Martin,

I'm not sure why the problem started today, I have done several reboots in the past without incident. At any rate I added a longer sleep, it was 1 previously
Code:
[Unit]
Description=start nextpvr

[Service]
Type=simple
User=craig
WorkingDirectory=/home/craig/NPVR
ExecStartPre=/bin/sh -c 'until ping -c1 192.168.0.99; do sleep 20s; done;'
ExecStart=/usr/share/dotnet/dotnet /home/craig/NPVR/./NextPVRServer.dll
Restart=on-failure
RestartSec=10000ms

[Install]
WantedBy=multi-user.target
Craig
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 36,272
Threads: 722
Joined: May 2006
#4
2021-01-09, 05:52 PM
You'd need to check your system logs. Your aren't using a network tuner so there is no reason to assume that because your network is up that your tuners devices have also started.

Martin
CDinger
Offline

Member

Posts: 97
Threads: 23
Joined: Aug 2016
#5
2021-01-09, 10:16 PM
I'm not sure how to use the logs to know how to modifiy the systemd unit. However, I think this may work

ExecStartPre=systemctl is-system-running --wait

Code:
[Unit]
Description=start nextpvr

[Service]
Type=simple
User=craig
WorkingDirectory=/home/craig/NPVR
#ExecStartPre=/bin/sh -c 'until ping -c1 192.168.0.99; do sleep 20s; done;'
ExecStartPre=systemctl is-system-running --wait
ExecStart=/usr/share/dotnet/dotnet /home/craig/NPVR/./NextPVRServer.dll > /dev/null
Restart=on-failure
RestartSec=10000ms

[Install]
WantedBy=multi-user.target


Craig
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 36,272
Threads: 722
Joined: May 2006
#6
2021-01-09, 10:25 PM
What I do is check the system log for the time it takes for my tuner drivers to load. Then I created a PreStartup.sh as I showed here https://forums.nextpvr.com/showthread.ph...#pid530707

Martin
CDinger
Offline

Member

Posts: 97
Threads: 23
Joined: Aug 2016
#7
2021-01-10, 12:47 AM
Thanks Martin,

I added a PreStartup.sh, the tuners load within 2 seconds but I thought I would leave a little wiggle room.
Code:
#!/bin/bash

read -d. uptime < /proc/uptime
echo $uptime
while [ $uptime -lt  4 ]; do
        sleep 1
        read -d. uptime < /proc/uptime
done
Craig
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 36,272
Threads: 722
Joined: May 2006
#8
2021-01-10, 01:01 AM
That seems fast, you may be missing something, your uptime will be much longer with your network dealy.

Martin
CDinger
Offline

Member

Posts: 97
Threads: 23
Joined: Aug 2016
#9
2021-01-10, 01:53 AM
Martin,

Correct me if I am wrong, I'm basing time on journalctl -b. This reboot from start to last tuner driver = 3 sec. I am using a M2 HDD for booting which helps with speed. There is now a slight lag until the nextpvr web browser is up and operational after a reboot.
Code:
Jan 09 17:35:45 Arch kernel: Linux version 5.10.5-arch1-1 (linux@archlinux) (gcc (GCC) 10.2.0, GNU ld (GNU Binutils) 2.35.1) #1 SMP PREEMPT Thu, 07 Jan 2021 09:50:43 +0000
Code:
Jan 09 17:35:47 Arch kernel: tveeprom: decoder processor is CX23888 (idx 34)


Code:
Jan 09 17:35:48 Arch kernel: cx23885: cx23885[1]/0: found at 0000:04:00.0, rev: 4, irq: 16, latency: 0, mmio: 0x51000000



Craig
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 36,272
Threads: 722
Joined: May 2006
#10
2021-01-10, 02:26 AM
I would look for the firmware downloaded and especially the registering adapter and driver loaded messages that should follow those

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Truncated recordings mcbloggs 14 409 2021-01-15, 11:41 AM
Last Post: mcbloggs
  Recordings fail [Failed:The operation has timed out. ] CDinger 3 58 2021-01-15, 03:43 AM
Last Post: mvallevand
  Recordings fail after a few seconds MadBeggar 6 157 2020-11-20, 08:13 PM
Last Post: mvallevand
  Multiple failed recordings yesterday CDinger 2 146 2020-11-07, 03:27 PM
Last Post: CDinger
  MIgrate recordings windows to linux ottoguy 11 524 2020-10-30, 04:40 AM
Last Post: baj1
  Recordings ending prematurely bearnt 2 299 2020-08-15, 05:45 AM
Last Post: bearnt
  Schedule Recordings Changing MisterMister 4 245 2020-08-01, 05:56 PM
Last Post: MisterMister
  Scheduling "Identifiable" recordings? rkulagow 8 364 2020-05-29, 08:56 PM
Last Post: rkulagow
  Continuing to have lost recordings and other odd behavior NextPVR/Kodi bluesight 7 465 2020-05-22, 02:38 AM
Last Post: sub
  External Disk for Recordings glb1945 26 1,566 2020-04-03, 10:10 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