Commit Graph

257 Commits

Author SHA1 Message Date
Divarion-D
01bc1e77fa Added support for x-tvg-url in the M3U format in the device header 2025-12-17 21:39:18 +03:00
Divarion-D
930c8883aa Refactor EPG processing and XMLTV generation
- Improved error handling and logging in EPG class methods.
- Enhanced XML parsing logic to handle channels and programmes more efficiently.
- Added detailed logging for EPG data retrieval and processing steps.
- Streamlined database interactions for EPG data updates and cache management.
- Refactored user authentication checks in epg.php for better readability and performance.
- Optimized bouquet group handling and XMLTV generation logic.
- Implemented cleanup of old cache files and improved memory management.
2025-12-17 21:38:53 +03:00
Divarion-D
4a0078d782 Fixed the calculation of the used memory 2025-12-14 13:20:16 +03:00
Divarion-D
8f5aacbf5d Added automatic restart of mariadb when it crashes 2025-12-14 12:50:44 +03:00
Divarion-D
ac418954d9 Fix LLOD v3 2025-12-13 22:20:29 +03:00
Divarion-D
818bb2e750 Fixed receiving streams without a category 2025-12-12 21:11:18 +03:00
Divarion-D
22b95126cc Fixed exceptions in users.php 2025-12-12 20:11:52 +03:00
Divarion-D
332fbe8717 Bump version to 1.2.10 2025-12-11 20:46:38 +03:00
Divarion-D
46ebb53c5a Reviewed profile.php 2025-12-11 20:30:48 +03:00
Divarion-D
7156e78f73 Fixed queue.php 2025-12-11 19:18:40 +03:00
Divarion-D
f77e9b3732 Fixing files before merging 2025-12-11 18:46:43 +03:00
locka-hd
ccc80f7731 Merge pull request #2 from Vateron-Media/main
update
2025-12-10 22:22:55 +01:00
Divarion-D
733170d830 Disabling log sending when enabling development mode 2025-12-10 20:00:22 +03:00
Divarion-D
430c21c88f Fixed errors 2025-12-10 19:47:15 +03:00
locka-hd
2e3c33a55e Add fMP4 HLS generation for VOD, improve stream URL generation for HLS, and enhance FFprobe robustness and probesize validation. 2025-12-10 01:31:56 +01:00
Divarion-D
0d57b67332 Fixed errors 2025-12-09 21:44:11 +03:00
Divarion-D
d5320992a3 Fixed response data 2025-12-08 23:01:20 +03:00
Divarion-D
84b5158003 Fixed 414 Request-URI Too Large 2025-12-08 22:34:58 +03:00
Divarion-D
960a13ac18 Removed -f segment 2025-12-08 21:49:36 +03:00
Divarion-D
00db9071b5 Fixed exeptions 2025-12-08 21:19:09 +03:00
Divarion-D
1fe537cc39 Added infinite generation off air video 2025-12-06 20:18:19 +03:00
Divarion-D
3fb7c555f7 Fixed generation ondemand playlist 2025-12-06 20:10:29 +03:00
Divarion-D
891fbd18d0 Review mass_delete.php 2025-12-05 21:17:51 +03:00
Divarion-D
c9539e0b47 Merge branch 'main' of https://github.com/Vateron-Media/XC_VM 2025-12-05 17:50:16 +03:00
Divarion-D
08a2a69f45 Fixed the window width in the settings 2025-12-05 17:50:08 +03:00
dixtinn
f594736343 Geo2 Lite is updated to version 02-12-2025 and Geo2 ISP to version 12-09-2025. 2025-12-04 15:46:26 -05:00
Divarion-D
24ff23275e The logic in users.php has been corrected. 2025-12-04 21:39:34 +03:00
Divarion-D
76effb4eb2 Set the default FFMPEG segment type to -f hls 2025-12-04 20:49:14 +03:00
Divarion-D
548a41bacc Fix: prevent number_format() error when rating is empty
- Cast $rProperties['rating'] to float to avoid passing empty string to number_format()
- Ensure rating and rating_5based always return numeric values
2025-12-04 19:48:09 +03:00
Divarion-D
4aa0293365 Bump version to 1.2.9 2025-12-03 18:24:36 +03:00
Divarion-D
1a2d9cd836 Corrections after PR #46 2025-12-03 18:19:43 +03:00
Danil
c3745886e1 Merge pull request #46 from gpechieu/fix/player-api-xtream-codes-compatibility
fix: player_api.php Xtream Codes apps compatibility
2025-12-03 18:16:55 +03:00
Divarion-D
5a955b693f Correcting exceptions 2025-12-02 23:46:27 +03:00
Divarion-D
f2f2d66aea Fixed 2 errors causing exceptions 2025-12-01 21:11:12 +03:00
Divarion-D
6555c7293b Corrections after PR #45 2025-12-01 20:28:58 +03:00
Danil
3667e6dd61 Merge pull request #45 from gpechieu/main
feat: add skip_ffprobe and force_input_acodec stream options
2025-12-01 20:09:08 +03:00
Gastón Péchieu
9a904c3e59 fix: player_api.php Xtream Codes apps compatibility
This fix addresses compatibility issues with Xtream Codes compatible apps
that were causing:
1. "Checking server" infinite loop - missing active_cons field
2. App crash on login - incorrect data types and extra fields

Changes:
- Add missing 'active_cons' field to user_info
- Convert numeric fields to strings (is_trial, active_cons, created_at,
  max_connections, port, https_port, rtmp_port) to match XC API format
- Add 'process: true' to server_info (required by some apps)
- Remove 'xui' and 'version' fields from server_info (not in XC API)
- Set timezone to empty string (matches XC API behavior)

Tested against working Xtream Codes server to verify response format.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-01 16:26:46 +00:00
Divarion-D
b146377948 Fixed panel restart 2025-12-01 19:22:26 +03:00
Gastón Péchieu
9b996543bc feat: add skip_ffprobe and force_input_acodec stream options
PROBLEM:
Some MPEG-TS streams have corrupted PMT (Program Map Table) where
ffprobe incorrectly reports the audio codec as AC3 with sample_rate=0
and channels=0, when the actual audio is AAC ADTS. This caused
streams to fail to start.

SOLUTION:
1. skip_ffprobe: Skip codec detection via ffprobe and assume h264/aac
2. force_input_acodec: Force FFmpeg to interpret audio as a specific codec

CHANGES:
Backend:
- Added skip_ffprobe logic in CoreUtilities.php to bypass ffprobe
- Creates synthetic codec info (h264 video, aac audio) when enabled

Database:
- Added argument ID 20 (force_input_acodec) to streams_arguments
- Added argument ID 21 (skip_ffprobe) to streams_arguments
- Created migration file for existing installations

Admin UI:
- Added Skip FFProbe checkbox to stream edit form
- Added Force Input Audio Codec text field to stream edit form
- Added save logic for both options in admin_api.php (radio + live)

USAGE:
- Enable Skip FFProbe for streams with corrupted PMT metadata
- Set Force Input Audio Codec to 'aac' or 'ac3' as needed
- Streams using skip_ffprobe should have enable_transcode=0
2025-11-30 20:16:23 +01:00
Divarion-D
25d2222407 Bump version to 1.2.8 2025-11-30 20:47:51 +03:00
Divarion-D
d92f787056 Updated documentation and installed support for Ubuntu 20.x. libssl3 is installed for compatibility with PHP. The service startup timeout has been changed. 2025-11-30 20:42:55 +03:00
Divarion-D
41196477cf Refactoring of synchronization with Plex
- Rewritten authorization, retrieval, and storage of the Plex token.
- Removed the plex_token column (now stored in a file)
- Minor bug fixes
2025-11-30 19:48:24 +03:00
Divarion-D
7b10439997 Added support for displaying errors on the command line 2025-11-29 22:56:29 +03:00
Divarion-D
64b59a31ca Fixed the transfer key 2025-11-27 21:20:37 +03:00
Divarion-D
a1139b5838 Added a class to support multi-language. Removed deprecated functions 2025-11-27 21:14:21 +03:00
Divarion-D
219d63aa6f Fix errors 2025-11-27 18:13:30 +03:00
Danil
d874ed201e Merge pull request #42 from IPTVEX/main
Added translations and corrected duplicates in translations
2025-11-25 21:27:32 +03:00
Divarion-D
ac9a67d4e4 Old code has been removed and the database has been updated to the latest version 2025-11-25 21:16:04 +03:00
IPTVEX
ac349e0306 Update es.ini 2025-11-25 11:44:24 +01:00
IPTVEX
7a16978c5e Fixed problem with provider 2025-11-25 11:39:42 +01:00