Giter Site home page Giter Site logo

yoseminao / tv-stream-db Goto Github PK

View Code? Open in Web Editor NEW

This project forked from beardypig/tv-stream-db

0.0 1.0 0.0 2.48 MB

A browsable database of live TV streams

Home Page: https://beardypig.github.io/tv-stream-db/

Shell 20.61% Python 67.39% CSS 2.78% JavaScript 9.21%

tv-stream-db's Introduction

Live TV Stream DB

A database of live TV streams from around the world.

Data Files

The data files are located in the datafiles directory and are in JSON format, there will possibly be a number of sections for the data files, however, there is only streams at the moment.

In the streams data files there is one file per provider to aid in organisation.

The Files have the follow schema:

{
    "name": providerName,                   /* (String) Required: Provider Name, usually the domain name; eg. raiplay.it */
    "attributes": {                         /* (Map) Optional: A set of default attributes for the streams */
        "geolocked": geoLocked,             /* (Boolean) Optional: If the stream is geolocked or not; Default=false */
        "region": region,                   /* (String) Optional: An ISO3116 alpha2 country code; eg. ES; Default=null */
        "language": language,               /* (String) Optional: An ISO639 alpha3 language code; eg. cat; Default=und */
        "authentication": authenticated,    /* (Boolean) Optional: If the streams require authentication; Default=false */
        "drm": DRM,                         /* (Boolean) Optional: If the stream is protected by DRM; Default=false */
        "hd": HD,                           /* (Boolean) Optional: If the stream is available in High Definition; Default=false*/
        "subscription": subscription,       /* (Boolean) Optional: If the stream requires are subscription to view, implies authentication; Default=false*/
    },
    "streams": [                            /* (List) Required: A list of the streams available from the provider */
        {                                   /* (Map) Required, Repeated: Information about a stream */
            "name": streamName,             /* (String) Required: A "slug" style name, this must be unique in the set of streams; eg. bbcnews */
            "title": streamTitle,           /* (String) Required: The title of the stream, eg. BBC News */
            "url": streamURL,               /* (String) Required: The URL for the stream, eg. http://www.rtve.es/directo/la-1/ */
            "attributes": {}                /* (Map) Optional: Same as the top level attributes, but override for the current stream 
                                                For example, if geolocked is true in the top level attributes, but one 
                                                of the streams is not geolocked, then geolocked can be set here for that 
                                                particular stream */
        }
    ]
}

See datafiles/streams/raiplay.json for a complete example.

Output

Related Projects

  • Streamlink - recommended for playing most of the streams

tv-stream-db's People

Contributors

beardypig avatar karlo2105 avatar

Watchers

James Cloos 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.