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
| // AFK Detector for Carpet Mod - Scarpet Script | |
| // Monitors player "_we1" and sends Pushover notification when they go AFK | |
| // Requires: Carpet Mod + Scarpet Additions mod (for http_request function) | |
| // Detection Method: Position changes only | |
| // ============================================================================ | |
| // CONFIGURATION - EDIT THESE VALUES | |
| // ============================================================================ | |
| // Pushover API credentials (get from https://pushover.net) |
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 | |
| # Check if readarr_eventtype is Test | |
| if [ "$readarr_eventtype" == "Test" ]; then | |
| echo "Event type is 'test'. Skipping script." | |
| exit 0 | |
| fi | |
| # Check if readarr_eventtype is download | |
| if [ "$readarr_eventtype" != "Download" ]; then |
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 | |
| # mkv_to_mp4.sh converts a mkv file to an mp4, extracting all subtitles following plex naming format | |
| # -s or -v will allow just using the subtitle or videos part of the script | |
| # works with 4k dolby vision, hybrid, etc | |
| # uses ffmpeg | |
| # Function to display script usage | |
| usage() { | |
| echo "Usage: $0 <video_file> [-s | -v]" |
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
| #IfWinActive Stardew Valley | |
| ; Initialize Globals | |
| isToggled := false | |
| invOpen := false | |
| ; 150 - works well with pick, sword, hoe, everything else, 130 - works well with pick and sword | |
| delay := 150 | |
| ; Set the overlay position and font size | |
| overlayX := 20 |