dgrant / eyefiserver2

A standalone Eye-Fi server in Python, for Linux
GNU General Public License v3.0
140 stars 40 forks source link

add the ability for multiple cards to upload to different directories #15

Closed aflat closed 9 years ago

aflat commented 9 years ago

I have 2 eyefi cards, one for a camera, and one for a portable scanner. i don't want both cards to dump into the same directory, since I need to process the scans differently then the pics. I changes the format of the conf file a bit, to upload_dir is upload_dirs_0/1/2/3/etc to match the mac and upload_key. That's it.

Tested on Mint17 and fedora 19.

dgrant commented 9 years ago

I like this. My only problem is that it isn't backwards compatible with an old .conf file. I think it should be, to minimize pain for people. Tests would also be nice although I admit we have no other tests currently, and adding tests to legacy code like this is not an easy task.

aflat commented 9 years ago

I created a new pull request on a new branch to allow the old config to be used as is.