X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FApp%2FMusicExpo.pm;h=c3ee03a7d2fa858e31ea3de847f1d0e71daaa52b;hb=c7ddc5dbe18fc94f0103c7365ea9ae7cac96455b;hp=9dc2d3d05229d79ecf4a051ab6662473b4ecaa9b;hpb=0a4b389c44bea7500b77bb1d50f61bbae93c89c2;p=app-musicexpo.git diff --git a/lib/App/MusicExpo.pm b/lib/App/MusicExpo.pm index 9dc2d3d..c3ee03a 100644 --- a/lib/App/MusicExpo.pm +++ b/lib/App/MusicExpo.pm @@ -1,8 +1,10 @@ -package App::MusicExpo 0.002; +package App::MusicExpo; use v5.14; use strict; use warnings; +our $VERSION = 0.003001; + use Audio::FLAC::Header qw//; use HTML::Template::Compiled qw//; use Memoize qw/memoize/; @@ -31,8 +33,9 @@ GetOptions ( sub fix{ - utf8::decode($_[0]); - $_[0] + my $copy = $_[0]; + utf8::decode($copy); + $copy } sub flacinfo{ @@ -166,7 +169,10 @@ The default template looks like: |---------+---------+-----------------+---------+-------+------+------| | Cellule | Silence | L'autre endroit | Electro | 01/09 | 2005 | FLAC | -where the title is a download link. +where the type is a download link. If you have multiple files with the same +basename (such as C and C), they will be treated +as two versions of the same file, so a row will be created with two download +links, one for each format. =head1 OPTIONS