Skip to content

Instantly share code, notes, and snippets.

View ckarrie's full-sized avatar
🏠
Working from home

Christian Karrié ckarrie

🏠
Working from home
View GitHub Profile
2016-01-04 14:04:46.004 [ INFO] subscription: 0186: "epggrab" unsubscribing
2016-01-04 14:04:46.016 [ INFO] subscription: 0185: "epggrab" unsubscribing
2016-01-04 14:04:46.016 [ INFO] subscription: 0184: "epggrab" unsubscribing
2016-01-04 14:04:46.026 [ INFO] subscription: 0180: "epggrab" unsubscribing
2016-01-04 14:04:46.026 [ INFO] subscription: 017E: "epggrab" unsubscribing
2016-01-04 14:04:46.027 [ INFO] subscription: 017C: "epggrab" unsubscribing
*** Error in `./build.linux/tvheadend': double free or corruption (!prev): 0x00007fe81c231a30 ***
2016-01-04 14:04:46.071 [ ALERT] CRASH: Signal: 6 in PRG: ./build.linux/tvheadend (4.1-1298~g545dc38) [0bccb0aed693b602f44aa9b6d3de73a16b2b898e] CWD: /home/waldmeister/src/tvheadend
2016-01-04 14:04:46.071 [ ALERT] CRASH: Fault address 0x3e800003533 (N/A)
2016-01-04 14:04:46.071 [ ALERT] CRASH: Loaded libraries: /lib/x86_64-linux-gnu/libssl.so.1.0.0 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /lib/x86_64-linux-gnu/libz.so.1 /usr/lib/liburiparser.so.1 /us
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns="urn:schemas-upnp-org:device-1-0" configId="0">
<specVersion>
<major>1</major>
<minor>1</minor>
</specVersion>
<device>
<deviceType>urn:ses-com:device:SatIPServer:1</deviceType>
<friendlyName>IPLNB-030601:SAT&gt;IP</friendlyName>
<manufacturer>Inverto Digital Labs</manufacturer>
from xml.dom.minidom import parse
import urllib
IP = "192.168.178.45"
XML_FILE = "status.xml"
DI1_ELEMENT = "DigitalInput1"
OPEN = "OPEN"
CLOSED = "CLOSED"
xmlpath = "http://" + IP + "/" + XML_FILE
import serial
ser = serial.Serial("/dev/ttyUSB0", 9600, timeout=0.1)
while True:
data = ser.read(16)
ser.flushInput()
if len(data) > 1:
data = data.replace("#", "")
Installation
================================
- Zusätzliche Treiber: Firmware für DVB-Kartem -> aktivieren
- synaptic installieren. dort:
- Paketquelle proposed aktivieren
- update + upgrade
- openssh-server + mercurial installieren
- reboot
@ckarrie
ckarrie / pp.py
Last active April 5, 2016 04:31
TVHeadend Python PostProcessing script
"""
Author: ckarrie <[email protected]>
Python PostProcessing script that deletes all duplicate recordings according to their
description and filesize. The script keeps the recording with the largest filesize.
Usage:
1) put this python file somewhere (i.e. /media/daten/tvheadend/pp.py)
2) Add this line to TVHeadend > Configuration > Recording > [your recording settings] > Post-processor command