metabrainz/listenbrainz-android

Missing many listens

Closed this issue · 1 comments

I'm using Vanilla Music player to listen to music which is captured by ListenBrainz. It appears to miss more than half of the plays so far when playing music. All my music is encoded in opus and here's a sample of relevant opus tags:

    MUSICBRAINZ_ALBUMARTISTID=89ad4ac3-39f7-470e-963a-56509c546377
    MUSICBRAINZ_ALBUMID=2cfa71de-25e5-433a-a689-01b9d140f59d
    MUSICBRAINZ_ARTISTID=6fe07aa5-fec0-4eca-a456-f29bff451b04
    MUSICBRAINZ_RELEASEGROUPID=ce9b4ebc-f732-3d48-9594-c16505bfeae1
    MUSICBRAINZ_RELEASETRACKID=3346c502-0ae3-35a2-a99a-fc875d041d3c
    MUSICBRAINZ_TRACKID=db96f9b2-1d80-4fa4-b832-59f451faff5a
    MUSICBRAINZ_WORKID=7a63d293-cfe3-3921-9b07-f7459739f0aa

As a user I want the player to pick up which files I'm playing, parse the relevant info, and post the complete metadata to my account. Currently, it's only catching a few random plays and is not correctly setting the metadata. Here's a snippet from my ListenBrainz account with the incorrectly linked plays.

{ "inserted_at": 1723576245, "listened_at": 1723576089, "recording_msid": "d5213f97-fbff-4c06-9c6e-0ad35fe78385", "track_metadata": { "additional_info": { "media_player": "Vanilla Music", "recording_msid": "d5213f97-fbff-4c06-9c6e-0ad35fe78385", "submission_client": "ListenBrainz Android", "submission_client_version": "2.6.1" }, "artist_name": "Where Is My Mind? A Tribute to the Pixies", "track_name": "Gouge Away" }, "user_name": "pancho_villa" }

Now here's a correct listen record in ListenBrainz from the same album submitted by kodi using the ListenBrainz add-on:

{ "inserted_at": 1723547393, "listened_at": 1723547309, "recording_msid": "0885a8c9-e977-41d8-ab76-b60c3bc59332", "track_metadata": { "additional_info": { "albumartist": "Various Artists", "artist_mbids": [ "ebd2ac91-6249-4e4b-bde1-353a424138c9" ], "date": "1999-06-08", "discnumber": 1, "duration": 84, "genre": "Rock", "media_player": "Kodi", "media_player_version": "21.0.0", "recording_mbid": "deac6423-ad5a-4c99-9c07-5a19882d357d", "recording_msid": "0885a8c9-e977-41d8-ab76-b60c3bc59332", "submission_client": "service.listenbrainz", "submission_client_version": "0.3.1", "tracknumber": 1 }, "artist_name": "Eve 6", "mbid_mapping": { "artist_mbids": [ "ebd2ac91-6249-4e4b-bde1-353a424138c9" ], "artists": [ { "artist_credit_name": "Eve 6", "artist_mbid": "ebd2ac91-6249-4e4b-bde1-353a424138c9", "join_phrase": "" } ], "caa_id": 2239728701, "caa_release_mbid": "2cfa71de-25e5-433a-a689-01b9d140f59d", "recording_mbid": "deac6423-ad5a-4c99-9c07-5a19882d357d", "recording_name": "Allison", "release_mbid": "2cfa71de-25e5-433a-a689-01b9d140f59d" }, "release_name": "Where Is My Mind? A Tribute to the Pixies", "track_name": "Allison" }, "user_name": "pancho_villa" }

The kodi version read from a flac file, while the android was playing an opus file.

Thanks!

This was an issue with the media player I was using. ListenBrainz is working great with VLC as my player on Android, so I'll close this as it's not an issue with ListenBrainz.