On Thursday, December 22, 2011 03:42:20 PM Dougie Nisbet wrote: > However it's clear that I have dozens if not hundreds of images that > have filenames that are too long. I shall need to do some serious > head-scratching on this one.
I guess you could write a script that operates on the SQL database. If you do that before you sync any machine to that database, there should be no issues. > > BTW, the reason your long filenames worked on 1.x under Windows is > > probably because the standard location of the datadir is now a longer > > string in 2.0... > No, this is the first time I've ever tried the Windows version, and I'm > only giving it a try because of the sync mechanism. I've never used the > Windows version before today! Then the reason it worked under 1.x is simply because your linux filesystem did not have that length limitation :-) > > Or, even better and easier, you can write a filter plugin which at run > > time adds the correct height tags depending on the machine you are on > > :-) Look at 'mnemosyne/example_plugins/filter.py' and change the 'run' > > method to a method which adds the height tag. > > So many interesting distractions and so little time! It does sound tempting. :-) If you already had a regular expression to do this in your old setup, it should take very little time. Peter -- You received this message because you are subscribed to the Google Groups "mnemosyne-proj-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/mnemosyne-proj-users?hl=en.
