• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Jellyfin NextPVR Plugin Recording Requests Fail - JSON Parsing Error

     
    • 0 Vote(s) - 0 Average

    Jellyfin NextPVR Plugin Recording Requests Fail - JSON Parsing Error

    JustMeNZ
    Offline

    Junior Member

    Posts: 9
    Threads: 3
    Joined: 2024 Feb
    Reputation: 0
    Country:New Zealand
    #1
    2025-06-13, 12:21 PM (This post was last modified: 2025-06-13, 12:22 PM by JustMeNZ. Edited 1 time in total.)
    Disclosure: After utilising Claude AI for help, AI provided the info below.

    Setup:
    Jellyfin: 10.10.7
    NextPVR Plugin: 11.0.0.0 (also tested with 10.0.0.0)
    NextPVR: 7.0.1.241229
    Platform: Windows
    IPTV setup with comskip and ffmpeg working perfectly

    Problem:
    this affects both single and series recordings. Live TV viewing through Jellyfin works perfectly. Recording directly in NextPVR works perfectly. However, ALL recording requests from Jellyfin (both single episodes and series recordings) fail with a spinning wheel and never complete.

    Jellyfin logs show:
    Code:
    [ERR] Jellyfin.Plugin.NextPVR.LiveTvService: Failed to create the timer with programId: "1323459"
    [ERR] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL "POST" "/LiveTv/Timers".
    System.Text.Json.JsonException: Failed to create the timer with programId: 1323459


    NextPVR logs show:
    Code:
    [DEBUG] Got request [127.0.0.1]: /service (recording.recurring.save)
    [DEBUG] parameters:
    [DEBUG]    method: recording.recurring.save
    [DEBUG]    event_id: 1323459
    [DEBUG]    recurring_type: 2
    [ERROR] neither event_id or start_time/end_time specified
    [DEBUG] {"stat":"Failed","code":2,"msg":"Invalid Args."}

    The Jellyfin plugin is incorrectly calling recording.recurring.save for ALL recording requests (including single episodes), when it should use recording.save for one-time recordings. NextPVR rejects this with "Invalid Args", but the plugin tries to parse the error response as success JSON, causing the JsonException.

    Troubleshooting Completed:
    - Verified NextPVR recording works directly
    - Verified live TV works perfectly in Jellyfin
    - Set PIN code (0000) in both NextPVR and Jellyfin plugin
    - Enabled "Allow unauthenticated access" in NextPVR
    - Tested both plugin versions 10.0.0.0 and 11.0.0.0
    - Multiple Jellyfin/NextPVR service restarts
    - Verified NextPVR web service accessible on port 8866
    - Confirmed recording directories are writable
    - Tested different shows and channels
    - Verified authentication working (live TV streams successfully)

    NextPVR Settings:
    NextPVR > Settings > Access: PIN set to 0000
    Web server enabled and accessible
    Both authenticated and unauthenticated access tested

    This appears to be a bug in the NextPVR plugin where it's using the wrong API method for single recordings. Is there a configuration option to force the plugin to use the correct recording.save method instead of recording.recurring.save? Or is this a known issue with a fix in development?

    Looking for a permanent solution to enable Jellyfin as a complete one-stop live TV and recording solution for family use.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


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

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode