DOWNLOAD Create Movies and TV Series Video on Demand (VOD) Playlist's Using Xtream Codes or M3U8 Format

atariguy7

New member
Joined
Dec 22, 2023
Messages
9
Offline
Everything has been working great but my home screen gets filled with anime content in the tv shows categories which I would never watch. Anyone know if we can exclude things like this somehow. It looks like tmdb would accept the a string something like: without_genres=anime. Could I possibly add this somewhere near the origin county string in the config file? It seems like it is pulling from countries other than just US even though that is what is set in the config file. Same goes with the movies category getting filled up with movies that have not been released yet. Would love to clean this up if possible.
 
Last edited:

asegura074

Well-known member
Joined
Oct 27, 2022
Messages
172
Awards
3
Offline
Everything has been working great but my home screen gets filled with anime content in the tv shows categories which I would never watch. Anyone know if we can exclude things like this somehow. It looks like tmdb would accept the a string something like: without_genres=anime. Could I possibly add this somewhere near the origin county string in the config file? It seems like it is pulling from countries other than just US even though that is what is set in the config file. Same goes with the movies category getting filled up with movies that have not been released yet. Would love to clean this up if possible.
Yes you can edit the list just edit this files in channels folder can even add your own links

live_playlist.m3u8
live_playlist.json
m3u_formatted.dat
 

atariguy7

New member
Joined
Dec 22, 2023
Messages
9
Offline
Yes you can edit the list just edit this files in channels folder can even add your own links

live_playlist.m3u8
live_playlist.json
m3u_formatted.dat
Aren't those files for the live tv section? I'm referring to the TV shows /Series category. For that, I'd imagine this is the file: tv_playlist.json however wouldn't this get over written automatically twice a day when the create_playlist.php and create_tv_playlist.php files are run?
 

yamcell

Well-known member
Joined
Oct 25, 2021
Messages
230
Awards
3
Offline

TMDB To VOD Playlist

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.



Features

  • 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:​

Configuration:


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.

Contribution and Feedback

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!

Legal Disclaimer

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.

Updated (12/08/2023):

Added the Premiumize service as an alternative to Real-Debrid. (used only with torrent sites)
Added threads when searching torrent sites for magnet links. (speeds up the time it takes to find a link)
Added and fixed direct movie and tv show sources as well as more link extractors.
Added TheTvApp sports section in the Live TV Playlist (set your app to load epg and playlist every 12 hours or less.)
Added PlutoTV to the live tv playlist (Multi Languages Here: https://i.mjh.nz/PlutoTV/)
Redesigned the Live TV and DaddyLive functions and playlist. (all of the images in the playlist are working)
Fixed a lot of bugs in the torrent search and filtering functions. (it finds links much more often now)
Fixed the sorting by resolution and more likely to get higher quality links (torrent sites)

After installation open the Read Me.txt or load the http://YOUR_IP_ADDRESS/info.php in your browser.

Overall this update should fix a lot of the problems I am sure that you were having. I'm learning as I go and the old code had a lot of problems that I have now fixed.

Updated (01/11/2024):

Fixed the DaddyLive as well fixed an issue that was stopping the EPG from updating now that i.mjh.nz has disabled Pluto. Once they start updating Pluto again the links should start showing back within your app.

DaddyLive has now started using AES Encryption within their playlist and i have added a fix within the hls_proxy.php for this. However, if you are using Tivimate you will need to use the included DADDYLIVE (tivimate).m3u8 file instead. I will continue to look for a more permanent solution, but this is what I have for now.

Files changed:


hls_proxy.php
xmltv.php
live_play.php
generate_live_playlist.php

Password:
*** Hidden text: cannot be quoted. ***
Live tv stopped working
 

eoghan

Member
Joined
Aug 15, 2021
Messages
71
Awards
1
Offline
Anyone know if it's possible to automatically remove unreleased content from the playlists?
 

makeitso

Member
Joined
May 1, 2021
Messages
64
Awards
3
Offline
Anyone know if it's possible to automatically remove unreleased content from the playlists?
maybe this its in the create playlist php

// Fetch now playing movies
function fetchNowPlayingMovies($playVodUrl, $language, $apiKey, $totalPages)
{
global $outputData, $outputContent, $addedMovieIds, $movies_with_origin_country, $listType, $num;
$baseUrl = 'https://api.themoviedb.org/3/movie/now_playing';

What we need is a fix for the live TV if anyone has worked out a fix do share it as it seems the project hasn't had an update in a while nor response form @gogetta69 privately or on Github on the issue posted here as well
 
Last edited:

TitanMedia

New member
Joined
Jan 21, 2024
Messages
7
Offline
Anyone know how to fix "playback error, Reconnects in"... then won't play a stream in movies or TV Series on smarters? thanks.
 

yamcell

Well-known member
Joined
Oct 25, 2021
Messages
230
Awards
3
Offline
maybe this its in the create playlist php

// Fetch now playing movies
function fetchNowPlayingMovies($playVodUrl, $language, $apiKey, $totalPages)
{
global $outputData, $outputContent, $addedMovieIds, $movies_with_origin_country, $listType, $num;
$baseUrl = 'https://api.themoviedb.org/3/movie/now_playing';

What we need is a fix for the live TV if anyone has worked out a fix do share it as it seems the project hasn't had an update in a while nor response form @gogetta69 privately or on Github on the issue posted here as well
I'm try to fix but the appt change live tv and add expire key
 

Shark

Member
VIP Member
Joined
Dec 13, 2021
Messages
41
Awards
2
Offline
Anyone know if new Scrapers can be added or if old one's can be updated . I'm getting a lot of Movies and Series not playing now thanks for any help
 

makeitso

Member
Joined
May 1, 2021
Messages
64
Awards
3
Offline
Anyone know if new Scrapers can be added or if old one's can be updated . I'm getting a lot of Movies and Series not playing now thanks for any help
this one died a while back and the dev seems to stopped working on it
 
Top