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
#!/bin/sh | |
# Function to display messages in green color | |
green_echo() { | |
echo -e "\033[0;32m$1\033[0m" | |
} | |
# Function to display messages in yellow color | |
yellow_echo() { | |
echo -e "\033[0;33m$1\033[0m" |
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
# I will be writing this from the perspective of a TrueNAS user, but should be somewhat applicable for users of FreeBSD | |
# AT THE TIME OF WRITING, tone (https://github.com/sandreas/tone) is not ported to FreeBSD, so you'll miss out on it's | |
# capabilities which I think is getting metadata from files, the app SEEMS to run fine without it but YMMV | |
# READ THE README(and the Dockerfile) OF THE PROJECT, REQUIREMENTS MAY CHANGE BETWEEN WHEN YOU READ THIS AND WHEN I WROTE IT | |
# At the time of writing, based off the Dockerfile on the repository these are the packages you need explicitly for Audiobookshelf are: | |
"curl", "ffmpeg", "node16" |
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
// ==UserScript== | |
// @name YouTube Continue Watching | |
// @description A simple userscript that clicks the continue watching button on YouTube. Other solutions were overcomplicated or used intervals | |
// @namespace https://roon.dev | |
// @license MIT | |
// @icon https://upload.wikimedia.org/wikipedia/commons/thumb/0/09/YouTube_full-color_icon_%282017%29.svg/320px-YouTube_full-color_icon_%282017%29.svg.png | |
// @match http*://www.youtube.com/watch* | |
// @grant none | |
// @downloadURL https://gist.githubusercontent.com/lbrooney/9f80de4ebb491aaf35a47a195e264b29/raw/YouTube_Continue_Watching.user.js | |
// @updateURL https://gist.githubusercontent.com/lbrooney/9f80de4ebb491aaf35a47a195e264b29/raw/YouTube_Continue_Watching.user.js |