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

Shark

Member
Joined
Dec 13, 2021
Messages
43
Awards
2
Offline
Hi uploaded to hosting and edited with TMDB key can someone help with where to go from there please .
Got Movies and Tv Series all populated on Tivimate but wont play. Any help appreciated just get a 404 error.
 

gogetta69

Active member
Joined
Oct 18, 2023
Messages
42
Awards
3
Offline
Got Movies and Tv Series all populated on Tivimate but wont play. Any help appreciated just get a 404 error.

What do you get when you navigate here?

DOMAIN_OR_IP/movie/u/p/105.mp4

if you get a 404 not found then you may be missing the .htaccess file, or your server is configured in a way to now allow .htaccess

You can also send me your error logs and i can try helping out.
 

yamcell

Well-known member
Joined
Oct 25, 2021
Messages
232
Awards
3
Offline
Still waiting the day series can be downloaded as much same as movies to integrate to xuione
 

gogetta69

Active member
Joined
Oct 18, 2023
Messages
42
Awards
3
Offline
Still waiting the day series can be downloaded as much same as movies to integrate to xuione

Lack of Metadata: M3U files primarily store URLs and do not support rich metadata. This means information about the TV show, season, episode number, episode title, etc., cannot be directly embedded in the M3U file. This limitation makes it difficult to organize and display episodes of a TV series in a structured and user-friendly way.

No Support for Hierarchical Structuring: TV series are typically organized in a hierarchical structure (show > season > episode). M3U files do not support this kind of structuring. They are linear and do not have a way to group links together under different categories or seasons.
 

Shark

Member
Joined
Dec 13, 2021
Messages
43
Awards
2
Offline
What do you get when you navigate here?

DOMAIN_OR_IP/movie/u/p/105.mp4

if you get a 404 not found then you may be missing the .htaccess file, or your server is configured in a way to now allow .htaccess

You can also send me your error logs and i can try helping out.
Thanks I'll give that a try
 

yamcell

Well-known member
Joined
Oct 25, 2021
Messages
232
Awards
3
Offline
Lack of Metadata: M3U files primarily store URLs and do not support rich metadata. This means information about the TV show, season, episode number, episode title, etc., cannot be directly embedded in the M3U file. This limitation makes it difficult to organize and display episodes of a TV series in a structured and user-friendly way.

No Support for Hierarchical Structuring: TV series are typically organized in a hierarchical structure (show > season > episode). M3U files do not support this kind of structuring. They are linear and do not have a way to group links together under different categories or seasons.
Ok. But if u can do only season episode and url and all the data forget about it . For those how want only use the m3u
 

KingPegasus

Well-known member
Joined
Jun 18, 2021
Messages
719
Awards
3
Offline
Ok. But if u can do only season episode and url and all the data forget about it . For those how want only use the m3u
Bro, don't be so picky. He created something good, that works. Appreciate that much. If you want m3u8 to use in your XUI, use chatgpt and talk to it, tell it what you want. Because complaining about what you want, doesn't get you far here. Take up coding and learn the process. I'm sure you can figure it out.
 

yamcell

Well-known member
Joined
Oct 25, 2021
Messages
232
Awards
3
Offline
Bro, don't be so picky. He created something good, that works. Appreciate that much. If you want m3u8 to use in your XUI, use chatgpt and talk to it, tell it what you want. Because complaining about what you want, doesn't get you far here. Take up coding and learn the process. I'm sure you can figure i
Who is complaining?
You don't have to teach them to learn to code. And I don't see what your comment is for. correcting me I have asked and suggested what I wrote in case it was possible because it would be a good option to solve storage costs, a suggestion that perhaps could even take economic advantage of whoever developed it, but I understand that you wanted your moment to shine
 

KingPegasus

Well-known member
Joined
Jun 18, 2021
Messages
719
Awards
3
Offline
Who is complaining?
You don't have to teach them to learn to code. And I don't see what your comment is for. correcting me I have asked and suggested what I wrote in case it was possible because it would be a good option to solve storage costs, a suggestion that perhaps could even take economic advantage of whoever developed it, but I understand that you wanted your moment to shine
Maybe it's because you have broken English lol. I don't need to shine. Check it. You can cut cost all together with the panel version of this. Load your playlist into the script in json format and it will pull all your channels and load movies and tv series as well. That way you wont need all those servers. Just an idea of you really want to save money like you say
 

yamcell

Well-known member
Joined
Oct 25, 2021
Messages
232
Awards
3
Offline
Maybe it's because you have broken English lol. I don't need to shine. Check it. You can cut cost all together with the panel version of this. Load your playlist into the script in json format and it will pull all your channels and load movies and tv series as well. That way you wont need all those servers. Just an idea of you really want to save money like you say
again you want to show off. speaking in a language that I can understand and of course I may have difficulty. and you speak the other languages that I do
I'm not here to argue, I already gave you your moment of fame.
 

KingPegasus

Well-known member
Joined
Jun 18, 2021
Messages
719
Awards
3
Offline
again you want to show off. speaking in a language that I can understand and of course I may have difficulty. and you speak the other languages that I do
I'm not here to argue, I already gave you your moment of fame.
Did you even read what i said? I just gave you a suggestion to save money. Since that's your end goal. Try it out and let us know how it goes
 

yamcell

Well-known member
Joined
Oct 25, 2021
Messages
232
Awards
3
Offline
Did you even read what i said? I just gave you a suggestion to save money. Since that's your end goal. Try it out and let us know how it goes
the panel for this not work on my end , never get login
 

Shark

Member
Joined
Dec 13, 2021
Messages
43
Awards
2
Offline
What do you get when you navigate here?

DOMAIN_OR_IP/movie/u/p/105.mp4

if you get a 404 not found then you may be missing the .htaccess file, or your server is configured in a way to now allow .htaccess

You can also send me your error logs and i can try helping out.
Thanks got it all up and running keep up the great work
 

yamcell

Well-known member
Joined
Oct 25, 2021
Messages
232
Awards
3
Offline
Create a sub domain and retry it again. Im going to check further into that panel as well. It was a good starting point
The database of panel are missing on files of the panel u tell me . And with the httacces not load
 

gogetta69

Active member
Joined
Oct 18, 2023
Messages
42
Awards
3
Offline
The database of panel are missing on files of the panel u tell me . And with the httacces not load

With KingPegasus's help along with the FTG panel and the the TMDB to VOD Panel I was able to get it to work. Compile your app pointing to the FTG panel, then go to the DNS page and point the DNS to the TMDB to VOD Panel files as shown in the image below.

1702514461763.png


Now If your files are in a sub directory like:


Then it will not work. The reason is that even though the playlists may load completely, when it comes time to play the streams, streamers will overlook the '/tmdb' part of the URL." You can verify this for yourself by clicking play on a video and then going to your servers raw access log and seeing what url the app requested.

However, using a subdomain instead of a sub directory will work. So if you make a sub domain like:


You shouldn't have a problem.

Now the .httaccess for me had only a minor problem and it was with the Live TV. The Streamers V4 I tested was requesting the live tv url's like:


Instead of the way the .htaccess was expecting it to be like:


So I attached a new .htaccess that should fix that.
 

gogetta69

Active member
Joined
Oct 18, 2023
Messages
42
Awards
3
Offline
.httaccess since attaching doesn't seem to work.


Code:
<Files ".db.db">
    Order Allow,Deny
    Deny from all
</Files>

RewriteEngine On
RewriteBase /

# For movies
RewriteCond %{REQUEST_URI} ^(.*/)(movie/.*) 
RewriteRule ^movie/.*/([0-9]+)\.[a-z0-9]+$ %1play.php?movieId=$1 [R=302,L]

# For series
RewriteCond %{REQUEST_URI} ^(.*/)(series/.*)
RewriteRule ^series/.*/([0-9]+)\.(.+)$ %1play.php?type=series&movieId=$1&data=$2 [R=302,L]

# For live
RewriteCond %{REQUEST_URI} ^(.*/)(live/.*)
RewriteRule ^live/.*/([0-9]+)\.[a-z0-9]+$ %1live_play.php?streamId=$1 [R=302,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Match the URL pattern where the last segment is purely numeric
RewriteRule ^(.*)/([0-9]+)$ %1/live_play.php?streamId=$2 [R=302,L]


# For Live M3U8 Playlist
RewriteCond %{REQUEST_URI} ^(.*/)(tv\.m3u8)
RewriteRule ^tv\.m3u8$ %1player_api.php?action=get_live_streams&type=m3u8 [R=302,L]

# For Movies M3U8 Playlist
RewriteCond %{REQUEST_URI} ^(.*/)(movies\.m3u8)
RewriteRule ^movies\.m3u8$ playlist.m3u8 [R=302,L]

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php80” package as the default “PHP” programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php80 .php .php8 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
 

makeitso

Member
Joined
May 1, 2021
Messages
64
Awards
3
Offline
anyway to increase the timeout , sometimes the script will 500 error timeout , on a good vps for testing . be good to look at doing categories run separate so instead of a massive list php file to run each bit needed and make the relevant m3u to link to
 

gogetta69

Active member
Joined
Oct 18, 2023
Messages
42
Awards
3
Offline
anyway to increase the timeout , sometimes the script will 500 error timeout , on a good vps for testing . be good to look at doing categories run separate so instead of a massive list php file to run each bit needed and make the relevant m3u to link to

The execution time limit has already been removed with the set_time_limit. Try looking through your error logs for information on what could be going wrong.
 
Top