Coder Social home page Coder Social logo

dtvnow's Introduction

DirecTV NOW Notifier

This runs as a cron job and checks various AppleTV apps (channels) to see if they support DirecTV NOW as a sign-in provider. If any do, a slack notification is sent to me. The results are then saved.

The slack message is sent via a shell command.

Usage
java -Dfile.location=/path/to/file -Dnotify.slack.channel=@slackChannel -jar /path/to/jar
Requirements

Java 8 is required to run the jar. Maven 3 is required to build the project.

VM Options
  • file.location
  • Required
  • This is the location of the data file
  • This will be overwritten with new data each time the program runs.
  • notify.slack.channel
  • Required
  • The name of the slack channel to which to post the message.
Data File Schema

The data must follow the following schema:

[
    {
        "name"    : "The name of the app. This is free-form.",
        "url"     : "Where to get the available sign-in providers for this app.",
        "present" : "A Boolean indicating whether or not this app supports DirecTV NOW as a sign-in provider."
    }
]

Example Note: Disney Junior is actually supported as a DirecTV NOW provider. It's just listed as false to make sure the app does the correct thing during it's initial run.

[
    {
        "name": "FX",
        "url": "https://sp.auth.adobe.com/adobe-services/config/fx?noflash=true",
        "present": false
    },
    {
        "name": "AMC",
        "url": "https://api.auth.adobe.com/api/v1/config/AMC.json",
        "present": false
    },
    {
        "name": "FOX Sports GO",
        "url": "https://fsg.bamcontent.com/epg-files/mvpd/mvpd_data.json",
        "present": false
    },
    {
        "name": "TNT",
        "url": "https://api.auth.adobe.com/api/v1/config/TNT.json",
        "present": false
    },
    {
        "name": "TBS",
        "url": "https://api.auth.adobe.com/api/v1/config/TBS.json",
        "present": false
    },
    {
        "name": "HGTV",
        "url": "https://api.auth.adobe.com/api/v1/config/HGTV.json",
        "present": false
    },
    {
        "name": "Disney Junior",
        "url": "https://api.auth.adobe.com/api/v1/config/DisneyJunior?format=json",
        "present": false
    }
]

dtvnow's People

Stargazers

Kevin Segal avatar

Watchers

Mike Webb avatar  avatar

dtvnow's Issues

Mocking framework

Hi,

hope find you well with this cold call.

I am an author of mocking framework for Kotlin

I see you are using mockito-kotlin.

I just want you to be aware that there is solution that fully supports Kotlin and ask to try it in your new/current projects.

I can help you if you answer to this issue.

Thanks and please star it

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.