Commit Graph

17 Commits

Author SHA1 Message Date
factory-droid[bot]
bdeb1e1d74 feat: add RgShows and IframeVideo streaming players
🎬 New Streaming Players Added:
- RgShows player for movies and TV shows via TMDB ID
- IframeVideo player using Kinopoisk ID and IMDB ID
- Unified players manager for multiple streaming providers
- JSON API endpoints for programmatic access

📡 RgShows Player Features:
- Direct movie streaming: /api/v1/players/rgshows/{tmdb_id}
- TV show episodes: /api/v1/players/rgshows/{tmdb_id}/{season}/{episode}
- HTTP API integration with rgshows.com
- 40-second timeout for reliability
- Proper error handling and logging

🎯 IframeVideo Player Features:
- Two-step authentication process (search + token extraction)
- Support for both Kinopoisk and IMDB IDs
- HTML iframe parsing for token extraction
- Multipart form data for video URL requests
- Endpoint: /api/v1/players/iframevideo/{kinopoisk_id}/{imdb_id}

🔧 Technical Implementation:
- Clean Go architecture with pkg/players package
- StreamResult interface for consistent responses
- Proper HTTP headers mimicking browser requests
- Comprehensive error handling and logging
- RESTful API design following existing patterns

🌐 New API Endpoints:
- /api/v1/players/rgshows/{tmdb_id} - RgShows movie player
- /api/v1/players/rgshows/{tmdb_id}/{season}/{episode} - RgShows TV player
- /api/v1/players/iframevideo/{kinopoisk_id}/{imdb_id} - IframeVideo player
- /api/v1/stream/{provider}/{tmdb_id} - JSON API for stream info

 Quality Assurance:
- All code passes go vet without issues
- Proper Go formatting applied
- Modular design for easy extension
- No breaking changes to existing functionality

Ready for production deployment! 🚀
2025-09-28 15:19:54 +00:00
factory-droid[bot]
ea3159fb8e feat: implement JWT refresh token mechanism and improve auth
- Add refresh token support with 30-day expiry
- Implement automatic token rotation on refresh
- Add new endpoints: /auth/refresh, /auth/revoke-token, /auth/revoke-all-tokens
- Reduce access token lifetime to 1 hour for better security
- Store refresh tokens in user document with metadata
- Add support for token cleanup and management
- Update login flow to return both access and refresh tokens
- Maintain backward compatibility with existing auth methods
2025-09-28 11:37:56 +00:00
59334da140 bug fixes 2025-08-28 21:25:21 +03:00
42073ea7b4 Release 2.4.4 2025-08-17 11:58:43 +00:00
a2e015aa53 Bug fix 2025-08-14 15:19:20 +00:00
552e60440c Bug fix 2025-08-14 13:36:22 +00:00
bb64b2dde4 Fix docs 2025-08-14 13:19:19 +00:00
86034c8e12 Fix documentation 2025-08-14 12:47:52 +00:00
d790eb7903 Add WebTorrent Player(Experimental) 2025-08-14 11:34:31 +00:00
d347c6003a Release 2.4.2 2025-08-13 18:02:03 +00:00
c8cf79d764 Edit docs.go 2025-08-11 19:11:52 +00:00
206aa770b6 Add player: Vibix 2025-08-11 18:36:02 +00:00
9db1ee3f50 Bug fix: favourites route 2025-08-11 11:36:23 +03:00
171a2bf3ed Add Google OAuth 2025-08-08 16:47:02 +00:00
486bbf5475 Bug Fix: Fix Delete profile route 2025-08-08 10:35:07 +00:00
53d70c9262 Bug fix 2025-08-07 18:25:43 +00:00
7f6ff5f660 Rewrite api to Go 2025-08-07 13:47:42 +00:00