• 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 SOLVED: Jellyfin not accepting Item Update API call

     
    • 0 Vote(s) - 0 Average

    SOLVED: Jellyfin not accepting Item Update API call

    itai shufman
    Offline

    Junior Member

    Posts: 1
    Threads: 0
    Joined: 2024 Oct
    Reputation: 0
    #4
    2024-10-19, 12:45 PM (This post was last modified: 2024-10-19, 12:46 PM by itai shufman. Edited 1 time in total.)
    i seem to have the same problem and getting the item first isnt solving it.


    import requests

    auth = 'MediaBrowser Token="my_api_token"'

    server = 'http://127.0.0.1:8096'

    uri = f"/Items?parentId=some_playlist_id&fields=Path"

    videos = requests.get(f'{server}{uri}',headers={'Authorization': auth}).json()

    for vid in videos['Items']:
    vid['Name'] = custom_parsing_function(vid['Path'])
    update_uri = f"/Items/{vid['Id']}"
    resp = requests.post(f'{server}{update_uri}',headers={'Authorization': auth}, json=vid)



    i get status code 400 back.
    is this because i include the "path" in thhe GET command?
    « Next Oldest | Next Newest »

    Users browsing this thread:


    Messages In This Thread
    Jellyfin not accepting Item Update API call - by ram - 2024-09-07, 02:39 AM
    RE: Jellyfin not accepting Item Update API call - by ram - 2024-09-07, 08:22 AM
    RE: Jellyfin not accepting Item Update API call - by niels - 2024-09-07, 12:38 PM
    RE: Jellyfin not accepting Item Update API call - by itai shufman - 2024-10-19, 12:45 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