I hereby claim:
- I am marco79cgn on github.
- I am marco79 (https://keybase.io/marco79) on keybase.
- I have a public key ASDiC_ljy_4ix0SzSupfJNMOLbPKTjmp58AbRo0dewuUcAo
To claim this, I am signing this object:
let openWith = args.widgetParameter | |
let widget = new ListWidget() | |
widget.setPadding(8, 10, 5, 10) | |
widget.backgroundColor = new Color("#111E6C") | |
await loadImage() | |
await getRandomEpisode() | |
Script.setWidget(widget) | |
Script.complete() |
// insert your Spotify client id and secret here | |
let clientId = "xxx" | |
let clientSecret = "xxx" | |
// optional: the ip of your node-sonos-http-api and room name; use "sonos" as parameter in your widget settings to activate it | |
let sonosUrl = "http://192.168.178.10:5005/Arbeitszimmer" | |
let openWith = args.widgetParameter | |
let widget = new ListWidget() | |
// widget.setPadding(0,0,0,0) |
// insert your Spotify client id and secret here | |
let clientId = "xxx" | |
let clientSecret = "xxx" | |
// use your spotify country iso code to optimize search results | |
let spotifyCountry = "DE" | |
// optional: the ip of your node-sonos-http-api and room name; use "sonos" as parameter in your widget settings to activate it | |
let sonosUrl = "http://192.168.178.10:5005/Kitchen" |
let stationName = "flac" | |
let stationId = getConfiguredStationId() | |
let nowPlaying = await loadNowPlaying(stationId) | |
let widget = await createWidget(nowPlaying) | |
Script.setWidget(widget) | |
Script.complete() | |
widget.presentSmall() | |
async function createWidget(nowPlaying) { | |
I hereby claim:
To claim this, I am signing this object:
## Instructions | |
## | |
## Copy this file to /etc/dnsmasq.d/03-bypass.conf | |
## | |
## Set your tag and dns server like this: | |
## dhcp-option=tag:YOURTAGHERE,6,IPADDRESSOFDNSSERVER | |
## | |
## My tag 'smartdns' will go straight to SmartDNSProxy Servers | |
dhcp-option=tag:smartdns,6,54.93.173.153,81.17.17.170 |
import datetime | |
import logging | |
import urllib2 | |
import time | |
# Constants | |
timespan_threshhold = 3 | |
# Globals | |
lastpress = datetime.datetime(1970,1,1) |
#SERVICE 4097:0:1:0:0:0:0:0:0:0:https://arteevent04-lh.akamaihd.net/i/arte_event04@308879/master.m3u8?sd=10&rebase=on:Hurricane | |
#DESCRIPTION Hurricane | |
#SERVICE 4097:0:1:0:0:0:0:0:0:0:https://arteevent03-lh.akamaihd.net/i/arte_event03@305298/master.m3u8?sd=10&rebase=on:Southside | |
#DESCRIPTION Southside | |
#SERVICE 4097:0:1:0:0:0:0:0:0:0:https://arteevent01-lh.akamaihd.net/i/arte_event01@395110/master.m3u8?sd=10&rebase=on:Hellfest | |
#DESCRIPTION Hellfest |
# Copyright 2018, Google, Inc. | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, | |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |