Page 23 of 87

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Posted: Fri Jul 23, 2010 10:01 am
by frankz
rctechy4 wrote:I have done all as detailed on the first page of this thread from Mark.

[...]

Do I need to select Sync Music in itunes for this to work? Waitiiiiing
From the first page of this thread from Mark:
Once tracks and playlists are synchronised into iTunes then iTunes can be used to synchronise to any iTunes supported device in the normal manner.

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Posted: Sun Jul 25, 2010 6:20 am
by markstuartwalker
Thanks Frankz! The simplest way to do this is make itunes sync all it's music to the iPhone, once this is done then it's done forever.



New version http://www.mediafire.com/file/jxcm7cxdw ... iTunes.dll 1.4.0.693 (tested with iTunes 9.2.1 and MM 3.2.2.1298)

18/7/2010
* Single Genre and Artist options implemented
* Config extended to cover First Genre and Artist unpersisted
* Config.readini() each time around rather that re-create
24/7/2010
* Single Genre and Artist bug corrected
* FirstArtists switch also restricts Author to be just the first one
25/7/2010
* ID3 tags are only synchronised if the iTunes path is different to the MM path

The last of these is to fix the long-term issue that 'sharing' the file location between iTunes and MM can cause conflicts in the ID3 tag information (which is written back to the music file) on the two systems. This case is highlighted by the "Use only first Artist" flags which would cause MM to have a full list of artists and iTunes to have just one. This scenario forces the need to have an independent copy of the file for iTunes. If you need this ID3 tag synchronisation feature then you must now engage the Cache Path in the Device Configuration, delete the files in iTunes and re-sync. This will create and intialise the cache.

Regards
Mark

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Posted: Mon Jul 26, 2010 1:48 am
by Belgrath
Would someone be able to post what settings I should be using for an iTouch 3gen in terms of the Device config page. I had this awesome plugin working with 9.2 iTunes (version 1.0.0.0) and upgraded to 1.4.0.693 this evening. but I forgot to get a snapshot of my config tabs.

Specifically what should I be placing into the 'sync tracks to: ' box. Its been many many months since I had to setup these options and the brain is starting to fail :lol:

Thanks ahead of time,
Belg

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Posted: Mon Jul 26, 2010 9:08 am
by markstuartwalker
Belgrath wrote:Would someone be able to post what settings I should be using for an iTouch 3gen in terms of the Device config page. I had this awesome plugin working with 9.2 iTunes (version 1.0.0.0) and upgraded to 1.4.0.693 this evening. but I forgot to get a snapshot of my config tabs.

Specifically what should I be placing into the 'sync tracks to: ' box. Its been many many months since I had to setup these options and the brain is starting to fail :lol:

Thanks ahead of time,
Belg
If you're referring to the advanced part of the Auto-Sync Lists then this is not used. Generally using factory defaults will work satisfactorily. The only way to get to factory defaults is to delete the HKEY_CURRENT_USER\Software\MediaMonkey\Device\iTunes section of the registry and then start MM.

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Posted: Mon Jul 26, 2010 1:38 pm
by arbee
Sorry if this question has been answered before.

The plugin works great, but all the playdate always comes across from iTunes with the correct date but the time is always 00:00.
This only happens when playcounts get updated from iTunes to MM not vice versa.

Is there any setting to influence this behaviour. I am using MM 3.2.1.197 and iTunes 9.2.1 with the latest version of the plugin.

Thanks for any answer.

Regards
Arbee

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Posted: Mon Jul 26, 2010 11:13 pm
by Belgrath
markstuartwalker wrote:
If you're referring to the advanced part of the Auto-Sync Lists then this is not used. Generally using factory defaults will work satisfactorily. The only way to get to factory defaults is to delete the HKEY_CURRENT_USER\Software\MediaMonkey\Device\iTunes section of the registry and then start MM.
The attribute I was referring is the Configure device > device configuration > Sync tracks to

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Posted: Tue Jul 27, 2010 2:57 am
by markstuartwalker
The attribute I was referring is the Configure device > device configuration > Sync tracks to
Doh! I couldn't see for looking. This is actually unused for iTunes so no need to put anything there.

The setting is a standard part of the MM plugin interface and is used on devices where you can define the folder and track name e.g. basic mp3 player. On iTunes it is meaningless.

Mark

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Posted: Tue Jul 27, 2010 4:26 pm
by KensMonkey
Could I please seek some clarification? I thought the default format for iTunes was AAC and from the description of the plugin, I thought this would take my FLAC files and, with the help of the appropriate encoder, place copies of whatever files I had chosen into my iTunes library. I have managed to transfer FLAC files to iTunes as MP3 but no matter what I do in the auto-conversion tab of the Device Profile, I cannot get M4A format files.

I am very new to music file management so maybe I have misunderstood what is possible or even what is appropriate but if someone can put me right it would be much appreciated.

Ken

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Posted: Wed Jul 28, 2010 11:11 pm
by Naked Eskimo
KensMonkey wrote:Could I please seek some clarification? I thought the default format for iTunes was AAC and from the description of the plugin, I thought this would take my FLAC files and, with the help of the appropriate encoder, place copies of whatever files I had chosen into my iTunes library. I have managed to transfer FLAC files to iTunes as MP3 but no matter what I do in the auto-conversion tab of the Device Profile, I cannot get M4A format files.

I am very new to music file management so maybe I have misunderstood what is possible or even what is appropriate but if someone can put me right it would be much appreciated.

Ken
You dont have to do m4a in Itunes. Mp3s work just fine, unless you absolutely prefer m4a for some reason.

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Posted: Wed Jul 28, 2010 11:13 pm
by Naked Eskimo
markstuartwalker wrote:
Naked Eskimo wrote: To anyone else, I seem to have an issue when I use the option to let MM open/close itunes. I get an error from Vista (Data Execution Prevention). If I uncheck that option, the error goes away.
Do you get the exception at starting MM or closing MM?
Sorry. Forgot to come back and check on this. I get the exception when closing MM which shuts down itunes. I tried not having the plugin open itunes and just did that manually before opening MM, but the sync wouldn't work.

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Posted: Thu Jul 29, 2010 12:17 am
by rovingcowboy
itunes is still doing something or monkey is still sending info to itunes which is why it gives you errors.

what is needed is a script to have monkey shut down only if the data is finished transfering or only when itunes shuts down.

or have a script shut down itunes when it is finished doing what it does with the data, then shut down monkey.

if you know for sure that the data is already finished when you close monkey then you can use a script already made to stop monkey on running of this script. but only if everything is done as it will close every thing monkey is doing and that means writing to files, which could loose data.

here is the post in the other thread i put it in.

http://www.mediamonkey.com/forum/viewto ... 15#p241015

if you use this you can just double click it to close monkey or make an icon shortcut to use this script or use task scheduler to make a timer to stop monkey at a certain time.
if you use it on timer i'd make a timer with pekes script to change to a blank playlist before i close monkey.

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Posted: Fri Jul 30, 2010 4:46 am
by KensMonkey
Forget my earlier posting re MP3 and M4A, at least for the time being. In my various attempts to get autosync to work (so far unsuccessful) I keep coming up against the same obstacle.

First of all my system (just don't know what is relevant):
MediaMonkey installed on E: drive
MediaMonkey Temporary directory: M:\MediaMonkey_TempFiles\
MediaMonkey music files (all as FLAC) in two locations (at least for the present) - on F: and G:. No problems with accessing these.

iTunes installed on E: drive
iTunes media folder = M:\iTunesData

plugin configuration:
Auto-Conversion: FLAC to MP3
Sync tracks to: blank
Sync all Album Art to Track folders: checked (folder.jpg)
Use only the first Genre when multiple Genres exist: checked
Use only the first value when multiple Artists/Composers exist: checked
iTune MM folder / capacity: M:\iTunesData, 5
Sync playcounts, ratings and ID3: checked
Sync iPod name: blank
Playlist reuse: checked, zzz
Cache path / post delete converted: M:\MediaMonkey_TempFiles, unchecked
Launch iTunes: automatically, minimize
Playlist folder: Build folders, seperator: -
Advanced recovery command: Set Debug = 2

Now the problem(s):
With these settings, managed to select a number of tracks in MM and, using 'Sync selected' got them into iTunes as MP3 files (iTunes is totally empty). Tried it again with another set of tracks and nothing, nothing in the log, couldn't use 'send to'. Clear out M:\MediaMonkey_TempFiles, Restart MM, select three tracks and click 'Sync selected' - the three tracks get copied to M:\MediaMonkey_TempFiles but there are no furher actions ie no conversion to MP3, no load into iTunes.

The debug log shows:
[6692] iTunes Plugin 10:39:46 Minimize iTunes
[6692] iTunes Plugin 10:39:46 Minimize iTunes done
[6692] iTunes Plugin 10:39:46 TtssCache.Create 14
[6692] iTunes Plugin 10:39:46 TitTrackCache 14
[6692] iTunes Plugin 10:39:46 Create indices
[6692] iTunes Plugin 10:39:46 Create indices done
[6692] iTunes Plugin 10:39:46 getItunesSource not found
[6692] iTunes Plugin 10:39:46 ItunesSyncStart done
[6692] iTunes Plugin 10:39:46 iTunesFixFilenames 3
[6692] iTunes Plugin 10:39:46 0 new track to be added 6801.mp3
[6692] iTunes Plugin 10:39:46 1 new track to be added 6802.mp3
[6692] iTunes Plugin 10:39:46 2 new track to be added 6803.mp3
[6692] iTunes Plugin 10:39:46 iTunesFixFilenames done
[6692] iTunes Plugin 10:39:56 0 iTunesUploadTrack M:\MediaMonkey_TempFiles\11C0.tmp
[6692] iTunes Plugin 10:39:56 ItunesSyncEnd 107742064
[6692] iTunes Plugin 10:39:56 Report scanned=0 uploaded=0 deleted=0 existing=0 converted=0 filenames=3 missing=0 new=3 sqlTss=0 sqlSongs=0 synced=0 ignored=0 ID3tags=0 Duplicates=0 Absents=0 Period=00:00:10
[6692] iTunes Plugin 10:39:56 TrackCache counts 0 1
[6692] iTunes Plugin 10:39:56 TtssCache.Destroy
[6692] iTunes Plugin 10:39:56 Destroy indices
[6692] iTunes Plugin 10:39:56 Destroy indices done
[6692] iTunes Plugin 10:39:56 getItunesSource not found
[6692] iTunes Plugin 10:39:56 ItunesSyncEnd done

Now I may be doing something very silly somewhere but after battling with this for two days now I am a little punch drunk. Would appreciate any help to point me in the right direction.

Ken

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Posted: Wed Aug 04, 2010 1:27 pm
by markstuartwalker
Ken

There is an exception being raised here and not trapped and reported.

Can you try not using "Sync Selected" mode but use "Auto Synchronise". I can't say that the ad-hoc Sync Selected has been used very much for a very long time. I've never regression tested it in maybe the last 6 months.

Mark

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Posted: Thu Aug 05, 2010 2:06 pm
by KensMonkey
Hi Mark,

Many thanks for coming back - thought I was going to have to give up on what is, judging by everybody else's comments a great plug in. I appreciate that this has taken a lot of your time, not least dealing with all the various issues raised over these 23 pages!

I'm not only new to your plugin but to MM (3 months), iTunes (1 month) and music file management generally (0 months). Pretty steep learning curve at the moment.

Took your suggestion and set the 'Configure Device' so that the Auto-Sync list had an album checked (nothing too adventurous until I can get everything working the way it should). Left 'Auto-Sync as soon as the device is connected' unchecked and remainder of configuration as per previous. Clicked the 'Send to Portable Device' button, got a brief green bar in the status line telling me MM was syncrhronizing to iTunes but on chceking found nothing in either M:\MediaMonkey_TempFiles nor M:\iTunesData.

The error log output:

Code: Select all

[5032] iTunes Plugin 19:51:31 ItunesSyncStart 52967968
[5032] iTunes Plugin 19:51:31 Caption iTunes
[5032] iTunes Plugin 19:51:31 Reread Config iTunes
[5032] iTunes Plugin 19:51:31 Read configuration \Software\MediaMonkey\Device\iTunes\
[5032] iTunes Plugin 19:51:31 Open registry
[5032] iTunes Plugin 19:51:31 Open registry done
[5032] iTunes Plugin 19:51:31 Read values \Software\MediaMonkey\Device\iTunes\
[5032] iTunes Plugin 19:51:31 Read values done
[5032] iTunes Plugin 19:51:31 Close registry
[5032] iTunes Plugin 19:51:31 Close registry done
[5032] iTunes Plugin 19:51:31 Read configuration done
[5032] iTunes Plugin 19:51:31 RegItunes Software\Apple Computer, Inc.\iTunes\
[5032] iTunes Plugin 19:51:31 RegItunes done
[5032] iTunes Plugin 19:51:31 Launch iTunes Automatically
[5032] iTunes Plugin 19:51:31 Launch iTunes Automatically done
[5032] iTunes Plugin 19:51:31 Check process exists iTunes.exe
[5032] iTunes Plugin 19:51:31 Check process exists done iTunes.exe
[5032] iTunes Plugin 19:51:31 Minimize iTunes
[5032] iTunes Plugin 19:51:31 Minimize iTunes done
[5032] iTunes Plugin 19:51:31 TtssCache.Create 14
[5032] iTunes Plugin 19:51:31 TitTrackCache 14
[5032] iTunes Plugin 19:51:31 Create indices
[5032] iTunes Plugin 19:51:31 Create indices done
[5032] iTunes Plugin 19:51:31 getItunesSource not found 
[5032] iTunes Plugin 19:51:31 ItunesSyncStart done
[5032] iTunes Plugin 19:51:31 iTunesScanContent Library
[5032] iTunes Plugin 19:51:31 Write configuration \Software\MediaMonkey\Device\iTunes\
[5032] iTunes Plugin 19:51:31 Write configuration done
[5032] iTunes Plugin 19:51:31 sync switched on and interval is 0
[5032] iTunes Plugin 19:51:31 fillTssCache
[5032] iTunes Plugin 19:51:31 select dt.ID,dt.IDTRACK,dt.DEVICEPATH,dt.PLAYCOUNT,dt.RATING dtRATING,dt.UPLOADTIME,s.RATING sRATING,s.PLAYCOUNTER,s.SONGTITLE,s.ARTIST,s.BITRATE,s.SONGPATH,s.LASTTIMEPLAYED,s.FILEMODIFIED from devicetracks dt,Songs s where dt.IDTRACK=s.ID and dt.STATUS=1 and dt.IDDEVICE=10
[5032] iTunes Plugin 19:51:31 fillTssCache done 0
[5032] iTunes Plugin 19:51:31 Scanning number and tsscache number 0 0
[5032] iTunes Plugin 19:51:31 iTunesScanContent done 0 0
[5032] iTunes Plugin 19:51:31 iTunesScanPlaylists
[5032] iTunes Plugin 19:51:31 fillPlaylistCache Library
[5032] iTunes Plugin 19:51:31 0 Playlist/folder  2 4 13|Music|iTunes DJ|Recently Added|Classical Music|Recently Played|90’s Music|Top 25 Most Played|Podcasts|My Top Rated|Genius|Music Videos|TV Programmes|Films|
[5032] iTunes Plugin 19:51:31 1 Playlist/folder Library 1 0 0|
[5032] iTunes Plugin 19:51:31 2 Playlist/folder Music 2 6 0|
[5032] iTunes Plugin 19:51:31 3 Playlist/folder iTunes DJ 2 2 0|
[5032] iTunes Plugin 19:51:31 4 Playlist/folder Recently Added 2 0 0|
[5032] iTunes Plugin 19:51:31 5 Playlist/folder Classical Music 2 0 0|
[5032] iTunes Plugin 19:51:31 6 Playlist/folder Recently Played 2 0 0|
[5032] iTunes Plugin 19:51:31 7 Playlist/folder 90’s Music 2 0 0|
[5032] iTunes Plugin 19:51:31 8 Playlist/folder Top 25 Most Played 2 0 0|
[5032] iTunes Plugin 19:51:31 9 Playlist/folder Podcasts 2 3 0|
[5032] iTunes Plugin 19:51:31 10 Playlist/folder My Top Rated 2 0 0|
[5032] iTunes Plugin 19:51:31 11 Playlist/folder Genius 2 11 0|
[5032] iTunes Plugin 19:51:31 12 Playlist/folder Music Videos 2 0 0|
[5032] iTunes Plugin 19:51:31 13 Playlist/folder TV Programmes 2 8 0|
[5032] iTunes Plugin 19:51:31 14 Playlist/folder Films 2 7 0|
[5032] iTunes Plugin 19:51:31 fillPlaylistCache done
[5032] iTunes Plugin 19:51:31 iTunesGetAllPlaylist Library
[5032] iTunes Plugin 19:51:31 number and size 0 0
[5032] iTunes Plugin 19:51:31 iTunesScanPlaylists done 0
[5032] iTunes Plugin 19:51:31 iTunesFixFilenames 12
[5032] iTunes Plugin 19:51:31 0 new track to be added 4869.mp3
[5032] iTunes Plugin 19:51:31 1 new track to be added 4870.mp3
[5032] iTunes Plugin 19:51:31 2 new track to be added 4871.mp3
[5032] iTunes Plugin 19:51:31 3 new track to be added 4872.mp3
[5032] iTunes Plugin 19:51:31 4 new track to be added 4873.mp3
[5032] iTunes Plugin 19:51:31 5 new track to be added 4874.mp3
[5032] iTunes Plugin 19:51:31 6 new track to be added 4875.mp3
[5032] iTunes Plugin 19:51:31 7 new track to be added 4876.mp3
[5032] iTunes Plugin 19:51:31 8 new track to be added 4877.mp3
[5032] iTunes Plugin 19:51:31 9 new track to be added 4878.mp3
[5032] iTunes Plugin 19:51:31 10 new track to be added 4879.mp3
[5032] iTunes Plugin 19:51:31 11 new track to be added 4880.mp3
[5032] iTunes Plugin 19:51:31 iTunesFixFilenames done
[5032] iTunes Plugin 19:51:31 iTunesCapacity 5120
[5032] iTunes Plugin 19:51:31 iTunesCapacity 5120
[5032] iTunes Plugin 19:51:31 iTunesFreeSpace 5120
[5032] iTunes Plugin 19:51:39 0 iTunesUploadTrack M:\MediaMonkey_TempFiles\841B.tmp
[5032] iTunes Plugin 19:51:39 ItunesSyncEnd 52967968
[5032] iTunes Plugin 19:51:39 Report scanned=0 uploaded=0 deleted=0 existing=0 converted=0 filenames=12 missing=0 new=12 sqlTss=0 sqlSongs=0 synced=0 ignored=0 ID3tags=0 Duplicates=0 Absents=0 Period=00:00:08
[5032] iTunes Plugin 19:51:39 TrackCache counts 0 15
[5032] iTunes Plugin 19:51:39 TtssCache.Destroy
[5032] iTunes Plugin 19:51:39 Destroy indices
[5032] iTunes Plugin 19:51:39 Destroy indices done
[5032] iTunes Plugin 19:51:39 getItunesSource not found 
[5032] iTunes Plugin 19:51:39 ItunesSyncEnd done
Clearly from all the comments in this forum the plugin does what it says on the box - but I'm afraid that this is just not the case in my hands - I still have the awful feeling that there is some fundamental step I have missed and that once I have this sorted then I can start moving forward. Any help you can give to point me in the right direction is much appreciated.

Ken

Re: MediaMonkey iTunes device plugin (d_itunes.dll)

Posted: Thu Aug 05, 2010 2:10 pm
by frankz
KensMonkey wrote:Clicked the 'Send to Portable Device' button, got a brief green bar in the status line telling me MM was syncrhronizing to iTunes but on chceking found nothing in either M:\MediaMonkey_TempFiles nor M:\iTunesData.
If the sync worked, you'd see the items in your actual iTunes library as well as in MM (under the iTunes device tree view).