Hello, Am Dienstag, den 14.04.2009, 20:56 +0200 schrieb Marco Göbenich: > I saw this behavior too, seems that xxv does not like empty recordings > (dirs). You are right, i fixed that with this patch. (apply inside directory lib/XXV/MODULES ) Andreas
--- RECORDS.pm.bak +++ RECORDS.pm @@ -918,7 +918,11 @@ } else { $self->{CapacityFree} = int($totalFree * 3600 / 2000); # use 2GB at one hour as base } - $self->{CapacityPercent} = ($totalSpace * 100 / ($totalFree + $totalSpace)); + if(($totalFree + $totalSpace) > 1) { + $self->{CapacityPercent} = ($totalSpace * 100 / ($totalFree + $totalSpace)); + } else { + $self->{CapacityPercent} = 0; + }
_______________________________________________ vdr mailing list vdr@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr