This is extremely strange. This happens also with a version compiled
from trunk. The problem seems to be that MediaStore will claim that a
file is not broken even if the file in question is in the database.

sqlite3 ~/.cache/mediascanner-2.0/mediastore.db "select * from
broken_files;"

gives

/home/phablet/Videos/big_buck_bunny_480p_MPEG4_MP3_25fps_1600K_short.AVI|1409927801:865485

and so does

sqlite3 ~/.cache/mediascanner-2.0/mediastore.db "select * from
broken_files where filename =
'/home/phablet/Videos/big_buck_bunny_480p_MPEG4_MP3_25fps_1600K_short.AVI'
and etag = '1409927801:865485';

However printf debugging on the device says that sqlite returns false
when asked if the file is broken.

The major headache is that this seems to happen nondeterministically.
Sometimes the system will work. Then you delete the entire cache
directory and then magically it will start failing. Or maybe it doesn't.
Something really strange is going on here.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mediascanner2 in Ubuntu.
https://bugs.launchpad.net/bugs/1365908

Title:
  mediascanner respawns on supposedly blacklisted video

Status in “mediascanner2” package in Ubuntu:
  New

Bug description:
  big_buck_bunny_480p_MPEG4_MP3_25fps_1600K.AVI in my Videos folder
  causes mediascanner to repeatedly / rapidly respawn and crash.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mediascanner2/+bug/1365908/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to