This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* This script is meant to be used in a Homey Flow as an 'And' card. | |
*/ | |
let sensorName = '<insert pulse name/address here>' | |
log(`sensorName: ${sensorName}`); | |
// Get all devices | |
const devices = await Homey.devices.getDevices(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import subprocess | |
from pathlib import Path | |
input_video_path = r"C:\Users\Iver\Videos\my_video.mkv" | |
clips = [ | |
{"start": "16:10", "end": "20:08", "name": "Good vibrations"}, | |
{"start": "21:08", "end": "23:10", "name": "Mister Sandman"}, | |
{"start": "24:20", "end": "27:10", "name": "Ave Verum"}, | |
{"start": "28:04", "end": "29:59", "name": "White Winter Hymnal"}, | |
] |
OlderNewer