Looking for a developer to sync Rekordbox XML with MMW5

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Looking for a developer to sync Rekordbox XML with MMW5

Re: Looking for a developer to sync Rekordbox XML with MMW5

by Konka » Sun Apr 07, 2024 6:29 pm

rbrush let me know if you need help testing.

Running a windows 11 machine, and keep Rekordbox updated with the most current version (6.8.4 as of today).

Re: Looking for a developer to sync Rekordbox XML with MMW5

by paulonl » Thu Mar 28, 2024 10:04 am

@Broham

My workflow is that I download new tracks in MM where I set/correct artist, title, rating, genre and I use the Composer field to set some codes that I can then later use for intelligent playlists.

You can sort of sync these attributes because they (in theory!) are written to the track on disk. So when I import in RB, these will mostly get populated. But I still have tracks in RB with empty artist/title and there's no way I can make RB read the tags from the file.

But this causes a problem with FLAC files that RB does not import the rating, so this gets lost. Ratings that I set in RB are not written to the track. Then any updates to the tags in either program should again be written to the track on disk but this doesn't always work, neither in RB or MM. Updating/scanning the tracks in either program should in theory the update the tags from the file to the respective databases, but this also doesn't always work.

Playlists can be saved in either program and then imported in the other program. But this is cumbersome and requires many clicks in every program to save and import.

Altogether syncing this way is all but a reliable way of working.

What I do now is to update tracks in RB once I have imported them, hoping that these will be written to disk and that MM will refresh them when i scan a folder for updates (doesn't always work). This will still lead to inconsistencies, but there's not much that can be done about that without some development.

Re: Looking for a developer to sync Rekordbox XML with MMW5

by Peke » Tue Mar 26, 2024 1:55 pm

Hi,
@Rbrush
rbrush wrote: Mon Mar 11, 2024 8:28 pm So I can write the tool needed, but will need assistance from somebody on the MediaMonkey side of things.
You have full support of this forum and devs often steps in.
rbrush wrote: Mon Mar 11, 2024 8:28 pm I only have a MacBook so testing any changes I make will be difficult unless somebody is happy to team up to be our tester
MM is coming to mac and caan be installed on various Virtual machines on MAC.
rbrush wrote: Mon Mar 11, 2024 8:28 pm 1. I've never used MediaMonkey before
I wonder how you found this topic related to MM if you have never used it?

Re: Looking for a developer to sync Rekordbox XML with MMW5

by Broham » Mon Mar 25, 2024 6:33 pm

Out of curiosity, what is your workflow workaround for this? I'm also interested in porting my Rekordbox library over to MediaMonkey.

Re: Looking for a developer to sync Rekordbox XML with MMW5

by paulonl » Wed Mar 13, 2024 4:16 am

Hi @rbrush,

Thanks for offering to help to solve this.

I currently have a workflow around this "problem", so I'm not interested in the development at this moment.

Regards,
Paulo

Re: Looking for a developer to sync Rekordbox XML with MMW5

by rbrush » Mon Mar 11, 2024 8:28 pm

Full Disclosure of some challenges I would face with this:

1. I've never used MediaMonkey before
2. I only have a MacBook so testing any changes I make will be difficult unless somebody is happy to team up to be our tester


Now for the good news!

During my super quick squizz into MediaMonkey addons, it looks like they're written in Javascript which is what some poor sucker (my employer) has paid me to use for years:

https://i.imgur.com/vjUbVxa.png
Source: https://mediamonkey.com/wiki/Getting_St ... ld_example

So I can write the tool needed, but will need assistance from somebody on the MediaMonkey side of things.

Regards,

Rbrush

Re: Looking for a developer to sync Rekordbox XML with MMW5

by rbrush » Fri Mar 08, 2024 4:55 am

If you still need this I think I can help

Re: Looking for a developer to sync Rekordbox XML with MMW5

by Konka » Mon Oct 02, 2023 5:25 am

Dang, I wish I could help, but coding is far outside my expertise for me be of any use in that capacity.

Hope someone comes along that can.

Re: Looking for a developer to sync Rekordbox XML with MMW5

by paulonl » Sun Oct 01, 2023 12:35 am

Unfortunately not. I did however had some VBA code written earlier in the year by chatgpt, and did some initial experimenting with an RB to MM sync, but that had too many erros and I believe it was because it couldn't find the full MM API and datamodel. So, I might have another try at it in the future. I think it should be possible to get that working in a few hours if you have some coding experience. Let's keep using this topic for any progress...

Re: Looking for a developer to sync Rekordbox XML with MMW5

by Konka » Sat Sep 30, 2023 7:13 pm

did anybody pick this up?
I'm also very keen to have a quality sync between MM5 and Rekordbox.


also willing to throw money at it

Re: Looking for a developer to sync Rekordbox XML with MMW5

by Peke » Sun Jul 24, 2022 2:43 pm

hI,
Thx for Info, importing seams straight forward and should be clean but unfortunately exporting in MM would be bit difficult.

I also see few more fields that MM can use. Lets see if someone can pick it up.

Re: Looking for a developer to sync Rekordbox XML with MMW5

by paulonl » Sun Jul 24, 2022 12:34 pm

Your mapping seems logical. Here's an example of the XML with real data.

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>

<DJ_PLAYLISTS Version="1.0.0">
  <PRODUCT Name="rekordbox" Version="6.6.1" Company="AlphaTheta"/>
  <COLLECTION Entries="278">
    <TRACK TrackID="100021377" Name="Piknik" Artist="Riva Starr" Composer="* OLMC"
           Album="Piknik (Audio" Grouping="" Genre="_Deep Techno" Kind="MP3 File"
           Size="18833408" TotalTime="467" DiscNumber="0" TrackNumber="0"
           Year="0" AverageBpm="119.00" DateAdded="2019-10-24" BitRate="320"
           SampleRate="44100" Comments="artistic deep dark hypno" PlayCount="1"
           Rating="0" Location="file://localhost/E:/Music/Riva%20Starr%20-%20Piknik.mp3"
           Remixer="" Tonality="4A" Label="" Mix="">
      <TEMPO Inizio="0.095" Bpm="119.00" Metro="4/4" Battito="1"/>
      <TEMPO Inizio="88.835" Bpm="119.00" Metro="4/4" Battito="1"/>
      <TEMPO Inizio="259.760" Bpm="119.00" Metro="4/4" Battito="4"/>
      <TEMPO Inizio="408.500" Bpm="119.00" Metro="4/4" Battito="3"/>
      <POSITION_MARK Name="" Type="0" Start="0.095" Num="-1"/>
    </TRACK>
    <TRACK TrackID="264338396" Name="Different In Detroit (Rhauder Remix)"
           Artist="Steve Bug" Composer="* LM" Album="" Grouping="" Genre="_Dub Techno"
           Kind="FLAC File" Size="32953034" TotalTime="395" DiscNumber="0"
           TrackNumber="0" Year="0" AverageBpm="123.00" DateAdded="2019-10-25"
           BitRate="0" SampleRate="44100" Comments="uptempo minimal micro dub"
           PlayCount="1" Rating="204" Location="file://localhost/E:/Music/Steve%20Bug%20-%20Different%20In%20Detroit%20(Rhauder%20Remix).flac"
           Remixer="" Tonality="9A" Label="" Mix="">
      <TEMPO Inizio="0.090" Bpm="123.00" Metro="4/4" Battito="1"/>
      <POSITION_MARK Name="" Type="0" Start="0.090" Num="-1"/>
    </TRACK>
  </COLLECTION>
  <PLAYLISTS>
    <NODE Type="0" Name="ROOT" Count="13">
      <NODE Name="New system" Type="0" Count="7">
        <NODE Name="To classify" Type="1" KeyType="0" Entries="76">
          <TRACK Key="224135192"/>
          <TRACK Key="257800696"/>
          <TRACK Key="236764515"/>
          <TRACK Key="134987026"/>
        </NODE>
        <NODE Name="* Opening" Type="1" KeyType="0" Entries="36">
          <TRACK Key="100021377"/>
          <TRACK Key="218831111"/>
          <TRACK Key="40222696"/>
        </NODE>
      </NODE>
      <NODE Name="MM Playlists" Type="1" KeyType="0" Entries="0"/>
      <NODE Name="Clay - Proton Amsterdam @ Club NL (Closing Set)" Type="1"
            KeyType="0" Entries="0"/>
      <NODE Name="__Favorites" Type="1" KeyType="0" Entries="0"/>
      <NODE Name="Unknown Album" Type="1" KeyType="0" Entries="0"/>
      <NODE Name="vocal groove" Type="1" KeyType="0" Entries="2">
        <TRACK Key="253931624"/>
        <TRACK Key="56500974"/>
      </NODE>
      <NODE Name="Zender" Type="1" KeyType="0" Entries="0"/>
    </NODE>
  </PLAYLISTS>
</DJ_PLAYLISTS>

Re: Looking for a developer to sync Rekordbox XML with MMW5

by Peke » Sun Jul 24, 2022 6:52 am

Hmmm Interesting, you are right and I was surprised that they gone into lengthy description of format, it could be interested project for someone.

I am Guessing that mapping should be like this:

- Name -> Title
- Artist -> Artist
- Composer -> Composer
- Genre -> Genre
- Year -> Date/Year
- AverageBPM -> BPM
- Comments -> Comment
- Rating -> Rating
- Tonality -> Initial Key???

Can you use small playlist 1-3 tracks and copy/paste into your reply and use CODE BB Mask (</>) to have it formatted correctly.
I am curious if All playlists are in single XML or you have each playlist separated in individual XML?

Re: Looking for a developer to sync Rekordbox XML with MMW5

by paulonl » Sun Jul 24, 2022 6:31 am

Ok, the layout of the Rekordbox XML file is pretty straightforward and can be found here (https://rekordbox.com/en/support/developer/) by clicking on the link (https://cdn.rekordbox.com/files/2020041 ... t_list.pdf).

I'm interested in having the following fields for tracks updated in MMW5:
- Name
- Artist
- Composer
- Genre
- Year
- AverageBPM
- Comments
- Rating
- Tonality
If a track does not exist in MMW5, it should be added as if it's imported followed by synchronization of the values in the XML.

In addition, all Rekordbox Playlists should be synchronized in MMW5.

Is anybody interested in developing an addon?

Thanks,
Paulo

Re: Looking for a developer to sync Rekordbox XML with MMW5

by Peke » Sun Jul 17, 2022 5:51 am

Hi,
It would be great if you can provide sample XML file so that anyone interested can evaluate needed work.

Top