Giter VIP home page Giter VIP logo

simple-tv-api's Introduction

simple-tv-api

This is an api for accessing and playing back Simple.tv recordings.

Downloading Recordings

This is an automated python script used to download all recordings from your simple.tv device to your local computer. Recordings are placed in the parent directory with the name /[Show]/[Season XX]/'show - SXXEYY- [title].mp4'.

This is intended to be run in a hidden folder inside your TV shows directory.
eg: /home/you/TV Shows/.simple-tv-api/download.py
If Show and Season folders do not exist the script will make them.

Please set auto-login details in download.py before first run for proper auto-completion.

Script will check if you've downloaded the recording already and skips the file if so.

Be sure to test downloads are working before turning AUTO_DELETE on so you don't lose your recordings.

Example usage:

python download.py

API Server

Example usage:

python server.py [username] [password]

This starts a webserver that can be accessed on port 8080. To get started, access the following url in your browser:

http://localhost:8080

-> This returns a list of shows recorded on your device.

Make another request using the 'url' parameter of each to access a list of episodes for the given show.

http://localhost:8080/episodes?group_id=fffffff-ffff-ffff-ffff-ffffffffffff

-> This returns a list of episodes for the given show.

Again use the url parameter (notice the common theme here :) ), to download or stream the episode to your computer. For example, paste this url in vlc to watch on your linux machine. No silverlight support required.

http://localhost:8080/stream?group_id=fffffff-ffff-ffff-ffff-ffffffffffff&instance_id=fffffff-ffff-ffff-ffff-ffffffffffff&item_id=fffffff-ffff-ffff-ffff-ffffffffffff

Optionally append ?quality=0 or 1 or 2 to change the quality.

Uses

This can be used to assemble an alternative web client for simple tv, download recordings, etc. The possibilities are endless!

simple-tv-api's People

Contributors

tdickman avatar coach0742 avatar jschwalbe avatar demonrik avatar

Watchers

James Cloos avatar  avatar

Forkers

demonrik

simple-tv-api's Issues

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.