Skip to content

Commit

Permalink
last breath (#35)
Browse files Browse the repository at this point in the history
* other

* cope: shellcheck

* ?*

* last breath
  • Loading branch information
fearocanity committed May 14, 2024
1 parent 68b0ee1 commit c5240a0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ gif_prev_framecount="10"
album="439945612303090" # Season 1, Episode 12: "Morning Light Falls on You"

# This stands for "Frames per Hour"
fph="7"
fph="17"

# timestamps
is_timestamp="1"
Expand Down
3 changes: 2 additions & 1 deletion fb/bocchiep12_en.ass
Original file line number Diff line number Diff line change
Expand Up @@ -420,4 +420,5 @@ Dialogue: 0,0:20:45.13,0:20:46.64,Signs,sign,0000,0000,0000,,{\fs16\an8\fnArial
Dialogue: 0,0:23:31.86,0:23:33.61,DefaultItalics,Hitori,0000,0000,0000,,Another day at the job.
Dialogue: 0,0:23:34.97,0:23:39.98,Signs,sign,0000,0000,0000,,{\fnComic Sans MS\an4\c&HFFFFFF&\fs12\pos(66,319)\4c&H3A91B8&\shad1.2}Illustration by Aki Hamaji
Dialogue: 0,0:23:34.97,0:23:39.98,Signs,sign,0000,0000,0000,,{\an4\fnComic Sans MS\fs22\c&H8B2ED1&\3c&HF4FDF7&\bord2.4\frz15.93\pos(363.885,267.574)}Thanks for watching!
Dialogue: 0,0:23:36.96,0:23:38.01,Default,Hitori,0000,0000,0000,,Thank you! The Season 2 will be on...
Dialogue: 0,0:23:36.96,0:23:38.01,Default,Hitori,0000,0000,0000,,Thank you!
Dialogue: 0,0:23:38.01,0:23:41.01,Default,Hitori,0000,0000,0000,,The Season 2 will be on...
8 changes: 7 additions & 1 deletion frameposter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,13 @@ sleep 3 # Delay

# Count Down.
frame_left="$(bc -l <<< "${total_frame} - ${prev_frame}")"
frame_left_message="${frame_left} Frames left."
if [[ "${prev_frame}" = "4974" ]]; then
frame_left_message='One more frame left!'
elif [[ "${prev_frame}" = "4975" ]]; then
frame_left_message='[END OF SEASON 1]'
else
frame_left_message="${frame_left} Frames left."
fi
curl -sfLX POST --retry 2 --retry-connrefused --retry-delay 7 "${graph_url_main}/v18.0/${id}/comments?access_token=${token}" --data-urlencode "message=${frame_left_message}" -o /dev/null

# Addons, you can comment this line if you don't want to comment the GIF created on previous 10 frames
Expand Down

0 comments on commit c5240a0

Please sign in to comment.