diff --git a/src/ya.pl b/src/ya.pl index e792b20..d3f1701 100755 --- a/src/ya.pl +++ b/src/ya.pl @@ -631,10 +631,12 @@ sub get_playlist_tracks_info ( INFO, 'Tracks total: ' . + ( $opt{mobile} ? $json->{result}->{trackCount} : $json->{pageData}->{playlist}->{trackCount} + ) ); my @tracks_info;