Permalink
Browse files

gtk-youtube-viewer: Skip empty playlists.

  • Loading branch information...
1 parent f963efd commit 9b439653e08cc082c3c40e8276301e0c9cb76e0b @trizen committed Oct 14, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 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...';

0 comments on commit 9b43965

Please sign in to comment.