Commit Graph

80 Commits

Author SHA1 Message Date
Cursor Agent
d29dce0afc fix: correct player routes and IDs, add API documentation
- Vidsrc: uses IMDb ID for both movies and TV shows
- Vidlink: uses IMDb ID for movies, TMDB ID for TV shows
- Updated routes: /players/vidsrc/{media_type}/{imdb_id}
- Updated routes: /players/vidlink/movie/{imdb_id}
- New route: /players/vidlink/tv/{tmdb_id}
- Added comprehensive OpenAPI documentation for new players
2025-10-04 19:52:39 +00:00
Cursor Agent
39eea67323 fix: remove dead players (twoembed, autoembed) and fix unused variable 2025-10-04 19:43:50 +00:00
Cursor Agent
bd853e7f89 add new players: vidsrc, twoembed, autoembed, vidlink 2025-10-04 19:18:44 +00:00
Cursor Agent
4e6e447e79 fix: remove AllowCredentials from CORS to support wildcard origin 2025-10-04 19:07:22 +00:00
e734e462c4 Merge branch 'feature/add-streaming-players-v2' into 'main'
feat: add RgShows and IframeVideo streaming players

See merge request foxixus/neomovies-api!4
2025-09-29 10:12:28 +00:00
c183861491 Merge branch 'feature/remove-webtorrent-fix-issues' into 'main'
Remove WebTorrent player documentation from API docs

See merge request foxixus/neomovies-api!3
2025-09-29 09:29:52 +00:00
factory-droid[bot]
63b11eb2ad Remove WebTorrent player documentation from API docs 2025-09-29 08:12:54 +00:00
factory-droid[bot]
321694df9c 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
- Built from commit a31cdf0 'Merge branch feature/jwt-refresh-and-favorites-fix'

Ready for production deployment! 🚀
2025-09-28 16:11:09 +00:00
a31cdf0f75 Merge branch 'feature/jwt-refresh-and-favorites-fix' into 'main'
feat: implement JWT refresh token mechanism and improve auth

See merge request foxixus/neomovies-api!1
2025-09-28 11:46:20 +00:00
dfcd9db295 feat: implement JWT refresh token mechanism and improve auth 2025-09-28 11:46:20 +00:00
59334da140 bug fixes 2025-08-28 21:25:21 +03:00
04583418a1 Edit README.md 2025-08-26 20:57:07 +00: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
fcb6caf1b9 Fix docs 2025-08-14 13:19:49 +00:00
bb64b2dde4 Fix docs 2025-08-14 13:19:19 +00:00
86034c8e12 Fix documentation 2025-08-14 12:47:52 +00:00
f3c1cab796 Add WebTorrent Player(Experimental) 2025-08-14 11:35:51 +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
12ed40f3d4 Bug fix 2025-08-07 19:23:10 +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
4a9a7febec fix 2025-07-19 21:45:57 +03:00
66cd0d3b21 add size torrent 2025-07-19 19:36:27 +03:00
92b936f057 fix seasons in JackRed 2025-07-17 21:00:58 +03:00
9cd3d45327 Add JackRed api 2025-07-17 20:35:20 +03:00
efcc5cd2b9 Delete useless code 2025-07-15 12:11:29 +00:00
a575b5c5bf improve db code 2025-07-10 22:22:57 +03:00
51af31a6d5 fix 2025-07-10 22:13:45 +03:00
0b2dc6b2f4 fix 2025-07-10 22:10:24 +03:00
cc463c4d7c new fix CORS 2025-07-10 22:02:41 +03:00
94968f3cd1 fix CORS for new subdomain 2025-07-10 21:56:47 +03:00
dff5e963ab impove db code 2025-07-08 16:56:03 +03:00
cf5dfc7e54 fix auth, reactions and etc 2025-07-08 16:43:41 +03:00
1005f30285 change reactions logic 2025-07-08 15:44:42 +03:00
ea3c208292 small fix 2025-07-08 15:39:58 +03:00
5ce5da39bb del useless file 2025-07-08 15:27:48 +03:00
58a32d8838 fix routes issue 2025-07-08 15:27:10 +03:00
770ecef6d5 change reactions logic 2025-07-08 14:55:20 +03:00
37040dd7ec add reactions 2025-07-08 14:51:41 +03:00
7aa0307e25 fix favourites issue 2025-07-08 13:26:58 +03:00
d961393562 small fixes and repair shit code 2025-07-08 00:12:12 +03:00
e1e2b4f92b fix db shit code 2025-07-07 20:43:22 +03:00