Skip to content
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: added Default Quality/Bitrate #24

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

topiga
Copy link

@topiga topiga commented Feb 10, 2025

Complements streamyfin/streamyfin#509
I don't know if this is good, I have no idea how to test it. Please tell me if I need to change something.

@topiga topiga changed the title Added Default Quality/Bitrate feat: added Default Quality/Bitrate Feb 10, 2025

public enum Bitrates
{
Max = undefined,
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if this works. The "Max" bitrate is undefined on Streamyfin, but JavaScript and C# are two completely different languages...

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can run dotnet build to see if its valid. but for int enums 0 should generally be whats used to represent a 'undefined' value

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants