ARK-Builders / ARK-Navigator

Android app for navigation through your data
MIT License
15 stars 15 forks source link

#248: Missing video quality labels #251

Closed pgpathan22 closed 2 years ago

pgpathan22 commented 2 years ago

248

kirillt commented 2 years ago

Crashes during indexing, in debug build.

06-02 00:26:48.007  5320  5984 V arklib::resource_id: Calculating hash of /storage/emulated/0/Projects/Syntropy/video/c8TiOkzuhWI-Intro to Polygon.mp4 (given size is 1 megabytes)
06-02 00:26:48.010  5320  5984 V arklib::resource_id: 1153116 bytes has been read
06-02 00:26:48.010  5320  5984 V arklib::resource_id: checksum: 0x54d9313d
06-02 00:26:48.011  5320  5984 I MediaMetadataRetrieverJNI: native_setup
06-02 00:26:48.011  5320  5984 V MediaMetadataRetrieverJNI: setDataSource
--------- beginning of crash
06-02 00:26:48.033  5320  5984 F libc    : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 5984 (DefaultDispatch), pid 5320 (an.arknavigator)
06-02 00:26:48.951  5320  5320 D main    : pausing MainActivity
06-02 00:26:48.975  5320  5320 I ViewRootImpl@4149347[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 0 1

https://user-images.githubusercontent.com/581023/171505003-ec270115-2bc5-45eb-969e-16317cded9e5.mp4 Yes, this video seems to be broken, but the app must not crash.

If we ignore a video during indexing, then we should notify user about skipped files.