mirror of
http://gitea.phreedom.club/localhost_frssoft/peertube-cli
synced 2024-11-16 13:33:17 +00:00
Added donate info if avalaible on video/stream
This commit is contained in:
parent
00a2f0d6b3
commit
2a31a63bbf
|
@ -94,6 +94,10 @@ peertube_menu_video()
|
|||
name=$(echo $get_video | jj name)
|
||||
desc=$(echo $get_video | jj description)
|
||||
channel=$(echo $get_video | jj channel.name)
|
||||
support_author=$(echo $get_video | jj support)
|
||||
if [ -n "$support_author" ]; then
|
||||
echo "Support/Donate: $support_author"
|
||||
fi
|
||||
check_hls_empty=$(echo $get_video | jj streamingPlaylists.0)
|
||||
if [ -z $check_hls_empty ]; then
|
||||
hls=''
|
||||
|
@ -141,6 +145,10 @@ peertube_menu_stream()
|
|||
name=$(echo $get_video | jj name)
|
||||
desc=$(echo $get_video | jj description)
|
||||
channel=$(echo $get_video | jj channel.name)
|
||||
support_author=$(echo $get_video | jj support)
|
||||
if [ -n "$support_author" ]; then
|
||||
echo "Support/Donate: $support_author"
|
||||
fi
|
||||
playlist_stream=$(echo $get_video | jj streamingPlaylists.0.playlistUrl)
|
||||
state=$(echo $get_video | jj state.label)
|
||||
echo "Status: $state"
|
||||
|
|
Loading…
Reference in a new issue