Create Movies and TV Series Video on Demand (VOD) Playlist's using Xtream Codes or M3U8 Format.
Generate video-on-demand movie and TV series playlists effortlessly with this script. The script utilizes TMDB and Real Debrid (with a few direct sources that do not require a Real Debrid API key) to dynamically create playlists. By emulating Xtream Codes apps like Tivimate, IPTV Streamers Pro, XCIPTV Player, NexTV, and others, it provides comprehensive metadata including descriptions, cast and crew details, trailers, poster images, and backdrop images.
- Dynamic playlist generation for movies and TV series
- Integration with TMDB and Real Debrid for enhanced content retrieval
- Emulation of Xtream Codes apps for full metadata details
- Inclusion of Daddylive HD as a Live TV source (load daddylive_playlist_m3u.php as an M3U List).
If you get a 403 error while playing the live tv try using an external player like the MxPlayer.
- Support for configuring referrer for playing live streams
- Automatic caching of found links for efficient playback
Setup Video:
Begin by configuring the script with a mandatory free TMDB API key and an optional Real Debrid private key.
Run the Scripts: Execute create_playlist.php for movies and create_tv_playlist.php for TV series. Schedule these two files to run once or twice daily using Windows Scheduler or as a cron job through your hosting panel.
Xtream Codes Integration: Once the scripts have been executed at least once, you can enter your IP address or domain as an Xtream Codes server. The username and password can be set to anything since the script doesn't require authentication. This will automatically load the previously generated Movies and TV Series playlists into the app.
Non-Xtream Codes Apps: If your app does not support Xtream Codes, locate the playlist.m3u8 in the same folder after running create_playlist.php and load it as an M3U playlist. Note that M3U playlists are available for movies and live TV only; TV series cannot be loaded as an M3U playlist.
Playback: Once everything is set up and the playlists are loaded, you should be able to play a video. Clicking the play button will trigger the script to search multiple websites in the background for a playable link. Please be patient and allow some time for a link to be found and streaming to commence. The script caches and stores the found link for approximately 3 hours, aligning with the typical access token expiration of most direct sources, which occurs at around 4 hours.
Local Hosting: If you lack a hosting company to run this extremely lightweight script, you can install and run software on your desktop computer like Xampp.
This project started as a weekend experiment to learn how to code. I'm committed to refining and expanding it if there's enough interest from users like you. Your feedback and support are invaluable!
This script retrieves movie information from TMDB and searches for related content on third-party websites. The legality of streaming or downloading content through these websites is uncertain. Please exercise caution and consider the legal and ethical implications of using this script to access and consume copyrighted content. Always respect copyright laws and the terms of service of the websites you visit.
Important: Make sure to put this into the root folder since some apps do not work well with sub directories.
TheTVApp Channel List:
Updated (10/20/2023):
Added the TheTVApp through Xtream Codes Api. TheTVApp will be loaded as a Live TV source when adding your server. Verified to be working with Smarters and Tivimate. The streaming is great very little to no buffering, however the quality is in SD.
Updated (11/07/2023):
Fixed a small change TheTVApp made that broke live_play.php causing the live streaming to stop working. Both tmdb-to-vod-playlist.zip and updates-only.zip contain the fix. If you already have the files downloaded just extract the updates-only.zip and replace the old live_play.php. New users download the tmdb-to-vod-playlist.zip.
The TheTVApp has been constantly changing the way their free streams are being encrypted. I have once again updated the script and waited a few days to release it. Hopefully now it will stay working.
I also fixed an issue with the play url in playlist.m3u8 when running the create_playlist.php.
Updated (11/13/2023):
- Bug Fixes: Successfully fixed numerous bugs, enhancing the overall performance and stability of the script.
- Logging: Added a new feature, detailed_log.html, for in-depth insight into the script’s link-searching process. Note: The logging system is still being refined, as I continue to learn and improve this script.
- Expanded Site Support for Non Real-Debrid Version: Included additional sites and extractors in the Non Real-Debrid version.
- Fixed TheTVAPP: Observed consistent and stable performance from TheTVAPP for over a week, thanks to the latest updates.
- Requires a Fresh Install: Due to significant changes in Global variables and other core aspects of the script, a fresh installation is required for this update to function correctly.
Currently exploring ways to include additional languages more effectively. If you need support for specific languages or sites that post streaming links in your preferred language, please reach out. I am open to adding these in the next upcoming updates.