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 Pandora tabs | |
// @namespace http://fehrenbacher.com | |
// @description adds buttons that search for the current song title and artist on YouTube or Google | |
// @downloadUrl https://gist.github.com/oxchronxo/920b078334d6e9c8c3f4aeb5ad3e4279/raw/bec32ed408c5e259ba83f1db97d8094a9e1eef50/pandora-tab.user.js | |
// @include http*://*.pandora.com/* | |
// @version 1.3 | |
// @grant none | |
// ==/UserScript== | |
var title = document.getElementsByClassName('songTitle') [0].text; //get the song title |
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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# | |
# Description: Sync Plex playlists to shared users. | |
# Author: /u/SwiftPanda16 | |
# Requires: plexapi | |
from plexapi.exceptions import NotFound | |
from plexapi.server import PlexServer |
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
#!/usr/bin/env bash | |
set -o errexit | |
set -o pipefail | |
set -o nounset | |
# set -o xtrace | |
PWD="$(pwd)" | |
die () { |
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 Pandora Enhancer | |
// @namespace https://www.pandora.com/ | |
// @version 1.0 | |
// @description hides perma-sidebar for ads | |
// @author www.github.com/RealDyllon | |
// @match https://www.pandora.com/* | |
// @icon https://www.google.com/s2/favicons?domain=pandora.com | |
// @require https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js | |
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js |
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
@echo off | |
:: This is the simplest batch script known to man. | |
:: Takes the unplayable ts_mpeg file from a recorded Live TV program in Windows-Jellyfin and outputs it to h264 mkv, then removes the Transport Stream (NOT Typescript XD) file. | |
:: This goes in my base Jellyfin folder, sitting alongside the "system" directory per the wiki recommendation for hosting jellyfin on windows. | |
:: To enable in Jellyfin, navigate to Admin Dashboard->DVR->Select this script file under Post-processing application, and leave the default CLI argument of "{path}" (WITH the quotes). | |
:: To increase output quality, lower the -crf value and/or change the -preset value to slow or veryslow. Raise the value and change preset to medium or fast for smaller files. | |
:: All thanks goes to thornbill and his linux script | |
set WORKDIR=%~d1%~p1 |
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
# import plexapi | |
import requests | |
import sys | |
from plexapi.server import PlexServer | |
from plexapi.utils import tag_helper | |
# Next two lines need to be reset to match your server | |
PLEX_URL = 'http://192.168.0.xxx:32400' |