Skip to content

Instantly share code, notes, and snippets.

View tylerforesthauser's full-sized avatar

Tyler Forest-Hauser tylerforesthauser

View GitHub Profile
@tylerforesthauser
tylerforesthauser / colors.json
Last active October 22, 2020 15:56
palette.app export
[
{
"paletteName": "Primary",
"swatches": [
{
"name": "50",
"color": "F0FDFA"
},
{
"name": "100",
@tylerforesthauser
tylerforesthauser / fb_install.sh
Last active August 12, 2020 13:57
Modified File Browser installer for USB
#!/usr/bin/env bash
#
# File Browser Installer Script
#
# GitHub: https://github.com/filebrowser/filebrowser
# Issues: https://github.com/filebrowser/filebrowser/issues
# Requires: bash, mv, rm, tr, type, grep, sed, curl/wget, tar
#
install_filemanager()
#!/bin/sh -xu
# Based on the official tar installer: https://raw.githubusercontent.com/filebot/plugins/master/installer/tar.sh
# Includes installer for Java 11, required to run FileBot 4.9+
# Set FileBot version and URLs
PACKAGE_VERSION=4.9.0
PACKAGE_SHA256=$(curl -fsSL https://raw.githubusercontent.com/filebot/website/master/get.filebot.net/filebot/FileBot_$PACKAGE_VERSION/FileBot_$PACKAGE_VERSION-portable.tar.xz.sha256)
PACKAGE_FILE=FileBot_$PACKAGE_VERSION-portable.tar.xz
PACKAGE_URL=https://get.filebot.net/filebot/FileBot_$PACKAGE_VERSION/$PACKAGE_FILE
#!/usr/bin/env filebot -script
println Settings.getApplicationIdentifier()
println 'Groovy: ' + groovy.lang.GroovySystem.getVersion()
println 'JRE: ' + Settings.getJavaRuntimeIdentifier()
println 'DATA: ' + ApplicationFolder.AppData.get()
#!/bin/sh -xu
# Based on the official tar installer: https://raw.githubusercontent.com/filebot/plugins/master/installer/tar.sh
# Includes installer for Java 11, required to run FileBot 4.9+
# Set FileBot version and URLs
PACKAGE_VERSION=4.9.0
PACKAGE_SHA256=$(curl -fsSL https://raw.githubusercontent.com/filebot/website/master/get.filebot.net/filebot/FileBot_$PACKAGE_VERSION/FileBot_$PACKAGE_VERSION-portable.tar.xz.sha256)
PACKAGE_FILE=FileBot_$PACKAGE_VERSION-portable.tar.xz
PACKAGE_URL=https://get.filebot.net/filebot/FileBot_$PACKAGE_VERSION/$PACKAGE_FILE
#!/bin/bash
# Script to install FFmpeg on GNU/Linux
# Website: https://www.johnvansickle.com/ffmpeg/
# Created by q3aql ([email protected])
# Builds by John Van Sickle ([email protected])
# Licensed by GPL v.2
# Date: 22-03-2019
# --------------------------------------
VERSION=1.2.1

If you'd like to run the latest beta version of FileBot (4.9.0 as of 1/30/2020) and you've purchased a license, you can install it using the instructions below:

  1. mkdir filebot-beta-portable && cd filebot-beta-portable
  2. sh -xu <<< "$(curl -fsSL https://gist.githubusercontent.com/tylerforesthauser/123ad1d1dc9433664cb7c6d5718d1225/raw/b0b19388be1b447cd24048fce2a905d8df923bef/filebot-beta-installer.sh)"
  3. filebot --license /path/to/FileBot_License_P1234567.psm

Nothing more needs to be done. If you're using FileBot for your torrent client post-processing, that will now use this version of FileBot as well. Enjoy!

Note: You will very likely need to update Java for this version of FileBot. Download and unarchive OpenJDK 11:

@tylerforesthauser
tylerforesthauser / filebot-beta-installer.sh
Last active March 14, 2020 09:42
FileBot Beta Installer for USB
#!/bin/sh -xu
# Based on the official tar installer: https://raw.githubusercontent.com/filebot/plugins/master/installer/tar.sh
PACKAGE_VERSION=4.9.0
PACKAGE_SHA256=$(curl -fsSL https://get.filebot.net/filebot/BETA/FileBot_$PACKAGE_VERSION-portable.zip.sha256)
PACKAGE_FILE=FileBot_$PACKAGE_VERSION-portable.tar.xz
PACKAGE_URL=https://get.filebot.net/filebot/BETA/$PACKAGE_FILE
# Download latest portable package
#!/bin/bash
export PYTHONPATH=$HOME/.local/lib/python2.7/site-packages:$PYTHONPATH
export PERL5LIB=$HOME/perl5/lib/perl5:$PERL5LIB
/opt/deluge-1.3.15/bin/python2.7 $HOME/scripts/autoExport.py
#!/opt/deluge-1.3.15/bin/python2.7
# Based on: https://github.com/lethanhviet/autoExport
#######################################################
# Import
#######################################################
import os
import subprocess
import requests