Page 28 of 87

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Posted: Thu Sep 23, 2010 6:50 am
by malikatan
markstuartwalker wrote:Yes, you're right! This something that I'm sure used to work. I'll look into it and get back to you.

In the meantime perhaps you can set the auto-convert rules to convert into mp3 format and demonstrate that the sync does work as you want it?
Hi MW,
I set up sync to convert M4A files to MP3. With this setting the files appear in iTunes (as mp3) and are playable. So it seems sync of mp3 files is working.
M

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Posted: Sat Sep 25, 2010 11:56 am
by markstuartwalker
New version http://www.mediafire.com/file/y0t8lx68w ... iTunes.dll http://www.mediafire.com/?ej1rjfb5cqp3x

This is mainly to support the sync for non-mp3 files into iTunes. The previous version could only sync mp3 files (it was hard coded). This actually satisfies the majority of my users so hasn't been a large problem.

The mp3 extension being hard-coded comes from MM converting tracks and not providing them with an appropriate file extension (in fact no extension is supplied). iTunes mandates a file extension so that it knows how to handle the file. MM has not changed and the hard-coding is present but there is a configuration entry that allows the user to change the default 'mp3' to their specific needs, say 'm4a'. For the time being the configuration entry is registry only i.e. no GUI.

Note that MM will convert tracks if
* There is an explicit auto-convert rule that applies
* Volume leveling is switched on

The format of the filename in the MMiTunesCache folder no longer has a fixed mp3 extension. They take the extension of the original file unless they are converted in which case they get the converted extension added (from the registry item HKEY_CURRENT_USER\Software\MediaMonkey\Device\iTunes\convertedExtension). The one restriction that this implementation has is that converted files must be all have the same extension.

19/9/2010
* launchItunesAutomatically default = false
* getItunesSourceList diag text added
* default cachecFolder made ..\MMiTunesCache i.e. caching is now the default.
* check added for the existence of the cache folder upon first usage. Create if not present

22/9/2010
* diffv debug information gets additional number to id the attribute being changed
* When locked files are found in iTunes the retry delay is set to 10mS ie retry is virtually immediate
* Logging debug level re-assigned at start of sync so not to need a restart of MM
* Difference checking introduced when initially syncing to mimimise number of writes and eliminating the occassional EXCEPTION on slow single CPU machines

25/9/2010
* Files in the cache folder are not forced to mp3 they retain the original extension
* Converted files in the cache folder receive a fixed extension (convertedExtension added to config, default 'mp3')

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Posted: Wed Sep 29, 2010 1:19 am
by eAndy
The plug is an absolutly great idea! Thank you!
But I have a problem: When I cpoy the .dll in the plugin-directory, the MM startscreen does not disapear when I start MM it up. I can open the main window of MM and can go to options etc. but the start-popup dowsn't want to disapear. When I close MM then, MM ends with an Error ("MM audio library has stoped working...")
When I remoe the .dll from the direcory, everthing works fine...
Win7 X64
MM latest Version (1300)

Any ideas?

bye
eandy

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Posted: Wed Sep 29, 2010 1:39 am
by markstuartwalker
Manually start iTunes before starting MM

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Posted: Mon Oct 04, 2010 4:29 am
by tony3013
How do I remove this plugin? I removed iTunes... and now MediaMonkey just hangs... I put it back, and it starts up, but also starts up iTunes!

I want to stop using iTunes for now... how do I get rid of this plugin?

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Posted: Mon Oct 04, 2010 7:02 am
by markstuartwalker
Remove the d_itunes.dll file from folder c:\program files\mediamonkey\plugins

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Posted: Wed Oct 06, 2010 7:48 pm
by Tyranthraxxus
New to iTunes (iPhone)
Just found your plugin and thought - WOW what an awesome idea (since MM is great but iTunes is ... umm... difficult).
Copied the .DLL down, placed it in the directory and launched MM - works great, I see iTunes, its content, etc... All is good.

When I attempt to sync music (via a playlist) it is COPYING my music to a subfolder in "my documents".
I found (in the iTunes / Device Configuration window) where this was defined and, based on the "popup" help, REMOVED the directory (leaving "NOTHING" in there) expecting that it would no longer duplicate my music files. I would expect (or would want) iTunes to instead "see" the file in their source location and POINT there (where MM sees the files) and then create the correct playlist based on THAT location. Unfortunately, it now simply copies them to my AppData/Local/Temp folder (with their source location embedded in the file name).

Is there a way to PREVENT the duplication of my music files when they are sync'd to iTunes - such that iTunes will point/reference them WHERE they reside (where MM knows them to be located) while syncing the resulting playlist(s)?

I already have all my music files in iTunes, but its the intelligent playlists in MM that I am missing. I've been exporting them from MM and importing them into iTunes... but I have to do that each and every time one of my Auto Playlists change. I was hoping this interface would automagically "push" my updated playlists to iTunes. Obviously if the music doesn't EXIST in my iTunes library I would understand it having to be added to the library - but hopefully from the same location where it resides for MM - not with MM duplicating it and that duplicate being the source of iTunes.

If that is NOT the intention of this interface - that is totally fair (I'll continue to export/import .M3Us). The .DLL is impressive none the less and your work and time are appreciated!

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Posted: Thu Oct 07, 2010 12:29 pm
by markstuartwalker
In the device configuration delete the cache folder entirely. This will not cache (duplicate) your tracks.

However this will limit the synchronisation options. This is because mm and iTunes handle various things differently and can write the new values back to the mp3 files - disastrous if they both point to the same location. Having a duplicate copy solves this issue.

Having a copy can be beneficial. I auto convert to lower bitrates into iTunes such that I can cram more tracks into my iPhone.

Mark

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Posted: Thu Oct 07, 2010 7:30 pm
by Guest
The cache folder was/is already blank.
It still copies SOME of the tracks to my appdata\local\temp directory - but only some of them...

I have (give-or-take) 12gb of music. It is truly recommended to duplicate all of the music (or at least all of it that exists in MM playlists)?

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Posted: Fri Oct 08, 2010 4:42 am
by markstuartwalker
Guest wrote:The cache folder was/is already blank.
It still copies SOME of the tracks to my appdata\local\temp directory - but only some of them...

I have (give-or-take) 12gb of music. It is truly recommended to duplicate all of the music (or at least all of it that exists in MM playlists)?
The plugin doesn't put the files in the temp folder,MM does that. Have you got volume levelling or any auto convert rules? That would cause the usage of the temp folder.

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Posted: Thu Oct 21, 2010 4:00 am
by okoester
Dear Stuart,

I'm using your plugin now for some weeks. It's very good but I have some trouble while syncing with iTunes.
If I'm syncing, the plugin starts copying all of my 7500 mp3 files to iTunes. This is also happening when I tell just to sync Playlists (Music Folders are unchecked).
Also the Plugin does not remove unlinked entries from iTunes. If I want to have this, I have to check "Remove files not in library" (or similar) which leads me to the problem that all files I haven't in Mediamonkey but in iTunes are deleted.
Also the sync process seems to be very slow...

Are there any bugfixes or an actual version of the plugin?

d_itunes.dll Version: 1.4.0.831
MM: 3.x
iTunes: 10.0.1.22
Windows 7, x64

Regards
Olaf

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Posted: Sat Oct 23, 2010 10:03 am
by markstuartwalker
Olaf

There are no further updates available. To be honest I thought most people had stopped using the plugin as it has been so quiet on the forum.

The plugin will copy all of the tracks necessary to satisfy the auto-sync list. Although having a duplicate copy of the files seems excessive waste of space there are good reasons why this is necessary. If only a single file set is configured iTunes and MM handle some attributes slightly differently and try to update same file from both sides.

Once the copy has been made only incremental updates are done. I have about 6000 files and only the updates occur.

If you feel that something is faulty then you're going to have to switch on the debug mode and capture some output for me to examine (there are instructions at the head of this thread). I suggest that you attempt a very reduced auto-sync list to isolate the behaviour.

Regards
Mark

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Posted: Sat Oct 23, 2010 10:18 am
by rogerr
Mark, I am using your plugin - it seems the best way to avoid MM glitches with putting music on my iPhone (wrong artwork, no syncing of ratings, etc.)
I think you have an amazing way for handling the iDevice world. I hope the MM devs consider what you've provided as a good option for iDevices and include it in MM 4.

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Posted: Sat Oct 23, 2010 3:31 pm
by PhilDG
I am also using your plug-in and it works really well. It just makes syncing my ipod touch easier with iTunes as I often had issues with MM sync and scrobbling. iTunes just seems to work whereas MM often misses tracks.

The only issue I am having at the moment is that the recent versions of the plug-in seem to sync all music in my MM library which at around 16,000 is not the largest but it's not a trivial task to run the sync. Any Ideas why this should be as it never used to do this?

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Posted: Sun Oct 24, 2010 6:44 am
by Firetribe
Same here, still using your plugin, and, as far as I'm concerned, please consider no news as good news ;)
Works really good, no serious problems, does everything as intended. I'm very hapy with it :)