View Issue Details

IDProjectCategoryView StatusLast Update
0003220MMW v4Synchronizationpublic2011-04-27 15:49
Reporteruser_DaleAssigned To 
PriorityurgentSeveritytweakReproducibilityalways
Status resolvedResolutionno change required 
Product Version2.5.5 
Summary0003220: Advanced Sync Masks don't evaluate according to their hierarchy
DescriptionHello,

on my genericUSB device plugin, I've set the synchronization mask to:
[code]
-- MUSIC --\_Playlists\_playlist data\<Genre>\<Artist> - <Title>[/code]

that way, by default, all music goes into that format...

then, on specific playlists I synch, I set the mask in the destination column differently:

[code]\-- MUSIC --\$If(<Album>,<Album Artist>\<Album>,<Artist>)\<Track#>. <Title> $if(<Album Artist>=Various Artists,- <Artist>,)[/code]


this works fine on its own as well...
however...

I've found that while I would expect the second mask (set specifically on the playlist) to ALWAYS over rule the first default mask... sometimes it doesn't.
- there doesn't seem to be a specific order in which the masks are evaluated for one shared file.



Also.. if I set two playlists with different destination masks that contain some of the same tracks, there seems to be no specific heirarchy of which should be followed here either - maybe their should be another column next to destination called "priority" - which lets you specify a number order that these masks should be followed in?

eg.

[code][b]playlist 1:[/b]
dest = /music/playlists songs/
priority = 3

[b]playlist 2:[/b]
dest = /music/playlist 2/
priority = 1

[b]playlist 3:[/b]
dest = /music/
priority = 2[/code]


[b]The above example would mean;[/b]
- a song that is ONLY in playlist 1 would follow playlist 1's mask.
- a song that is in playlist 1 & 2 would follow playlist 2's mask because playlist 2 has higher priority
- a song that is in all playlists would follow playlist 2's mask as well
- a song that is in playlist 1 & 3 would follow playlist 3's mask because playlist 3 has higher priority



at the very least.. a definite order should be defined.. if not a user defineable order like above, then maybe the playlists should be evaluated in alphabetical order.
And as mentioned at the top, the default mask for the device should always be overruled by the specific playlist masks.
TagsNo tags attached.
Fixed in build

Relationships

related to 0002493 closedjiri Device Synchronization: 'Copy .m3u playlist' setting is ignored 

Activities

user_Dale

2007-07-04 14:56

updater   ~0009645

I listed this as a 'tweak'.. but I think it is higher priority than that as there is not much point in setting specific destination masks for playlists if there is no priority order for the masks to be applied to files shared between the playlists.

jiri

2011-04-27 15:49

administrator   ~0024516

This issue is no longer an issue due to changes in 4.0 syncing.