Compare commits
No commits in common. "4024347362ce7da72cc9118790f1671ef5a7d5c6" and "d9466160ebdcee4ec07b060777e7f56f9d7195e9" have entirely different histories.
4024347362
...
d9466160eb
1034
config.json
1034
config.json
File diff suppressed because it is too large
Load Diff
|
@ -71,7 +71,7 @@ peertube_menu_videos()
|
|||
sub_menu=1
|
||||
page=0
|
||||
while [ $sub_menu -eq 1 ]; do
|
||||
names=$(jj -i preload -l 'data.#.name' | nl -s: -v0 -w1)
|
||||
names=$(jj -i preload -l 'data.#.name')
|
||||
menu_videos_choice=$(echo "Main menu\n$names\nNext page" | fzy)
|
||||
case $menu_videos_choice in
|
||||
"Main menu") sub_menu=0 ;;
|
||||
|
@ -84,8 +84,7 @@ peertube_menu_videos()
|
|||
peertube_api_get_local_videos $page
|
||||
fi ;;
|
||||
*)
|
||||
index=$(echo $menu_videos_choice | cut -f 1 -d:)
|
||||
video_uuid=$(jj -i preload data.$index.uuid)
|
||||
video_uuid=$(jj -i preload data.#[name="$menu_videos_choice"].uuid)
|
||||
if [ "$1" = 'lives' ]; then
|
||||
peertube_menu_stream $video_uuid
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue