existing index file is used even if it is broken

Bug #1896400 reported by Daniel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dvbcut (Ubuntu)
New
Undecided
Unassigned

Bug Description

STEPS TO REPRODUCE

1. Open any video file
2. While indexing is in progress (say 50%), shutdown the application. In my case i did a poweroff of the system, but kill should also do it
3. Open the video file again
4. The index file is recycled, but only half of the movie is visible, so it looks as if the video file is broken

EXPECTED

dvbcut detects tha the index is broken and recreates it

DETAILS

Another case is if the video file changed (because it was still recording when indexing the first time)

I know, the index files currently don't have a file header, so comparing to the video file might be difficult. an option is to change the file format, or to check the last mark in the index file and compare it with the end of the video file.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: dvbcut 0.7.3-1build1
ProcVersionSignature: Ubuntu 5.4.0-47.51-generic 5.4.55
Uname: Linux 5.4.0-47-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.8
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: XFCE
Date: Sun Sep 20 21:00:52 2020
InstallationDate: Installed on 2016-04-23 (1611 days ago)
InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
SourcePackage: dvbcut
UpgradeStatus: Upgraded to focal on 2020-05-17 (125 days ago)

Revision history for this message
Daniel (hackie) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.