Sync works - doesn't delete old files [#6647]
Moderator: Gurus
-
- Posts: 215
- Joined: Sat May 21, 2011 9:13 am
Sync works - doesn't delete old files [#6647]
I'm having a problem and not sure if it relates to MM4 or is just the way MM syncs so posting here before in the beta forum.
I'm trying to sync to my device and have told MM to delete files that aren't on the sync list. Without deleting files not on the sync list it starts copying files (it brings up a warning that there's insufficient space). The device eventually fills up. Now whether I cancel the whole operation or ignore each 'not enough disk space' error the process ends up finishing and still doesn't delete the additional files that I don't want on the mp3 player. Of course I could delete everything and start again but that would seem to defeat the point.
So two questions, does MM usually delete old files *before* copying new ones (which would make sense to me but might be harder to implement) and why aren't the files getting deleted in my case?
I'm trying to sync to my device and have told MM to delete files that aren't on the sync list. Without deleting files not on the sync list it starts copying files (it brings up a warning that there's insufficient space). The device eventually fills up. Now whether I cancel the whole operation or ignore each 'not enough disk space' error the process ends up finishing and still doesn't delete the additional files that I don't want on the mp3 player. Of course I could delete everything and start again but that would seem to defeat the point.
So two questions, does MM usually delete old files *before* copying new ones (which would make sense to me but might be harder to implement) and why aren't the files getting deleted in my case?
-
- Posts: 23640
- Joined: Wed Aug 09, 2006 10:20 am
- Location: NJ, USA
- Contact:
Re: Sync tries to copy files - fills - doesn't delete old on
Usually the delete confirmation dialog will pop up first, before any files are copied at all.
MediaMonkey user since 2006
Need help? Got a suggestion? Can't find something?
Please no PMs in reply to a post. Just reply in the thread.
Need help? Got a suggestion? Can't find something?
Please no PMs in reply to a post. Just reply in the thread.
-
- Posts: 215
- Joined: Sat May 21, 2011 9:13 am
Re: Sync tries to copy files - fills - doesn't delete old on
Thanks very much. I guessed so but wanted to check.
-
- Posts: 215
- Joined: Sat May 21, 2011 9:13 am
Sync tries to copy files - fills - doesn't delete old ones
This is a continuation of a post on the Need Help with Device Synchronization? board => http://www.mediamonkey.com/forum/viewto ... 12&t=60862.
Basically, I'm having difficulties with MM4 (1439) not deleting content that isn't on the sync list before it tried to sync to the microSD card on my sansa clip+ (yes, the option is selected). Out of interest, the microSD card is called K:\(L:\) - it's the L:\ and the mp3 player is the K:\. I guess since it doesn't have problems figuring which list of songs to prepare this isn't related but thought I'd mention it just in case.
Basically, I'm having difficulties with MM4 (1439) not deleting content that isn't on the sync list before it tried to sync to the microSD card on my sansa clip+ (yes, the option is selected). Out of interest, the microSD card is called K:\(L:\) - it's the L:\ and the mp3 player is the K:\. I guess since it doesn't have problems figuring which list of songs to prepare this isn't related but thought I'd mention it just in case.
-
- Posts: 23640
- Joined: Wed Aug 09, 2006 10:20 am
- Location: NJ, USA
- Contact:
Re: Sync tries to copy files - fills - doesn't delete old on
I'm not able to reproduce the issue, so please generate a debug log.
http://www.mediamonkey.com/forum/viewto ... ?f=6&t=341
http://www.mediamonkey.com/forum/viewto ... ?f=6&t=341
MediaMonkey user since 2006
Need help? Got a suggestion? Can't find something?
Please no PMs in reply to a post. Just reply in the thread.
Need help? Got a suggestion? Can't find something?
Please no PMs in reply to a post. Just reply in the thread.
-
- Posts: 215
- Joined: Sat May 21, 2011 9:13 am
Re: Sync tries to copy files - fills - doesn't delete old on
Here it is: http://dl.dropbox.com/u/39561993/MMSyncNotDelete1.LOG
For example, the 10 tracks by Tim Armstrong are no longer on the auto-sync list, but they don't get deleted.
Here's my setting:

Thanks
For example, the 10 tracks by Tim Armstrong are no longer on the auto-sync list, but they don't get deleted.
Here's my setting:

Thanks
Re: Sync tries to copy files - fills - doesn't delete old on
Re: the failed deletion - I cannot reproduce the issue, does the confirmation dialog appears or it even fails to show the dialog?
Note also that starting from version 4, MediaMonkey suggests to delete only tracks in the folders configured in Device -> Options -> Destination
in order to prevent from deletion of ringtones, system event sounds, sound recorder clips, etc.
Re: the K:\ (L:) - you probably just renamed the device to "K:\" ?
Just click the device name on the Summary tab or hit F2 when you have focused the device node and rename it.
Note also that starting from version 4, MediaMonkey suggests to delete only tracks in the folders configured in Device -> Options -> Destination
in order to prevent from deletion of ringtones, system event sounds, sound recorder clips, etc.
Re: the K:\ (L:) - you probably just renamed the device to "K:\" ?
Just click the device name on the Summary tab or hit F2 when you have focused the device node and rename it.
-
- Posts: 215
- Joined: Sat May 21, 2011 9:13 am
Re: Sync tries to copy files - fills - doesn't delete old on
Thanks Ludek
No, the confirmation dialogue doesn't show. Are you saying it won't delete files added by previous versions of MM even if they're in the same place that MM would expect to find them? i.e. if Sync Music files to: \Music\<Album Artist>\<Album>\$If(<Disc#>,<Disc#>\,)<Track#:2> <Title> and I have tracks in \Music\... that aren't selected for sync, MM4 won't delete them unless MM4 put them there?
I'm fairly sure I didn't name it K:\, but obviously it's no bother renaming it, I just wondered whether this was meant to be a way of showing the two devices were linked and thought I'd mention it in case it was relevant.
No, the confirmation dialogue doesn't show. Are you saying it won't delete files added by previous versions of MM even if they're in the same place that MM would expect to find them? i.e. if Sync Music files to: \Music\<Album Artist>\<Album>\$If(<Disc#>,<Disc#>\,)<Track#:2> <Title> and I have tracks in \Music\... that aren't selected for sync, MM4 won't delete them unless MM4 put them there?
I'm fairly sure I didn't name it K:\, but obviously it's no bother renaming it, I just wondered whether this was meant to be a way of showing the two devices were linked and thought I'd mention it in case it was relevant.
Re: Sync tries to copy files - fills - doesn't delete old on
If the tracks are in \Music\ folder and the sync location is configured as
\Music\<Album Artist>\<Album>\$If(<Disc#>,<Disc#>\,)<Track#:2> <Title>
then the file should be deleted.
I added more debug messages to see why the files aren't deleted for you, so re-generate log in build 1440 please.
\Music\<Album Artist>\<Album>\$If(<Disc#>,<Disc#>\,)<Track#:2> <Title>
then the file should be deleted.
I added more debug messages to see why the files aren't deleted for you, so re-generate log in build 1440 please.
-
- Posts: 215
- Joined: Sat May 21, 2011 9:13 am
Re: Sync tries to copy files - fills - doesn't delete old on
Thanks very much. Will do
Re: Sync tries to copy files - fills - doesn't delete old on
Build 1440 is available: http://www.mediamonkey.com/forum/viewto ... 24#p313524
so please re-generate the debug log.
so please re-generate the debug log.
-
- Posts: 215
- Joined: Sat May 21, 2011 9:13 am
Re: Sync tries to copy files - fills - doesn't delete old on
Thanks for the log, unfortunatelly I've just found that the new messages aren't included in the build 1440 for some reason. Probably I commited the messages while the build was already in the building process.
So we need to wait for 1441.
Please run the DbgView app before you run build 1441 so that I could see whole the log and also the build number.
Thanks.
So we need to wait for 1441.
Please run the DbgView app before you run build 1441 so that I could see whole the log and also the build number.
Thanks.
-
- Posts: 215
- Joined: Sat May 21, 2011 9:13 am
Re: Sync tries to copy files - fills - doesn't delete old on
Hi Ludek
Here's a new log: http://dl.dropbox.com/u/39561993/MMSyncNotDelete3.LOG
I also noticed another, probably associated, problem. In the last build of MM, the number of files still to sync had got to about 80, whereas it's now much higher (461). Looking at the log it seems to not be recognising FLAC files that have been converted to MP3 as matching on the sync list. Either way, it didn't ask me about deleting them or other files that really aren't on the sync list.
Thanks again
Here's a new log: http://dl.dropbox.com/u/39561993/MMSyncNotDelete3.LOG
I also noticed another, probably associated, problem. In the last build of MM, the number of files still to sync had got to about 80, whereas it's now much higher (461). Looking at the log it seems to not be recognising FLAC files that have been converted to MP3 as matching on the sync list. Either way, it didn't ask me about deleting them or other files that really aren't on the sync list.
Thanks again
Re: Sync tries to copy files - fills - doesn't delete old on
Thanks for the log, Tommy!
I have a clue where the problem lies, just to confirm my speculation I need one more thing from you.
Go to Device->Options->Device Profile
and click [Export device options...]
It will export you device options to a MMDC file and attach here the file,
thanks!
I have a clue where the problem lies, just to confirm my speculation I need one more thing from you.
Go to Device->Options->Device Profile
and click [Export device options...]
It will export you device options to a MMDC file and attach here the file,
thanks!