
markstuartwalker wrote:OK, I see the need now. I did wonder if the recovery of playcounts ought to be a separate script. Perhaps if I did make it so then adding the option to go the other way is obvious. I take it that you would want to simply push all the playcounts from MM into iTunes, overwriting what is there already?
nynaevelan wrote:markstuartwalker wrote:OK, I see the need now. I did wonder if the recovery of playcounts ought to be a separate script. Perhaps if I did make it so then adding the option to go the other way is obvious. I take it that you would want to simply push all the playcounts from MM into iTunes, overwriting what is there already?
Yes the preferable method would be to simply push all the playcounts to iTunes. And I am not sure if it wouldn't be best to move this to a separate script because this feature is not something that would be used very often or by very many,except by me of course.
After the initial export of the playcounts, then things would be able to work as you've outlined them.
BMcKiernon wrote:1) Ability to sync the Last Date Played from iTunes to MM. Like another user had mentioned I use Accurate to perform my ratings and the Last Played Date is important for this. I have a bit of scripting experience and tried to get this working but came across some problems (I think due to the date being saved in julianday format in MM) so maybe you would have more success than me.
dim c : c = itTrack.playedCount
dim d : d = itTrack.PlayedDate
SDB.Messagebox "date " & cstr(d) , mtWarning , array(mbOK)
' update the MM played count
SDB.Database.ExecSQL "UPDATE Songs SET PlayCounter = ( PlayCounter + " & CStr(c) & " ) , LastTimePlayed = julianday(""" & cstr(d) & """)" & where()germanjulian wrote:not a bright SQL gury but you seem to open the query with a " and then you have multiple " which would indicate a close in my world and also your missing a " at the end... I think.
markstuartwalker wrote:* Sync option to recover playcounts and lastplayeddate back from iTunes&iPhone into MM
Users browsing this forum: No registered users and 20 guests