NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Other Clients v
« Previous 1 2 3 Next »
Jellyfin 10.8 Alpha & Beta

 
  • 0 Vote(s) - 0 Average
Jellyfin 10.8 Alpha & Beta
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,833
Threads: 954
Joined: May 2006
#1
2021-12-07, 09:36 PM (This post was last modified: 2022-04-03, 02:33 AM by mvallevand.)
I have updated the plugin to deal with some breaking changes in Jellyfin 10.8 API's.   If anyone wants to test it let me know and I will upload the new dll.   All I test with Jellyfin is that it loads,  plays Live TV in a Windows browser and the logs look ok.

Martin
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,833
Threads: 954
Joined: May 2006
#2
2021-12-08, 09:41 PM
Attached is the plugin.  Remember this is for 10.8 alpha2 and maybe higher.  Replace the files in plugins\NextPVR_6.0.0.0 sorry I don't know how to bump the version number.

Martin


Attached Files
.zip   jellyfin-plugin-nextpvr-10.8-alpha2.zip (Size: 129.93 KB / Downloads: 23)
VCR58
Offline

Posting Freak

Marion Iowa, USA
Posts: 1,843
Threads: 177
Joined: Aug 2016
#3
2021-12-09, 06:08 AM
I got the Jellyfin server running with the NextPVR plugin zip. Live TV works from a web browser but I couldn't get any recordings to play. Web client responded with...

"Playback Error
This client isn't compatible with the media and the server isn't sending a compatible media format."

Attached logs.


Attached Files
.zip   jellyfin20211208.zip (Size: 326.68 KB / Downloads: 3)
.zip   nrecord.zip (Size: 65.11 KB / Downloads: 2)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,833
Threads: 954
Joined: May 2006
#4
2021-12-09, 01:36 PM
The default streaming protocol for recordings in Jellyfin and Emby will not work unless you enable the unauthenticated access option on the NextPVR Settings->Access tab. Typically this is not an issue since if buy into those platforms you won't be exposing NextPVR ports to the Internet.

The reason for this is their API requires permanent links to recordings, there is no callback to get new credentials. In Jellyfin settings you do have the option of using Filename under the Recording Protocol so if the Jellyfin and NextPVR servers are on the same host, Jellyfin will use the file system. This direct access would be the preferred approach in your scenario on localhost.

Martin
artmetz
Offline

Senior Member

NW Montana
Posts: 367
Threads: 68
Joined: Dec 2016
#5
2021-12-09, 09:30 PM
This should be easy to reproduce. I tried to schedule a recording from the plugin guide on a show starting 30 minutes later. It was taking too long to respond, so I checked the server/console and noticed this exception. Let me know if you need more details/logs.

[14:23:51] [ERR] [59] Jellyfin.Plugin.NextPVR.LiveTvService: [NextPVR] Failed to create the timer with programId: 26182809
[14:23:51] [INF] [59] Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker: Executed action Jellyfin.Api.Controllers.LiveTvController.CreateTimer (Jellyfin.Api) in 35.6815ms
[14:23:51] [INF] [59] Microsoft.AspNetCore.Routing.EndpointMiddleware: Executed endpoint 'Jellyfin.Api.Controllers.LiveTvController.CreateTimer (Jellyfin.Api)'
[14:23:51] [ERR] [59] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request. URL POST /LiveTv/Timers.
System.Exception: Failed to create the timer with programId: 26182809
at Jellyfin.Plugin.NextPVR.LiveTvService.CreateTimerAsync(TimerInfo info, CancellationToken cancellationToken) in D:\jellyfin\jellyfin-plugin-nextpvr\Jellyfin.Plugin.NextPVR\LiveTvService.cs:line 271
at Jellyfin.Plugin.NextPVR.LiveTvService.CreateTimerAsync(TimerInfo info, CancellationToken cancellationToken) in D:\jellyfin\jellyfin-plugin-nextpvr\Jellyfin.Plugin.NextPVR\LiveTvService.cs:line 274
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,833
Threads: 954
Joined: May 2006
#6
2021-12-09, 09:38 PM
I suspect that you did an EPG update in NextPVR and didn't keep the EPG in Jellyfin synchronized, this is a very common Emby/Jellyfin problem. Try running the update EPG task then scheduling the recording to confirm.

I do have a utility posted somewhere here you can use to add to PostUpdateEpg scripts to keep them in sync.

Martin
artmetz
Offline

Senior Member

NW Montana
Posts: 367
Threads: 68
Joined: Dec 2016
#7
2021-12-09, 09:41 PM
Thanks. I hadn't done anything on the JF side regarding the EPG. I'll get that sorted.
artmetz
Offline

Senior Member

NW Montana
Posts: 367
Threads: 68
Joined: Dec 2016
#8
2021-12-09, 10:01 PM
Working now.
I don't have any tuner devices setup in JellyFin, but once I added Schedules Direct as a TV Guide Data Provider to the Live TV settings and updated the guide, scheduling a recording works now.

I don't intend to use JF for scheduling recordings, so I'm not sure I'll bother to set up the tuners. I'd prefer NPVR be the main/only recording service.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,833
Threads: 954
Joined: May 2006
#9
2021-12-10, 03:59 PM
You shouldn't need to enable any Jellyfin PVR settings, you probably just triggered the EPG scheduled tasks.

Martin
artmetz
Offline

Senior Member

NW Montana
Posts: 367
Threads: 68
Joined: Dec 2016
#10
2021-12-10, 04:05 PM
Yeah, I don't think there was a scheduled task until I setup schedules direct. I'm pretty sure I looked beforehand. There was one for Internet Channels, but I'm pretty sure there wasn't one for Live TV. How would it know to use schedules direct until I configured it? In any case it's working now.
I also changed the JF scheduled task to run shortly after the NPVR EPG schedule. I'll keep in mind your script in case I need better synchronization later.
« 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
  Recorded Channel Groupings (Jellyfin) Swindiff 9 432 2025-04-16, 08:59 PM
Last Post: Swindiff
  Jellyfin Plugin can't connect to "pinned" instance psycik 5 502 2025-02-07, 02:56 AM
Last Post: sub
  NextPVR recording setting with JellyFin addon ceejayemm 1 852 2024-11-30, 01:02 AM
Last Post: mvallevand
  Jellyfin 10.9 next update. mvallevand 3 927 2024-11-29, 12:06 PM
Last Post: mvallevand
Bug jellyfin 10.9 cannot playback recordings - sid=jellyfin told not valid prahal 22 3,396 2024-06-04, 04:46 PM
Last Post: mvallevand
  Jellyfin v10.9 luguber 23 3,287 2024-05-23, 12:51 PM
Last Post: luguber
  Jellyfin issues turtlejay 10 2,083 2023-12-24, 05:42 PM
Last Post: turtlejay
  jellyfin live tv tab shows nothing. recordings tab has stuff. briantho 10 4,217 2023-07-07, 12:03 AM
Last Post: mvallevand
  Jellyfin playback issue when jellyfin is not on the same machine as nextpvr briantho 3 2,566 2022-12-16, 07:25 PM
Last Post: mvallevand
  Category 'Movie' is added to all items in the Jellyfin EPG. luguber 5 1,792 2022-04-05, 09:31 PM
Last Post: luguber

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

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

Linear Mode
Threaded Mode