Author Topic: Copy Sequence  (Read 1753 times)

Offline munu

  • Newbie
  • *
  • Posts: 18
    • View Profile
Copy Sequence
« on: March 23, 2022, 10:08:15 AM »
I have a sequence Christmas2021 and I started from scratch with a new sequence Chrstmas2022. For Chirstmas2021 I only had a matrix display (and all my other static displays). For 2022 I am working on a lot more stuff. Is there a way to copy the matrix display sequence from 2021 into 2022? I tried the below but I can't seem to paste the sequence once I open the new 2022 sequence.

https://xlights.org/hrf_faq/can-i-copy-effects-from-one-sequence-to-another/



Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Copy Sequence
« Reply #1 on: March 23, 2022, 10:52:49 AM »
Just copy the whole file over to the new show folder then open it in xlights.

Offline munu

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Copy Sequence
« Reply #2 on: March 23, 2022, 11:05:34 AM »
I don't quite understand what you mean. I have a folder with my project and that folder has all kinds of sequences like Christmas.xsq (in my previous post I calles it Christmas2021), Christmas2022.fseq and a bunch of others for valentines, school graduation, etc. All those sequences only included my matrix P5 display. So for Christmas2022 I am trying to add a lot more (I already defined the Layout). This new, larger 20222 display includes the matrix display I used before including the Christmas(2021) one. So ideally I can copy that sequence from Christmas(2021) to the sequence Christmas2022. If this can't be done or causes issues, I can just re-create it. It won't take more than 30 minutes or so. The reason I am asking is so that if in the future I run into a similar but more complex (like a long sequence) issue I know how to handle it.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Copy Sequence
« Reply #3 on: March 23, 2022, 01:15:06 PM »
Sure you can copy the sequence file and rename it.  That's all done outside xLights.  Most of us create a new show folder every year to preserve what we had for each season.

I like mine like this:

c:\xlights\2021\Christmas
c:\xlights\2021\Halloween
c:\xlights\2022\Christmas
c:\xlights\2022\Halloween

Do NOT do this:
c:\xlights\Christmas\2021


Offline munu

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Copy Sequence
« Reply #4 on: March 23, 2022, 04:23:35 PM »
Ok, got it. So basically you make a copy of last year and then add/change/delete stuff. In my case I created a completely new sequences using the same props (of which I only used the matrix display). So one set of props with multiple sequences. Now I created a completely new sequences and wanted to copy the matrix display from the old sequence to the new one. Apparently that is not possible and I should have make a copy of the old sequence and go from there. No big deal as it is quick to replicate. Next time I know.

Btw, why not c:\xlights\Christmas\2021? That's actually what I would have done because then when I look for Christmas I just go to the Christmas folder, if I look for Halloween I just go to the Halloween folder, etc.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Copy Sequence
« Reply #5 on: March 24, 2022, 07:33:13 AM »
You don't want the last name in the filepath to change because all the filepaths stored in the sequence that point to your photos, videos, and any other resources you use will need to be updated to the new path when you copy to a new show folder.  We have algorithms that try to figure out how to change the paths and they mess up if the final directory name in the path changes.  I don't remember why it works that way or whether it could be fixed but currently that's just the way it is.

Offline munu

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Copy Sequence
« Reply #6 on: March 25, 2022, 08:37:53 AM »
Initially I thought that makes sense but it kind of really doesn't. Everything in a project should have relative paths. So if the project is in c:\xlights\Christmas2022 then images should point to .\MyResources or if you want to share Christmas resources among multiple projects ..\MyChristmasResources.

Anyways, I am sure there is a deeper reason behind this so I will stick with what you suggested. Thank you for that note.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Copy Sequence
« Reply #7 on: March 28, 2022, 06:53:09 AM »
Well its not relative paths.  That works well if everything is relative to the show folder but its not.  People use cloud drives and multiple drive letters.