Commit Graph

53 Commits

Author SHA1 Message Date
factory-droid[bot]
a8cdfd9a5f 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 stable commit 7f6ff5f (Rewrite api to Go)

Ready for production deployment! 🚀
2025-09-28 16:00:17 +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
6b063f4c70 fix db close leak 2025-07-07 20:39:52 +03:00
95910e0710 ed readme 2025-07-07 18:23:34 +03:00
02dedbb8f7 Authorization, favorites and players have been moved to the API server 2025-07-07 18:08:42 +03:00
6bf00451fa Fix multisearch 2025-05-28 12:21:52 +00:00
600de04561 Fix search 2025-05-28 12:03:25 +00:00
7a83bf2e27 Add categories 2025-05-28 10:27:38 +00:00
1fd522872d Delete /movies/search route 2025-05-01 09:14:26 +00:00
0f751cced0 Update 2 files
- /src/routes/movies.js
- /src/index.js
2025-01-16 16:28:35 +00:00
4cb06cbde5 Update 2 files
- /src/routes/movies.js
- /src/config/tmdb.js
2025-01-16 16:21:32 +00:00
4f23e979d5 Update file movies.js 2025-01-16 16:12:42 +00:00
c25d4e5d87 Update 6 files
- /src/index.js
- /src/config/tmdb.js
- /src/routes/movies.js
- /src/routes/images.js
- /src/routes/tv.js
- /package-lock.json
2025-01-16 15:44:05 +00:00
5361894af1 Update 4 files
- /src/config/tmdb.js
- /src/routes/movies.js
- /LICENSE
- /package.json
2025-01-16 09:22:58 +00:00
a5eb03aea8 Update file movies.js 2025-01-04 14:17:20 +00:00
a04b4f7c12 Update file tmdb.js 2025-01-04 13:13:46 +00:00
3a86c14129 Update 4 files
- /src/index.js
- /src/routes/movies.js
- /src/config/tmdb.js
- /package.json
2025-01-04 12:54:12 +00:00
498bc41c1b Edit README.md 2025-01-04 08:21:15 +00:00
4d73fc9d8c Edit LICENSE 2025-01-04 08:14:48 +00:00
2d25162b1c Add LICENSE 2025-01-04 08:09:52 +00:00
af5957b4f9 Update file tmdb.js 2025-01-03 20:22:04 +00:00
a724bf0484 Update 3 files
- /api/index.js
- /src/index.js
- /vercel.json
2025-01-03 20:14:34 +00:00
8b11f89347 Update 4 files
- /src/index.js
- /src/routes/movies.js
- /src/config/tmdb.js
- /vercel.json
2025-01-03 20:08:13 +00:00
0c1cfb1ac5 Update 2 files
- /src/public/api-docs/index.html
- /src/index.js
2025-01-03 19:58:01 +00:00
868e71991c Update 10 files
- /package.json
- /package-lock.json
- /README.md
- /vercel.json
- /src/config/tmdb.js
- /src/public/api-docs/index.html
- /src/utils/date.js
- /src/utils/health.js
- /src/routes/movies.js
- /src/index.js
2025-01-03 19:46:10 +00:00
5f859eebb8 Update 25 files
- /docs/docs.go
- /docs/swagger.json
- /docs/swagger.yaml
- /internal/api/handlers.go
- /internal/api/init.go
- /internal/api/models.go
- /internal/api/utils.go
- /internal/tmdb/client.go
- /internal/tmdb/models.go
- /src/config/tmdb.js
- /src/routes/movies.js
- /src/utils/date.js
- /src/utils/health.js
- /src/index.js
- /build.sh
- /clean.sh
- /go.mod
- /go.sum
- /main.go
- /package-lock.json
- /package.json
- /README.md
- /render.yaml
- /run.sh
- /vercel.json
2025-01-03 19:36:22 +00:00
3a6ac8db4b Update file index.js 2025-01-03 19:28:39 +00:00
60c574849b Update 3 files
- /package-lock.json
- /vercel.json
- /src/index.js
2025-01-03 19:26:29 +00:00
037ab7a458 Update file package.json 2025-01-03 19:19:06 +00:00