SAF Media Scanner

Verified safeOpen source
—
No reviews reviews
34
downloads
6.0
android

AI summary

Audio metadata scanner for classical music that builds SQLite databases for player apps. Uses Google's Storage Access Framework to scan USB devices, SD cards, and network shares where standard file access is blocked. Updated to SDK 36 with reproducible build timestamps from git history.

Generated by AI. May contain inaccuracies.

About this app

A plain audio file metadata extractor ("scanner") especially for classical music. It basically creates SQLite databases to be used by player applications like the Unpopular Music Player or the Opus 1 Music Player.

Contrary to the Classical Music Scanner, the SAF Media Scanner exclusively uses Google's Storage Access Framework (SAF) instead of the standard File scheme. Additionally the scanner copies, if possible, the resulting database file to the respective directory, in its dedicated subdirectory ClassicalMusicDb. If this is not possible, it remains in internal memory and kept there, with an informative file name that allows later to derive the respective scanned path.

Technical Background

By design any file access via Google's SAF is extremely slow compared to the standard methods (either via Java or native code). Thus it is recommended to use SAF only if necessary. Generally there has been much discussion and critics in the Android developer community complaining about Google's decisions and restrictions.

As SAF unfortunately is exclusively available in Java, this program is also forced to use slow Java code where the Classical Music Scanner runs in native (written in 'C') code.

Application Field

The SAF scanner can access USB memory devices, like USB sticks via OTG adapter, in Android 6, 7 and 8. Note that Android 9 and 10 natively allow (read) file access to USB memory, just like to SD cards.

Note that without SAF and without manage files permission, Android 11 and newer deny any access to non-private memory, except media files.

The SAF scanner can extract album art on SD cards and USB memory devices, this is currently not possible with the classical scanner, because without SAF it is limited to read-only access.

The SAF scanner can access SMB or SFTP servers, if the respective document provider is installed.

The SAF scanner even deals with non-seekable files by reading them completely into memory before further processing.

What's new

v1.8.5Sep 6, 2025
  • SDK 36.
  • New Gradle and libraries.
  • Use git commit date and time for application information instead of system build time.

About this version

Version
1.8.5 (16)
Size
11.26 MB
Requires Android
6.0
Target SDK
23
Downloads
34
Updated
Sep 6, 2025
Package
de.kromke.andreas.safmediascanner

Similar apps

Ratings & reviews

—
0 ratings
  • 5
    0
  • 4
    0
  • 3
    0
  • 2
    0
  • 1
    0

Write a review

Tap a star to rate this app