by emobo » Sun Sep 27, 2009 12:24 pm
Hi all,
I'm new to scripting MediaMonkey (and to Media Monkey in general). I used to use iTunes and wrote a few scripts to save my ratings out to the ID3 tag. Now that I'm using Media Monkey, I'd like to write a quick script which will import my ratings into the MM format. I understand Media Monkey stores the ratings in the POPM tag, but I have my ratings in the comments section (I wasn't sure how to get iTunes to write anything else).
(Another approach could be to write something which converts my tags to the MM format...)
It seems like there is ample documentation, and I've looked through some of the API, but although it is straightforward to get a list of the current songs playing, it's not immediately obvious how to access the entire database to iterate over all tracks. I know this is an obvious thing, but I haven't seen a very straightforward example thus far, which does not involve SQL querys (I am not familiar with that.)
If somebody can't point me to something which I can use as a reference I should be able to figure out what I need to know. But in the meantime I thought I'd say hi and see if there was anything on the forums which I could leverage.
Thanks and take care
Hi all,
I'm new to scripting MediaMonkey (and to Media Monkey in general). I used to use iTunes and wrote a few scripts to save my ratings out to the ID3 tag. Now that I'm using Media Monkey, I'd like to write a quick script which will import my ratings into the MM format. I understand Media Monkey stores the ratings in the POPM tag, but I have my ratings in the comments section (I wasn't sure how to get iTunes to write anything else).
(Another approach could be to write something which converts my tags to the MM format...)
It seems like there is ample documentation, and I've looked through some of the API, but although it is straightforward to get a list of the current songs playing, it's not immediately obvious how to access the entire database to iterate over all tracks. I know this is an obvious thing, but I haven't seen a very straightforward example thus far, which does not involve SQL querys (I am not familiar with that.)
If somebody can't point me to something which I can use as a reference I should be able to figure out what I need to know. But in the meantime I thought I'd say hi and see if there was anything on the forums which I could leverage.
Thanks and take care