GustavePate / lycheesync

a command line interface tool to sync lychee with any directory containing photos
108 stars 37 forks source link

Database prefix? #54

Open valentin8709 opened 8 years ago

valentin8709 commented 8 years ago

Just a little question: how to connect the plugin when you set a prefix in the mysql database?

Thanks!

GustavePate commented 8 years ago

Salut valentin !

When you prefix each of your db tables ? Not supported by lycheesync for the moment, sorry. But easy to fix: pull request are welcome !

valentin8709 commented 8 years ago

At the setup of Lychee, there is an option for an eventual prefix. It is a little more secure to have a random prefix, so I enabled it! I will try to look at your code to fix this issue =)

valentin8709 commented 8 years ago

I corrected the script to fit with my database, I will try to make it right by passing the prefix in the configuration file =) Really good job for this plugin! I am waiting for the "exclude directory" feature also!