will prevent crash in cli/qt and infinit loading in gtk if item['media_type'] not in self.type_translate, now it falls back to utils.Type.UNKNOWN.
eg. Mahoutsukai Reimeiki PV with the media_type pv which is not a key in type_translate.
Could of cause be also fixed by adding pv to type_translate but then if something else is not in type_translate, it will crash and a new fix would be needed.
will prevent crash in cli/qt and infinit loading in gtk if
item['media_type']
not inself.type_translate
, now it falls back toutils.Type.UNKNOWN
. eg.Mahoutsukai Reimeiki PV
with the media_typepv
which is not a key in type_translate.Could of cause be also fixed by adding
pv
to type_translate but then if something else is not in type_translate, it will crash and a new fix would be needed.