GithubHelp home page GithubHelp logo

f1vefour / comskipper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from helly1206/comskipper

0.0 1.0 0.0 24.33 MB

This program can skip commercials while still recording. It's a wrapper over the original comskip software.

License: GNU General Public License v2.0

Makefile 3.66% Python 96.09% Shell 0.26%

comskipper's Introduction

HTS-skipper: v1.0.2

Software is made under GNU PUBLIC LICENSE (see LICENSE.txt)

Please send Comments and Bugreports to [email protected]

This program runs as a daemon that automatically starts skipping while starting a recording with tvheadend.

This readme is still a little brief, but a extended version is yet to come

Comskipper v1.0.0 uses the original comskip executable. As the official comskip runs on linux and has live-tv functionality, comskipper is obsolete. However hts-skipper remains having added value and is adapted for comskip. Comskipper is still available on comskipper branch, but is not updated anymore as comskip-0.93x is not updated anymore

Using HTS-skipper:
=================
1) install comskip as executable for windows, or download from: https://github.com/erikkaashoek/Comskip and check installation notes for Linux or Mac

2) place source code in a temporary folder (e.g. ~/projects/ComSkipWork/comskipper)

3) cd to this folder

4) configure
hts-skipper normally runs as daemon on systemd systems (e.g. ubuntu 16.04). If you are using upstart (mostly on older systems like ubuntu 14.04), you need to run: configure --upstart

5) make

6) sudo make install

That's all

Using tvheadend daemon:
=======================

The daemon is automatically installed when HTS-skipper is installed. 
Is you are not using tvheadend or are not interested in the daemon, change in /etc/default/hts-skipper
SKP_ENABLED=0
(However, HTS-skipper doesn't make sense in that case)

The daemon needs some settings. These are stored in /etc/comskip/hts_skipper.xml
server: url of tvheadend, default:"http://localhost"
userpass: username:password
maxattempts: attempts to connect to tvheadend, default=10 (when having timing issues: enter a SKP_DELAY in /etc/default/hts-skipper)
sleepbetweenattempts: time to sleep between connection attempts, default=5 seconds
recordingpath: path where recorded tv is stored
logpath: default=/var/log/hts_skipper.log
comskipperlocation: default=/usr/bin/comskipper
simultaneousskippers: how many comskippers to use simultaneously: default=recommended=1, maximum depends on system performance
updateinterval: to check recordings: default=20 (do not update too often, tvheadend might suffer issues)
logskipperdata: Log the data generated by comskipper: default=False
logskippersettings: Log the settings for by comskipper: default=False
delete_edl: delete EDL file after skipping: default=False
delete_log: delete LOG file after skipping: default=True
delete_logo: delete Logo file after skipping: default=True
delete_txt: delete TXT file after skipping: default=True
storedb: Use database to store current skippings: default=True, recommended and required when using tvheadend post processing
dblocation: default=/etc/comskip

When you would like to post process tvheadend until a recording finished, enter as post processor command (in recording settings):
/etc/comskip/hts_post_proc.py %f
Using this post processor migth be useful to prevent automatic shutdown before the skipper is finished.

That's all for now ....


comskipper's People

Watchers

 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.