GithubHelp home page GithubHelp logo

mwlistscom / getvod Goto Github PK

View Code? Open in Web Editor NEW
23.0 2.0 7.0 40 KB

Create .strm directory structure from m3u IPTV playlist on rockmym3u.com

PHP 100.00%
iptv iptv-m3u emby-server jellyfin m3u8 m3u m3u8-parser kodi-addon epg iptv-playlist

getvod's Introduction

GetVOD -

We no longer maintain GetVOD - please switch to multi-platform GetSTRM. You can find this repository here:

https://github.com/mwlistscom/GetSTRM There are no plans to update GetVOD going forward

getvod IPTV Playlist for strm files

getvod manages the directory structure for your Emby/JellyFin strm files. By default it adds the dicrectory structure for every STRM in your m3u IPTV playlist. Getvod will delete empty directories and streams that are no longer in the provider list.

For this reason, do not use this with existing directories with media files.

Need help ? Contact us on https://www.facebook.com/rockmym3u or email [email protected]

setup

Edit the script with your favorite editor and change the following varialbes:

$tv="/media/vod_tv/"; //Library for TV Shows & Must have trailing /

$movie="/media/vod_movie/"; // Library for Movies & Must have trailing /

$mwlistsurl = 'https://mwlists.com/m3u/strm.php?key=xxxxxx'; //where xxxxx is your mwlists m3u playlist or rockmym3u.com link

$includegroup = false; //include group name in folder name

Run the script daily:

php getvod.php

License

GetVod is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. GetVod is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GetVod. If not, see http://www.gnu.org/licenses/.

getvod's People

Contributors

mwlistscom avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

getvod's Issues

File Names cleanup

Thank you for getvod. its a life saver and much appreciated.

Please could you tell me how to get sanitized file names.
When i run getvod i end up with file names that look like this:

EN__National_Lampoon_s_European_Vacation_(1985)EN__National_Lampoon_s_European_Vacation_(1985).strm

Whilst i do not mind the underscores (Unix file names and all), i would very much like to remove the EN__ prefix

I have tried adding that to the

$lefttrim = "EN__";
and even the
$remove[] = "EN__";

but it appears that only produces :

EN_-National_Lampoon_s_European_Vacation(1985).strm.

Kindly help me with directions on how to get my files to look like:

National_Lampoon_s_European_Vacation_(1985).strm

Permissions issue

Permissions are correct but still getting an error

~/media $ php getvod.php
Download : https://xxxxxxxxxxxxxxx/VODTV
PHP Warning: fopen(/home/nav/media/ttps://xxxxx/iptv/xxxxx/xxxxxxx/VODTV-rockmym3u.strm): Failed to open stream: No such file or directory in /mnt/mpathaj/nav/media/getvod.php on line 120
Error opening STRM file for write ! Check working directory permissions !

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.