Skip to content

Instantly share code, notes, and snippets.

@laclaro
laclaro / privacyidea.log
Created March 10, 2020 11:26
PrivacyIDEA log, complaining about not found directory /etc/privacyidea/gpg
[2020-03-10 12:10:24,329][11480][140689530718016][DEBUG][privacyidea.api.before_after:84] Begin handling of request '/realm/?'
[2020-03-10 12:10:24,329][11480][140689530718016][DEBUG][privacyidea.api.lib.utils:254] Can not get param: Expecting value: line 1 column 1 (char 0)
[2020-03-10 12:10:24,329][11480][140689530718016][DEBUG][privacyidea.lib.user:185] Entering get_user_from_param with arguments ({},) and keywords {}
[2020-03-10 12:10:24,329][11480][140689530718016][DEBUG][privacyidea.lib.user:185] Entering __init__ with arguments (User(login='', realm='', resolver=''),) and keywords {'login': '', 'realm': '', 'resolver': None}
[2020-03-10 12:10:24,329][11480][140689530718016][DEBUG][privacyidea.lib.user:197] Exiting __init__ with result None
[2020-03-10 12:10:24,330][11480][140689530718016][DEBUG][privacyidea.lib.user:197] Exiting get_user_from_param with result <empty user>
[2020-03-10 12:10:24,330][11480][140689530718016][DEBUG][privacyidea.lib.audit:188] Entering getAudit with arguments HIDDEN and ke
#EXTM3U
#EXTINF:-1 tvg-name="ZDF HD" tvg-id="ZDF.de" group-title="ZDF" tvg-logo="https://raw.githubusercontent.com/jnk22/kodinerds-iptv/master/logos/tv/zdfhd.png",ZDF HD
pipe://ffmpeg -loglevel fatal -i https://zdf-hls-01.akamaized.net/hls/live/2002460/de/9f87d3ce9cf217b6f4de75631022195f/5/5.m3u8 -i https://zdf-hls-01.akamaized.net/hls/live/2002460/de/9f87d3ce9cf217b6f4de75631022195f/4/4.m3u8 -vcodec copy -acodec copy -metadata service_name=ZDF\ HD -metadata service_provider=ZDF -mpegts_service_type advanced_codec_digital_hdtv -f mpegts pipe:1
#EXTINF:-1 tvg-name="ZDFneo HD" tvg-id="ZDFneo.de" group-title="ZDFneo" tvg-logo="https://raw.githubusercontent.com/jnk22/kodinerds-iptv/master/logos/tv/zdfneohd.png",ZDFneo HD
pipe://ffmpeg -loglevel fatal -i https://zdf-hls-02.akamaized.net/hls/live/2002461/de/203772183f9e4182f6a9f4b5536004b4/5/5.m3u8 -i https://zdf-hls-02.akamaized.net/hls/live/2002461/de/203772183f9e4182f6a9f4b5536004b4/4/4.m3u8 -vcodec copy -acodec copy -metadata service_name=ZDFneo\ HD -metadata s
2020-03-04 22:04:46.279 T:1915266608 NOTICE: ADDON: plugin.video.netflix v0.16.4 installed
2020-03-04 22:17:58.246 T:1426051808 ERROR: CPythonInvoker(5, /home/osmc/.kodi/addons/plugin.video.netflix/addon.py): script didn't stop in 5 seconds - let's kill it
2020-03-04 22:18:01.614 T:1426051808 ERROR: GetDirectory - Error getting plugin://plugin.video.netflix/
2020-03-04 22:18:01.629 T:1915266608 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflix/) failed
2020-03-04 22:18:36.613 T:1915266608 DEBUG: CAddonSettings[plugin.video.netflix]: loading setting definitions
2020-03-04 22:18:36.613 T:1915266608 DEBUG: CAddonSettings[plugin.video.netflix]: trying to load setting definitions from old format...
2020-03-04 22:18:39.876 T:1915266608 DEBUG: CAddonSettings[plugin.video.netflix]: loading setting definitions
2020-03-04 22:18:39.876 T:1915266608 DEBUG: CAddonSettings[plugin.video.netflix]: trying to load setting definitions from old format...
2020-03-04 22:19:43.488 T:1915266608 DEBU
2020-02-26 15:10:42.745 T:1915455024 DEBUG: Previous line repeats 21 times.
2020-02-26 15:10:42.745 T:1915455024 DEBUG: Activating window ID: 10025
2020-02-26 15:10:43.062 T:1915455024 DEBUG: ------ Window Deinit (Home.xml) ------
2020-02-26 15:10:43.063 T:1915455024 DEBUG: FreeVisualisation() done
2020-02-26 15:10:43.107 T:1915455024 DEBUG: ------ Window Init (MyVideoNav.xml) ------
2020-02-26 15:10:43.107 T:1915455024 INFO: Loading skin file: MyVideoNav.xml, load type: KEEP_IN_MEMORY
2020-02-26 15:10:43.467 T:1915455024 DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.netflix/)
2020-02-26 15:10:43.468 T:1915455024 DEBUG: ParentPath = [plugin://plugin.video.netflix/]
2020-02-26 15:10:43.470 T:1363145440 DEBUG: Thread waiting start, auto delete: false
2020-02-26 15:10:43.513 T:1377297120 DEBUG: CAddonDatabase::SetLastUsed[plugin.video.netflix] took 44 ms
@laclaro
laclaro / kodi.log
Created July 6, 2019 21:00
kodi debug log
2019-07-06 22:25:25.632 T:1895822048 DEBUG: CLibInputKeyboard::ProcessKey - using delay: 500ms repeat: 50ms
2019-07-06 22:25:25.632 T:1231803104 DEBUG: Thread Timer start, auto delete: false
2019-07-06 22:25:25.642 T:1916192304 DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x000d, modifier: 0x0
2019-07-06 22:25:25.776 T:1231803104 DEBUG: Thread Timer 1231803104 terminating
2019-07-06 22:25:25.781 T:1916192304 DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x000d, modifier: 0x0
2019-07-06 22:25:25.781 T:1916192304 DEBUG: HandleKey: return (0xf00d) pressed, action is Select
2019-07-06 22:25:25.793 T:1916192304 DEBUG: OnPlayMedia plugin://plugin.video.netflix/?action=play_video&infoLabels=%7B%27rating%27%3A+0%2C+%27writer%27%3A+%27%27%2C+%27episode%27%3A+1%2C+%27plot%27%3A+u%27Rick%2C+Ezekiel+and+Maggie+plot+an+elaborate+attack+on+the+Sanctuary.+Carl+encounters+a+mysterious+stranger+at+a+gas+station.%27%2C+%27season%27%3A+8%2C+%27tvshowtitle%27%3A+u%27The+Walking+Dead%27%2C+%27titl
[Unit]
Description=Rotary volume dial to work with RPi-Jukebox-RFID
After=alsa-restore.service
[Service]
Type=simple
Restart=always
ExecStart=/usr/bin/python /usr/local/bin/rotary-volume.py
[Install]
#!/usr/bin/python
import evdev
from subprocess import check_call
import RPi.GPIO as GPIO
# use BCM numbering
GPIO.setmode(GPIO.BCM)
# volume steps
@laclaro
laclaro / kodiIsIdle.sh
Created June 20, 2018 19:26
bash script to detect if kodi is idle
#!/bin/bash
# bash script to detect if kodi is idle. Returns 1 if idle and 0 if kodi was still active recently.
# kodi path
kodi_webpath='http://localhost:8080/jsonrpc'
if [ -f /etc/autosuspend.conf ]; then
idle_time=$(awk -F'=' '/idle_time/{print $2}' /etc/autosuspend.conf \
| sed -e 's/^[ \t]*//')
@laclaro
laclaro / mx3.xml
Created November 19, 2017 21:06
Kodi keymap for MX3 remote
<!--
kodi keymap file for MX3 remote, available at
https://www.amazon.de/gp/product/B01IVJH0IG/ref=oh_aui_detailpage_o00_s00?ie=UTF8&th=1
This document is distributed under a creative commons licence CC BY-NC-SA 3.0.
-->
<keymap>
<home>
<!-- map color keys on the home screen -->
<keyboard>
<!-- red -->
# Cofiguration file for commandpad.py
# required:
# q_keycode: number
# modifier_keycode: number
#
#- name: "Human readable name"
# keycode: 83
# cmds1: echo Keycode 83 triggered!
# cmds2: echo Keycode 83 triggered with modifier!