[APP][SHIZUKU][08/04] Ambient Music Mod - Pixel Now Playing port

Search This thread

jeasjoanlu

Member
Jan 7, 2023
6
0
Bro, the database download is endless, and although it finishes, in the startup screen it still says that it is downloading to start the recognition, is there any way to install the database manually, as an obb or data file, a Magisk module or something like that.
 

Quinny899

Recognized Developer / Recognized Contributor
Jan 26, 2011
9,428
8,754
26
Salford, Greater Manchester, UK
quinny898.co.uk
Bro, the database download is endless, and although it finishes, in the startup screen it still says that it is downloading to start the recognition, is there any way to install the database manually, as an obb or data file, a Magisk module or something like that.
If it still shows that message, it hasn't finished. It's not possible to do it manually.

How long have you left it for, without force stopping, rebooting or clearing data?
 

jeasjoanlu

Member
Jan 7, 2023
6
0
If it still shows that message, it hasn't finished. It's not possible to do it manually.

How long have you left it for, without force stopping, rebooting or clearing data?
Screenshot_20230322-125237_Ambient Music Mod.png
Does this mean it has already downloaded?
 

jeasjoanlu

Member
Jan 7, 2023
6
0
No, eso significa que no se ha descargado. 16k es el tamaño base de la base de datos. ¿Cuánto tiempo lo dejaste entre reiniciar/borrar datos/forzar la detención?
Hermano, ¿usas esta aplicación? Y lo tienes con todo descargado y funcionando bien? ¿Podría enviar una captura de pantalla de cómo se ve cuando haya descargado la base de datos?
 

Quinny899

Recognized Developer / Recognized Contributor
Jan 26, 2011
9,428
8,754
26
Salford, Greater Manchester, UK
quinny898.co.uk
Hermano, ¿usas esta aplicación? Y lo tienes con todo descargado y funcionando bien? ¿Podría enviar una captura de pantalla de cómo se ve cuando haya descargado la base de datos?
A fully downloaded database is usually around 70k tracks. You're not answering my question, how long did you leave it to download without clearing data, force stopping, rebooting etc? Usually being impatient and interfering with the process causes this.
 

jeasjoanlu

Member
Jan 7, 2023
6
0
Is your device rooted? I have an idea. You could create a backup with Swift Backups app which is excellent and upload it to Gdrive, Media Diré, Mega and then the user ( me ) restoring that copy could already have the full app downloaded. Please could you do that?
A fully downloaded database is usually around 70k tracks. You're not answering my question, how long did you leave it to download without clearing data, force stopping, rebooting etc? Usually being impatient and interfering with the process causes this.
 

Quinny899

Recognized Developer / Recognized Contributor
Jan 26, 2011
9,428
8,754
26
Salford, Greater Manchester, UK
quinny898.co.uk
Is your device rooted? I have an idea. You could create a backup with Swift Backups app which is excellent and upload it to Gdrive, Media Diré, Mega and then the user ( me ) restoring that copy could already have the full app downloaded. Please could you do that?
I use the UK database. If it's still not downloaded, clear the data once of the Now Playing app (not Ambient Music Mod), which will reset the download. Then actually let it sit overnight, and it will download.
 
  • Like
Reactions: osm0sis

jeasjoanlu

Member
Jan 7, 2023
6
0
I use the UK database. If it's still not downloaded, clear the data once of the Now Playing app (not Ambient Music Mod), which will reset the download. Then actually let it sit overnight, and it will download.
Screenshot_20230330-131436_Ambient Music Mod.png

What is this now? That is after deleting the Play Now data. It doesn't matter that you have the UK database, send a backup as I told you please.
 

Styrofoam Boots

New member
Feb 12, 2022
4
0
Anyone got On Demand working without root on the Samsung M53? Tried to use the On Demand but it gives me firmware error
 

Quinny899

Recognized Developer / Recognized Contributor
Jan 26, 2011
9,428
8,754
26
Salford, Greater Manchester, UK
quinny898.co.uk
View attachment 5876513
What is this now? That is after deleting the Play Now data. It doesn't matter that you have the UK database, send a backup as I told you please.
That means the database has loaded, unless the updates screen still shows 16k. It's telling you an app is playing audio, which prevents Now Playing from working. You can't play audio and recognise at the same time.
 

ginnibraha

New member
Jul 25, 2018
2
0
Hi well i tried everthing to fix it but unable to fix this please help me i can't able to use it my device is Vivo x90 pro+
Screenshot_20230331_040249.jpg
 

Attachments

  • Screenshot_20230331_040053.jpg
    Screenshot_20230331_040053.jpg
    222.2 KB · Views: 21
  • Screenshot_20230329_232824.jpg
    Screenshot_20230329_232824.jpg
    580.2 KB · Views: 21

Quinny899

Recognized Developer / Recognized Contributor
Jan 26, 2011
9,428
8,754
26
Salford, Greater Manchester, UK
quinny898.co.uk
Hi well i tried everthing to fix it but unable to fix this please help me i can't able to use it my device is Vivo x90 pro+ View attachment 5876857
Uninstall and reinstall Ambient Music Mod and Now Playing from the system settings, there was also someone with a non-AOSP device who reported that it fixed itself when the database loaded, so that might happen for you too (leave it overnight to see).

If it still doesn't, probably nothing I can do given that's a permissions error and not something the mod handles.
 

jeasjoanlu

Member
Jan 7, 2023
6
0
That means the database has loaded, unless the updates screen still shows 16k. It's telling you an app is playing audio, which prevents Now Playing from working. You can't play audio and recognise at the same time.
The database download is restricted for my region or something, because it is impossible to download it in any way. So you are not going to help me with the solution I suggested to you regarding the backup.
 

ginnibraha

New member
Jul 25, 2018
2
0

Quinny899

Recognized Developer / Recognized Contributor
Jan 26, 2011
9,428
8,754
26
Salford, Greater Manchester, UK
quinny898.co.uk
The database download is restricted for my region or something, because it is impossible to download it in any way. So you are not going to help me with the solution I suggested to you regarding the backup.
I'm not going to send a backup, no. That sets a precedent that everyone will suddenly want backups. Updates to the database happen every couple of weeks, there are 17 databases, sending backups for everyone who asks would take an enormous amount of time - it's not happening.

The download is handled by code beyond AMM's control, as I have already said. If it does not work, there is nothing I can do to help beyond what has already been provided.
 

MentalCombo

Member
Feb 4, 2023
8
1
Nokia 7 Plus
Redmi Note 10S
Hello, I just set up the app on my device and it works smoothly. I wanted to know if there is a way to not download any database since I would like to use On Demand only because it works like Shazam, if I understand correctly.

And is Now Playing supposed to display music on Always-on-Display since it doesn't display on mine and I would really love that, thank you.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 30
    Ambient Music Mod Banner

    Ambient Music Mod is a Shizuku/Sui app that ports Now Playing from Pixels to other Android devices.

    Requirements​

    • Android device running Android 9.0 or above (11+ recommended).
    • Shizuku (Android 12+) or Sui Magisk module (Android 9+).
      • Shizuku does not require root, instead needing an ADB command or a few button presses to be made every reboot.

    Features​

    • Full Now Playing support, based on the latest version from Pixel devices and the latest music databases
    • Automatic Ambient Music recognition, with settings to control how often recognition runs - finding the right balance between battery usage and convenience
    • Now Playing History, Favourites and Summary support
    • Support to trigger recognitions manually, including a homescreen widget
    • On Demand recognition on supported devices, using the Google Assistant-backed recognition engine for songs that are not in the local database (must be triggered manually)
    • Show Now Playing songs on the lock screen (accessibility service required)
    • View the full track list of recognisable songs, and change the database location if your taste does not match your device's locale

    Screenshots​

    Screenshots

    Changelog​

    2.3.5 + Now Playing 1.3.5
    - Fixed widget related crash that was also causing problems elsewhere
    - Fixed service start crash on some devices in some scenarios
    - Fixed US database not being loaded correctly in the track viewer

    2.3.4 + Now Playing 1.3.3
    - Fixed crash when using online recognition with root on some devices
    - Android 15 support (for ARM64 only)

    2.3.3
    - Fixed an issue where old backups would not be deleted
    - Automatically grant the Restricted Settings permission required for the Accessibility Service on Android 14+
    - Added keyguard category to widget to allow eventual use on the lockscreen when support is hopefully added to Android

    2.3.2 + Now Playing 1.3.2
    - Fixed screen on recognition not working on some devices
    - Fixed externally triggered recognitions not showing on the lock screen
    - Updated target SDK to Android 14
    - Added support for displaying on the flip display on Samsung devices
    - Bug fixes
    - Fixed crash when viewing a track in the history on some devices

    2.3.1
    - Fixed crash on Android 14 Beta 3

    2.3
    - Android 14 Beta 2 support
    - Added option to control Ambient Music Mod externally from apps like Tasker with options:
    • Enable Now Playing
    • Disable Now Playing
    • Toggle Now Playing
    • Start an On Device Recognition
    • Start an Online Recognition (if supported & enabled)
    - External Access can be protected by an Access Token which must be provided by the apps interacting with it (enabled by default)
    - Updated dependencies
    For info on how to use External Access, check the page in the app or the Wiki page

    2.2.2
    - Fixed On Demand not working via the root method on some devices
    - Improved Track Listing info, showing more details on tracks where available and fixing the Ask Google button
    - Crash fixes

    2.2.1

    This is quite a large update, please make sure to update Ambient Music Mod and then Now Playing from the Updates screen after installing

    - Enabled Now Playing Summary in the Now Playing History, a new feature that's not even on Pixels yet, which displays statistics about your listening habits including genre, artists, and timings from the last 30 days (configurable down to 1 day up to 365 days)
    - NNFPv3 (the updated model) is now enabled on all devices except legacy armv7. Google have switched Pixels over to using it, indicating music databases for the legacy model may stop being updated at some point.
    Please note that due to format changes, a database update will be forced after updating, and any saved On Demand recognitions will be removed. This is unavoidable, and Google has already done this on Pixel devices with official Now Playing
    - Added experimental option to download extra country databases (up to two)
    - Added option to periodically (daily/weekly/monthly) back up to a specified location
    - Improved track list viewer speed by caching track info in Ambient Music Mod, rather than loading it from the Now Playing database every time. This will increase the storage footprint of Ambient Music Mod, but you can clear the app's cache if it becomes an issue.
    - Added a track info viewer to the track list, displaying all available information for a track on one page, including links to play tracks in the database
    - Added option to edit and delete stored On Demand tracks
    - Updated database downloader, and implemented a system whereby the system Job Scheduler (which is relied on to schedule downloads) gets told to expedite downloads where possible. This should improve the speed of database downloads.
    - Improved Lock Screen detection logic
    - Fixed an issue where some switches in the app behaved differently depending on whether the text or the switch handle was pressed
    - Fixed an issue where notifications for Now Playing were being re-enabled after being disabled by the user on some devices

    nb: Version 2.2.1 fixes a cache issue with 2.2 which may impact updates. For this reason, it has replaced 2.2 and that version has been removed.

    2.1.2
    - Fixed Restore option not showing any options of files to restore

    2.1.1
    - Improved adaptive lock screen overlay
    - Fixed insets on 3 button devices
    - Allow install on x86_64 devices without libhoudini or libndk

    2.1
    - Added x86_64 support
    - Fixed Android 13 Shizuku issue
    - Updated switch style
    - Removed "run when battery saver enabled" as it was not functioning and cannot be fixed
    - Fixed overlay continuing to appear when bedtime mode is enabled
    - Added message about static noise to playback screen

    2.0.5
    - Fixed an issue where on device recognition would not work on some devices using Shizuku

    2.0.4
    - Added the ability for On Demand recognitions to run without the Magisk overlay module, so long as the device is rooted. You must start Shizuku as root or use Sui to make use of this method, and the overlay is still preferred if it works on your device. Please read the Wiki page for more information.
    - Further improvements to the On Demand overlay, fixing issues on OnePlus devices
    - Fixed the Lock Screen overlay not appearing when Smart Lock is enabled
    - Fixed Alternative Encoding and Lock Screen Overlay colour options not being backed up

    2.0.3
    - Added armv7 support
    - Fixed crashes on Android 10
    - Fixed an issue where some tracks were not showing up in the track list or in the track count (US database is actually 69k tracks, not 53k)
    - Added an option to change the lockscreen overlay text colour
    - The lockscreen overlay text now has a slight shadow, improving visibility
    - Added caching for updates, which should prevent rate-limit issues. You can force an update check (ignoring cache) by swiping to refresh.
    - Enabled landscape orientation
    - Fixed background crashes in Now Playing, which may help download issues.
    - Improved Magisk On Demand module overlay installing, which may fix bootloops on some devices

    Note: Due to issues with the backend database update system, there have been two database updates in the last two days. This is now fixed, and future updates will be timely rather than all at once. Apologies for any inconvenience.

    2.0.2:
    - Added alternative encoding option, fixing distortion/crackling on some devices when enabled
    IMPORTANT: You must also update Now Playing to 1.0.1 for the alternative encoding option to work. Use the Updates page in the app to update Now Playing.
    - Increased max gain to 3.0 to cope with new encoding which requires a higher gain on some devices
    - Reduced the chance of audio recording errors
    - Removed "Timeout" notification as it was more useless than it was useful
    - Fixed unclickable Chips on Recognition Success page (eg. Ask Google)

    Installation​

    Download the latest APK from the GitHub Releases page and install it. Ambient Music Mod will download and install the latest Now Playing APK for you as part of the setup process.

    If you have any questions, please read the FAQ before opening a GitHub issue or replying to the thread.
    5
    Isn't android 12 OOS update been out for some time now? Which device the dev is using?
    7T Pro. It's in closed beta.

    I gave up waiting because it's ridiculous how long it's taken and am working on 12 support using an AOSP ROM.
    5
    Ambient Music Mod v2.2.1 + Now Playing v1.2 are now available, and it's a big one

    Changelog said:
    This is quite a large update, please make sure to update Ambient Music Mod and then Now Playing from the Updates screen after installing

    - Enabled Now Playing Summary in the Now Playing History, a new feature that's not even on Pixels yet, which displays statistics about your listening habits including genre, artists, and timings from the last 30 days (configurable down to 1 day up to 365 days)
    - NNFPv3 (the updated model) is now enabled on all devices except legacy armv7. Google have switched Pixels over to using it, indicating music databases for the legacy model may stop being updated at some point.
    Please note that due to format changes, a database update will be forced after updating, and any saved On Demand recognitions will be removed. This is unavoidable, and Google has already done this on Pixel devices with official Now Playing
    - Added experimental option to download extra country databases (up to two)
    - Added option to periodically (daily/weekly/monthly) back up to a specified location
    - Improved track list viewer speed by caching track info in Ambient Music Mod, rather than loading it from the Now Playing database every time. This will increase the storage footprint of Ambient Music Mod, but you can clear the app's cache if it becomes an issue.
    - Added a track info viewer to the track list, displaying all available information for a track on one page, including links to play tracks in the database
    - Added option to edit and delete stored On Demand tracks
    - Updated database downloader, and implemented a system whereby the system Job Scheduler (which is relied on to schedule downloads) gets told to expedite downloads where possible. This should improve the speed of database downloads.
    - Improved Lock Screen detection logic
    - Fixed an issue where some switches in the app behaved differently depending on whether the text or the switch handle was pressed
    - Fixed an issue where notifications for Now Playing were being re-enabled after being disabled by the user on some devices

    nb: Version 2.2.1 fixes a cache issue with 2.2 which may impact updates. For this reason, it has replaced 2.2 and that version has been removed.

    Download from GitHub releases or via the app's updater as usual
    5
    Ambient Music Mod v2.0.4 & Now Playing v1.0.3 released:

    • Added the ability for On Demand recognitions to run without the Magisk overlay module, so long as the device is rooted. You must start Shizuku as root or use Sui to make use of this method, and the overlay is still preferred if it works on your device. Please read the Wiki page for more information.
    • Further improvements to the On Demand overlay, fixing issues on OnePlus devices
    • Fixed the Lock Screen overlay not appearing when Smart Lock is enabled
    • Fixed Alternative Encoding and Lock Screen Overlay colour options not being backed up
    Download from GitHub releases as usual
    4
    Ambient Music Mod 2.0 is here, with a complete overhaul including dropping the need for an Xposed module, and even root.

    Read more: https://medium.com/@KieronQuinn/now-playing-ambient-music-mod-v2-93cd4042cc11

    Download the latest release from GitHub releases

    Important: If you are upgrading from Ambient Music Mod 1.x, please uninstall the old version completely including the Xposed module and Pixel Ambient Services and reboot before installing this new version.

    -

    I've also asked this thread to be moved since it's no longer a Magisk module
    Moved, thanks Badger50!