Author Topic: Can I store the .fseq files in a separate directory?  (Read 1114 times)

Offline deonb

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
Can I store the .fseq files in a separate directory?
« on: November 20, 2018, 07:15:51 AM »
I'm sharing my xLights Dropbox folder with someone who has limited Dropbox space so each time we save a few sequences he runs out of space due to the size of the .fseq files, and it causes a lot of Network traffic.


Is it possible to save the .fseq files into a different location (we would each be saving it to a location OUTSIDE of Dropbox)?

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Can I store the .fseq files in a separate directory?
« Reply #1 on: November 20, 2018, 08:18:01 AM »
Have you gone through all the available menu options because I thought one of the developers added a feature to specify alternate folders?

Offline keithsw1111

  • Administrator
  • Hero Member
  • *****
  • Posts: 2733
    • View Profile
    • Kellyville Christmas Lights
Re: Can I store the .fseq files in a separate directory?
« Reply #2 on: November 20, 2018, 11:08:44 AM »
The button to the right of the show folder on the setup tab allows you to select folders like where your fseq is stored.


Sent from my iPhone using Tapatalk

Offline deonb

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
Re: Can I store the .fseq files in a separate directory?
« Reply #3 on: November 20, 2018, 12:48:03 PM »
The button to the right of the show folder on the setup tab allows you to select folders like where your fseq is stored.

Thanks Keith, works great!

The only thing I'd like to report - currently if that folder as specified does not exist, it silently falls back to using the Show Folder.

That means if someone new opens the Show Folder with a customized fseqDir without first creating the shared fseq folder, it goes backs to the default. If they then quit, xLights will ask for a save of the layout, and if they save it will reset to the default.

That means a new user can easily screw up the folder setting for all other users (I think).

Can xLights perhaps just create those customized subfolders on load (at least if the parent folder exist and is writable?). So that way we can just point the rgbeffects.xml to e.g.
c:\xLightsLocal
and if a new user comes along it will just create the directory for that user automatically rather than resetting to defaults.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Can I store the .fseq files in a separate directory?
« Reply #4 on: November 20, 2018, 12:54:45 PM »
Folder locations should be stored in the registry on the computer so its not saved in any files that get synced up to other users.  I personally would not be using a shared location for the xlights show folder anyways.  You're asking for trouble if multiple users modify the xlights_rgbeffects.xml file.

Offline keithsw1111

  • Administrator
  • Hero Member
  • *****
  • Posts: 2733
    • View Profile
    • Kellyville Christmas Lights
Re: Can I store the .fseq files in a separate directory?
« Reply #5 on: November 20, 2018, 12:59:17 PM »
As Gil says this a computer by computer decision. We are not going to be creating folders like that.


Sent from my iPhone using Tapatalk

Offline deonb

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
Re: Can I store the .fseq files in a separate directory?
« Reply #6 on: November 20, 2018, 01:39:31 PM »
As Gil says this a computer by computer decision. We are not going to be creating folders like that.


Sent from my iPhone using Tapatalk

If this is truly a computer-by-computer decision and stored in the registry, that would definitely be fine.

However, it's not right now - it's currently stored inside xlights_rgbeffects.xml

Is there even an option to store per Show-Folder data in the registry right now? Not seeing anything else that works like that. (Obviously possible though).


As far as the multiple users modifying the xlights_rgbeffects.xml - that's not a problem. Only one user generally modifies the model, the rest just do sequences. The problem however comes in when it asks for the Save on Exit because it automatically changed the setting back when it detected the missing folder.

If this was truly per-user though it would be totally fine.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Can I store the .fseq files in a separate directory?
« Reply #7 on: November 20, 2018, 02:16:00 PM »
Yeah it looks like the backup and fseq folder locations are stored in the rgbeffects file.  I believe that code was done by a newer developer.  We probably should store that on a per computer basis not in rgbeffect files.