-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Folder Selector as a customization option #2555
Comments
Is the folder selection required? One way is to create a control similar to FolderDropDown that lets user select a file but also returns the all the files. {
"Selection" : "file1.png",
"Files" : ["file1.png", "file2.png"],
"Folder" : "...wallpaper/folder"
} For slide the selection is not useful here but the list should be enough? There is going to be a built in way to change wallpaper (slideshow) in the next feature update. |
How exactly do I add it as a customization option, because all I need is the names of the files in the selected folder? |
This does not exist, I am just discussing how it should be implemented. Modifying the current controls will break compatibility, maybe I can add a new property
|
Is your feature request related to a problem? Please describe.
I am trying to make a wallpaper slideshow, and because JS doesn't allow you to get all files in a folder you can't randomly pick a wallpaper every X amount of minutes. I have tried to do it through batch scripting but it clutters up the wallpaper space.
Describe the solution you'd like
The way I see it there are two options (add both possibly?):
Option 1:
Add a customization option that allows an user to select a folder, that on the coding side the api provides the file path and the paths to all the files inside of it (Maybe as an array, I'm quite new to JS)
Option 2:
Add a built in function to create "playlists" of wallpapers
Describe alternatives you've considered
I have tried to make a good batch script that handles the entire process of selecting the files and displaying them with a config file, but not only is it buggy (sometimes) but it is also bad because it clutters up the wallpapers in the actual app.
I have also tried to make a wallpaper (web based) that attempts to display a given media file on the web page (works) and also will select a random file from a folder (doesn't work, as I can't seem to find a way to get all files in a folder) at a configurable interval
The text was updated successfully, but these errors were encountered: