• 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 Media stubs

     
    • 0 Vote(s) - 0 Average

    Media stubs

    Best practice using media stubs in Jellyfin
    Philmo67
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Jan
    Reputation: 0
    #1
    2024-01-15, 01:52 PM
    Hello,
    I'm listing the physical discs that I haven't yet ripped in Jellyfin, so that we can use the Jellyfin clients (KODI most often) to browse our collection, choose a movie, and, if necessary, look for the physical disc and insert it in the optical drive.
    The naming conventions I use are TITLE.DVD.disc , TITLE.BLURAY.disc and TITLE.BLURAY.3D.MVC.disc.
    The metadata is retrieved and transmitted without any problem from the film's "TITLE".
    I can't manage to materialize the fact that the film is on a physical medium, and possibly in 3D, either in Jellyfin or KODI. You can tell in KODI because it doesn't display media flags for physical discs.
    Do you use this handy "media stubs" feature?
    How do you manage to make physical disks and ripped media cohabit?
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #2
    2024-01-15, 02:55 PM
    jellyfin being a "media SERVER" not a "media PLAYER" i think you will find that features that involve physically changing discs are lacking
    mostly people serve existing files
    Philmo67
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Jan
    Reputation: 0
    #3
    2024-01-15, 03:34 PM (This post was last modified: 2024-01-15, 03:58 PM by Philmo67. Edited 3 times in total.)
    It seems to be a useful reminiscence of Emby: https://emby.media/support/articles/Media-Stubs.html
    Having everything listed in Jellyfin also simplifies things with request systems like Jellyseerr (even if, here again, the detection of films on physical media is not automatic).

    Indeed, with physical media, at playback time, it's the client's role, not the server's, to manage any missing media. KODI, for example, asks you to insert the disc and can even open its disc tray. On the other hand, a handheld device throws an error popup, that could be avoided if there was a way to see that the film is not streamable.

    It seems to me that the nfo files generated by Jellyfin when indexing *.disc files should be able to contain streamdetails (even dummy ones), but that's why I'm asking you for advice :-)
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #4
    2024-01-15, 03:38 PM
    just trying to set a reasonable expectation

    i would never use such a thing because my jellyfin has no drive and lives in a server closet
    primary use is remote playback to my phones and tablets while away from home so it would serve no point to have my tablet ask me to insert a disc when i am on a train
    Philmo67
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Jan
    Reputation: 0
    #5
    2024-01-18, 04:09 PM (This post was last modified: 2024-01-18, 04:10 PM by Philmo67. Edited 1 time in total.)
    Am I the only one to use Jellyfin in this context?

    In short, I'm looking for a way to make media flags work on *.disc files from Jellyfin in KODI. As for other metadata, it's all working perfectly.

    I'm a bit stuck:
    KODI alone handles media flags correctly by parsing the file name.
    It's not possible (at least not to my knowledge) to have a video library other than what is inserted directly into the KODI database by the Jellyfin plugin. Media flags would therefore have to be supplied by Jellyfin.

    One idea worth exploring: when browsing the Jellyfin library, it's possible to filter content by video type (BD, DVD, 4K, SD, 3D).
    How can I shape my *.disc and/or *.nfo files so that this concept can be exploited?
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #6
    2024-01-18, 04:33 PM
    if anything is going to work ...

    if jellyfin identifies .disc as a "media" file it will need to serve it while bypassing ffmpeg (and everything else it does); this may work using jellyfin for kodi in native playback instead of addon (native is usually a terrible idea for regular media though)

    it *could be possible by putting the url into a .strm file, jellyfin will identify .strm files but also tries to scan them so you will get errors in the log
    that url would have to be a network location that kodi can access; nfs:// or smb://

    and if kodi will still recognize .disc as physical media when being served in such a manner; i have no idea on the requirements kodi has for this
    Philmo67
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Jan
    Reputation: 0
    #7
    2024-01-18, 05:38 PM
    According to https://github.com/jellyfin/jellyfin/blo...ons.cs#L95 , Jellyfin considers *.disc files as stub files not video files, and the ffmpeg bypassing logic is OK (with a clear error message if you try to stream it, saying you are trying to stream a placeholder file).
    On the other hand, Stubtypes and 3DFormat (from the same C# file) don't seem to work, at least with the naming scheme I'm using because https://github.com/jellyfin/jellyfin/blo...ver.cs#L96 seems to contain all the logic to manage the information I'm interested in in this thread, to populate some *.nfo file maybe.
    They seem to get lost afterwards and appear nowhere in Jellyfin.

    I use native mode and despite using appropriate naming conventions, the way the Jellyfin addon populates KODI database seems to bypass KODI's mediaflag detection.
    I can use (and I am using) path based smart playlists though to try to facilitate navigation in KODI as much as possible.
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #8
    2024-01-18, 05:59 PM
    try the .strm workaround above
    i was experimenting about a year ago with media integration between jellyfin and kodi, i was able to trick jellyfin into indexing media which was served by Hulu and accessed by the Hulu addon for kodi which i used a strm file containing a plugin:// path
    the jellyfin addon for kodi had to be modified to allow kodi to control the resume pointers instead of the server for this content but it did actually work to populate "my library" with titles from Hulu
    « 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