This commit is contained in:
maximstewart 2021-02-07 18:49:29 -06:00
parent e6531f2ce1
commit fb429cd1b6
3 changed files with 13 additions and 15 deletions

View File

@ -8,7 +8,7 @@ WebFM is a media and file viewer aspiring to become a full fledged file manager
5. Update client_secrets.json > 'client_secret' field with your Keycloak key. (Current one is local to me and not public) 5. Update client_secrets.json > 'client_secret' field with your Keycloak key. (Current one is local to me and not public)
6. Place files or start uploading some to the folders. 6. Place files or start uploading some to the folders.
7. Place an image such as a jpg, png, or gif labeled "000.itsExtension" in a directory and the viewer will use it as the background image for that folder/directory. 7. Place an image such as a jpg, png, or gif labeled "000.itsExtension" in a directory and the viewer will use it as the background image for that folder/directory.
7. Password protect folder based on core/utils/shellfm/windows/webfm_config.json file settings. 7. Password protect folder based on core/utils/shellfm/windows/Settings.py file settings.
8. Save paths to favorites list for quick access. 8. Save paths to favorites list for quick access.
Notes: Notes:

View File

@ -23,7 +23,7 @@ class Launcher:
elif lowerName.endswith(self.fimages): elif lowerName.endswith(self.fimages):
command = [self.image_app, file] command = [self.image_app, file]
elif lowerName.endswith(self.fmusic): elif lowerName.endswith(self.fmusic):
command = [self.music_app], file] command = [self.music_app, file]
elif lowerName.endswith(self.foffice): elif lowerName.endswith(self.foffice):
command = [self.office_app, file] command = [self.office_app, file]
elif lowerName.endswith(self.ftext): elif lowerName.endswith(self.ftext):

View File

@ -14,21 +14,19 @@ class Settings:
REMUX_FOLDER = None # Used for Remuxed files and is set by passing in REMUX_FOLDER = None # Used for Remuxed files and is set by passing in
FFMPG_THUMBNLR = None # Used for thumbnail generator binary and is set by passing in FFMPG_THUMBNLR = None # Used for thumbnail generator binary and is set by passing in
HIDE_HIDDEN_FILES = True HIDE_HIDDEN_FILES = True
lock_folder = True
go_past_home = False
CONFIG_FILE = path.dirname(__file__) + '/webfm_config.json'
subpath = "/LazyShare" # modify 'home' folder path subpath = "/LazyShare" # modify 'home' folder path
locked_folders = "Synced Backup::::venv::::flasks".split("::::")
locked_folders = "Synced Backup::::venv::::flasks".split("::::") mplayer_options = "-quiet -really-quiet -xy 1600 -geometry 50%:50%".split()
mplayer_options = "-quiet -really-quiet -xy 1600 -geometry 50%:50%".split() music_app = "/opt/deadbeef/bin/deadbeef"
music_app = "/opt/deadbeef/bin/deadbeef" media_app = "mpv"
media_app = "mpv" image_app = "mirage"
image_app = "mirage" office_app = "libreoffice"
office_app = "libreoffice" pdf_app = "evince"
pdf_app = "evince" text_app = "leafpad"
text_app = "leafpad" file_manager_app = "spacefm"
file_manager_app = "spacefm"
lock_folder = True
go_past_home = False
remux_folder_max_disk_usage = "8589934592" remux_folder_max_disk_usage = "8589934592"