Giter Club home page Giter Club logo

pluto-for-spaceplace's Introduction

pluto-for-channels-php

A server side PHP implementation of the pluto-for-channels Docker repo Allows users to access the full Pluto playlist with the custom tags and meta-data added for Channels, but no need to run a Docker instance locally.

This PHP program takes the output from the https://github.com/maddox/pluto-for-channels repo, and sets the deviceID and sid parameters in the stream URLs to unique UUIDs each time the page is called. Since every load is unique, there should not be any conflicts that cause dropouts and disconnects as with other web based playlist.m3u sources.

The index.js file is the same nodejs script from the pluto-for-channels repo, with a two minor code changes to create simple placeholders for deviceID and sid. It also now outputs to 'source.m3u'

The playlist.php file takes the output from the index.js and generates unique UUIDs for each stream link and outputs the result.

The uuid.inc includes one function to generate a custom UUID v1 with a randomly generated MAC address.

The epg.xml file requires no modifications and is served as output from the index.js script.

The playlist.m3u and epg.xml outputs from this repo can be found here:

https://nocords.xyz/pluto/playlist.m3u

https://nocords.xyz/pluto/epg.xml

pluto-for-spaceplace's People

Contributors

hanklloydright avatar

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.