Skip to content

Instantly share code, notes, and snippets.

View FunDeckHermit's full-sized avatar

Roy van Lierop FunDeckHermit

  • Noldus Information Technology
  • Gelderland
View GitHub Profile
@FunDeckHermit
FunDeckHermit / ProxmoxHA.txt
Created March 22, 2022 14:46
Proxmox switch from Home Assistant
- platform: command_line
switches:
proxmox_lxc:
command_on: "curl -X POST 'https://10.0.0.1:8006/api2/json/nodes/pve/lxc/102/status/start' -H 'Authorization: PVEAPIToken=USER@REALM!TOKENID=UUID' -H 'Content-Type: application/x-www-form-urlencoded'"
command_off: "curl -X POST 'https://10.0.0.1:8006/api2/json/nodes/pve/lxc/102/status/stop' -H 'Authorization: PVEAPIToken=USER@REALM!TOKENID=UUID' -H 'Content-Type: application/x-www-form-urlencoded'"
command_state: "curl -X GET 'https://10.0.0.1:8006/api2/json/nodes/pve/lxc/102/status/current' -H 'Authorization: PVEAPIToken=USER@REALM!TOKENID=UUID' -H 'Content-Type: application/x-www-form-urlencoded' 2>&1 | grep -oc 'running'"
@FunDeckHermit
FunDeckHermit / Jellyfin.log
Created February 20, 2022 19:30
Error log for YoutubeDL
[2022-02-20 19:26:04.513 +00:00] [INF] [32] Emby.Drawing.ImageProcessor: Creating image collage and saving to "/cache/temp/389090afb8604b2b99ef4dfd256e5678.png"
[2022-02-20 19:26:04.908 +00:00] [INF] [32] Emby.Drawing.ImageProcessor: Completed creation of image collage and saved to "/cache/temp/389090afb8604b2b99ef4dfd256e5678.png"
[2022-02-20 19:26:05.168 +00:00] [INF] [4] Jellyfin.Plugin.YoutubeMetadata.Providers.YoutubeLocalImageProvider: /media/Gold Shaw Farm/Molly Murder Mittens - Barn Cat POV [LdBI9P7brsI].mp4
[2022-02-20 19:26:05.172 +00:00] [INF] [32] Jellyfin.Plugin.YoutubeMetadata.Providers.YoutubeLocalImageProvider: /media/Gold Shaw Farm/Stealing Justin Rhodes's Farm Plans [JBntGpL2dhY].mp4
[2022-02-20 19:26:06.894 +00:00] [ERR] [32] MediaBrowser.Providers.Movies.MovieMetadataService: Error in "YouTube-DL Metadata"
System.IO.FileNotFoundException: youtube-dl not found on path!
at NYoutubeDL.Services.PreparationService.SetupPrepare(YoutubeDL ydl)
at NYoutubeDL.Services.InfoService.GetDownloadI
@FunDeckHermit
FunDeckHermit / Gitea: docker-compose.yml
Last active July 4, 2021 18:23
Navidrome header authentication
version: "3"
services:
server:
image: gitea/gitea:latest
environment:
- USER_UID=1000
- USER_GID=1000
restart: always
volumes:
http://video.dobber.nl/videos/92c1231c-b56e-b477-5255-ef29058e8b93/hls1/main/0.ts?DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgNi4zOyBXaW42NDsgeDY0KSBBcHBsZVdlYktpdC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWUvODUuMC40MTgzLjEyMSBTYWZhcmkvNTM3LjM2fDE2MDE4MTU1MzkzOTI1&MediaSourceId=92c1231cb56eb4775255ef29058e8b93&VideoCodec=h264&AudioCodec=mp3,aac&AudioStreamIndex=1&VideoBitrate=364897391&AudioBitrate=320000&PlaySessionId=7ca751197fa34bca9b768f0fd3fc92a1&api_key=0b98badb83d3408cb4134d2daf833280&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=57bb89325eca3333ec5adbc7fccb8a3a&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline,high10&h264-level=51&h264-deinterlace=true&TranscodeReasons=VideoCodecNotSupported&allowVideoStreamCopy=false&allowAudioStreamCopy=false&allowAudioStreamCopy=false
{"Protocol":"File","Id":"92c1231cb56eb4775255ef29058e8b93","Path":"/mnt/king1/Series/Undone/Season 1/Undone - S01E01 - The Crash WEBDL-1080p.mkv","Type":"Default","Cont
.132fin"
[2020-10-04 17:54:42.994 +02:00] [INF] Migration '"AddDefaultPluginRepository"' applied successfully
[2020-10-04 17:54:42.995 +02:00] [INF] Applying migration '"ReaddDefaultPluginRepository"'
[2020-10-04 17:54:42.995 +02:00] [INF] Migration '"ReaddDefaultPluginRepository"' applied successfully
[2020-10-04 17:54:43.002 +02:00] [INF] Kestrel listening on all interfaces
[2020-10-04 17:54:43.077 +02:00] [WRN] No XML encryptor configured. Key {9783f246-e45b-4479-b6e7-13b769196985} may be persisted to storage in unencrypted form.
[2020-10-04 17:54:43.108 +02:00] [INF] Running startup tasks
[2020-10-04 17:54:43.119 +02:00] [INF] Daily trigger for "Extract Chapter Images" set to fire at 10/05/2020 02:00, which is 8:05:16.8806705 from now.
[2020-10-04 17:54:43.141 +02:00] [INF] Found ffmpeg version "4.3.1"
[2020-10-04 17:54:43.162 +02:00] [INF] Available "decoders": ["h264", "h264_qsv", "h264_cuvid", "hevc", "hevc_qsv", "hevc_cuvid", "mpeg2video", "mpeg2_qsv", "mpeg2_cuvid", "mpeg4", "mpeg4_cuvid", "msmpeg4",