SlideShow [v2.0]

Discuss and share scripts and script files...
taufan
Posts: 48
Joined: 22 Mar 2020 02:33

Re: SlideShow [v2.0]

Post by taufan »

Hi,
By default UsePictureCodecs displays 0.
I have also deleted the Slideshow.xys file from the /Data/Scripts folder, Close XYPlorer, then put the downloaded Slideshow.xys file back into that folder. Then reopen XYPlorer, but the problem still occurs.

Btw, to overcome this deadlock I asking ChatGPT and have found another temporary way.
I open the image with FloatingPreview then click the button that contains the script:

Code: Select all

::while (true) {
  sel "+1";
  wait 5000;
}
While that method worked for displaying my random photos from QuickSearch output.

FluxTorpedoe
Posts: 900
Joined: 05 Oct 2011 13:15

Re: SlideShow [v2.0]

Post by FluxTorpedoe »

Well, if it works with a fresh XY, then some of your XYplorer settings must cause the issue, but I can’t see what.

It seems like there’s a problem with the filtering of images with your version.

The ideal would be that you give me a step by step on what you do when it works with a regular folder, and what you do when it displays "No valid…" in a quick search.

In the meantime, let’s try and see if it comes from the filtering:

 ⮚ 1. With a regular folder
   – In a new tab in XYplorer, open a folder with only jpg images
   – In the address bar, paste this line and press Enter

Code: Select all

filter """Test"" *.jpg | *.jpeg | *.png | *.gif | *.bmp";
      This should add a header saying "Visual Filter: Test"
      and the list of files should be the same (they’re already only images)

 ⮚ 2. With Quick search
   – In a new tab in XYplorer, open a folder with only jpg images
   – In the address bar, paste this line and press Enter

Code: Select all

?*.jpg
      This should add a header saying "Quick Search: *.jpg"
   – Then in the address bar, paste this line and press Enter

Code: Select all

filter """Test"" *.jpg | *.jpeg | *.png | *.gif | *.bmp";
      Now the header should read "Quick Search: *.jpg | Visual Filter: Test"
      and the list of files should still be the same (they’re already only images/jpg)

 ⮚ Do you get the same results as described, or is your list empty in this case #2?

taufan
Posts: 48
Joined: 22 Mar 2020 02:33

Re: SlideShow [v2.0]

Post by taufan »

Hi,
1 and 2 have the results as you ordered.

Maybe my problems is because of my xyplorer settings, but I haven't been able to find what settings are causing this.
:(

FluxTorpedoe
Posts: 900
Joined: 05 Oct 2011 13:15

Re: SlideShow [v2.0]

Post by FluxTorpedoe »

Oh, trickier than I thought…

Can you describe a step-by-step on what you do, so that I can try to reproduce the issue?
And/or a screenshot of when it works with regular folders, and one when it doesn’t with the quick search (where I can see the tab header and content).

taufan
Posts: 48
Joined: 22 Mar 2020 02:33

Re: SlideShow [v2.0]

Post by taufan »

Hi,
This is video a step-by-step on what i do:

1. QuickSearch outside the folder (Fail)
2. QuickSearch inside the folder (It's work)

https://imagekit.io/tools/asset-public- ... fg__%22%7D

Thanks.

FluxTorpedoe
Posts: 900
Joined: 05 Oct 2011 13:15

Re: SlideShow [v2.0]

Post by FluxTorpedoe »

Well, this is weird…
But great idea to make a video, I could catch what happened in a glimpse:
When running the slideshow in a QuickSearch, a new tab opens, is renamed Slideshow (as expected), then as soon as it starts filtering images, the new tab has its QuickSearch relocated/transformed (?!) into a "Single File Search" pointing to "[…]\Data\apps\icon_for_explorer\#PNG"

Why and how this can happen, I have no clue…
Do you know how this path is related to XYplorer?

———————————————————————————

Let’s try a few things, based on the exact same setup
Start each test in your INDONESIA base folder (after closing existing quicksearches and slideshow tabs if any).

1. Test the filter on your setup
   - Run your quicksearch for 2022 exactly as in your video
   - In the address bar, type the following and press Enter:

Code: Select all

::filter 2022
      The header should display "QuickSearch: 2022 | Visual Filter: 2022"
      But the content shouldn’t change.

2. Run the script manually in the base folder
   – In the address bar, type the following and press Enter, then Enter again (to validate the settings 2SLR):

Code: Select all

::load "Slideshow.xys", "CustomSlideshow";
      It should run the slideshow on the content of the two subfolders.

3. Run the script manually after a manual quicksearch
   - In the address bar, type "?2022" and press Enter
      It should display a header with "QuickSearch: 2022" and the images as in your video.
   – In the address bar, type the following and press Enter, then Enter again (to validate the settings 2SLR):

Code: Select all

::load "Slideshow.xys", "CustomSlideshow";
Hopefully we’ll find the culprit!

Post Reply