DA

donatelloroberto/asset-extractor

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

0 stars 품질 36 트렌드 4

This project aggregates and serves Stremio add-ons for various content providers.

개요

This project aggregates and serves Stremio add-ons for various content providers. - : Updated the metadata extraction logic to prioritize schema.org/VideoObject metadata. This provides more reliable titles, posters, and descriptions compared to basic OpenGraph tags. - : Added support for extracting actor information from source pages and including it in the Stremio metadata response. - : Integrated zod for runtime validation of metadata responses to ensure compliance with the Stremio Add-on SDK schema. - : Refactored the stream mapping logic to prioritize playerFrameUrl (Embed Player) over externalUrl (Open in Browser) when a base URL is available. This ensures that content opens directly within the Stremio app's internal player whenever possible. - : Enhanced the media resolver to better handle various stream types and fallbacks. - : Replaced basic console.log calls with a structured logging system that includes timestamps and source identifiers.

README

Asset Extractor - Stremio Add-on

This project aggregates and serves Stremio add-ons for various content providers.

Recent Fixes and Enhancements (fix/stremio-metadata-playback)

1. Metadata Retrieval Improvements

  • Enhanced Scraper: Updated the metadata extraction logic to prioritize schema.org/VideoObject metadata. This provides more reliable titles, posters, and descriptions compared to basic OpenGraph tags.
  • Cast Extraction: Added support for extracting actor information from source pages and including it in the Stremio metadata response.
  • Validation Layer: Integrated zod for runtime validation of metadata responses to ensure compliance with the Stremio Add-on SDK schema.

2. Stream Playback Fixes

  • Playback Logic: Refactored the stream mapping logic to prioritize playerFrameUrl (Embed Player) over externalUrl (Open in Browser) when a base URL is available. This ensures that content opens directly within the Stremio app’s internal player whenever possible.
  • Improved Resolution: Enhanced the media resolver to better handle various stream types and fallbacks.

3. Logging and Debugging

  • Structured Logging: Replaced basic console.log calls with a structured logging system that includes timestamps and source identifiers.
  • Cache Monitoring: Added detailed logging for cache hits, misses, and sets when DEBUG=1 is enabled.
  • Debug Mode: Standardized the use of the DEBUG environment variable across the provider, extractor, and cache modules.

4. Caching and Performance

  • Cache Visibility: Improved the cache statistics reporting to provide a clearer view of the add-on’s performance.
  • In-Memory Caching: Maintained efficient in-memory caching for catalogs, metadata, and streams to reduce external requests.

Deployment

The app is designed to be deployed on:

  • Vercel
  • Netlify
  • Render

Ensure that the DEBUG environment variable is set to 1 if you need detailed logs for troubleshooting.

Testing

To test the fixes:

  1. Install the add-on in the Stremio app using the manifest URL.
  2. Verify that metadata (posters, descriptions, cast) loads correctly for various items.
  3. Ensure that clicking “Play” opens the video directly in the Stremio player rather than redirecting to a browser.
GitHub에서 전체 README 보기

추천 도구

다른 키워드를 입력하거나 필터를 제거해 보세요.

설치

npx skillfish add donatelloroberto/asset-extractor
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →