Author Topic: Import GoneMAD stats.xml into MusicBee  (Read 4472 times)

bkev

  • Jr. Member
  • **
  • Posts: 21
Since Android 10 or 11, the MusicBee wifi sync isn't able to read the stats.xml exported from GoneMad player to import the play count and ratings back into MusicBee.

I am able to manually get the stats.xml file onto my computer.

I was wondering if anyone knows how I can import the information from this file into MusicBee like the wifi sync app did automatically? (Is there a menu option/command line etc)?

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 32276
i have heard android 11 is creating problems but i dont have any solution

bkev

  • Jr. Member
  • **
  • Posts: 21
Hi Steven thanks for responding.

Would it be possible to get the sync app on Android to load up a file picker? This was the stats.xml could be maybe moved on the phone to somewhere it isn't protected and selected?

bkev

  • Jr. Member
  • **
  • Posts: 21
Is there anyway of manually importing/merging the stats.xml from GoneMad into MusicBee like the sync app did? I'm quite happy to do this manually if I know what to do with the stats.xml file and MusicBee.

phred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7029
Is there anyway of manually importing/merging the stats.xml from GoneMad into MusicBee like the sync app did? I'm quite happy to do this manually if I know what to do with the stats.xml file and MusicBee.
You might be better off asking this on the GMMP forum. If you can determine where the GMMP stats are stored, or if there's a way to export them,  then the answer is "perhaps."
Download the latest MusicBee v3.4 patch from here.
Unzip into your MusicBee directory and overwrite existing files.

----------
Check out the MusicBee Wiki.
How to post screenshots is here.

SkyZippr

  • Jr. Member
  • **
  • Posts: 114
As a GMMP user, I can manually trigger GMMP to generate a stats.xml, and I can manually copy it to anywhere I want to, be it the sync app's directory on the phone or anywhere in my PC.
So I imagine possible solutions would be:
a. Add an option in sync app to look for stats.xml in its own directory.
b. Add an option in Musicbee to load up stats.xml inside the PC.
But since I'm no programmer, I'm not sure if either of the methods are implementable, or that they work at all.

bkev

  • Jr. Member
  • **
  • Posts: 21
Getting the stats.xml from GMMP is possible and I can do that and copy them anywhere I want.

The issue is that the MusicBee WiFi sync app in Android 11 can no longer read the file on mobile due to file restrictions.

When it did work on older Android versions, the app did "something" with the stats.xml file to import the played count and ratings back into MusicBee.

It's that "something" I'm interested in. If it's difficult to get it to work automatically again that's fine but it would be nice to know if I can manually replicate the import or merge of play count and stats if I have access to the stats.xml export.


ucynml

  • Newbie
  • *
  • Posts: 11
I think SAF can be used to find and read stats.xml on Android 11.
The app needs to ask an user to specify the file location, but it can get file access except for some directories, such as root directory and download directory.
https://developer.android.com/guide/topics/providers/document-provider
https://medium.com/swlh/sample-for-android-storage-access-framework-aka-scoped-storage-for-basic-use-cases-3ee4fee404fc

cydonianknight21

  • Newbie
  • *
  • Posts: 3
Okay but what bkev and subsequently I would like to know is what is the process for converting the stats.xml data to be imported into Musicbee? We've got the stats file covered, the issue is that we want to input its data into Musicbee...

It used to be an automatic process but what exactly was that process?