| 1 |
Descriptionscip-debian debian randomplay 0.60+pristine-4 randomplay/patches/`Ogg::Vorbis::Header::PurePerl.patch`#Description.: Replace Ogg::Vorbis::Header with Ogg::Vorbis::Header::PurePerl. |
| 2 |
The former was removed from Debian. |
| 3 |
Originscip-debian debian randomplay 0.60+pristine-4 randomplay/patches/`Ogg::Vorbis::Header::PurePerl.patch`#Origin.: vendor |
| 4 |
Bug-Debianscip-debian debian randomplay 0.60+pristine-4 randomplay/patches/`Ogg::Vorbis::Header::PurePerl.patch`#Bug-Debian.: https://bugs.debian.org/655410scip-debian-bts debian-bts . . 655410: |
| 5 |
Authorscip-debian debian randomplay 0.60+pristine-4 randomplay/patches/`Ogg::Vorbis::Header::PurePerl.patch`#Author.: Tim Retout <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 6 |
Reviewed-byscip-debian debian randomplay 0.60+pristine-4 randomplay/patches/`Ogg::Vorbis::Header::PurePerl.patch`#Reviewed-by.: gregor herrmann <[email protected]> |
| 7 |
Last-Updatescip-debian debian randomplay 0.60+pristine-4 randomplay/patches/`Ogg::Vorbis::Header::PurePerl.patch`#Last-Update.: 2016-07-20 |
| 8 |
|
| 9 |
--- a/randomplayscip-debian debian randomplay 0.60+pristine-4 randomplay/upstream/randomplay: |
| 10 |
+++ b/randomplayscip-debian debian randomplay 0.60+pristine-4 randomplay/upstream/randomplay: |
| 11 |
@@ -10,7 +10,7 @@ |
| 12 |
use Term::ReadKey; |
| 13 |
use POSIX ":sys_wait_h"; |
| 14 |
use MP3::Info; |
| 15 |
|
| 16 |
+use Ogg::Vorbis::Header::PurePerl; |
| 17 |
use Time::localtime; |
| 18 |
|
| 19 |
$| = 1; |
| 20 |
@@ -417,7 +417,7 @@ |
| 21 |
$song_artist = $v if ($k =~ /artist/i); |
| 22 |
} |
| 23 |
} elsif ($next_song =~ /ogg$/i) { |
| 24 |
|
| 25 |
+ my $tag = Ogg::Vorbis::Header::PurePerl->new($next_song); |
| 26 |
foreach ($tag->comment_tags) { |
| 27 |
$song_info .= $_ . ": " . join(" ", (defined $tag->comment($_) ? $tag->comment($_) : "")) . "\n"; |
| 28 |
$song_title = join(" ", (defined $tag->comment($_) ? $tag->comment($_) : "")) if (/title/i); |