• 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 Client Development Smart TV Development Question: How to Obtain a Usable Thumbnail Link for Tizen Smart Hub Preview?

     
    • 0 Vote(s) - 0 Average

    Question: How to Obtain a Usable Thumbnail Link for Tizen Smart Hub Preview?

    BáBa
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Nov
    Reputation: 0
    #1
    2024-11-25, 09:24 AM (This post was last modified: 2024-11-25, 09:25 AM by BáBa. Edited 1 time in total.)
    I'm working on implementing a Tizen Smart Hub Preview and have nearly completed a functional version.
    The basic process involves the application running on the TV, generating a JSON file, and sending it to a Tizen service. 
    For the preview to work, the application doesn’t need to be running, but I need a direct link to the thumbnail image to display it properly.

    Currently, I see that the thumbnail is available at a URL like this:
    http://<Server_Address>:8096/Items/<Item_ID>/Images/Thumb?fillHeight=122&fillWidth=216&format=jpg&quality=96&tag=<TAG>
    However, the server response includes a
    Content-Disposition: attachment
    header, which prevents the thumbnail from being directly usable in the preview.
    Is there a way to bypass this issue or modify the response so that the thumbnail URL can be embedded and displayed correctly in the Tizen preview?

    Thanks
    niels
    Offline

    Core Team

    Posts: 248
    Threads: 4
    Joined: 2023 Jun
    Reputation: 12
    Country:Netherlands
    #2
    2024-11-25, 01:23 PM
    All image endpoints return the content-disposition header to prevent the images from being opened directly in the browser. There is no way to disable this behavior.
    [Image: GitHub%20Sponsors-grey?logo=github]
    BáBa
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Nov
    Reputation: 0
    #3
    2024-11-25, 01:32 PM
    Then, do you have any advice on how this feature can be implemented?
    It's quite frustrating that I need to rely on external sites for the thumbnails.
    niels
    Offline

    Core Team

    Posts: 248
    Threads: 4
    Joined: 2023 Jun
    Reputation: 12
    Country:Netherlands
    #4
    2024-11-25, 01:35 PM
    I'm not familiar with development for Tizen but normally a content disposition header should not block an application from displaying an image.
    [Image: GitHub%20Sponsors-grey?logo=github]
    BáBa
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Nov
    Reputation: 0
    #5
    2024-11-25, 04:54 PM (This post was last modified: 2024-11-25, 05:20 PM by BáBa. Edited 1 time in total.)
    The problem, that in this case no development is needed from tizen point of view. We need to call an internal tizen api with a formated Json file. And one field is an url with the required image.
    I can get all info from jellyfin except the image...
    « 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