This file contains hidden or 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
#cloud-config | |
autoinstall: | |
version: 1 | |
refresh-installer: | |
update: yes | |
apt: | |
geoip: true | |
preserve_sources_list: false | |
primary: | |
- arches: [amd64, i386] |
This file contains hidden or 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
# find-remuxes-to-convert.ps1 | |
# | |
# Copyright 2020 - K. Austin Newman | |
# Version: 1.0 | |
# Copies any downloaded remuxes to the holding folder for processing | |
# | |
## Define variables | |
$dirMediaLibrary1 = "\\carbon\media\movies" |
This file contains hidden or 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
# verify-media.ps1 | |
# | |
# Copyright 2020 - K. Austin Newman | |
# Version: 1.0 | |
# Verifies that all media in source dir has been transcoded | |
# Usage: verify-media <path> | |
if ( $args.count -eq 0 ) { | |
write-warning "No source specified. Exiting." | |
exit |
This file contains hidden or 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
# process-queue.ps1 | |
# | |
# Copyright 2020 - K. Austin Newman | |
# Version: 1.0 | |
# Runs from a scheduled task to process any cmd files for transcoding | |
## Define variables | |
$dirBaseVolName = "Data" | |
$dirWorkflowRoot = "Workflows" | |
$dirWorkflowName = "Transcoding" |
This file contains hidden or 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
######################################################## | |
# hw-convert-media | |
##################################################-kan-# | |
<# | |
.Synopsis | |
This script will create batch files to convert media using Don Melton's Other Video Transcoding project. | |
.DESCRIPTION | |
This script examines all .mkv files located in a specified directory to determine appropriate transcoding options based around Don Melton's Other Video Transcoding project(see links). |
This file contains hidden or 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
# sanitize-media.ps1 | |
# | |
# Copyright 2020 - K. Austin Newman | |
# Version: 1.0.5 | |
# Prepare media for transcoding using Don Melton's Other Video Transcoding | |
# | |
# Requirements: ffprobe,mkvmerge,remux.rb,jq,mkvpropedit,filebot | |
# Define user vars | |
$dirWorkflowRoot = "workflows" |
This file contains hidden or 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 creates a playlist that contains the next unwatched episode of any | |
# shows you define in a collection. | |
# | |
# Requires python 3 | |
# | |
# Usage: | |
# | |
# In Plex, create a collection named "Current Shows". It should contain all the shows | |
# that you want considered for the new playlist. | |
# |
This file contains hidden or 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
############################################################################### | |
# preseed.cfg # | |
# # | |
# Applies to Ubuntu 18.04 (LTS) # | |
# Modified from: # | |
# https://help.ubuntu.com/lts/installation-guide/example-preseed.txt # | |
# # | |
# Configures install time choices for Ubuntu 18.04 (LTS) # | |
# - Partitioning is done in accordance with recommended layout from CIS # | |
# benchmarks (as of 01/03/2020, v2.0.1) # |
This file contains hidden or 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
#! /bin/bash | |
# | |
# Calculate bitrate statistics for movies | |
# Script courtesy of https://www.reddit.com/user/pcpcy | |
# | |
# Requires: | |
# ffmpeg_bitrate_stats (https://github.com/slhck/ffmpeg-bitrate-stats) | |
# printTable from util.bash (https://github.com/gdbtek/linux-cookbooks/blob/master/libraries/util.bash) | |
# jq (https://stedolan.github.io/jq/) | |
# |
This file contains hidden or 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
#!/bin/bash | |
for $kid in kida kidb kidc | |
do | |
echo Backing up parental controls for $kid to /Volumes/Storage/Sodium/ParentalControls/$kid.parentalcontrols | |
dscl . -mcxexport /Users/$kid > /Volumes/Storage/Sodium/ParentalControls/$kid.parentalcontrols | |
done | |
exit 0 |
NewerOlder