X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FApp%2FMusicExpo.pm;h=d66d719b71e90adb12cc463ae6c688db9ecbebb1;hb=b2f791f6dac6a71ce09b99ed249875febb4d1006;hp=9dc2d3d05229d79ecf4a051ab6662473b4ecaa9b;hpb=0a4b389c44bea7500b77bb1d50f61bbae93c89c2;p=app-musicexpo.git diff --git a/lib/App/MusicExpo.pm b/lib/App/MusicExpo.pm index 9dc2d3d..d66d719 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.003; + 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