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 … 3 4 5 6 7 … 34 Next »
NextPVR suddenly stopped receiving streams

 
  • 0 Vote(s) - 0 Average
NextPVR suddenly stopped receiving streams
bmentink
Offline

Junior Member

New Zealand
Posts: 5
Threads: 1
Joined: Jan 2024
#1
2024-01-09, 09:55 PM
Hi,

I am new to NextPVR, I setup the server on RPI fine, the tuner setup (HDHomerun) with XMLTV guide data works, at least I can see
the guide data. However if I click on a program to watch in the web gui, I get "Streaming Failed [Transcode exited]".
Kodi also will not play the stream.

Initially I thought it was because I set the transcode to Vaapi, but I set it back to CPU and still the same error.

It's very strange. On initial setup it worked, but now it doesn't after a reboot.
The only thing extra I have done on the system is to connect a Samba share to use for recordings, I set that up in /etc/fstab and that works.

Any help much appreciated.

PS: It did download the log from NextPVR web, but nothing obvious.


10:49:14
Streaming Failed (transcoder exited)
10:40:43
Streaming Failed (transcoder exited)
10:40:43
Streaming Failed (transcoder exited)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,835
Threads: 954
Joined: May 2006
#2
2024-01-09, 09:58 PM (This post was last modified: 2024-01-09, 10:01 PM by mvallevand.)
Three is no way an RPi4 or lower can transcode fast enough for the web player, an RPi5 can barely do one stream in real time. The RPi doesn't support VAAPI anyways.

I am sure if you send the zipped logs showing Kodi direct play we will spot the issue (likely permissions)

Martin
bmentink
Offline

Junior Member

New Zealand
Posts: 5
Threads: 1
Joined: Jan 2024
#3
2024-01-09, 10:04 PM
Actually, having a better look into the logs found this:
Code:
2024-01-09 13:55:47.939    [DEBUG][12]    Reloading recording schedule
2024-01-09 13:55:47.941    [DEBUG][12]    PowerManagement CancelRecordingWakeupRequests (needs implementation)
2024-01-09 13:55:47.941    [DEBUG][12]    [Inside Dubai] at 9/01/2024 1:30pm
2024-01-09 13:55:47.941    [DEBUG][12]    Requesting wake up for 'RecordingOID853' [Inside Dubai] at 9/01/2024 1:28pm
2024-01-09 13:55:47.941    [DEBUG][12]    PowerManagement ScheduleWakeup (needs implementation)
2024-01-09 13:55:48.006    [DEBUG][12]    DefaultDirectoryChoice: first
2024-01-09 13:55:48.011    [DEBUG][12]    Preferred filename is 'Inside.Dubai.S01E02.Episode.2'
2024-01-09 13:55:48.154    [DEBUG][12]    Unexpected error in GetTargetName: System.UnauthorizedAccessException: Access to the path '/home/dietpi/recordings/Inside Dubai/' is denied.
---> System.IO.IOException: Permission denied
   --- End of inner exception stack trace ---
   at System.IO.FileSystem.CreateDirectory(String fullPath)
   at System.IO.Directory.CreateDirectory(String path)
   at NShared.RecordingService.GetTargetName(ScheduledRecording scheduledRecording)
   at NShared.RecordingService.WorkerThread()
2024-01-09 13:55:48.218    [DEBUG][12]    Looking for alternative airings of Inside Dubai: Episode 2 (T90390643)
2024-01-09 13:55:48.228    [DEBUG][12]    LoadListingByAdvancedRules(channel=7533,advancedRules=unique_id='T90390643')
2024-01-09 13:55:48.236    [DEBUG][12]    No alternatives on 8 eden, so looking on other channels
2024-01-09 13:55:48.236    [DEBUG][12]    LoadListingByAdvancedRules(channel='all channels',advancedRules=unique_id='T90390643')
2024-01-09 13:55:48.284    [DEBUG][12]     - trying 9/01/2024 2:30pm
2024-01-09 13:55:48.285    [DEBUG][12]    about to record:

So it looks like my SMB folder is not having the right permissions, anyone know how to fix?
This is my line /etc/fstab

Code:
//192.168.178.164/Media/Recordings /home/dietpi/recordings cifs file_mode=0770,dir_mode=0777,uid=1000,gid=1000,username=casaos,password=something,x-systemd.automount,noauto,rw,iocharset=utf8 0 0
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,835
Threads: 954
Joined: May 2006
#4
2024-01-09, 10:15 PM
Weird to have a mount point in a user home folder, which typically has restricted permissions. Assuming you used the deb installer, does user/group nextpvr (which the server runs as) have access to /home/dietpi/recordings? If not nextpvr is also part of group video if you want give permssions to the video group.

I don't think cifs needs user permissions if the mount is actually loading properly all the time.

Martin
bmentink
Offline

Junior Member

New Zealand
Posts: 5
Threads: 1
Joined: Jan 2024
#5
2024-01-09, 10:15 PM (This post was last modified: 2024-01-09, 10:21 PM by bmentink.)
I changed file_mode=0777 and that stopped the error. However, in Kodi I just get spinning wheel then nothing plays.

dietpi userid=1000
nextpvr userid=992

That is probably the problem, what should I put in /etc/fstab?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,835
Threads: 954
Joined: May 2006
#6
2024-01-09, 10:16 PM
I assume you know I will want to see the zipped logs.

Martin
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,835
Threads: 954
Joined: May 2006
#7
2024-01-09, 10:38 PM (This post was last modified: 2024-01-09, 10:38 PM by mvallevand.)
(2024-01-09, 10:15 PM)bmentink Wrote: I changed file_mode=0777 and that stopped the error. However, in Kodi I just get spinning wheel then nothing plays.

dietpi userid=1000
nextpvr userid=992

That is probably the problem, what should I put in /etc/fstab?

You added a question.  Do you really need all those level of optional security and complexity on your server? If you must I think gid=video is generic enough for nextpvr and other clients you might add. 

Martin
bmentink
Offline

Junior Member

New Zealand
Posts: 5
Threads: 1
Joined: Jan 2024
#8
2024-01-09, 11:09 PM (This post was last modified: 2024-01-09, 11:12 PM by bmentink.)
(2024-01-09, 10:38 PM)mvallevand Wrote:
(2024-01-09, 10:15 PM)bmentink Wrote: I changed file_mode=0777 and that stopped the error. However, in Kodi I just get spinning wheel then nothing plays.

dietpi userid=1000
nextpvr userid=992

That is probably the problem, what should I put in /etc/fstab?

You added a question.  Do you really need all those level of optional security and complexity on your server? If you must I think gid=video is generic enough for nextpvr and other clients you might add. 

Martin
Thanks Martin,

I ended up ripping out most of those options, and left in username,password,noperms
That worked great, all fixed..

Code:
//192.168.178.164/Media/Recordings /home/dietpi/recordings cifs username=casaos,password=something,noperms 0 0
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,835
Threads: 954
Joined: May 2006
#9
2024-01-09, 11:20 PM (This post was last modified: 2024-01-10, 12:46 AM by mvallevand.)
Great. Security can generally be added after you start to understand it but a lot of things you read on the Internet are enterprise level and not necessary.

I still think you should mount to /media or /mnt and follow basic standards. You might not want to always run on dietpi.

Are you using the HDHRGuide I suggested on the Kodi forum or another XMLTV source? I don't know if the HDHR guide works in NZ. I figured you were using ATSC. In NZ you probably are better off with the DVB-T guide (assuming that works from the HDHR) or even the mjh guide.

Martin
bmentink
Offline

Junior Member

New Zealand
Posts: 5
Threads: 1
Joined: Jan 2024
#10
2024-01-10, 02:23 AM
(2024-01-09, 11:20 PM)mvallevand Wrote: Great. Security can generally be added after you start to understand it but a lot of things you read on the Internet are enterprise level and not necessary.

I still think you should mount to /media or /mnt and follow basic standards.  You might not want to always run on dietpi.

Are you using the HDHRGuide I suggested on the Kodi forum or another XMLTV source?  I don't know if the HDHR guide works in NZ.  I figured you were using ATSC.  In NZ you probably are better off with the DVB-T guide (assuming that works from the HDHR) or even the mjh guide.

Martin

Thanks. I am using the New Zealand guide from here xmltv , works well.
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  NextPVR can't open RAI (Italian main TV channels) links f2fg 17 2,952 2025-03-29, 10:15 AM
Last Post: alice_anto
  Guide data issue using NextPVR in a Proxmox LXC njc 10 815 2025-03-23, 01:40 PM
Last Post: njc
  NextPVR oddly limited to 7 tuners DaVinylSmith 4 437 2025-02-12, 02:49 PM
Last Post: DaVinylSmith
  NextPVR webserver not starting, prevents client from starting homemaisonbaile 28 1,219 2025-02-04, 05:23 PM
Last Post: mvallevand
  NextPVR 7 looses recordings after post processing ballfam 15 850 2024-12-20, 03:23 AM
Last Post: ballfam
  Colossus 2 and nextpvr Iriman 53 4,545 2024-12-16, 02:32 AM
Last Post: ehfortin
  NextPVR user1232 1 298 2024-11-09, 11:21 AM
Last Post: mvallevand
  How does NextPVR separate TV from VOD ? FrankBKK 8 786 2024-10-30, 06:17 AM
Last Post: sub
  NextPVR i.mjh.nz [Failed: Recording interrupted] Nzbaxterman 6 692 2024-10-29, 11:44 PM
Last Post: sub
  NextPVR server on LibreElec jcjefferies 45 3,904 2024-09-16, 04: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