KWGT/KLWP Issue with Apple Music Compatibility

I tried to ask if anyone was having a similar issue in the Kustom Discord server and received no responses despite others getting a response, so I thought I’d post about it here.

I cannot find documentation of this issue ANYWHERE, despite checking here on the Issues forum, the FAQ, the Discord, and the entirety of Reddit (from this year, since this is when the problem started).

Was there a recent change in KWGT/KLWP in regards to Apple Music compatibility with either program? Apple Music was working fine about a month and a half ago, the Widgets and Live Wallpapers were displaying all information correctly, but out of nowhere it lost functionality and isn’t showing any of the current music information or the album artwork of the currently playing song. I don’t use any of the other supported music players, so I’m not going to switch.

The compatibility with Apple Music was quite literally the whole reason I even downloaded these programs in the first place and to lose compatibility like that is a bit odd.

Any information ANYONE has would be very much appreciated!

The code I’m using for both are:

$mi(cover)$

$mi(title)$ · $mi(artist)$

The album cover code is set on the FX tab of a Shape Element, with the Texture changed to Bitmap and the Bitmap selection changed to a text input field.

Current App Version (KLWP): 3.82b621115
Current App Version (KWGT): 3.82b621115

Phone: Samsung Galaxy S24+ (SM-S926U1)
OneUI Version: 9.0
Android Version: 17

Hi @wingsNbees ,

Welcome to the forum!

In regards to your issues with Apple Music on KWGT and/or KLWP, here’s some tips and references about it.

KWGT/KLWP Settings

Preferred Music Player Setting

Set Apple Music explicitly as your preferred player:

Settings ➞ General Settings ➞ Preferred Music Player

Update Mode Setting (KWGT)

Change the widget update frequency to “Fast”:

Settings ➞ Advanced Options ➞ Update Mode

if track info or progress bars are lagging or delayed.

Android Notification Access

Ensure KWGT and KLWP have active notification/media access permissions in your Android system settings, as Kustom reads track data via Android media notification standards.

Apple Music / OS Updates

Apple Music or Android OS updates can occasionally break how media session metadata (such as track title, artist, and album art) is broadcast to third-party apps like Kustom.

Troubleshooting Steps

  • Try toggling Apple Music playback, restarting your device, or clearing/re-selecting the preferred player
  • If issues persist, a reinstallation of KWGT/KLWP may re-initialize media hooks

I hope this would help.

:smiling_face::+1:

I have done literally every step listed, multiple times, just to rule out Apple Music or my device as the cause. It just refuses to update in the app and on the home screen, regardless of if Apple Music is the preferred player, if the update frequency is set to fast, or if it has notification access (the first thing I verified, actually), and I made 100% sure my app was continuously up to date. I also toggled the preferred player off Apple Music to Spotify and Automatic several times within the past week to see if any of my saved Widgets or Wallpapers would suddenly start working again. Nothing.

Try clearing KWGT app data and then grant all permissions again. Don’t worry, your files and presets won’t be deleted.

If that doesn’t help, the issue might be related to Samsung. Newer Samsung devices seem to have quite a few compatibility issues with Kustom apps, or it could be a problem with the latest version of KWGT/KLWP.

You could also try installing an older version, such as KWGT/KLWP 3.81, and let me know if that solves the problem.

If this is something that only started happening recently, it may have been caused by an Apple Music or Samsung update. Version 3.82b621115 was rolled out last June, and there has been no update since then.

A new beta version is available on the Download page. You may want to give it a try and see if the issue persists.

Hi @wingsNbees ,

Try the following tricks with Apple Music app to retrieve the track infos from the current audio track.

Album Art

$if(mi(cover)="",ni(mi(package),bicon),mi(cover))$

Title

$if(mi(title)="",ni(mi(package),title),mi(title)$

Artist

$if(mi(artist)="",tc(split,ni(mi(package),text)," - ",0),mi(artist))$

Album

$if(mi(album)="",tc(split,ni(mi(package),text)," - ",1),mi(album))$

The above code snippets are the workarounds when using OneUI v9.0 on Samsung devices. Hopefully they work with other audio players as well.

I hope this would help.

:smiling_face::+1: