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 2 3 4 5 … 21 Next »
Maybe I broke NextPVR but... Failed to start stream is happening

 
  • 0 Vote(s) - 0 Average
Maybe I broke NextPVR but... Failed to start stream is happening
Armsp0
Offline

Junior Member

New Zealand
Posts: 34
Threads: 8
Joined: Jan 2022
#1
2022-02-24, 03:07 AM
Can scan all channels OK but when I attempt to watch any of them this failed to start stream error occurs. Worked great until recently


Attached Files
.zip   logs-20220224-1556.zip (Size: 1.52 MB / Downloads: 2)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 42,954
Threads: 841
Joined: May 2006
#2
2022-02-24, 03:11 AM (This post was last modified: 2022-02-24, 03:13 AM by mvallevand.)
If you restart the service without rebooting does it work? I This message

2022-02-17 19:01:13.281 [ERROR][1] ERROR: Open frontend0 failed
ERROR: Open frontend0 failed

could mean that NextPVR is starting before the tuner is available. If not your tuner might not be connected.

Martin
Armsp0
Offline

Junior Member

New Zealand
Posts: 34
Threads: 8
Joined: Jan 2022
#3
2022-02-24, 07:35 AM
OK That fixed it thank you Martin,.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 42,954
Threads: 841
Joined: May 2006
#4
2022-02-24, 03:27 PM
It won't really be fixed because you still will have this issue on reboot. I can't remember if sub implemented a better solution but there are things we can do to workaround this in your startup script if you'd like.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 101,302
Threads: 726
Joined: Nov 2003
#5
2022-02-24, 03:32 PM
You can put a delay in PreStartup.sh if your machine needs it.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 42,954
Threads: 841
Joined: May 2006
#6
2022-02-24, 03:45 PM (This post was last modified: 2022-02-24, 07:26 PM by mvallevand.)
Ok, I thought you had added a check other then then reset in the browser to address this common issue.

I posted a possible script here https://forums.nextpvr.com/showthread.ph...#pid530707 and you can also check for the device itself via a script (see next post)

Martin
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 42,954
Threads: 841
Joined: May 2006
#7
2022-02-24, 04:25 PM
Since I haven't posted this script this one waits up to 30 seconds for adapter0 to start, YMMV.

Code:
#!/bin/bash
for i in {0..30}
do
echo $i
if [ -e /dev/dvb/adapter0/frontend0 ] ; then
   break
fi
sleep 1
done

Note I don't help with personal scripts so I help those get you going.
Armsp0
Offline

Junior Member

New Zealand
Posts: 34
Threads: 8
Joined: Jan 2022
#8
2022-02-24, 07:17 PM
many thanks Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Debian NextPVR on Cifs share Oempa 5 53 2022-06-21, 06:04 PM
Last Post: mvallevand
  Failed to get tuning params M4c 21 403 2022-06-06, 04:45 AM
Last Post: sub
  Guidance on whether this is a good scenario for NextPVR markosjal 15 350 2022-05-06, 02:32 AM
Last Post: sub
  NextPVR TCP/UDP Port 1901 mshuttle 3 118 2022-05-04, 09:12 PM
Last Post: mshuttle
Exclamation Failed: An error occurred while sending the request. The response ended prematurely. vincentguenther 3 172 2022-04-27, 07:29 PM
Last Post: mvallevand
  (Some) Satellite channels not working : Writer failed to get PMT pid cheeseborough 1 124 2022-04-10, 01:26 PM
Last Post: mvallevand
  NextPVR on Armbian missing a few channels billybo8 3 160 2022-04-07, 04:16 PM
Last Post: billybo8
  NextPVR on a Pi rosede 4 224 2022-03-30, 01:54 PM
Last Post: rosede
  Installation of NextPVR on Libreelec jack2296 92 1,662 2022-03-19, 02:31 AM
Last Post: mvallevand
  nextpvr iptv live play hangs ckruijntjens 1 163 2022-03-13, 05:16 PM
Last Post: sub

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

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

Linear Mode
Threaded Mode