[Issue]: External Subtitle DeliveryURL Incorrect #3940

Closed
opened 2026-02-07 00:10:05 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @LePips on GitHub (Jun 17, 2022).

Please describe your bug

Found by investigation in: https://github.com/jellyfin/Swiftfin/issues/417.

I have srt subtitles that are being labeled as subrip while using the DeliveryURL on a MediaStream as the routeFormat value will be subrip when it expects srt. Tested against the API itself in Postman.

Still broken on anticipated 10.8.1 release at time of writing. Logs do not show anything regarding this issue during scanning.

Jellyfin Version

10.8.0

if other:

No response

Environment

- OS: all
- all others N/A

Jellyfin logs

[2022-06-17 13:05:30.040 -06:00] [INF] [8] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Movie", Name: "The Big Short", Path: "/Users/epippin/Movies/Jellyfin/Movies/The Big Short/The Big Short.mkv", Id: a55a29fd-4ea5-2d2e-9031-d7472e067363
[2022-06-17 13:05:33.501 -06:00] [INF] [24] Emby.Server.Implementations.Library.Validators.StudiosValidator: Deleting dead "Studio" "7401baee7a70c10835ce0804643a9b44" "Paramount"
[2022-06-17 13:05:33.501 -06:00] [INF] [24] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Studio", Name: "Paramount", Path: "/Users/epippin/.local/share/jellyfin/metadata/Studio/Paramount", Id: 7401baee-7a70-c108-35ce-0804643a9b44
[2022-06-17 13:05:33.502 -06:00] [INF] [24] Emby.Server.Implementations.Library.Validators.StudiosValidator: Deleting dead "Studio" "82547c7f55813279679ba58afac39285" "Plan B Entertainment"
[2022-06-17 13:05:33.502 -06:00] [INF] [24] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Studio", Name: "Plan B Entertainment", Path: "/Users/epippin/.local/share/jellyfin/metadata/Studio/Plan B Entertainment", Id: 82547c7f-5581-3279-679b-a58afac39285
[2022-06-17 13:05:33.503 -06:00] [INF] [24] Emby.Server.Implementations.Library.Validators.StudiosValidator: Deleting dead "Studio" "4ca5f0f35c7228406ca6e16facd71bf6" "Regency Enterprises"
[2022-06-17 13:05:33.503 -06:00] [INF] [24] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Studio", Name: "Regency Enterprises", Path: "/Users/epippin/.local/share/jellyfin/metadata/Studio/Regency Enterprises", Id: 4ca5f0f3-5c72-2840-6ca6-e16facd71bf6
[2022-06-17 13:05:33.505 -06:00] [INF] [24] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Scan Media Library" Completed after 0 minute(s) and 3 seconds
[2022-06-17 13:05:33.509 -06:00] [INF] [24] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
[2022-06-17 13:05:33.582 -06:00] [INF] [8] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/Users/epippin/Movies/Jellyfin/Shows"
[2022-06-17 13:05:33.637 -06:00] [INF] [25] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/Users/epippin/Movies/Jellyfin/Music"
[2022-06-17 13:05:33.672 -06:00] [INF] [26] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/Users/epippin/Movies/Jellyfin/Movies"
[2022-06-17 13:05:58.006 -06:00] [INF] [23] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing "Scan Media Library"
[2022-06-17 13:05:58.007 -06:00] [INF] [23] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path "/Users/epippin/Movies/Jellyfin/Music"
[2022-06-17 13:05:58.008 -06:00] [INF] [23] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path "/Users/epippin/Movies/Jellyfin/Movies"
[2022-06-17 13:05:58.009 -06:00] [INF] [23] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path "/Users/epippin/Movies/Jellyfin/Shows"
[2022-06-17 13:05:58.010 -06:00] [INF] [23] Emby.Server.Implementations.Library.LibraryManager: Validating media library
[2022-06-17 13:06:03.373 -06:00] [INF] [108] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Scan Media Library" Completed after 0 minute(s) and 5 seconds
[2022-06-17 13:06:03.400 -06:00] [INF] [108] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
[2022-06-17 13:06:03.521 -06:00] [INF] [19] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/Users/epippin/Movies/Jellyfin/Music"
[2022-06-17 13:06:03.521 -06:00] [INF] [23] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/Users/epippin/Movies/Jellyfin/Shows"
[2022-06-17 13:06:03.521 -06:00] [INF] [15] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/Users/epippin/Movies/Jellyfin/Movies"

FFmpeg logs

N/A

Please attach any browser or client logs here

N/A

Please attach any screenshots here

Prior to 10.8.0:
Screen Shot 2022-06-17 at 12 53 49 PM

10.8.0 scan:
Screen Shot 2022-06-17 at 12 45 51 PM
Screen Shot 2022-06-17 at 12 51 03 PM

Code of Conduct

  • I agree to follow this project's Code of Conduct
Originally created by @LePips on GitHub (Jun 17, 2022). ### Please describe your bug Found by investigation in: https://github.com/jellyfin/Swiftfin/issues/417. I have `srt` subtitles that are being labeled as `subrip` while using the [DeliveryURL on a MediaStream](https://github.com/jellyfin/jellyfin/blob/0e1a41f7e938e415c32364ff1a4c97b8abab5fae/MediaBrowser.Model/Entities/MediaStream.cs#L446) as the `routeFormat` value will be `subrip` when it expects `srt`. Tested against the API itself in Postman. Still broken on anticipated `10.8.1` release at time of writing. Logs do not show anything regarding this issue during scanning. ### Jellyfin Version 10.8.0 ### if other: _No response_ ### Environment ```markdown - OS: all - all others N/A ``` ### Jellyfin logs ```shell [2022-06-17 13:05:30.040 -06:00] [INF] [8] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Movie", Name: "The Big Short", Path: "/Users/epippin/Movies/Jellyfin/Movies/The Big Short/The Big Short.mkv", Id: a55a29fd-4ea5-2d2e-9031-d7472e067363 [2022-06-17 13:05:33.501 -06:00] [INF] [24] Emby.Server.Implementations.Library.Validators.StudiosValidator: Deleting dead "Studio" "7401baee7a70c10835ce0804643a9b44" "Paramount" [2022-06-17 13:05:33.501 -06:00] [INF] [24] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Studio", Name: "Paramount", Path: "/Users/epippin/.local/share/jellyfin/metadata/Studio/Paramount", Id: 7401baee-7a70-c108-35ce-0804643a9b44 [2022-06-17 13:05:33.502 -06:00] [INF] [24] Emby.Server.Implementations.Library.Validators.StudiosValidator: Deleting dead "Studio" "82547c7f55813279679ba58afac39285" "Plan B Entertainment" [2022-06-17 13:05:33.502 -06:00] [INF] [24] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Studio", Name: "Plan B Entertainment", Path: "/Users/epippin/.local/share/jellyfin/metadata/Studio/Plan B Entertainment", Id: 82547c7f-5581-3279-679b-a58afac39285 [2022-06-17 13:05:33.503 -06:00] [INF] [24] Emby.Server.Implementations.Library.Validators.StudiosValidator: Deleting dead "Studio" "4ca5f0f35c7228406ca6e16facd71bf6" "Regency Enterprises" [2022-06-17 13:05:33.503 -06:00] [INF] [24] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Studio", Name: "Regency Enterprises", Path: "/Users/epippin/.local/share/jellyfin/metadata/Studio/Regency Enterprises", Id: 4ca5f0f3-5c72-2840-6ca6-e16facd71bf6 [2022-06-17 13:05:33.505 -06:00] [INF] [24] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Scan Media Library" Completed after 0 minute(s) and 3 seconds [2022-06-17 13:05:33.509 -06:00] [INF] [24] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks [2022-06-17 13:05:33.582 -06:00] [INF] [8] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/Users/epippin/Movies/Jellyfin/Shows" [2022-06-17 13:05:33.637 -06:00] [INF] [25] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/Users/epippin/Movies/Jellyfin/Music" [2022-06-17 13:05:33.672 -06:00] [INF] [26] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/Users/epippin/Movies/Jellyfin/Movies" [2022-06-17 13:05:58.006 -06:00] [INF] [23] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing "Scan Media Library" [2022-06-17 13:05:58.007 -06:00] [INF] [23] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path "/Users/epippin/Movies/Jellyfin/Music" [2022-06-17 13:05:58.008 -06:00] [INF] [23] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path "/Users/epippin/Movies/Jellyfin/Movies" [2022-06-17 13:05:58.009 -06:00] [INF] [23] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path "/Users/epippin/Movies/Jellyfin/Shows" [2022-06-17 13:05:58.010 -06:00] [INF] [23] Emby.Server.Implementations.Library.LibraryManager: Validating media library [2022-06-17 13:06:03.373 -06:00] [INF] [108] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Scan Media Library" Completed after 0 minute(s) and 5 seconds [2022-06-17 13:06:03.400 -06:00] [INF] [108] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks [2022-06-17 13:06:03.521 -06:00] [INF] [19] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/Users/epippin/Movies/Jellyfin/Music" [2022-06-17 13:06:03.521 -06:00] [INF] [23] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/Users/epippin/Movies/Jellyfin/Shows" [2022-06-17 13:06:03.521 -06:00] [INF] [15] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/Users/epippin/Movies/Jellyfin/Movies" ``` ### FFmpeg logs ``` N/A ``` ### Please attach any browser or client logs here N/A ### Please attach any screenshots here Prior to 10.8.0: <img width="609" alt="Screen Shot 2022-06-17 at 12 53 49 PM" src="https://user-images.githubusercontent.com/20747774/174391407-e77477db-8fd1-4c58-9bcb-96bd28948e07.png"> 10.8.0 scan: <img width="546" alt="Screen Shot 2022-06-17 at 12 45 51 PM" src="https://user-images.githubusercontent.com/20747774/174384726-44f63f2c-4ecb-42e2-a4d7-c426d945e909.png"> <img width="702" alt="Screen Shot 2022-06-17 at 12 51 03 PM" src="https://user-images.githubusercontent.com/20747774/174384928-959e65fd-9c3c-42a6-88bd-c58094df4199.png"> ### Code of Conduct - [X] I agree to follow this project's Code of Conduct
OVERLORD added the bug label 2026-02-07 00:10:05 +03:00
Author
Owner

@Shadowghost commented on GitHub (Jun 17, 2022):

We just append whatever format the client profile declares after checkig that format against the stream codec:
b36543275f/MediaBrowser.Model/Dlna/StreamInfo.cs (L910)

@Shadowghost commented on GitHub (Jun 17, 2022): We just append whatever `format` the client profile declares after checkig that format against the stream codec: https://github.com/jellyfin/jellyfin/blob/b36543275f8e1c380f5c247a04a48d5d96eb5836/MediaBrowser.Model/Dlna/StreamInfo.cs#L910
Author
Owner

@LePips commented on GitHub (Jun 18, 2022):

After investigation, it seems that requesting subrip just doesn't work correctly.

@LePips commented on GitHub (Jun 18, 2022): After investigation, it seems that requesting `subrip` just doesn't work correctly.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#3940