Inhji posted

It doesn’t work for me, I’m on Android 9 and using Phonograph as my music player. I compiled your version of sls and tried submitting a few tracks to Listenbrainz. In my case, the MBID does not get submitted (I checked with picard to see if it actually exists in the metadata of my mp3s).

Logcat output from sls:

05-15 09:47:17.004 D/ScrobblingService(17740): State: RESUME
05-15 09:47:17.007 D/ScrobblingService(17740): Will try to queue track, played: 256845 vs 125440
05-15 09:47:17.009 D/ScrobblingService(17740): queued track after playtime: 256845
05-15 09:47:17.010 D/ScrobblingService(17740): Track [mTrack=Progress, mArtist=Disasterpeace, mAlbum=FEZ, mDuration=256, mMbId=, mMusicAPI=MusicAPI [clashWithScrobbleDroid=1, enabled=1, id=1, msg=null, name=Phonograph, pkg=com.kabouzeid.gramophone], mQueued=true, mRating=, mRowId=-1, mSource=P, mTimePlayed=256845, mTracknr=4, mUnknownDuration=false, mWhen=1557906180, mWhenToCountTimeFrom=410865526]
05-15 09:47:17.010 D/ScrobblingService(17740): inserting scrobble: ListenBrainz

API Repsponse of the same song:





It seems the MBID is never set on the Track object. track.getMbid() returns nothing.