• 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 Retrieve file path using the API

     
    • 0 Vote(s) - 0 Average

    Retrieve file path using the API

    Facundo Batista
    Offline

    Junior Member

    Posts: 6
    Threads: 4
    Joined: 2023 Dec
    Reputation: 0
    #1
    2023-12-07, 10:34 PM
    Hello!

    I'm accessing the Jellyfin API as documented [here](https://api.jellyfin.org/), and I already have an Item described with a lot of information (using /Items).

    But I'm missing there the original file path. In other words, the path in disk that is source for that Item.

    How can I retrieve it?

    Thanks!
    mcarlton00
    Offline

    Kodi Addon Maintainer

    Posts: 145
    Threads: 1
    Joined: 2023 Sep
    Reputation: 9
    Country:United States
    #2
    2023-12-08, 02:23 AM
    If you're doing everything as url parameters, you need to include '&fields=path' to your request. For example:

    http://{your_server}:8096/Users/{user_id}/Items?Recursive=true&ParentId={library_id}&fields=Path
    Facundo Batista
    Offline

    Junior Member

    Posts: 6
    Threads: 4
    Joined: 2023 Dec
    Reputation: 0
    #3
    2023-12-08, 06:31 PM
    Wonderful,thanks!
    « 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