MediaMonkey iTunes plugin (d_itunes4.dll)

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

MediaMonkey iTunes plugin (d_itunes4.dll)

Postby markstuartwalker » Mon Jan 04, 2010 10:41 am

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 viewtopic.php?f=2&t=45713&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) viewtopic.php?f=2&t=45713
Running MM under Mac OS X with Wine viewtopic.php?f=4&t=58507
markstuartwalker
 
Posts: 931
Joined: Fri Jul 10, 2009 8:10 am

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Postby Melloware » Mon Jan 04, 2010 7:37 pm

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!
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Melloware
 
Posts: 339
Joined: Mon Aug 18, 2008 9:46 am
Location: Philadelphia, PA, US

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Postby markstuartwalker » Tue Jan 05, 2010 2:58 am

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) viewtopic.php?f=2&t=45713
Running MM under Mac OS X with Wine viewtopic.php?f=4&t=58507
markstuartwalker
 
Posts: 931
Joined: Fri Jul 10, 2009 8:10 am

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Postby markstuartwalker » Wed Jan 06, 2010 9:00 am

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) viewtopic.php?f=2&t=45713
Running MM under Mac OS X with Wine viewtopic.php?f=4&t=58507
markstuartwalker
 
Posts: 931
Joined: Fri Jul 10, 2009 8:10 am

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Postby Guest » Thu Jan 07, 2010 6:55 pm

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
Guest
 

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Postby markstuartwalker » Fri Jan 08, 2010 3:25 am

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) viewtopic.php?f=2&t=45713
Running MM under Mac OS X with Wine viewtopic.php?f=4&t=58507
markstuartwalker
 
Posts: 931
Joined: Fri Jul 10, 2009 8:10 am

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Postby Guest » Fri Jan 08, 2010 4:51 am

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
Guest
 

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Postby markstuartwalker » Fri Jan 08, 2010 5:14 am

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) viewtopic.php?f=2&t=45713
Running MM under Mac OS X with Wine viewtopic.php?f=4&t=58507
markstuartwalker
 
Posts: 931
Joined: Fri Jul 10, 2009 8:10 am

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Postby Guest » Fri Jan 08, 2010 8:24 am

Ahhh, ok!
That would be the problem. My programms are on a separate partition.
I will re-install iTunes on drive C:\
Pete
Guest
 

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Postby markstuartwalker » Fri Jan 08, 2010 8:36 am

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) viewtopic.php?f=2&t=45713
Running MM under Mac OS X with Wine viewtopic.php?f=4&t=58507
markstuartwalker
 
Posts: 931
Joined: Fri Jul 10, 2009 8:10 am

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Postby Guest » Fri Jan 08, 2010 9:27 am

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
Guest
 

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Postby markstuartwalker » Fri Jan 08, 2010 10:35 am

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) viewtopic.php?f=2&t=45713
Running MM under Mac OS X with Wine viewtopic.php?f=4&t=58507
markstuartwalker
 
Posts: 931
Joined: Fri Jul 10, 2009 8:10 am

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Postby Guest » Sat Jan 09, 2010 5:24 am

"* 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
Guest
 

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Postby JW » Sat Jan 09, 2010 10:46 am

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
JW
 

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Postby nynaevelan » Sat Jan 09, 2010 11:18 am

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
nynaevelan
 
Posts: 5559
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA

Next

Return to Need Help with Addons?

Who is online

Users browsing this forum: Bing [Bot], Yahoo [Bot] and 10 guests