Stargazers - 2009-04-22

Found a way to fix it myself. So, the problem seems to be that if there is same named files, only one can be shown (well, of course...). This is very common case in my usage, because I create a set, then add images to it and mostly they all have same caption line. Eg. I create a set "Machinae Supremacy" and all have caption "Machinae Supremacy" if all images is taken from same gig.

So, I made a dirty dirty hack and this might _not_ help any other, but anyway here it goes if this help any other.
In file flickrfs file (in my case it was /usr/bin/flickrfs) there is function called _mkfile.
There is this kind of part in that function:

if not extension:
log.error("Can't create file without extension")
return

I added this stuff after it:

# Add image id in filename, so we get unique names and
# then all images will be shown.
path = path + "_" + id + extension

After that all my images appears to folder, because they all get unique filenames after adding image id to image file. I am not sure if this breaks anything or something, but in my case it seemd to work.

If any project programmer can check it, then it would be nice.

Best regards,
Stargazers