Problem with android app and webgui

Hi

I have a xiaomi mi6 android phone.

When I use the webgui to edit the ignore pattern it will load the last cached ignore pattern.

For example if I create a new folder and use a specific ignore pattern, then I go to an existing folder and click edit it will load the recently created ignore pattern and overwrite the ignore pattern that already exists for that folder.

Thanks Mike

Hi,

Which version are you using? Is your folder on external sdcard?

1 Like

I’m using the same root android source folder which uses both internal and external memory … I’m guessing that is probably my problem right there.

Can I just specify the ignore parameters in the seperate destination folder? My setup currently is

Android phone "source"

Images folder

Path:
  ~ 
Behavior:
  Send only
Ignore pattern:
  !*.jpg
  *

Videos folder:

Path:
  ~
Behavior:
  Send only
Ignore pattern:
  !*.mp4
  *

Ubuntu server: "destination"

Images folder

Path:
  \images\
Behavior:
  Receive only
Ignore pattern:
  [blank]

Videos folder:

Path:
  \videos\
Behavior:
  Receive only
Ignore pattern:
  [blank]

I’m thinking would this be the correct setup?

Android phone "source"

Images folder

Path:
  ~ 
Behavior:
  Send only
Ignore pattern:
  !*.jpg
  !*.mp4
  *

Videos folder:

Path:
  ~
Behavior:
  Send only
Ignore pattern:
  !*.mp4
  !*.jpg
  *

Ubuntu server: "destination"

Images folder

Path:
  \images\
Behavior:
  Receive only
Ignore pattern:
  !*.jpg
  *

Videos folder:

Path:
  \videos\
Behavior:
  Receive only
Ignore pattern:
  !*.mp4
  *
1 Like

v1.4.2, Linux (64 bit)

v1.4.0, android (AArch64)

1 Like

Ignores are saved in a file in the folder. If you have two folders at the same location, they will share the same ignores file.

1 Like

I’ve came across this two folders, one stignore file, too in the past. What about offering a folder specific option how the name of the .stignore is or naming it alike: .stignore-abcd-efgh with abcd-efgh being the folder id.

(This would also be a chance for me instead of doing symlinks sharing my drive root multiple times with different .stignore-xyz containing /** and !/the-video-folder I want and so on, generating a view of my data.)

The right thing todo here is to store ignores in the database/config.

1 Like

… yes, this would also be great for the android wrapper because it has SAF code just to write the ignore file where the native has no access. If we had this in the config exposed by the rest api life would be a little easier :-).

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.