MediaMonkey iTunes plugin (d_itunes4.dll)

Download and get help for different MediaMonkey for Windows 4 Addons.

Moderators: Peke, Gurus

markstuartwalker
Posts: 931
Joined: Fri Jul 10, 2009 8:10 am

MediaMonkey iTunes plugin (d_itunes4.dll)

Post by markstuartwalker »

This device plugin runs iTunes in background (minimised) and allows MM to transfer tracks into it in the same manner as a media player i.e. like a USB stick or MP3 player.

There in more information here http://www.mediamonkey.com/wiki/index.p ... lugin_Info

Please provide feedback by replying into this topic.

There are versions for both MM3 and MM4. Only the MM4 version is currently under support. Note that this thread was originally for the MM3 version. The MM4 release support starts at http://www.mediamonkey.com/forum/viewto ... &start=690

Cheers
Mark



Updated 13/3/2012
Last edited by markstuartwalker on Tue Mar 13, 2012 4:16 am, edited 26 times in total.
Windows 7,8 / Ubuntu 13.10 / Mavericks 10.9 / iOS 7.1 / iTunes 11.1
iTunes plugin (d_itunes & itunes4) http://www.mediamonkey.com/forum/viewto ... =2&t=45713
Running MM under Mac OS X with Wine http://www.mediamonkey.com/forum/viewto ... =4&t=58507
Melloware
Posts: 339
Joined: Mon Aug 18, 2008 9:46 am
Location: Philadelphia, PA, US
Contact:

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Post by Melloware »

Just wanted to say I am impressed. What language did you build the DLL in? Delphi or C?
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Melloware Inc.
MonkeyTunes - DACP Server for MediaMonkey
Intelliremote - Take Back Control of your HTPC!
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
markstuartwalker
Posts: 931
Joined: Fri Jul 10, 2009 8:10 am

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Post by markstuartwalker »

Thank you :D . Delphi 2010. First time for me. Much of the code was from templates supplied by Jiri but the COM interface to iTunes was from my previous VB script.

I used Turbo Pascal many years ago. The majority of my experience is C++/VB6/Java.

Mark
Windows 7,8 / Ubuntu 13.10 / Mavericks 10.9 / iOS 7.1 / iTunes 11.1
iTunes plugin (d_itunes & itunes4) http://www.mediamonkey.com/forum/viewto ... =2&t=45713
Running MM under Mac OS X with Wine http://www.mediamonkey.com/forum/viewto ... =4&t=58507
markstuartwalker
Posts: 931
Joined: Fri Jul 10, 2009 8:10 am

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Post by markstuartwalker »

A new version has been uploaded.

* 'All' branch no longer intermittently crashes
* More complete details of tracks within the device (track length still not appearing though :-( )
* Internal preparation for configurtion pages
Windows 7,8 / Ubuntu 13.10 / Mavericks 10.9 / iOS 7.1 / iTunes 11.1
iTunes plugin (d_itunes & itunes4) http://www.mediamonkey.com/forum/viewto ... =2&t=45713
Running MM under Mac OS X with Wine http://www.mediamonkey.com/forum/viewto ... =4&t=58507
Guest

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Post by Guest »

Great idea! I've looked for such a solution for a long time.
Unfortunately I didn't get it work.... :(

MM: 3.2.0.1294
itunes: 9.0.2.25
Windows 7/64bit

What I've done/tried:
- downloaded latest available dll version from 12/30/2009
- copied file to the plugin folder
- restart MM (the "iTunes" device is available in the settings of the external devices)
- start itunes
...no "external" device appears in the MM tree

Next trial
- closee MM and itunes
- start itunes
- start MM
...no "external" device appears in the MM tree

What do I have to consider to get the "iTunes-device" in the MM?

Thanks!
Pete
markstuartwalker
Posts: 931
Joined: Fri Jul 10, 2009 8:10 am

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Post by markstuartwalker »

Your setup matches mine very closely so I expect this to work.

I forgot to document a simple step (because I did this so long ago) ...

* Tools/Options/Portable Audio Devices and select the checkbox alongside 'iTunes'

Mark
Windows 7,8 / Ubuntu 13.10 / Mavericks 10.9 / iOS 7.1 / iTunes 11.1
iTunes plugin (d_itunes & itunes4) http://www.mediamonkey.com/forum/viewto ... =2&t=45713
Running MM under Mac OS X with Wine http://www.mediamonkey.com/forum/viewto ... =4&t=58507
Guest

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Post by Guest »

I've already selected the checkbox of the "iTunes" device... :(
Do I have to set up special criterias for the "iTunes" device?

Another trial was:
- Extras/Sync Device
...but MM doesn't find a active device

Pete
markstuartwalker
Posts: 931
Joined: Fri Jul 10, 2009 8:10 am

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Post by markstuartwalker »

Is iTunes installed at C:\Program Files\iTunes\iTunes.exe? I have a very clunky way of detecting it by checking the presence of this file.

Mark
Windows 7,8 / Ubuntu 13.10 / Mavericks 10.9 / iOS 7.1 / iTunes 11.1
iTunes plugin (d_itunes & itunes4) http://www.mediamonkey.com/forum/viewto ... =2&t=45713
Running MM under Mac OS X with Wine http://www.mediamonkey.com/forum/viewto ... =4&t=58507
Guest

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Post by Guest »

Ahhh, ok!
That would be the problem. My programms are on a separate partition.
I will re-install iTunes on drive C:\
Pete
markstuartwalker
Posts: 931
Joined: Fri Jul 10, 2009 8:10 am

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Post by markstuartwalker »

You may not have to - I have changed this to use the registry

Checkout the new version - just uploaded

* iTunes presence detected via registry rather then file presence
* internally reorganised to use iTunes ID values for filenames (with delayed DB persistence) for speed
* playlists are only refreshed if the lengths are different between MM and itunes
* stopped the use of track.custom1 and track.ISRC
* much much more testing with 600+ files

Mark
Windows 7,8 / Ubuntu 13.10 / Mavericks 10.9 / iOS 7.1 / iTunes 11.1
iTunes plugin (d_itunes & itunes4) http://www.mediamonkey.com/forum/viewto ... =2&t=45713
Running MM under Mac OS X with Wine http://www.mediamonkey.com/forum/viewto ... =4&t=58507
Guest

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Post by Guest »

Great! Now I have the device available.

But now there some other problems...

I tried to sync a playlist:
- right click on a playlist: "send to iTunes"
- sync is processed
- then a error message occurs: "Access violation at adress 0DFE6873 in module 'd_iTunes.dll'. Read of adress 00000000."
- curious thing: the tracks are in the iTunes playlist "My Top 25" - the original MM playlist title is not in the MM folder of iTunes

Pete
markstuartwalker
Posts: 931
Joined: Fri Jul 10, 2009 8:10 am

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Post by markstuartwalker »

That scenario works for me :-(

* Are all files mp3 files?
* Are any files being bit-rate converted?

Can I suggest that you do the same thing but via an autosync list to see if that works

You might also try closing MM, delete all related files out of iTunes and then retry.
Windows 7,8 / Ubuntu 13.10 / Mavericks 10.9 / iOS 7.1 / iTunes 11.1
iTunes plugin (d_itunes & itunes4) http://www.mediamonkey.com/forum/viewto ... =2&t=45713
Running MM under Mac OS X with Wine http://www.mediamonkey.com/forum/viewto ... =4&t=58507
Guest

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Post by Guest »

"* Are all files mp3 files?"
Yes, all the files are mp3 files

"* Are any files being bit-rate converted?"
Do you mean: after the sync to iTunes? In iTunes I can't notice any change of the bitrate.
Some of the files are VBR - if this could influence the sync.

After closing MM and deleting the related files in iTunes the sync works partially, i.e.
- sync of the tracks to a iTunes standard playlist: "Top 25" (that works for me because the playlist for the test has only 15 tracks)
- above mentioned error message appears in MM after the sync
- using a playlist with 90 tracks the files are spread in different iTunes-playlist - also to the "recently added" playlist

I am helpless :(

Pete
JW

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Post by JW »

I am having problems with the driver as well. I try to sync my selected playlists, and it only get through 60-90 songs, then stops (Synchronizing iTunes progress bar disappears) and there are no error messages. If I sync again, it seems to continue from the song it left off at, but always starts the count over again. So far I haven't seen any playcounts or ratings sync back to MM either.

I have not seen any documentation for the expected use of this plugin, so what is the preferred usage methodology?

I started with the script which was working great, well done! But the plugin seems to have some issues.

Should I have wiped out my iTunes database completely before changing to the plugin?
Is it ok to have the script and the plugin installed at the same time?

I'm running MM 3.2.0.1292 and iTunes 9.0.2.25

-Josh
nynaevelan
Posts: 5559
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA
Contact:

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Post by nynaevelan »

JW:

I too was using the previous plugin and I was running into similar problems. I ended up removing the plugin and starting over with a new db in iTunes. But with the plugin I am not able to get the playcounts from iTunes to update in MM.
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins

Join Dropbox, the online site to share your files
Post Reply