diff options
Diffstat (limited to 'movie.c')
-rwxr-xr-x | movie.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -500,7 +500,12 @@ void cMovie::setLengthVDR() { FILE *f = fopen(file, "r"); if (f) { fseek(f, 0, SEEK_END); - Length = ftell(f) / 200; + if (OldRecording) { + Length = ftell(f) / 200; + } else { + Length = 30000; //FIXME urgent + } + dsyslog ("[vdrrip] length: %i ",Length); fclose(f); } else { dsyslog("[vdrrip] could not open file %s !", file); |