obsproject / obs-studio

OBS Studio - Free and open source software for live streaming and screen recording
https://obsproject.com
GNU General Public License v2.0
59.14k stars 7.86k forks source link

Reworked Image Slideshow Asynchronus feature does not work #10599

Open lfrisk opened 5 months ago

lfrisk commented 5 months ago

Operating System Info

macOS 12

Other OS

No response

OBS Studio Version

30.1.2

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/7phqW8Znzvt2TYHW

OBS Studio Crash Log URL

No response

Expected Behavior

I expected that any new Image Slideshow sources that I created after upgrading to 30.1.2 would automatically scan the folder and adjust the playlist according to the images in the folder.

Current Behavior

The new Image Slideshow source which is supposed to be asynchronus in 30.1.2 kept the same number of images as originally loaded in the folder, but replaced the output of images I removed from the folder with black placeholders. After quitting the software and re-launching the source, the slideshow re-populated the playlist with the current number of images in the folder.

Steps to Reproduce

  1. Create new Image Slideshow after updating to 30.1.2
  2. While slideshow is active, remove files from the folder where the Image Slideshow is sourcing the media content
  3. Instead of reducing the number of images in the slideshow, the missing files are displayed as black placeholders. ...

Anything else we should know?

No response

derrod commented 5 months ago

The asynchronous part is working as intended, it's just there to load image files on demand rather than all upfront. It does not rescan the folder, and that's not what it's meant for. But it should probably remove files that fail loading, e.g. because have been removed, from the list.

lfrisk commented 5 months ago

Is there a way other than using Lua Script to have the Image Slideshow adapt to the current contents of the folder? Or to force a refresh of the internal image playlist that the app creates?

From: Rodney @.> Date: Thursday, April 25, 2024 at 12:43 PM To: obsproject/obs-studio @.> Cc: Larry Frisk @.>, Author @.> Subject: Re: [obsproject/obs-studio] Reworked Image Slideshow Asynchronus feature does not work (Issue #10599)

The asynchronous part is working as intended, it's just there to load image files on demand rather than all upfront. It does not rescan the folder, and that's not what it's meant for. But it should probably remove files that fail loading, e.g. because have been removed, from the list.

— Reply to this email directly, view it on GitHubhttps://github.com/obsproject/obs-studio/issues/10599#issuecomment-2077822630, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARUWKMU7LJ3J3DLRL2E6H7DY7E6CNAVCNFSM6AAAAABGZJ4Q2KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZXHAZDENRTGA. You are receiving this because you authored the thread.Message ID: @.***>