MediaMonkey iTunes plugin (d_itunes4.dll)

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

JW

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Post by JW » Wed Jan 13, 2010 8:20 am

I am having problems with autosync. I have a handful of playlists I sync to iTunes, one which is a dynamic list of all songs rated 3 or more stars, called "3+". Since my last sync, I have rated a few songs, and this list has grown... but autosync is not adding these files to my iTunes library. This list has 722 songs at the moment.

I just checked with some non-dynamic playlists and I have the same problem.. lists as small as 62 songs.

I have remnants from when i used the script, the <playlist-name>-copy lists that were created for dynamic lists to be synced to iTunes.... do I need these still?

-Josh

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

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Post by markstuartwalker » Wed Jan 13, 2010 8:50 am

Ok, I just some how permanently deleted 50 albums from my library :( :( :( . I not sure what happened but I wrongly assumed that if I didn't touch anything in the library portion of the tree I wouldn't be able to delete files
Sorry about that but I can assure you that this plugin does not delete physical tracks anywhere. It manipulates the database references to them and so under a 'very nasty bug' situation it may corrupt things. The purpose of the testing phase we are going through here is to iron out the functionality and bugs until it can be released properly.

I suggest that you stay away from the plugin until it has reached a level of maturity where you can use it confidently.

Thank you for showing an interest and I hope that you will monitor our progress.

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 » Wed Jan 13, 2010 8:56 am

I am having problems with autosync. I have a handful of playlists I sync to iTunes, one which is a dynamic list of all songs rated 3 or more stars, called "3+". Since my last sync, I have rated a few songs, and this list has grown... but autosync is not adding these files to my iTunes library. This list has 722 songs at the moment.

I just checked with some non-dynamic playlists and I have the same problem.. lists as small as 62 songs.

I have remnants from when i used the script, the <playlist-name>-copy lists that were created for dynamic lists to be synced to iTunes.... do I need these still?
It sounds to me that you have had some partial synchs caused by exceptions while running.

As good practice to get out of these situations
* in iTunes delete all tracks from the music folder
* in iTunes delete the <MM> folder (and all contained playlists)
* in MM deselect all the artists and playlists
* perform a sycnronisation

This is very destructive and with experience you can get away with less but it WILL get you back working again.

Mark

<edit>
No, you don't need the *-copy playlists.
Last edited by markstuartwalker on Wed Jan 13, 2010 10:27 am, edited 1 time 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

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

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Post by markstuartwalker » Wed Jan 13, 2010 8:57 am

New version

12/1/2010
* Rename of title in MM causes a correct update in iTunes
* Internal names made (a little) more human readable
* Icon caption made 'iTunes <MM>'
* Playlist names are only collected from below <MM> folder and not showing zzz playlists
13/1/2010
* Improved handling of names of tracks with strange characters (/!.*& using QuotedStr(id))
* Corrected unneeded redownloading of converted tracks causing duplications in iTunes

Regards
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

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 » Wed Jan 13, 2010 12:59 pm

I do not know what is different with this one but it is creating duplicates in my MM library.
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

rhaynes
Posts: 15
Joined: Sun Jun 07, 2009 2:40 pm
Location: Oceanside, CA, USA

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Post by rhaynes » Thu Jan 14, 2010 1:32 am

First off a big thanks to you guys for the work on this general problem of exporting MM to iTunes. iTunes is, IMHO, unusable on a windows machine with a large library. I run a program called ooTunes to stream my library of MP3s and FLACs to my iPhone with transcoding to the required lower over-the-air bit rates. It uses the iTunes database so this exporting function will be prefect once I get the hang of it.

Now on to my file deletion issue. I'm sure it was my fault. It stems from my misunderstanding of the MM UI. When you sync to iTunes the plugin creates an entry in the explorer tree called iTunes<MM>/Library. I deleted the entries thinking I was just deleting links and not the files themselves since it wasn't in the main library area. I guess I need to go back and RTFM and reread the complete set of threads and try it again.

Ray Haynes
Oceanside, CA
Last edited by rhaynes on Sat Jan 16, 2010 6:00 am, edited 1 time in total.

rhaynes
Posts: 15
Joined: Sun Jun 07, 2009 2:40 pm
Location: Oceanside, CA, USA

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Post by rhaynes » Sat Jan 16, 2010 5:59 am

Hello everyone,
Just wanted to post an update to my deleted files problem. I now understand exactly what happened and why I was confused.

The plugin creates an iTunes<MM> entry in the explorer tree in MM. After I have sync'ed my library to iTunes, iTunes now shows the sync'ed tracks and now the iTunes<MM> folder appears to reflect the sync'ed tracks in iTunes. If I go to iTunes and delete a track it disappears from the iTunes<MM> folder but the track is still on my computer and in the main MM library folder. Now here is where the confusion comes in, if I delete a track in the iTunes<MM> folder thinking I'm deleting a sync'ed track from iTunes, I'm in fact deleting the actual track from my computer. This behavior is different than say an iPhone entry.

In my uninformed world I'm thinking this behavior should be changed to maintain consistency with other device type plugins (ie iPhone/iPod) in that you don't modify the library when you modify entries on the device. I think I'm understanding this right, am I?

Have a great day,
Ray

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

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Post by markstuartwalker » Sun Jan 17, 2010 8:44 am

Latest version http://www.mediafire.com/?sharekey=b7ee ... 6b9a6e1ed0

13/1/2010
* Improved handling of names of tracks with strange characters by using QuotedStr(id)
* Corrected unneeded redownloading of converted tracks causing duplications in iTunes
14/1/2010
* Config UI added for Library,<MM>,zzz and synch
17/1/2010
* Icon caption reverted to 'iTunes' and iTunes/mmFolder introduced as node in the browser tree

I've given this some quite severe testing and I believe that it's very sound. Please give me some feedback, positive or negative.

Further, I'd like some feature suggestions as this works to my satisfaction. Does it work to yours?

Cheers
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

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 » Sun Jan 17, 2010 9:01 am

Does this version also fix the duplicates which are created 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

docbobo
Posts: 34
Joined: Thu Mar 18, 2004 5:18 am

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Post by docbobo » Sun Jan 17, 2010 7:56 pm

Hello Mark and Greeting from Germany!

Awesome Idea, unfortunately it does not work as intended on my machine. I tried three times with a totally blank Itunes database, but here is what happens:

I setup to sync a playlist (tried several different ones, classic and auto, no change in behaviour).
All my music is on an external hard drive as h:\music\artist\album\trackname.mp3

MM starts up, starts Itunes too.
I start the synchronization. Tracks start to appear in Itunes Library - but they are not playable, not linked to the actual file
In the meantime, all tracks also have been copied in their directories, so I now also have h:\music\artist\album\trackname(2).mp3 of all tracks I wanted to synch.

So the tracks show up in the library in Itunes but the library cant find the source files.
All files that were to by synched now are duplicates in their original directories.

Let me know if you need further info to find out what is happening here.

Cheers, Boris

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

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Post by markstuartwalker » Mon Jan 18, 2010 2:39 am

Nyna,

is this the same duplication that you speak of? I thought that you had some mixture of versions sync.

Boris and nyna,

the only place that i copy files is for on the fly conversions. Mm creates a temporary file which I copy to be an .mp3.

do you show file name extension in Explorer?

Very confused
mark

<edit>

My mistake. Following Boris' explanation I now understand what 'duplication' means and have isolated the problem. It was a matter of case sensitivity when looking at file names.

New verstion uploaded.

18/1/2010
* Fixed source file .mp3.mp3 issue

<edit2>

More mods.

18/1/2010
* Fixed source file .mp3.mp3 issue
* More stringent converted file check
* Playlist order numbers on playlist viewing
* Fixed synchronisation bug
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 » Wed Jan 20, 2010 4:49 am

Well apart from consolidating code and making things more robust I've not changed the synchronisation at all.

It's gone very quiet aout there ... is the product perfect or are you all too busy on other projects?

New version ... enhancement to the GUI

18/1/2010
* Fixed source file .mp3.mp3 issue
* More stringent converted file check
* Playlist order numbers on playlist viewing
* Fixed synchronisation bug
20/1/2010
* Full browsing of the iTunes playlists, recursively through folders
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

jfarr
Posts: 13
Joined: Wed Jan 20, 2010 1:54 pm

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Post by jfarr » Wed Jan 20, 2010 2:09 pm

I have installed today's version, but cannot see iTunes as a possible device. It is also not listed under Tools / Options / Portable/Audio Devices.

I definitely have iTunes installed (v9.0.2.25)!

The other thing that happens with it is that when I close Media Monkey I get an error message. In the caption of the message box it has the details of the track that was higlighted in Media Monkey when I closed it (e.g. "5. Magic Numbers - Love Me Like You - Media Monkey"). The text of the message is "Access Violation at address 06528200. Read of address 06528200."

If I rename d_iTuness.dll to d_iTunes.old then I no longer get the error.

I'm keen to try this out as I think it would be a better way of synching than using Media Monkey on its own.

Julian

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 » Wed Jan 20, 2010 2:19 pm

I'm still in the game but have been busy with other things so I have not tried the last couple of updates, I will try to get back to it this weekend.
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

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

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Post by markstuartwalker » Wed Jan 20, 2010 6:15 pm

jfarr wrote:I have installed today's version, but cannot see iTunes as a possible device. It is also not listed under Tools / Options / Portable/Audio Devices.

I definitely have iTunes installed (v9.0.2.25)!

The other thing that happens with it is that when I close Media Monkey I get an error message. In the caption of the message box it has the details of the track that was higlighted in Media Monkey when I closed it (e.g. "5. Magic Numbers - Love Me Like You - Media Monkey"). The text of the message is "Access Violation at address 06528200. Read of address 06528200."

If I rename d_iTuness.dll to d_iTunes.old then I no longer get the error.

I'm keen to try this out as I think it would be a better way of synching than using Media Monkey on its own.

Julian
Julian,

Good to have you onboard :-)

Can you tell me what version of windows you are using and are you running MM as an administrator?

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

Post Reply