-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Pass stremio video id to stremthru magnet cache check #407
Conversation
WalkthroughThe pull request introduces modifications to multiple files to enhance the handling of Stremio video IDs across the streaming providers system. The changes primarily focus on adding an optional Changes
Sequence DiagramsequenceDiagram
participant Parser as Stream Parser
participant CacheUpdate as Cache Update Function
participant StremThru as StremThru Client
Parser->>CacheUpdate: Call with stremio_video_id
CacheUpdate->>StremThru: Request torrent availability
StremThru-->>CacheUpdate: Return availability data
CacheUpdate-->>Parser: Update cache status
Possibly related PRs
Suggested labels
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (3)
🚧 Files skipped from review as they are similar to previous changes (3)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Why it is required the video ID to find the cache detail? Doesn't it redirect the cache endpoint callback to the relevant service? Since mediafusion itself having the filename validations, I don't think it's required to add imdb id detail |
For services that provide that info (e.g. oc, pm, tb) the api call is just forwarded to them. But for others (rd/ad/dl) it uses crowdsourced data (collected when user interacts with their debrid account using st, similar to what mf does) and also scraped data from various sources (which sometimes requires the video id). It still works without the video id, but with video id it's able to provide more data. You can try it out and see the difference in result with and without passing the video id. |
e92fc05
to
20ba1ca
Compare
StremThru needs the Stremio Video ID to reliably respond with magnet cache info for tv series.
Summary by CodeRabbit
New Features
Improvements
These changes provide more granular control and enhanced metadata handling for stream and torrent-related operations, potentially improving the overall streaming experience.