Piwigo.org

You are not logged in. (Register / Login)

Announcement

#1 2012-10-22 19:57:28

DavidDD
Member
Registered: 2012-10-22
Posts: 11

[resolved] Exlude @eadir during sync possible?

Tags: [error]

I have Piwigo installed on a Synology 1511+ which works like a charm.

But of course, some troubles :-)
1 of them is that i cannot sync with local dirs because alot of @eadir folders which seems to be only on a synology NAS (due to some installed programs etc etc)

now my question.... is it not possible to exclude a directory from the sync?
So i would be able to exclude the '@eadir' directory and everything would work fine?

I searched the www and found alot of these issues with eadir stuff. So having the possibility to exclude them would be awesome :-)

David,

Offline

#2 2012-10-22 21:37:33

flop25
Piwigo Team
Registered: 2006-07-06
Posts: 5606
Website

Re: [resolved] Exlude @eadir during sync possible?

Hello
i ve just this (in french) http://jerome.colombet.free.fr/?pdf/95/
which list the application to disable, the command to delete all these folders once, and even scheduled  cron tasks to delete


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

#3 2012-10-23 10:19:07

DavidDD
Member
Registered: 2012-10-22
Posts: 11

Re: [resolved] Exlude @eadir during sync possible?

thx for the answer, but not the solution i had in mind.

Because i do use the audio functions from my Synology, also a lot of other features.
So excluding directories from the 'scan' would be a better approach....

Can you perhaps give my the files which are used to perform these scans? I might look at the code to give it a try to create some sort of 'excluding' line :-)

I'm just thinking out loud here because the @eadir are driving me insane. Creating a cron job to remove these folder is one thing. But i didn't found anything on the net about what will happen if you delete these... what would be the impact on the internal features of the nas when i remove.

So any idea what's next i can do? :-)

David,

Offline

#4 2012-10-23 10:42:01

flop25
Piwigo Team
Registered: 2006-07-06
Posts: 5606
Website

Re: [resolved] Exlude @eadir during sync possible?

I'm gonna check this
stay tuned!


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

#5 2012-10-23 10:55:04

flop25
Piwigo Team
Registered: 2006-07-06
Posts: 5606
Website

Re: [resolved] Exlude @eadir during sync possible?

in admin/site_local_reader.php
search around line 111

Code:

      elseif (is_dir($path.'/'.$node)
               and $node != 'pwg_high'
               and $node != 'pwg_representative'
               and $node != 'thumbnail' )

and add your own node. Unfortunately you need to add a reminder somewhere, in order to change that file after each update


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

#6 2012-10-23 20:25:54

DavidDD
Member
Registered: 2012-10-22
Posts: 11

Re: [resolved] Exlude @eadir during sync possible?

adapting the file with the following code:

      elseif (is_dir($path.'/'.$node)
               and $node != 'pwg_high'
               and $node != 'pwg_representative'
               and $node != '@eaDir'
               and $node != 'thumbnail' )
      {


didn't do the trick at all :-(

sorry to bother you guys again but it doesn't work.... any hints? :-)

David,

Offline

#7 2012-10-23 20:37:00

flop25
Piwigo Team
Registered: 2006-07-06
Posts: 5606
Website

Re: [resolved] Exlude @eadir during sync possible?

admin/include/functions.php line 529 ?


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

#8 2012-10-23 21:09:41

DavidDD
Member
Registered: 2012-10-22
Posts: 11

Re: [resolved] Exlude @eadir during sync possible?

Works great now..... thx alot guys :-)

just 1 thing that doesn't seem to work :-(
the metadata 'tags' is not sync'ed..... even when the option to sync it is on.

David,

Offline

#9 2012-10-23 21:11:37

flop25
Piwigo Team
Registered: 2006-07-06
Posts: 5606
Website

Re: [resolved] Exlude @eadir during sync possible?

please other question=other thread ^^


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

#10 2012-10-23 21:16:34

DavidDD
Member
Registered: 2012-10-22
Posts: 11

Re: [resolved] Exlude @eadir during sync possible?

Agree and sorry :-)

and i will first try to find it myself before bothering you guys again :-)

AND SORRY FOR THE CAPS BUT DAMN GUYS..... NICE WORK
i mean it, works nice, fast, alot of possibilities etc etc.... again GREAT WORK.

David,

Offline

Board footer

Powered by FluxBB

twitter facebook google+ newsletter Donate Piwigo.org © 2002-2014 · Contact