diff --git a/peertube-cli.sh b/peertube-cli.sh index e3e4a82..473543d 100755 --- a/peertube-cli.sh +++ b/peertube-cli.sh @@ -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"