|
1 | | -BrowserImageSlideshow v1.1 |
| 1 | +BrowserImageSlideshow v1.2 |
2 | 2 | https://github.com/dustymethod/BrowserImageSlideshow |
| 3 | +Discussion & support: https://obsproject.com/forum/threads/random-image-slideshow.110157/ |
3 | 4 |
|
4 | | -A local browser source for OBS that plays images in random or alphabetical order. Has no image count limit. |
| 5 | +A local browser source for OBS that plays images in random or alphabetical order. |
| 6 | +Displays each image exactly one per loop. |
5 | 7 |
|
6 | 8 | Modes (settings.js) |
7 | | - 0: Random order (default). Displays each image exactly once per loop. |
| 9 | + 0: Random order |
8 | 10 | 1: Alphabetical order |
9 | | - 2: Alphabetical order (start at random image) |
| 11 | + 2: Alphabetical order (start at random image when source becomes visible) |
10 | 12 |
|
11 | 13 | Setup |
12 | 14 | 0. Download: click "Clone or download" from the github page, choose "Download ZIP", and unzip the files. |
13 | | -1. In OBS Studio or Streamlabs OBS: |
| 15 | + - save the zip somewhere in your Documents folder, and not in the default obs-plugins folder. |
| 16 | +1. Add the browser source in OBS: |
14 | 17 | - Add Source > Browser |
15 | | - - Add local file "BrowserImageSlideshow.html" |
| 18 | + - Choose local file "BrowserImageSlideshow.html" |
16 | 19 | - Remove Custom CSS |
17 | | - - Check "Shutdown source when not visible" and "Refresh browser when scene becomes active" |
18 | | -2. Place your images in the "images" folder. jpg, png, gifs all work. |
19 | | -3. Refresh images - This must be done whenever images are added or renamed! |
20 | | - - Run RefreshImagesW.cmd (for windows) or RefreshImages.sh (for linux) |
| 20 | + - Enable "Shutdown source when not visible" and "Refresh browser when scene becomes active" options. |
| 21 | +2: Add the lua script: |
| 22 | + - Tools > Scripts |
| 23 | + - Add RefreshImagesLua.lua. Select the script to view settings. |
| 24 | +3. Place slideshow images in the "images" folder. jpg, png, gifs all work. |
| 25 | +4. Refresh images/settings |
| 26 | + - This must be done whenever images are added/removed/renamed, or when settings are updated. |
| 27 | + - OBS > Tools > Scripts: select script & press Reload scripts button |
21 | 28 | - Refresh the source in OBS by toggling its visibility |
22 | | -4. *** Repeat step 3 whenever you add or rename images, or they won't appear! *** |
| 29 | +5. *** Repeat step 4 whenever you add/remove/rename images or update the settings. *** |
| 30 | + |
23 | 31 |
|
24 | 32 | Notes |
25 | | - - settings.js can be opened & edited in notepad. (includes slide duration & mode settings) |
26 | | - - To use updated settings, refresh source by toggling visibility |
27 | | - - The RefreshImages script saves a list of all images in the images folder in "images.js" |
| 33 | + - Adding RefreshImageLua.lua to OBS is optional. if not used, the list of images needs to be updated |
| 34 | + manually by running RefreshImagesW.cmd (windows) or RefreshImages.sh (linux) |
| 35 | + - settings.js can be opened & edited manually in any text editor. (includes slide duration & mode settings) |
| 36 | + - updating settings thru RefreshImagesLua.lua will overwrite settings.js |
28 | 37 | - Filenames with uncommon characters may not display |
| 38 | + - OBS's slideshow currently preloads all slideshow images, and has a 250MB limit. |
| 39 | + This browser source doesn't preload images, and has no 250MB limit. |
29 | 40 |
|
30 | | -Discussion & support: https://obsproject.com/forum/threads/random-image-slideshow.110157/ |
| 41 | +Issues |
| 42 | + - because of the way script(s) write to a file, a harmless command window will pop up briefly when the script is run. |
| 43 | + Haven't found a way to suppress this yet. |
0 commit comments