mirror of
https://github.com/Benexl/FastAnime.git
synced 2025-12-05 20:40:09 -08:00
32 lines
609 B
Bash
Executable File
32 lines
609 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# Episode Preview Info Script Template
|
|
# This script formats and displays episode information in the FZF preview pane.
|
|
# Some values are injected by python those with '{name}' syntax using .replace()
|
|
|
|
draw_rule
|
|
|
|
echo "{TITLE}" | fold -s -w "$WIDTH"
|
|
|
|
draw_rule
|
|
|
|
print_kv "Duration" "{DURATION}"
|
|
print_kv "Status" "{STATUS}"
|
|
|
|
draw_rule
|
|
|
|
print_kv "Total Episodes" "{EPISODES}"
|
|
print_kv "Next Episode" "{NEXT_EPISODE}"
|
|
|
|
draw_rule
|
|
|
|
print_kv "Progress" "{USER_PROGRESS}"
|
|
print_kv "List Status" "{USER_STATUS}"
|
|
|
|
draw_rule
|
|
|
|
print_kv "Start Date" "{START_DATE}"
|
|
print_kv "End Date" "{END_DATE}"
|
|
|
|
draw_rule
|