Skip to content

Instantly share code, notes, and snippets.

View seamonkey420's full-sized avatar
🤓
Geeking Out

seamonkey420 seamonkey420

🤓
Geeking Out
  • USA
View GitHub Profile
@seamonkey420
seamonkey420 / YB1-X90FL-Android7.txt
Last active October 17, 2024 00:59
Lenovo Yoga Book YB1-X90L Android 7.1.1 update notes
Yoga Android 7.1.1 update notes!
Models: YB1-X90F and YB1-X90L (LTE needs to be added back, not covered here)
seamonkey420
created: 9/21/2024
updated: 10/16/2024
Wait to plug in yoga to pc!
Pre-req work:
@seamonkey420
seamonkey420 / docker-compose.yml
Created August 29, 2024 02:15
Wirepod for Synology NAS Docker. Proper compose file that will use host network.
version: "2.1"
services:
wirepod:
container_name: wirepod
image: thecrystalcross/wirepod-server:latest
hostname: escapepod
ports:
- 8080:8080
labels:
- "traefik.enable=true"
@seamonkey420
seamonkey420 / convert-all-avi-to-mp4.cmd
Created July 23, 2024 01:15
FFMPEG - convert all avi in folder or sub folders to mp4
for %%a in (*.avi) do ffmpeg -fflags +genpts -i "%%a" -c copy -map 0 "%%a.mp4"
pause
@seamonkey420
seamonkey420 / FFMPEG - English subtitles via command prompt
Last active January 1, 2025 20:44
FFMPEG - Keep only english subtitles via command prompt
:: Meant to be called by a context menu item or can drag and drop movies on .cmd/.bat file with commands
:: This will use ffmpeg to retain original video and audio streams (ie very fast, full quality retained) of a mkv file
:: and remove all subtitles or just english ones.
::
:: if you want to use command on its own, use command below and replace filename with file name
:: ffmpeg -i "filename -map 0:v -c:v copy -map 0:a -c:a copy -map 0:m:language:eng -c:s copy "%filename.new"
:: Be sure to delete or comment out (using ::) the command you dont plan to use!!
setlocal EnableExtensions DisableDelayedExpansion
@seamonkey420
seamonkey420 / ErsatzTV and Synology Notes.txt
Last active June 4, 2024 21:14
ErsatzTV and Synology Notes
ErsatzTV and Synoogy and Plex notes:
Ersatztv Version: 0.8.4 beta (Jan 2024)
Hardware transcoding = use vaapi docker image
720P profile using QSV has been very smooth/stable streaming locally or remotely in Plex, settings below:
1280x720
Thread Count: 0
Format: h264
@seamonkey420
seamonkey420 / Download Youtube Video or Playlist.cmd
Last active March 14, 2022 03:43
Easy batch file to just download a single youtube video or playlist via YT-DLP. Update variables to where yt-dlp is saved and where you want videos saved to.
:: -------------------------------------------------------------
:: Quick way to download youtube vids via yt-dlp
:: Set yt-dlpLOC to where yt-dlp.exe resides
:: yt-dlp set to embed thumbnails and metadata
:: set to force US geolocation and use best quality options
:: outputs video files as mp4
:: Opens up folder where videos are saevd to once completed
:: Seamonkey420 3/10/2022
:: --------------------------------------------------------------
@echo off
@seamonkey420
seamonkey420 / yt-dlp-example.bat
Last active March 11, 2022 05:17
Youtube-DLP example script. Embeds metadata and thumbnails, uses US as geo code and saves to D:/Downloads/YT folders. Uses yt-dlp fork vs yt-dl.
yt-dlp.exe -f b --geo-bypass-country US --embed-thumbnail --add-metadata --compat-options embed-metadata -P "D:/Downloads/YT" YOUTUBEURLHERE/
@seamonkey420
seamonkey420 / Add AAC Audio with FFMPEG.cmd
Last active June 14, 2025 16:05
ffmpeg script to convert main audio stream to aac while copying video and subtitles. windows cmdline based.
:: Can be integrated into explorer shell
:: and right click menus too
:: seamonkey420
:: Requirements: copy ffmpeg to c:\windows\system32
:: env variables needed to parse spaces in file paths!
:: pick one of the below sets of code, top replaces all audio with an ac3 one
:: bottom adds an ac3 stream and retains everything else, video, subs, audio.
setlocal EnableExtensions DisableDelayedExpansion
@seamonkey420
seamonkey420 / OSMC GPIO NESPi Case Script Install.txt
Last active December 11, 2024 00:42
Rerns OSMC GPIO button service (customized for NESPi Case and OSMC by seamonkey420)
#1. Install RPi.GPIO. Open up Putty and run these commands:
sudo su
apt-get update
apt-get install python-pip python-dev gcc
apt-get install python-setuptools
pip install rpi.gpio
#1a. Enable root to make things easier, you can disable afterwards, type and then enter a root password:
sudo passwd