Skip to content

Instantly share code, notes, and snippets.

View tronyx's full-sized avatar
💭
Bashing for fun and profit

Chris Yocum tronyx

💭
Bashing for fun and profit
View GitHub Profile
@1activegeek
1activegeek / Directions.txt
Last active March 26, 2020 17:44
Donations HTML for a customized banner in an Organizr2 homepage
1. Enable the Custom HTML homepage object
2. Make sure under the homepage items order, you've put this Custom object toward the top or where you'd like it to be.
3. In the Code box, copy and paste the above code in and click save.
4. Customize to your liking and adjust as needed for your situation.
5. Reference https://shields.io for more info on how to fully customize these for your needs and your desired look/feel.
@Burry
Burry / Organizr iOS Plex Redirect.js
Last active May 1, 2023 17:11
Intercepts all links to Plex in Organizr and redirects to the Plex app on an iOS device
// Intercepts all links to Plex in Organizr and redirects to the Plex app on an
// iOS device. Plex for Android apparently does not support such URL schemes, and I
// can't find any alternative Android solution, so this script is iOS-only.
// Add to Organizr Settings > Customize > Appearance > Custom JavaScript.
////////////////////////////////////////////////////////////////////////////////////
// Credit to https://forums.plex.tv/t/deep-links/205583 for finding Plex deep links
// Use Bowser to check if we're on iOS
var plexiOSCheck = bowser.osname === 'iOS';
@vertig0ne
vertig0ne / docker-compose.yml
Last active August 21, 2021 03:30
Docker-compose file designed for use on machines which have public ip address
---
networks:
internal:
driver: bridge
driver_opts:
com.docker.network.bridge.host_binding_ipv4: 1.2.3.4
services:
plex:
container_name: plex
environment:
@blacktwin
blacktwin / create_wait_kill_all.py
Last active June 11, 2018 16:43
Receive session_key from PlexPy when paused. Use session_id to create sub-script to wait for X time then check if still paused. If paused kill.
'''
fetch function from https://gist.github.com/Hellowlol/ee47b6534410b1880e19
PlexPy > Settings > Notification Agents > Scripts > Bell icon:
[X] Notify on pause
PlexPy > Settings > Notification Agents > Scripts > Gear icon:
Playback Pause: create_wait_kill_all.py
PlexPy > Settings > Notifications > Script > Script Arguments:
{session_key}