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 … 20 21 22 23 24 … 34 Next »
recurring recordings not scheduled

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

Member

Posts: 151
Threads: 30
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
Offline

Posting Freak

Ontario Canada
Posts: 52,768
Threads: 954
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: 151
Threads: 30
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
Offline

Posting Freak

Ontario Canada
Posts: 52,768
Threads: 954
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: 151
Threads: 30
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
Offline

Posting Freak

Ontario Canada
Posts: 52,768
Threads: 954
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: 151
Threads: 30
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
Offline

Posting Freak

Ontario Canada
Posts: 52,768
Threads: 954
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: 151
Threads: 30
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
Offline

Posting Freak

Ontario Canada
Posts: 52,768
Threads: 954
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
  Direct access to recordings TugboatBill 1 132 2025-05-05, 11:04 PM
Last Post: mvallevand
  NextPVR 7 looses recordings after post processing ballfam 15 813 2024-12-20, 03:23 AM
Last Post: ballfam
  Recordings fail, sometimes while playing WagMan 9 549 2024-11-07, 12:46 PM
Last Post: mvallevand
  recordings fail, somtimes while playing WagMan 0 210 2024-11-02, 03:00 AM
Last Post: WagMan
  Random skipping in recordings ballfam 25 2,363 2024-04-29, 07:58 PM
Last Post: ballfam
  Failed Recordings sgar75 13 1,172 2024-04-23, 09:16 PM
Last Post: mvallevand
  failed recordings CDinger 11 1,072 2024-04-21, 03:29 AM
Last Post: CDinger
  No NVENC option in settings/transcoder and subtitles missing from ts recordings AWellesley 6 1,056 2024-03-04, 03:19 PM
Last Post: mvallevand
  Time scheduled radio recording? WagMan 8 1,001 2024-01-13, 05:34 PM
Last Post: mvallevand
  upcomings recordings kfmf 9 958 2023-12-21, 08:48 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