• 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 Have Jellyfin automatically play supported version of a movie

     
    • 0 Vote(s) - 0 Average

    Have Jellyfin automatically play supported version of a movie

    Zippy1970
    Offline

    Junior Member

    Posts: 16
    Threads: 4
    Joined: 2023 Sep
    Reputation: 0
    #8
    2023-09-30, 08:21 AM
    I would love to do it. The only thing holding me back is that the time to get familiar with the inner workings of Jellyfin (just to find out where the parts are that serve up the media files) would probably take a lot longer than it would take adding that feature. I really don't have much spare time (working on several other projects). So if someone could point me towards the proper source code, that would save me a lot of time.

    I disagree that there isn't much interest for such a feature. A quick search on the internet results in a buttload of posts on several sites/forums where people are asking about just that.

    Quote:I would also say that it's a terrible idea, in general, to make assumptions about what's involved in adding any feature to any code base--jellyfin or otherwise--with which you are not familiar. Such assumptions are rarely accurate.

    Like I said, everything needed to do something like this is already there. When a request is made to play a movie, the server already iterates through all available versions, it already retrieves the information about codecs needed, resolution of the video, internal URLs, etc. Again, of every version. Then it picks the default file (the first in its internal sorted list), checks if it needs transcoding, then starts serving that video (with out without transcoding). Looking at the communication between the client and the server, I think that's a pretty accurate depiction of what is happening behind the scenes.

    Now in my opinion, all you have to do is move the transcoding check to within the loop, and just keep track of which versions need transcoding or not. And instead of serving the first file of the list, serve the one that doesn't need transcoding. And if there's more than one version that doesn't need transcoding, pick the one with the highest resolution.

    Again, I don't think it's all that difficult. But I won't know for sure until I have had a look at the source code (which I would love to do if I would know where to look for this source code)
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Have Jellyfin automatically play supported version of a movie - by Zippy1970 - 2023-09-28, 08:29 AM
    RE: Have Jellyfin automatically play supported version of a movie - by TheDreadPirate - 2023-09-28, 12:33 PM
    RE: Have Jellyfin automatically play supported version of a movie - by Zippy1970 - 2023-09-28, 09:31 PM
    RE: Have Jellyfin automatically play supported version of a movie - by TheDreadPirate - 2023-09-28, 09:47 PM
    RE: Have Jellyfin automatically play supported version of a movie - by bitmap - 2023-09-29, 08:12 AM
    RE: Have Jellyfin automatically play supported version of a movie - by Zippy1970 - 2023-09-29, 08:14 AM
    RE: Have Jellyfin automatically play supported version of a movie - by skribe - 2023-09-29, 03:33 PM
    RE: Have Jellyfin automatically play supported version of a movie - by Zippy1970 - 2023-09-30, 08:21 AM
    RE: Have Jellyfin automatically play supported version of a movie - by Zippy1970 - 2023-09-30, 08:37 AM
    RE: Have Jellyfin automatically play supported version of a movie - by Venson - 2023-09-30, 10:11 AM
    RE: Have Jellyfin automatically play supported version of a movie - by Zippy1970 - 2023-10-01, 10:48 AM
    RE: Have Jellyfin automatically play supported version of a movie - by skribe - 2023-09-30, 12:51 PM
    RE: Have Jellyfin automatically play supported version of a movie - by Zippy1970 - 2023-10-03, 09:37 AM
    RE: Have Jellyfin automatically play supported version of a movie - by usrnammit - 2023-10-03, 10:32 AM
    RE: Have Jellyfin automatically play supported version of a movie - by Zippy1970 - 2023-10-03, 01:16 PM
    RE: Have Jellyfin automatically play supported version of a movie - by usrnammit - 2023-10-03, 02:07 PM
    RE: Have Jellyfin automatically play supported version of a movie - by Zippy1970 - 2023-10-03, 04:10 PM
    RE: Have Jellyfin automatically play supported version of a movie - by Zippy1970 - 2023-10-04, 09:15 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