[Flickrfs-users] New changes + functionalities to flickrfs
Brought to you by:
manishrjain
From: Manish R. J. <man...@gm...> - 2006-05-18 04:51:40
|
Hi Finally after quite a long time, I found time to spend upon flickrfs again. Here is a list of changes: Bugs (fixed/blocked): 1. statfs is not functioning properly, and was being called every 1 sec. I cudn't pinpoint the cause of this (may be it lies with the OS itself.), so = I blocked this call completely for the time being. 2. auth_token was being automatically appended by flickrapi.py, which cause= d a failure while retrieving token from the browser. So, I removed the automatic appending by flickrapi.py; and shifted the passing of token as a parameter to functions in flickrfs.py. Fixed the bug. 3. Indentation was causing problems with vim editor. Replaced all spaces with tabs, and fixed the indentation. 4. Multiple images with the same title were not allowed. Now, each image name =3D title + photo id (unique). Now allows title to be same. Fixed. 5. chmod - changing permissions of images was not working. Fixed. 6. photoset_getList was getting stuck w/o user_id specified. Added 2 params - user_id, and auth_token. Features: 1. Automatic image resizing - Finally, we have this feature! An ideal pytho= n way to do it, using PIL was causing exif data to be lost while resizing. Using convert command from imagemagick package created sharper pics, with exif data retained. Not to mention, this feature requires Imagemagick to be installed. The needed size is specified thro' a config.txt file placed in $HOMEDIR/.flickrfs/. An example file is in CVS. #Placed as $HOMEDIR/.flickrfs/config.txt [configuration] image.size:1024x760 To retain the original size, dun specify any size. Like this: image.size: 2. More info in metadata files - Contains data abt owner, and a handy url link to the photo. Link<http://flickrfs.cvs.sourceforge.net/flickrfs/flickrfs/flickrfs.py?r1= =3D1.41&r2=3D1.43>to check the differences. Cheers Manish --=20 Final Year, ABP School of Comp. Engg. NTU, Singapore +65-97960183 |