• 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 Development Server Development Testing API Additions

     
    • 0 Vote(s) - 0 Average

    Testing API Additions

    Dzvon2
    Offline

    Junior Member

    Posts: 20
    Threads: 8
    Joined: 2024 Apr
    Reputation: 0
    #1
    2025-03-10, 01:50 AM
    Howdy. For reference, I have never really done BE work before, my experience has been almost exclusively FE work, so go easy on me when I ask this. I have been in the process of trying to add a "Are you still watching" screen per the feature requests and I am tracking when you meet the condition for this screen to display on the server. The base conditions I am working off of, is there should be 2 episodes of media with no input interaction, and then 2 minutes into the 3rd episode the screen would appear. From what I can tell, there is no reporting we do if an input is registered in general, just if an input is on a registered button (ie a click on a button), so I have needed to create another endpoint for any input at all, which would be consumed in the different clients when the screen is implemented. I believe I have created the endpoint and logic correctly and I tried using postman to test if the endpoint does what I expect, but I just get an ECONNREFUSED error, which tells me I have something not configured correctly, but idk what. Should I be able to access my POST endpoint at url http://localhost:8096/Sessions/Playing/Interacted just by having my server running and hitting that endpoint? If this isn't enough to go off of I can push my branch and share a link to my commit if that's easier too. Thanks.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Testing API Additions - by Dzvon2 - 2025-03-10, 01:50 AM
    RE: Testing API Additions - by TheDreadPirate - 2025-03-10, 12:46 PM
    RE: Testing API Additions - by Dzvon2 - 2025-03-10, 02:19 PM
    RE: Testing API Additions - by TheDreadPirate - 2025-03-10, 02:59 PM

    • 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