49 lines
1.5 KiB
Plaintext
49 lines
1.5 KiB
Plaintext
|
|
#! /usr/local/bin/abs
|
|
|
|
|
|
echo(" * Remux the .ts to .mp4 using `ffmpeg -i 2025-08-25T00-12-24Z.ts -c copy projektmelody-chaturbate-2025-08-24.mp4")
|
|
echo(" If multiple files, use `ffmpeg -f concat -safe 0 -i ./files.txt -c copy ./projektmelody-chaturbate-2025-08-24.mp4`")
|
|
echo(" [Press Enter When Complete...]")
|
|
_ = stdin()
|
|
|
|
|
|
echo(" * Upload the .mp4 to Backblaze ")
|
|
echo(" * Generate a thumbnail -- bash <(curl -fsSL https://gitea.futureporn.net/futureporn/fp/raw/branch/main/packages/scripts/thumbnail-generator.sh) ./projektmelody-chaturbate-2025-02-12.mp4")
|
|
echo(" * Upload the thumbnail to Backblaze")
|
|
echo(" [Press Enter When Complete...]")
|
|
_ = stdin()
|
|
|
|
echo(" * Upload the .mp4 to Mux ")
|
|
echo(" * Add the .mp4 to IPFS -- sudo -u ipfs ipfs add --cid-version=1 ./projektmelody-chaturbate-2025-02-12.mp4")
|
|
echo(" * Remote pin the IPFS CID")
|
|
echo(" [Press Enter When Complete...]")
|
|
_ = stdin()
|
|
|
|
echo(" * Create magnet link. ex: `imdl torrent create --link ~/Documents/voddo/projektmelody-fansly-2025-08-27.mp4`")
|
|
echo(" [Press Enter When Complete...]")
|
|
_ = stdin()
|
|
|
|
|
|
echo(" * Create a B2 File (.mp4) in Strapi")
|
|
echo(" * Create a B2 File (thumbnail) in Strapi")
|
|
echo(" * Create a Mux asset in Strapi")
|
|
echo(" * Create a VOD in Strapi")
|
|
echo(" * Publish VOD")
|
|
echo(" [Press Enter When Complete...]")
|
|
_ = stdin()
|
|
|
|
|
|
echo(" * Notify Discord of new VOD")
|
|
echo(" [Press Enter When Complete...]")
|
|
_ = stdin()
|
|
|
|
|
|
echo(" * Backup the database")
|
|
echo(" [Press Enter When Complete...]")
|
|
_ = stdin()
|
|
|
|
|
|
|
|
|