Featured

Google Pixel 2’s Now Playing Feature Can Recognize Over 10,000 Songs

Google Pixel 2’s newest features is called ‘Now Playing’, and what it does is automatically detects songs playing in the background and displays information about it on the lock screen.

Kieron Quinn, An XDA Developers member has managed to pull and deconstruct the database file that shows all of the more than 10,000 songs that are included in the feature. This database, among other bits, allows the feature to work offline, and makes recognition easier, allowing the phone to figure out what song is playing with minimal effort and without having to open up any foreground apps.

There are 17,300 titles listed, including some duplicates, though it is possible that the tool used to pull and parse the database did not catch every song.

Quinn isn’t sure if this is all of the songs as it’s possible that the script did not dump all of them. Some songs appear more than once, too, but we doubt there are thousands of duplicates in there.

Google has stated that this database could be updated in the future, however, so those whose music tastes venture out of the bounds of the current database may find the feature responding to their unconventional tastes a bit better as time goes by.

The database itself is all contained within a matcher.leveldb file hidden in the Pixel 2’s system files. The database file, in the incarnation that Quinn pulled and decoded, weighs in at 53MB.

While that’s not a lot in terms of space on modern devices, the database itself seems to be a text-only affair, so there’s either another element to the database that the APK tool and script could not extract, or the song names and metadata for over 10,000 songs can simply get out of hand in regards to file size.

It’s unclear whether updating the database will require an OTA update or if the Pixel Ambient Services app can update the database on its own, though.

Comments
To Top