• 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 General Questions ansible automation

     
    • 0 Vote(s) - 0 Average

    ansible automation

    how to configure jellyfin with ansible
    olivia Barker
    Offline

    Junior Member

    Posts: 8
    Threads: 1
    Joined: 2024 Aug
    Reputation: 0
    #12
    2024-08-20, 01:21 PM (This post was last modified: 2024-08-20, 03:03 PM by olivia Barker. Edited 5 times in total.)
    i was looking at the jellyfin api and i saw this section of it https://api.jellyfin.org/#tag/Startup i think i can use this to do what i want then i can add libaries using the libarystructure routes. It still doesnt fix things like watch time but it would let me automate the setup like i wanted i used dev tools to copy the request and parameters sent to api via the web client. im slightly confused as the startup ommands still require and api key. i am trying to get an api key using the command "curl -L -v -X POST -H "Accept: application/json" -d "app=test" http://127.0.0.1:8096/Auth/Keys"
    this is so i can get the api key required for the other requests however im getting a 401 unautharised


    Note: Unnecessary use of -X or --request, POST is already inferred.
    * Trying 127.0.0.1:8096...
    * Connected to 127.0.0.1 (127.0.0.1) port 8096
    > POST /Auth/Keys HTTP/1.1
    > Host: 127.0.0.1:8096
    > User-Agent: curl/8.9.1
    > Accept: application/json
    > Content-Length: 8
    > Content-Type: application/x-www-form-urlencoded
    >
    * upload completely sent off: 8 bytes
    < HTTP/1.1 401 Unauthorized
    < Content-Length: 0
    < Date: Tue, 20 Aug 2024 14:47:40 GMT
    < Server: Kestrel
    < X-Response-Time-ms: 0.4857
    <
    * Connection #0 to host 127.0.0.1 left intact

    i tried pulling the authorization header from the setup wizard's requests but it sats i have a malformed input somewhere i tried escaping the " inside the header but i still get the same thing
    « Next Oldest | Next Newest »

    Users browsing this thread: 3 Guest(s)


    Messages In This Thread
    ansible automation - by olivia Barker - 2024-08-19, 10:20 AM
    RE: ansible automation - by mcarlton00 - 2024-08-19, 11:28 AM
    RE: ansible automation - by olivia Barker - 2024-08-19, 11:35 AM
    RE: ansible automation - by mcarlton00 - 2024-08-19, 12:10 PM
    RE: ansible automation - by TheDreadPirate - 2024-08-19, 01:23 PM
    RE: ansible automation - by olivia Barker - 2024-08-19, 02:04 PM
    RE: ansible automation - by TheDreadPirate - 2024-08-19, 02:27 PM
    RE: ansible automation - by olivia Barker - 2024-08-19, 02:40 PM
    RE: ansible automation - by TheDreadPirate - 2024-08-19, 03:34 PM
    RE: ansible automation - by olivia Barker - 2024-08-19, 03:50 PM
    RE: ansible automation - by Efficient_Good_5784 - 2024-08-19, 03:55 PM
    RE: ansible automation - by olivia Barker - 2024-08-20, 03:15 PM
    RE: ansible automation - by olivia Barker - 2024-08-20, 01:21 PM
    RE: ansible automation - by olivia Barker - 2024-08-23, 09:47 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