fix hCalendar.html
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 18 Oct 2009 19:17:13 +0000 (21:17 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 18 Oct 2009 19:17:13 +0000 (21:17 +0200)
bin/mplayer.pl

index a370155..fbce53d 100755 (executable)
@@ -365,7 +365,7 @@ sub html5tv {
                ;
 
        my $hCalendar = '<div style="color: red">Create <tt>hCalendar.html</tt> to fill this space</div>';
-       my $hcal_path = '$media_dir/hCalendar.html';
+       my $hcal_path = "$media_dir/hCalendar.html";
        if ( -e $hcal_path ) {
                $html5tv->{hCalendar} = read_file $hcal_path;
                my $tree = HTML::TreeBuilder->new;