MediaMonkey iTunes plugin (d_itunes4.dll)

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

Moderators: Peke, Gurus

gvala
Posts: 22
Joined: Tue Aug 18, 2009 4:00 am

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Post by gvala »

You mean MediaMonkey.exe?

20th January 2010, 11:10:48 am
AlexB

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Post by AlexB »

Thank you so much for all of your great work on this plugin, it's so close to being perfect for me. But unfortunately, it doesn't seem to want to sync my playlists. I've tried completely reseting my itunes library, and the sync will add all of my tracks fine but then craps out on adding playlists.

Here's the error it throws and the debug log (I filtered out the "Added to Cache" messages): http://imgur.com/8ZTv8.jpg
And here are my registry settings: http://imgur.com/J7ro5.jpg

I think the problem might be related to the fact that I have a bunch of playlists in nested playlist folders, but that's just a hunch.
If you're able to get playlist folders syncing to iTunes that would be amazing, since the *one* feature preventing me from using MM fulltime is that it can't sync playlist folders to my ipod, and with ~300 playlists I really need folders to keep them organized. If I could sync the folders to iTunes and then use iTunes to sync my iPod, that'd be amazing.

Let me know if there's any more information you need from me.
Peke
Posts: 18353
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Post by Peke »

@Mark
It is fairly simple to determine Format and convert. If you need help just ask.
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
Image
How to attach PICTURE/SCREENSHOTS to forum posts
markstuartwalker
Posts: 931
Joined: Fri Jul 10, 2009 8:10 am

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Post by markstuartwalker »

gvala wrote:You mean MediaMonkey.exe?

20th January 2010, 11:10:48 am
Sorry, I meant the DLL.
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
gvala
Posts: 22
Joined: Tue Aug 18, 2009 4:00 am

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Post by gvala »

markstuartwalker wrote:
gvala wrote:You mean MediaMonkey.exe?

20th January 2010, 11:10:48 am
Sorry, I meant the DLL.
It's the latest version. 03/17/2010, 928 Kb
markstuartwalker
Posts: 931
Joined: Fri Jul 10, 2009 8:10 am

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Post by markstuartwalker »

AlexB wrote:Thank you so much for all of your great work on this plugin, it's so close to being perfect for me. But unfortunately, it doesn't seem to want to sync my playlists. I've tried completely reseting my itunes library, and the sync will add all of my tracks fine but then craps out on adding playlists.

Here's the error it throws and the debug log (I filtered out the "Added to Cache" messages): http://imgur.com/8ZTv8.jpg
And here are my registry settings: http://imgur.com/J7ro5.jpg

I think the problem might be related to the fact that I have a bunch of playlists in nested playlist folders, but that's just a hunch.
If you're able to get playlist folders syncing to iTunes that would be amazing, since the *one* feature preventing me from using MM fulltime is that it can't sync playlist folders to my ipod, and with ~300 playlists I really need folders to keep them organized. If I could sync the folders to iTunes and then use iTunes to sync my iPod, that'd be amazing.

Let me know if there's any more information you need from me.
OK, I'll guess there is and exception being thrown when attempting to delete tracks from the 'Last 50...' playlist. Try synching without this playlist and get a sucessful run through.

Nested playlists won't cause a problem provided the playlists all have distinct names. It will be a problem to have 2 or more with the same name in differnt folders. This is becasue the playlists are simply accessed by name, not the path that they are 'stored' at. With duplicate names, only the first found playlist is used which is useless. I use the feature alot, I have brief named folders which contain several hundred playlists each. The folder names are used to prefix the name in my iPhone.

iTunes does support folders and playlists but when synching to an iPod the folders are ignored. What the plugin can do (use parent names switch) is compound the folders into a path-type name as follows

Code: Select all

2 folders with 2 playlists in each
+--->2009
       +--->Top 40 for 2009
       +--->favourites for 2009
+--->2010
       +--->Top 40 for 2010
       +--->favourites for 2010

produces compounded path-type names

2009-Top 40 for 2009
2009-favourites for 2009
2010-Top 40 for 2010
2010-favourites for 2010
.. and these compounded names are used in Tunes and then transferred into the iPod.

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 »

New version

17/3/2010
* doNotCreatePlaylistsFor so that certain playlists are not created e.g. 'Fred|Harry'
18/3/2010
* Fresh iTunes installations tested and some weaknesses found and fixed.
* 'iTunes DJ', 'Genius' etc are excluded from playlists to stop crashing.
* Initial 'iTunes' library source written back to INI before synching for the first time.
* Additional debug text to show read/write of configuration
21/3/2010
* More playlists excluded (iTunes U, Genius etc)
* Track Cache introduced as a place to copy installation media (not just converted)
* Exception trapping done around playlist deletions
22/3/2010
* Playlists caching looked at (and then reverted)
24/3/2010
* Config Ini no longer re-written as object gets destroyed (avoids 'losing' data)
25/3/2010
* Dates from DB via explicit code to accommodate either of ',' or '.' AT LAST!!

Apple have introduced some new pseudo playlists courtesy of their Genius and iTunes U facilities etc. , howver the COM interface has not been extended to recognise them as special cases. The names of some of these were being picked up for playlist deletion and causing untrapped exceptions and bombing the sync. They are now trapped by name and excluded (see addiitonal debug log text). I'm suspecting the non-English users will have differing names however and this won't prove sufficient. Please try and identify the other names and let me know.

The last bullet is the most significant for the international users. Dates (stored in the DB as floats) can be read with either type of separator so the MMValidDate errors will be eradicated. The regionalisation settings are still used for DB writing.

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
AlexB

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Post by AlexB »

I deleted the offending playlist and went through all my playlists making sure there were no duplicate names, deleted the itunes database, restarted MM and itunes and was able to complete a clean sync once. I think the issue with the play list was that it contained a song with a screwed up artist name that had "@" and "#" in it and possibly some non-ASCII characters I didn't notice before cleaning it up. I then played a song in itunes so the playcount updated, tried to sync again, and am once again getting an error. It's an access violation at address 00405499 with read address F28B562B. Here's the full debug log, minus a few thousand "adding track to cache" http://pastebin.com/V7BxH4VS

Also, my 80gb Ipod (I think the generation right before classic) handles playlist folders from itunes just fine. If I put folders in a playlist in iTunes, they'll show up on the ipod and function exactly how you'd expect under the playlist menu. So if there's a way for this plugin to replicate my MM folder structure into iTunes that'd be amazing. I used the parent as prefix option for my successful sync, if I leave that option unchecked the sync craps out almost immediately.
AlexB

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Post by AlexB »

I just downloaded the latest plugin version you just posted and it synced fine. with the prefix option enabled
markstuartwalker
Posts: 931
Joined: Fri Jul 10, 2009 8:10 am

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Post by markstuartwalker »

AlexB wrote:I just downloaded the latest plugin version you just posted and it synced fine. with the prefix option enabled
Excellent! I was just pondering that and couldn't spot an answer! I don't believe that the prefix option has made the difference though.
Also, my 80gb Ipod (I think the generation right before classic) handles playlist folders from itunes just fine. If I put folders in a playlist in iTunes, they'll show up on the ipod and function exactly how you'd expect under the playlist menu. So if there's a way for this plugin to replicate my MM folder structure into iTunes that'd be amazing.
That's very interesting, my iPhone doesn't do that and I'm jealous! The iTunes API includes the ability to create folders (I use it to create <MM>) so it's perfectly possible. I'll look into it.

Later edit:

As a work around .... create a few folders in iTunes and move the playlists into them. You will find that the plugin will sync to the playlists in their new locations. This is because the folders are accessed by name rather than folder path. This will give you just what you want :D .

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
AlexB

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Post by AlexB »

Fantastic that the workaround will do it. Thanks again for all your amazing work, you've truly solved the last hole in my digital-music nirvana. Now I can have nested playlists, ratings sync, ipod scrobbling etc., all managed by the power of mediamonkey.
markstuartwalker
Posts: 931
Joined: Fri Jul 10, 2009 8:10 am

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Post by markstuartwalker »

AlexB wrote:Fantastic that the workaround will do it. Thanks again for all your amazing work, you've truly solved the last hole in my digital-music nirvana. Now I can have nested playlists, ratings sync, ipod scrobbling etc., all managed by the power of mediamonkey.
Try out the latest. You'll have to set the #2 value manually with regedit as I've not updated the UI yet. You also have to set reuse playlists = off as this mode is going to need some serious re-think for the zzz playlists.

28/3/2010
* useParentNames becomes 0=no,1=flatten folders,2=create folders (no UI yet)

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
gvala
Posts: 22
Joined: Tue Aug 18, 2009 4:00 am

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Post by gvala »

Well, after a lot of tries and with the latest .dll version, it works fine! :D
It seems that the problem (I refer to win7 x64 configuration) was a some kind of corruption in iTunes database ans maybe some garbages in MM database too.
I made a new, clean iTunes and MM installation (unfortunately I lost all my playlists) and now everything works just as it should.

Great work Mark! Thanks a lot! :D
markstuartwalker
Posts: 931
Joined: Fri Jul 10, 2009 8:10 am

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Post by markstuartwalker »

gvala wrote:Well, after a lot of tries and with the latest .dll version, it works fine! :D
It seems that the problem (I refer to win7 x64 configuration) was a some kind of corruption in iTunes database ans maybe some garbages in MM database too.
I made a new, clean iTunes and MM installation (unfortunately I lost all my playlists) and now everything works just as it should.

Great work Mark! Thanks a lot! :D
Very good. Happy to have helped you out.
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
AlexB

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Post by AlexB »

The create folder option doesn't seem to work. I did an erase itunes database and then clean sync and got this error:

Code: Select all

[7316] iTunes Plugin 8:57:22 AM iTunesUploadTrack done
[7316] iTunes Plugin 8:57:22 AM 80 iTunesUploadTrack E:\My Shared Folder\Mahjong Connection\Wake Me Up - Single\01 Wake Me Up When September Ends.mp3
[7316] iTunes Plugin 8:57:22 AM Add new file to iTunes E:\My Shared Folder\Mahjong Connection\Wake Me Up - Single\01 Wake Me Up When September Ends.mp3
[7316] iTunes Plugin 8:57:22 AM syncInitTrack
[7316] iTunes Plugin 8:57:22 AM syncInitTrack done
[7316] iTunes Plugin 8:57:22 AM New iTunes CombinedID is 9970.mp3
[7316] iTunes Plugin 8:57:22 AM iTunesUploadTrack done
[7316] iTunes Plugin 8:57:22 AM 81 iTunesUploadTrack E:\My Shared Folder\Brother Ali\Shadows Of The Sun\Forest Whitaker.mp3
[7316] iTunes Plugin 8:57:22 AM Add new file to iTunes E:\My Shared Folder\Brother Ali\Shadows Of The Sun\Forest Whitaker.mp3
[7316] iTunes Plugin 8:57:22 AM syncInitTrack
[7316] iTunes Plugin 8:57:22 AM syncInitTrack done
[7316] iTunes Plugin 8:57:22 AM New iTunes CombinedID is 9990.mp3
[7316] iTunes Plugin 8:57:22 AM iTunesUploadTrack done
[7316] iTunes Plugin 8:57:22 AM iTunesCreatePlaylist 2009
[7316] iTunes Plugin 8:57:22 AM FQN Autobar-2009
[7316] iTunes Plugin 8:57:22 AM 0 Autobar-2009 Autobar
[7316] iTunes Plugin 8:57:22 AM createFolderInFolder Music Autobar
[7316] iTunes Plugin 8:57:22 AM createFolderInFolder The parameter is incorrect
[7316] iTunes Plugin 8:57:22 AM ItunesSyncEnd 61028992
[7316] iTunes Plugin 8:57:22 AM Report scanned=10308 uploaded=82 deleted=0 existing=10308 converted=0 filenames=10562 missing=0 new=254 sqlTss=1 sqlSongs=0 synced=10308 ignored=66 ID3tags=0 Period=12:01:56 AM
[7316] iTunes Plugin 8:57:22 AM TtssCache.Destroy
[7316] iTunes Plugin 8:57:22 AM Destroy indices
[7316] iTunes Plugin 8:57:24 AM Destroy indices done
[7316] iTunes Plugin 8:57:24 AM getItunesSource not found 
[7316] iTunes Plugin 8:57:24 AM ItunesSyncEnd done
[7316] iTunes Plugin 8:58:54 AM 1 Library
[7316] iTunes Plugin 8:58:54 AM Source Node Library
Post Reply