-
-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support STRM files in library as available content #1004
Conversation
…o would fail current check for 'other resolution'
Support strm files, which won't have mediastream data until played, s…
Can someone please review? |
Please be patient. We are working on reviewing prs. Currently we have app breaking bugs in 2.0.0 that we need to put higher priority on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix all the whitespace changes you made.
You can format your code with the command pnpm format
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removing trailing whitespace
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed whitespacing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whitespaces are not fixed.
@@ -96,7 +96,7 @@ class JellyfinScanner { | |||
(MediaStream) => MediaStream.Type === 'Video' | |||
).some((MediaStream) => { | |||
return (MediaStream.Width ?? 0) <= 2000; | |||
}); | |||
}) || MediaSource.Container === 'strm'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By doing this, all STRM media will be considered non-4k media. Right now I don't know what method to use, but you have to find a way to retrieve the media definition.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hm, I also have no idea.
You have to find a way to retrieve the media definition of the STRM stream to be classified as non-4k or 4k. You can't classify every STRM as non-4k. |
Closing this as it has been solved by using a Jellyfin plugin: https://github.com/gauthier-th/JellyfinStrmExtract/ |
Description
Presence of a STRM container file for an item in Emby / Jellyfin should result in the item being marked as available
Screenshot (if UI-related)
To-Dos
pnpm build
pnpm i18n:extract
Issues Fixed or Closed