Skip to content

Instantly share code, notes, and snippets.

time lxc ls --debug
DBUG[05-27|17:59:03] Connecting to a local LXD over a Unix socket
DBUG[05-27|17:59:03] Sending request to LXD etag= method=GET url=http://unix.socket/1.0
DBUG[05-27|17:59:06] Got response struct from LXD
DBUG[05-27|17:59:06]
{
"config": {
"core.https_address": "[::]:8443",
"core.trust_password": true
},
#!/bin/bash
if [ -z $1 ]
then
echo "Usage: morse.sh <string in quotes> <words per minute (optional) > <beep frequency (optional)>"
exit 1
fi
if [ -z $2 ]
then
#!/bin/bash
## Lizard Chunkserver
# install wget
apt install wget -y;
# get packages and untar them
cd /tmp;
wget https://lizardfs.com/wp-content/uploads/2018/07/lizardfs-bundle-Debian-9.4.tar &&\
This file has been truncated, but you can view the full file.
20-1-8 07:25:27.3|Debug|DownloadDecisionMaker|Release rejected for the following reasons: [Permanent] Existing file meets cutoff: WEB 1080p (WEBRip-1080p, WEBDL-1080p) - English, [Permanent] Existing file on disk is of equal or higher preference: Bluray-2160p v1 - English, [Permanent] Series is not monitored
20-1-8 07:25:27.3|Debug|NotSampleSpecification|Existing file, skipping sample check
20-1-8 07:25:27.3|Debug|NotUnpackingSpecification|/data/Media/Anime/The Beast Player Erin/Season 1/[SS]_Kemono_no_Souja_Erin_-_01_(1280x720_h264)_[08FA95FD].mkv is in series folder, skipping unpacking check
20-1-8 07:25:27.3|Debug|DownloadDecisionMaker|Processing release 'game.of.thrones.s08e06.720p.web.h264-memento[eztv].mkv torrent' from 'ETTV'
20-1-8 07:25:27.3|Debug|Parser|Parsing string 'game.of.thrones.s08e06.720p.web.h264-memento[eztv].mkv torrent'
20-1-8 07:25:27.3|Debug|SameFileSpecification|'/data/Media/Anime/The Beast Player Erin/Season 1/[SS]_Kemono_no_Souja_Erin_-_01_(1280x720_h264)_[08FA95FD].mkv' Has the sam
20-1-8 06:49:46.8|Warn|MediaFileAttributeService|Unable to apply permissions to: /data/Media/Television/The Amazing World of Gumball/Season 5/The Amazing World of Gumball - S05E08 - The Slide [WEBDL-1080p x265].nfo
[v3.0.3.687] NzbDrone.Mono.Disk.LinuxPermissionsException: Error setting file owner and/or group: EPERM
at NzbDrone.Mono.Disk.DiskProvider.SetOwner (System.String path, System.String user, System.String group) [0x00057] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Mono\Disk\DiskProvider.cs:265
at NzbDrone.Mono.Disk.DiskProvider.SetPermissions (System.String path, System.String mask, System.String user, System.String group) [0x00008] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Mono\Disk\DiskProvider.cs:75
at NzbDrone.Core.MediaFiles.MediaFileAttributeService.SetMonoPermissions (System.String path, System.String permissions) [0x0000f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\MediaFiles\MediaFileAttributeService.cs:88
20-1-8 06:50:41.5|Warn|MediaFileAttributeS
20-1-9 05:15:57.8|Warn|UpdateEpisodeFileService|Unable to set date of file [/data/Media/Television/Camp Camp/Season 2/Camp Camp - S02E02 - Anti-Social Network [Bluray-1080p x264].mkv]
[v3.0.3.687] System.IO.IOException: Invalid parameter
at System.IO.File.SetLastWriteTime (System.String path, System.DateTime lastWriteTime) [0x0002a] in <254335e8c4aa42e3923a8ba0d5ce8650>:0
at NzbDrone.Common.Disk.DiskProviderBase.FileSetLastWriteTime (System.String path, System.DateTime dateTime) [0x00047] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\Disk\DiskProviderBase.cs:281
at NzbDrone.Core.MediaFiles.UpdateEpisodeFileService.ChangeFileDateToLocalAirDate (System.String filePath, System.String fileDate, System.String fileTime) [0x00058] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\MediaFiles\UpdateEpisodeFileService.cs:101
20-1-9 05:16:25.5|Warn|MediaFileAttributeService|Unable to apply permissions to: /data/Media/Television/Camp Camp/Season 1/Camp Camp - S01E11 - Camporee [Bluray-1080p
20-1-9 07:12:05.4|Debug|Parser|Release Group parsed:
20-1-9 07:12:05.4|Trace|Parser|^\[(?<subgroup>.+?)\][-_. ]?(?<title>.+?)[-_. ]+\(?(?:[-_. ]?#?(?<absoluteepisode>\d{2,3}(\.\d{1,2})?(?!\d+)))+\)?(?:[-_. ]+(?<special>special|ova|ovd))?.*?(?<hash>\[\w{8}\])?(?:$|\.mkv)
20-1-9 07:12:05.4|Debug|Parser|Episode Parsed. Chihayafuru S3 - 013
20-1-9 07:12:05.5|Debug|Parser|Episode Parsed. Hentai Ouji to Warawanai Neko - Vol - 005
20-1-9 07:12:05.5|Debug|Parser|Language parsed: English
20-1-9 07:12:05.5|Debug|QualityParser|Trying to parse quality for [HorribleSubs] Chihayafuru S3 13 [720p]
20-1-9 07:12:05.5|Debug|Parser|Language parsed: English
20-1-9 07:12:05.5|Debug|Parser|Quality parsed: HDTV-720p v1
20-1-9 07:12:05.5|Debug|QualityParser|Trying to parse quality for [FFF] Hentai Ouji to Warawanai Neko - Vol.05 [BD][720p-AAC]
20-1-9 07:12:05.5|Debug|Parser|Release Group parsed: HorribleSubs
20-1-9 07:55:42.8|Warn|MediaFileAttributeService|Unable to apply permissions to: /data/Media/Television/The Expanse/Season 3/The Expanse - S03E08 - It Reaches Out [HDTV-1080p x265].nfo
[v3.0.3.687] NzbDrone.Mono.Disk.LinuxPermissionsException: Error setting file permissions: EPERM
at NzbDrone.Mono.Disk.DiskProvider.SetPermissions (System.String path, System.String mask) [0x0003e] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Mono\Disk\DiskProvider.cs:246
at NzbDrone.Mono.Disk.DiskProvider.SetPermissions (System.String path, System.String mask, System.String user, System.String group) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Mono\Disk\DiskProvider.cs:74
at NzbDrone.Core.MediaFiles.MediaFileAttributeService.SetMonoPermissions (System.String path, System.String permissions) [0x0000f] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\MediaFiles\MediaFileAttributeService.cs:88
20-1-9 07:55:42.8|Debug|ParsingService|Using absolute episode number 5 for: Nyaruko: Crawling
#!/bin/bash
#Extract .ass subtitles from mkv, convert to .srt, strip html, re-add them
max_threads=4
function process_file () {
local input_file="$1"
file_start=`date +%s`
check_file "$input_file" && process_subtitles "$input_file" || return 1
file_end=`date +%s`