--- Podcast.pm.orig	2006-03-31 09:35:31.000000000 +0000
+++ lib/perl5/MP3/Podcast.pm	2011-11-02 10:23:10.000000000 +0000
@@ -111,13 +111,14 @@
     my $filePath="$poddir/$file";
     my @stat = stat($filePath);
     my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime($stat[9]);
+    my $info = get_mp3info($filePath) or die "No MP3 info for $filePath";
     my $tag = get_mp3tag($filePath) or die "No TAG info for $filePath";
     my ($mp3title) = ( $file =~ /^(.+?)\.mp3/i );
     my $uri = URI->new("$podurl/$file");
     $rss->add_item( title => $tag->{'TITLE'} || $mp3title,
 		    link  => $uri,
 		    enclosure => { url => $uri,
-				   size => $tag->{'SIZE'},
+				   size => $info->{'SIZE'},
                                    length => $stat[7],
 				   type => 'audio/mpeg' },
 		    pubDate => ($year+1900)."-".($mon+1)."-$mday"."T"."$hour:$min:$sec",

