Mediascanner2 does not index appstore apps' contents. It only deals with public information in ~/Music ~/Videos and mounted drives. It has nothing to do with the playback path, that is dealt entirely by media hub/music app.
There are three ways of accessing Mediascanner's stored data:
1. issue a scope query
2. use Mediascanner's Qml plugin
3. use libmediascanner (not recommended for most apps)
#2 is implemented using #3.
The only requirement to accessing data via 2 or 3 is to be able to have read-only access to ~/.cache/mediascanner-2.0/.
Mediascanner 2's scanner daemon of course needs write access to that directory as well as read rights to the directories that are to be scanned.
To me as non-security-specialist this seems to fullfill the requirements listed in the issue. If there's something I missed, please let me know.
Mediascanner2 does not index appstore apps' contents. It only deals with public information in ~/Music ~/Videos and mounted drives. It has nothing to do with the playback path, that is dealt entirely by media hub/music app.
There are three ways of accessing Mediascanner's stored data:
1. issue a scope query
2. use Mediascanner's Qml plugin
3. use libmediascanner (not recommended for most apps)
#2 is implemented using #3.
The only requirement to accessing data via 2 or 3 is to be able to have read-only access to ~/.cache/ mediascanner- 2.0/.
Mediascanner 2's scanner daemon of course needs write access to that directory as well as read rights to the directories that are to be scanned.
To me as non-security- specialist this seems to fullfill the requirements listed in the issue. If there's something I missed, please let me know.