Jellyfin Forum
Subtitles failing to retrieve - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Subtitles failing to retrieve (/t-subtitles-failing-to-retrieve)



Subtitles failing to retrieve - Masch571 - 2025-04-13

I'm experiencing issues retrieving subtitles on my media website when using Jellyfin as the backend. While subtitles work perfectly in the Jellyfin web interface, they do not load on my custom frontend.
Specific details:
  • The media item has subtitles confirmed in Jellyfin (HasSubtitles: true)
  • External subtitle file exists: AllamericanS1E1.eng.srt
  • Subtitle Extract plugin has been installed
  • Attempted multiple subtitle loading methods without success
I've verified:
  • Subtitle file is in the correct directory
  • File permissions are correct
  • Jellyfin server is configured to allow subtitle access



RE: Subtitles failing to retrieve - TheDreadPirate - 2025-04-13

On a jellyfin-web client, it is sending the srt sub as a separate mediastream.

Code:
{
    "Name": "The Disfigured City",
    "ServerId": "f3dc322531974462ac4ec1d3cafafb57",
    "Id": "adf3636d9c23d62a886173d41dbd4582",
    "Etag": "ff18dedb0c0daa89c110a5699122822f",
    "DateCreated": "2025-03-11T14:20:47.4945645Z",
    "CanDelete": true,
    "CanDownload": true,
    "HasSubtitles": true,
    "Container": "mkv",
    "SortName": "001 - 0002 - The Disfigured City",
    "PremiereDate": "1989-12-21T00:00:00.0000000Z",
    "ExternalUrls": [],
    "MediaSources": [
        {
            "Protocol": "File",
            "Id": "adf3636d9c23d62a886173d41dbd4582",
            "Path": "/media/storage2/testShows/Angel Cop (1989) [tmdbid-65965]/Season 1/S01E02.mkv",
            "Type": "Default",
            "Container": "mkv",
            "Size": 1658955460,
            "Name": "S01E02",
            "IsRemote": false,
            "ETag": "c853d356a4ae7efeeb2798b141879743",
            "RunTimeTicks": 10100760000,
            "ReadAtNativeFramerate": false,
            "IgnoreDts": false,
            "IgnoreIndex": false,
            "GenPtsInput": false,
            "SupportsTranscoding": true,
            "SupportsDirectStream": true,
            "SupportsDirectPlay": true,
            "IsInfiniteStream": false,
            "UseMostCompatibleTranscodingProfile": false,
            "RequiresOpening": false,
            "RequiresClosing": false,
            "RequiresLooping": false,
            "SupportsProbing": true,
            "VideoType": "VideoFile",
            "MediaStreams": [
                {
                    "Codec": "subrip",
                    "TimeBase": "1/1000",
                    "VideoRange": "Unknown",
                    "VideoRangeType": "Unknown",
                    "AudioSpatialFormat": "None",
                    "LocalizedUndefined": "Undefined",
                    "LocalizedDefault": "Default",
                    "LocalizedForced": "Forced",
                    "LocalizedExternal": "External",
                    "LocalizedHearingImpaired": "Hearing Impaired",
                    "DisplayTitle": "Undefined - SUBRIP - External",
                    "IsInterlaced": false,
                    "IsAVC": false,
                    "IsDefault": false,
                    "IsForced": false,
                    "IsHearingImpaired": false,
                    "Height": 0,
                    "Width": 0,
                    "Type": "Subtitle",
                    "Index": 0,
                    "IsExternal": true,
                    "IsTextSubtitleStream": true,
                    "SupportsExternalStream": true,
                    "Path": "/media/storage2/testShows/Angel Cop (1989) [tmdbid-65965]/Season 1/S01E02.srt",
                    "Level": 0
                },
                {
                    "Codec": "h264",
                    "ColorSpace": "bt709",
                    "ColorTransfer": "bt709",
                    "ColorPrimaries": "bt709",
                    "TimeBase": "1/1000",
                    "VideoRange": "SDR",
                    "VideoRangeType": "SDR",
                    "AudioSpatialFormat": "None",
                    "DisplayTitle": "1080i H264 SDR",
                    "NalLengthSize": "4",
                    "IsInterlaced": true,
                    "IsAVC": true,
                    "BitRate": 13139252,
                    "BitDepth": 8,
                    "RefFrames": 1,
                    "IsDefault": false,
                    "IsForced": false,
                    "IsHearingImpaired": false,
                    "Height": 1080,
                    "Width": 1920,
                    "AverageFrameRate": 29.97003,
                    "RealFrameRate": 29.97003,
                    "ReferenceFrameRate": 29.97003,
                    "Profile": "High",
                    "Type": "Video",
                    "AspectRatio": "16:9",
                    "Index": 1,
                    "IsExternal": false,
                    "IsTextSubtitleStream": false,
                    "SupportsExternalStream": false,
                    "PixelFormat": "yuv420p",
                    "Level": 40,
                    "IsAnamorphic": false
                },
                {
                    "Codec": "aac",
                    "TimeBase": "1/1000",
                    "VideoRange": "Unknown",
                    "VideoRangeType": "Unknown",
                    "AudioSpatialFormat": "None",
                    "LocalizedDefault": "Default",
                    "LocalizedExternal": "External",
                    "DisplayTitle": "AAC - 5.1",
                    "IsInterlaced": false,
                    "IsAVC": false,
                    "ChannelLayout": "5.1",
                    "BitRate": 320000,
                    "Channels": 6,
                    "SampleRate": 48000,
                    "IsDefault": false,
                    "IsForced": false,
                    "IsHearingImpaired": false,
                    "Profile": "LC",
                    "Type": "Audio",
                    "Index": 2,
                    "IsExternal": false,
                    "IsTextSubtitleStream": false,
                    "SupportsExternalStream": false,
                    "Level": 0
                },
                {
                    "Codec": "subrip",
                    "TimeBase": "1/1000",
                    "VideoRange": "Unknown",
                    "VideoRangeType": "Unknown",
                    "AudioSpatialFormat": "None",
                    "LocalizedUndefined": "Undefined",
                    "LocalizedDefault": "Default",
                    "LocalizedForced": "Forced",
                    "LocalizedExternal": "External",
                    "LocalizedHearingImpaired": "Hearing Impaired",
                    "DisplayTitle": "Undefined - SUBRIP",
                    "IsInterlaced": false,
                    "IsAVC": false,
                    "IsDefault": false,
                    "IsForced": false,
                    "IsHearingImpaired": false,
                    "Height": 0,
                    "Width": 0,
                    "Type": "Subtitle",
                    "Index": 3,
                    "IsExternal": false,
                    "IsTextSubtitleStream": true,
                    "SupportsExternalStream": true,
                    "Level": 0
                }
            ],
            "MediaAttachments": [],
            "Formats": [],
            "Bitrate": 13459252,
            "RequiredHttpHeaders": {},
            "TranscodingSubProtocol": "http",
            "DefaultAudioStreamIndex": 2,
            "DefaultSubtitleStreamIndex": 0,
            "HasSegments": false
        }
    ],
    "Path": "/media/storage2/testShows/Angel Cop (1989) [tmdbid-65965]/Season 1/S01E02.mkv",
    "EnableMediaSourceDisplay": true,
    "ChannelId": null,
    "Overview": "Psychic hunters and a covert government group stalk the security force.",
    "Taglines": [],
    "Genres": [],
    "RunTimeTicks": 10100760000,
    "PlayAccess": "Full",
    "ProductionYear": 1989,
    "IndexNumber": 2,
    "ParentIndexNumber": 1,
    "RemoteTrailers": [],
    "ProviderIds": {},
    "IsHD": true,
    "IsFolder": false,
    "ParentId": "8cbd6cbbbc0543b8e9f9c9874e4e5b12",
    "Type": "Episode",
    "People": [
        {
            "Name": "Mika Doi",
            "Id": "b5c4a6c212ea634b42b878177778bffd",
            "Role": "Angel",
            "Type": "Actor",
            "PrimaryImageTag": "da32692522a7d9796f07bcc64e9f4435"
        },
        {
            "Name": "Kenji Utsumi",
            "Id": "85e417cf759e9e5349620e77487aa725",
            "Role": "Kaish\u014D Taki",
            "Type": "Actor",
            "PrimaryImageTag": "d689c832668b21f6cbdcf8492deadb7a"
        },
        {
            "Name": "Masashi Ebara",
            "Id": "82bf0004ea5198535b23aae78a28d6c0",
            "Role": "Raiden (Isamu Sakata)",
            "Type": "Actor",
            "PrimaryImageTag": "4c4dfaa02591105d3762bcc4f342fb28"
        },
        {
            "Name": "Nozomu Sasaki",
            "Id": "60d297f393631d10937144fce6f4d335",
            "Role": "Asura",
            "Type": "Actor",
            "PrimaryImageTag": "180043ddf8a1a0f81273ca204f45de59"
        },
        {
            "Name": "Osamu Saka",
            "Id": "5fbec58778ea40545cba15da2dc2627c",
            "Role": "Governor Maisaka",
            "Type": "Actor",
            "PrimaryImageTag": "f3aa136915fe05e0f95d33b51b2c5f38"
        }
    ],
    "Studios": [],
    "GenreItems": [],
    "ParentLogoItemId": "3ab504176680f1c42d2d8ae96546fd79",
    "ParentBackdropItemId": "3ab504176680f1c42d2d8ae96546fd79",
    "ParentBackdropImageTags": [
        "3950fe4f7156d0d9ba3d5aab71c20b9b"
    ],
    "LocalTrailerCount": 0,
    "UserData": {
        "PlaybackPositionTicks": 0,
        "PlayCount": 1,
        "IsFavorite": false,
        "LastPlayedDate": "2025-04-13T20:08:06.1985395Z",
        "Played": false,
        "Key": "81062001002",
        "ItemId": "00000000000000000000000000000000"
    },
    "SeriesName": "Angel Cop",
    "SeriesId": "3ab504176680f1c42d2d8ae96546fd79",
    "SeasonId": "8cbd6cbbbc0543b8e9f9c9874e4e5b12",
    "SpecialFeatureCount": 0,
    "DisplayPreferencesId": "26dd4a82b00c839c498471cdba80a99c",
    "Tags": [],
    "PrimaryImageAspectRatio": 1.7777777777777777,
    "SeriesPrimaryImageTag": "1d1d7b26268ff3a8e96057109b926973",
    "SeasonName": "Season 1",
    "MediaStreams": [
        {
            "Codec": "subrip",
            "TimeBase": "1/1000",
            "VideoRange": "Unknown",
            "VideoRangeType": "Unknown",
            "AudioSpatialFormat": "None",
            "LocalizedUndefined": "Undefined",
            "LocalizedDefault": "Default",
            "LocalizedForced": "Forced",
            "LocalizedExternal": "External",
            "LocalizedHearingImpaired": "Hearing Impaired",
            "DisplayTitle": "Undefined - SUBRIP - External",
            "IsInterlaced": false,
            "IsAVC": false,
            "IsDefault": false,
            "IsForced": false,
            "IsHearingImpaired": false,
            "Height": 0,
            "Width": 0,
            "Type": "Subtitle",
            "Index": 0,
            "IsExternal": true,
            "IsTextSubtitleStream": true,
            "SupportsExternalStream": true,
            "Path": "/media/storage2/testShows/Angel Cop (1989) [tmdbid-65965]/Season 1/S01E02.srt",
            "Level": 0
        },
        {
            "Codec": "h264",
            "ColorSpace": "bt709",
            "ColorTransfer": "bt709",
            "ColorPrimaries": "bt709",
            "TimeBase": "1/1000",
            "VideoRange": "SDR",
            "VideoRangeType": "SDR",
            "AudioSpatialFormat": "None",
            "DisplayTitle": "1080i H264 SDR",
            "NalLengthSize": "4",
            "IsInterlaced": true,
            "IsAVC": true,
            "BitRate": 13139252,
            "BitDepth": 8,
            "RefFrames": 1,
            "IsDefault": false,
            "IsForced": false,
            "IsHearingImpaired": false,
            "Height": 1080,
            "Width": 1920,
            "AverageFrameRate": 29.97003,
            "RealFrameRate": 29.97003,
            "ReferenceFrameRate": 29.97003,
            "Profile": "High",
            "Type": "Video",
            "AspectRatio": "16:9",
            "Index": 1,
            "IsExternal": false,
            "IsTextSubtitleStream": false,
            "SupportsExternalStream": false,
            "PixelFormat": "yuv420p",
            "Level": 40,
            "IsAnamorphic": false
        },
        {
            "Codec": "aac",
            "TimeBase": "1/1000",
            "VideoRange": "Unknown",
            "VideoRangeType": "Unknown",
            "AudioSpatialFormat": "None",
            "LocalizedDefault": "Default",
            "LocalizedExternal": "External",
            "DisplayTitle": "AAC - 5.1",
            "IsInterlaced": false,
            "IsAVC": false,
            "ChannelLayout": "5.1",
            "BitRate": 320000,
            "Channels": 6,
            "SampleRate": 48000,
            "IsDefault": false,
            "IsForced": false,
            "IsHearingImpaired": false,
            "Profile": "LC",
            "Type": "Audio",
            "Index": 2,
            "IsExternal": false,
            "IsTextSubtitleStream": false,
            "SupportsExternalStream": false,
            "Level": 0
        },
        {
            "Codec": "subrip",
            "TimeBase": "1/1000",
            "VideoRange": "Unknown",
            "VideoRangeType": "Unknown",
            "AudioSpatialFormat": "None",
            "LocalizedUndefined": "Undefined",
            "LocalizedDefault": "Default",
            "LocalizedForced": "Forced",
            "LocalizedExternal": "External",
            "LocalizedHearingImpaired": "Hearing Impaired",
            "DisplayTitle": "Undefined - SUBRIP",
            "IsInterlaced": false,
            "IsAVC": false,
            "IsDefault": false,
            "IsForced": false,
            "IsHearingImpaired": false,
            "Height": 0,
            "Width": 0,
            "Type": "Subtitle",
            "Index": 3,
            "IsExternal": false,
            "IsTextSubtitleStream": true,
            "SupportsExternalStream": true,
            "Level": 0
        }
    ],
    "VideoType": "VideoFile",
    "ImageTags": {
        "Primary": "ffd152f8340e72470ece21943acce607"
    },
    "BackdropImageTags": [],
    "ParentLogoImageTag": "3ee7c5fb642300dc4740e7c013c4d826",
    "ImageBlurHashes": {
        "Primary": {
            "ffd152f8340e72470ece21943acce607": "WLHUm^%L^d^$R.t6eTM|RkWBRkt6xAt5ohf9WANG~URl-m-nIqjs",
            "1d1d7b26268ff3a8e96057109b926973": "dIATmM%3GHtmvLVrELNamP$%siInxuxbtmX9J%IVRQoz"
        },
        "Logo": {
            "3ee7c5fb642300dc4740e7c013c4d826": "VHBv#Rw{E}soNuJRjtsUWpJR1]NuWpw{Wp$PWpw{$Po1"
        },
        "Thumb": {
            "bf9e159bf835268398a3f01256f8f09e": "WFCG_s%2I@H;W=-;tSwGx[tRNfIV4TWBoJIVngVsIvjrNGV@axkD"
        },
        "Backdrop": {
            "3950fe4f7156d0d9ba3d5aab71c20b9b": "WG9b6CNLB@=@r:9wItROe8V=xBt8NexV%LI@Nyx^XoX9krogs\u002Bs."
        }
    },
    "SeriesStudio": "Studio 88",
    "ParentThumbItemId": "3ab504176680f1c42d2d8ae96546fd79",
    "ParentThumbImageTag": "bf9e159bf835268398a3f01256f8f09e",
    "Chapters": [],
    "Trickplay": {},
    "LocationType": "FileSystem",
    "MediaType": "Video",
    "LockedFields": [],
    "LockData": false,
    "Width": 1920,
    "Height": 1080
}

Not sure if that helps or not. I don't know what you've tried or not tried.


RE: Subtitles failing to retrieve - Masch571 - 2025-04-14

Yes thanks , that helps a lot now I get it, but now I have this problem.Not sure if yo u can help:
Is maybe the url totally wrong?