diff --git a/.gitignore b/.gitignore index a4e41da43..03a38e5ab 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ node_modules/ -error.log \ No newline at end of file +error.log diff --git a/README.md b/README.md index 5df39c1b9..0c2e85b37 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,11 @@ then just press the 'Open' button To watch IPTV on your Android device you can use any player with support M3U-playlists and this playlist: [https://raw.githubusercontent.com/freearhey/iptv/master/index.all.m3u](https://raw.githubusercontent.com/freearhey/iptv/master/index.all.m3u). Or select a playlist for a specific country from the list below. +### iOS + +To watch IPTV on your iOS device you can use [Movie Stream - M3U IP TV Films](https://itunes.apple.com/us/app/movie-stream-ip-tv-films/id1450912244?mt=8) or any other IPTV player with support M3U-playlists and this playlist +[All Sources](https://raw.githubusercontent.com/freearhey/iptv/master/index.all.m3u). Or select a playlist for a specific country from the list below. + ### Plex App In order to watch IPTV through Plex App, you can use the [Cigaras/IPTV.bundle](https://github.com/Cigaras/IPTV.bundle) plugin. diff --git a/test/index.js b/test/index.js index 85a09b5ff..3adaf81c8 100644 --- a/test/index.js +++ b/test/index.js @@ -22,6 +22,14 @@ function writeToLog(test, country, msg, url) { console.log(line) } +function skipPlaylist(filename) { + let test_country = process.env.npm_config_country + if (test_country && filename !== 'channels/' + test_country + '.m3u') { + return true; + } + return false; +} + function loadPlaylist(filename) { return M3U.parse(fs.readFileSync(path.resolve(__dirname) + "/../" + filename, { encoding: "utf8" })) } @@ -35,6 +43,10 @@ async function testAllLinksIsWorking() { for(let country of countries) { + if (skipPlaylist(country.file)) { + continue; + } + const playlist = loadPlaylist(country.file) for(let channel of playlist) {