View Issue Details

IDProjectCategoryView StatusLast Update
0002383HTML & PERLBug Reportpublic2016-01-19 20:44
Reporterchortos-2 Assigned Toworf  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Summary0002383: Subtitle track codec locked but not set when file is dumped
DescriptionRecently, subtitle tracks have gotten a codec field, like video and audio tracks have had for ages. When adding a file manually or when editing a file that has not been dumped, the user can select the codec from a list.

However, when the file is dumped, the codec field is locked—because avdump2 should know better than the user. This is true, and avdump2 does detect and report the codec (at least in the output it prints to the console), but the AniDB server processing file dumps does not use this information and does not set the value of the codec field at all. If a user has manually set the correct codec, it is kept; if the field still has its default value of “unknown”, it is kept; moreover, I expect that if a user manually sets an *incorrect* codec, it will be kept too! And yet the field gets locked, so no user can correct the value any more. (Can mods?)

Ideally, the codec should be taken from the dump and then the field should be locked. But until that is done, the field should at least not be locked.

I guess this is a known issue based on https://anidb.net/c7536746 :), but having an issue open for it here should hopefully do no harm.

(More generally, I think these fields should not be locked when the server is not absolutely sure it is locking them at the right values—like when a new codec comes out and avdump2 and/or the server does not recognize it.)
Steps To Reproduce1. Add a file with a subtitle track.
2. Set the subtitle track’s codec to any particular value (possibly the default “uknown”) and remember it.
3. Dump the file with avdump2.
4. Wait for the dump to be processed by the server.
5. Look at the file: the codec is still the same as set by you.
6. Try to edit the subtitle track to change the codec: you cannot, because the field is locked.
TagsNo tags attached.

Activities

worf

2016-01-19 20:44

administrator   ~0003640

This is done. Older dumps will be reprocessed in time.

Issue History

Date Modified Username Field Change
2016-01-14 14:10 chortos-2 New Issue
2016-01-14 17:39 DerIdiot Assigned To => worf
2016-01-14 17:39 DerIdiot Status new => assigned
2016-01-19 20:44 worf Note Added: 0003640
2016-01-19 20:44 worf Status assigned => resolved
2016-01-19 20:44 worf Resolution open => fixed