Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions plexio/models/plex.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def get_stremio_streams(self, configuration):
},
),
subtitles=external_subtitles,
behaviorHints={'bingeGroup': quality_description},
behaviorHints={'bingeGroup': quality_description, 'filename': filename},
),
)

Expand Down Expand Up @@ -250,7 +250,7 @@ def get_stremio_streams(self, configuration):
),
url=str(transcode_url % {'videoQuality': 100}),
subtitles=external_subtitles,
behaviorHints={'bingeGroup': quality_description},
behaviorHints={'bingeGroup': quality_description, 'filename': filename},
),
)

Expand All @@ -270,7 +270,7 @@ def get_stremio_streams(self, configuration):
),
url=str(transcode_url % quality_params['plex_args']),
subtitles=external_subtitles,
behaviorHints={'bingeGroup': quality_description},
behaviorHints={'bingeGroup': quality_description, 'filename': filename},
),
)

Expand Down
2 changes: 2 additions & 0 deletions plexio/models/stremio.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ class StremioStreamBehaviorHints(StremioBase):
not_web_ready: bool = False
binge_group: str | None = None
proxy_headers: dict | None = None
filename: str | None = None # For client-side release fingerprinting (IntroDB, etc.)
video_size: int | None = None # Stremio-standard byte size of the underlying file


class StremioStream(StremioBase):
Expand Down