Commit graph

626 commits

Author SHA1 Message Date
SergeantPanda
d92ba0c7e1 Fix VOD page not using pagination properly. 2025-08-14 12:51:56 -05:00
SergeantPanda
0cf2c74b40 Change from individual database calls to batch. 2025-08-14 12:51:39 -05:00
SergeantPanda
dac1490acc Attempt to match incoming connections to sessions that are running with no clients. This will help with clients that disconnect with every timeshift and connect to the original URL. 2025-08-12 21:34:30 -05:00
SergeantPanda
3e16614eab Store full content-length if using head request to initalize. 2025-08-12 17:32:07 -05:00
SergeantPanda
5eeb51585d Support HEAD requests, keep connection alive. 2025-08-12 15:27:39 -05:00
SergeantPanda
be51be7872 Switched to connection tracking by url instead of parameter and 301 redirect instead of 302. 2025-08-12 14:48:35 -05:00
SergeantPanda
a5db9d98e9 Track number of connections to avoid shutting down connection during time shifting. Lower grace period to 10 seconds if client disconnects. 2025-08-12 13:26:32 -05:00
SergeantPanda
2632e71815 Increased grace period to 30 seconds before closing provider connection 2025-08-12 11:11:03 -05:00
SergeantPanda
6addcebaf5 Fix duplicate connection counting in redis. 2025-08-12 10:59:40 -05:00
SergeantPanda
4acdfa99f9 Properly cleanup redis keys on client disconnect. 2025-08-12 10:51:06 -05:00
SergeantPanda
310f3c455e Properly close connection if client disconnects and is not seeking a new position. 2025-08-12 10:42:59 -05:00
SergeantPanda
b7fb9336be Reuse connections when seeking. 2025-08-12 09:56:30 -05:00
SergeantPanda
07966424f8 Fix seeking not working. 2025-08-12 08:29:26 -05:00
SergeantPanda
920201312e Fix episodes api call for series endpoint. 2025-08-11 16:07:41 -05:00
SergeantPanda
d4a93b8e4b Populate seasons array. 2025-08-10 21:56:39 -05:00
SergeantPanda
46a5b3355a Lots of fixes for series xc api responses. 2025-08-10 21:30:05 -05:00
SergeantPanda
3942517032 Save custom properties that aren't stream specific for episodes. 2025-08-09 16:55:26 -05:00
SergeantPanda
4d7987214b Fixed some vod apis, converted duration to duration_secs, add custom_poperties to vod_episode 2025-08-09 16:31:33 -05:00
SergeantPanda
3ac84e530a Switch to smarter extraction of port and if fails, take a guess. 2025-08-09 13:55:49 -05:00
SergeantPanda
b90956c49f Couple fixes for vod api. 2025-08-08 13:18:20 -05:00
SergeantPanda
19e59ae178 Switch to movie and episode id instead of relations. 2025-08-08 12:48:02 -05:00
SergeantPanda
4a80cb6d5c Fix get_vod_info 2025-08-08 11:34:27 -05:00
SergeantPanda
d054e2cac5 Add XC endpoints for VOD. 2025-08-08 09:03:25 -05:00
SergeantPanda
00361c15b9 Merged all migrations. 2025-08-08 08:41:43 -05:00
SergeantPanda
345247df11 Fix vod streaming. 2025-08-08 08:35:59 -05:00
SergeantPanda
a332678cfb Remove URL from episode relation table. 2025-08-08 08:06:28 -05:00
SergeantPanda
b229c9628d Fix movies not loading on first modal open. 2025-08-07 20:59:45 -05:00
SergeantPanda
430a486438 Add imdb_id to movie api output 2025-08-07 20:52:24 -05:00
SergeantPanda
325d832c1b Fixes movie details after db changes. 2025-08-07 20:42:20 -05:00
SergeantPanda
3741d28565 Fix typo in air date parsing. 2025-08-07 19:41:10 -05:00
SergeantPanda
8d37c678d3 Fix air_date not populating for series. 2025-08-07 19:28:42 -05:00
SergeantPanda
56922e1c01 Fix custom properties. 2025-08-07 16:10:45 -05:00
SergeantPanda
656cd3007b Fix release date and description 2025-08-07 15:37:08 -05:00
SergeantPanda
5b931f6272 Add missing functions for processing episodes. 2025-08-07 14:57:28 -05:00
SergeantPanda
a6bace9241 Add custom properties for movies and series. Refactor update logic. 2025-08-07 14:22:27 -05:00
SergeantPanda
0e388968c4 Convert to relation tables to support multiple providers for each vod. 2025-08-07 12:31:05 -05:00
SergeantPanda
44a2cf518c Track active connections the same way as ts_proxy 2025-08-05 21:35:04 -05:00
SergeantPanda
d18817acb0 Track VOD connections in Redis. 2025-08-05 21:24:41 -05:00
SergeantPanda
5e5b5e9797 Fix logos resetting when opening series. 2025-08-05 20:23:05 -05:00
SergeantPanda
4b6792ccbe Add ability to expand an episode row to view additional information. 2025-08-05 16:19:50 -05:00
SergeantPanda
0120419d09 Get full release date. 2025-08-05 15:50:28 -05:00
SergeantPanda
b11270ce4a Fix not populating episodes. 2025-08-05 13:53:43 -05:00
SergeantPanda
3c2534d8aa Combine a couple api calls. 2025-08-05 13:28:58 -05:00
SergeantPanda
8584aae675 Better naming for different functions. 2025-08-05 12:53:22 -05:00
SergeantPanda
151f654dd9 Only query series info if data is stale 2025-08-05 11:18:06 -05:00
SergeantPanda
9a927b1fc7 Update migration to track last series refresh. 2025-08-05 10:55:44 -05:00
SergeantPanda
4b27f95b30 Keep track of last time a series was refreshed. 2025-08-05 10:45:02 -05:00
SergeantPanda
4accd2be85 Pull advanced info from provider when opening a movie. 2025-08-03 22:02:34 -05:00
SergeantPanda
88a9f8b14e Fix vods not displaying in the webui. 2025-08-03 10:40:17 -05:00
SergeantPanda
d9192d003d Remove json dumps from custom_properties as now the fields are jsonb in postgres. Also fix category matching. 2025-08-02 19:03:39 -05:00