Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

gtk-youtube-viewer: Skip empty playlists.

  • Loading branch information...
commit 9b439653e08cc082c3c40e8276301e0c9cb76e0b 1 parent f963efd
@trizen authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  WWW-YoutubeViewer/bin/gtk-youtube-viewer
View
2  WWW-YoutubeViewer/bin/gtk-youtube-viewer
@@ -1446,6 +1446,8 @@ sub print_playlists {
foreach my $playlist (@{$playlists}) {
+ next if $playlist->{count} == 0;
+
my $iter = $liststore->append;
my $row_description = $playlist->{summary} || 'No description available...';
Please sign in to comment.
Something went wrong with that request. Please try again.