Skip to content

Commit 1322b1c

Browse files
author
arch
committed
improve empty video message
1 parent 98f9f81 commit 1322b1c

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The application has an build in UI. Due to the limitations (mainly on Windows) i
88

99
## Documentation
1010

11-
The application documentation is located in [`./docs/app/docs`](https://github.com/michael-mueller-git/Python-Funscript-Editor/blob/main/docs/app/docs)
11+
The full application documentation is located in [`./docs/app/docs`](https://github.com/michael-mueller-git/Python-Funscript-Editor/blob/main/docs/app/docs)
1212

1313
## Contribute
1414

contrib/OpenFunscripter/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Open Funscripter Integration
22

3-
A hacky lua script to use the python funscript generator script in Open Funscripter.
3+
A lua script to use the python funscript generator script in Open Funscripter.
44

55
The [installation instructions](https://github.com/michael-mueller-git/Python-Funscript-Editor/tree/main/docs/app/docs/user-guide/ofs-integration.md) are now included in the documentation.

docs/app/docs/user-guide/ofs-integration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ If you are using an older version of the `funscript_generator.lua` you should do
4747

4848
### When calling the generator, only a message box is displayed with the message: "Video file was not specified!"
4949

50-
In some cases OFS does not set the path to the video file within the lua script correctly (the variable `VideoFilePath` is empty). Mostly it helps to save the current project and/or create a new project. Then the variable should be set by OFS and the generator should work.
50+
In some cases OFS does not set the path to the video file within the lua script correctly (the variable `VideoFilePath` is empty). This happen when the video path contains some special character like square braked `[` and `]`. Rename your video files and store them in a path without special character. Then the variable should be set by OFS and the motion tracking funscript generator should work.
5151

5252
### When press shortcut the message "C:\Users\\...” is not recognized as an internal or external command, operable program or batch file appears in the terminal output.
5353

funscript_editor/ui/minimal.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ def __init__(self,
3939
os.remove(output_file)
4040

4141
if video_file is None or video_file == "":
42-
self.__show_message("Video file was not specified!", error=True)
42+
self.__show_message("Video file was not specified! " \
43+
+ "(Make sure there are no special symbols like squared brackets in the video file path)",
44+
error=True)
4345
sys.exit()
4446

4547
if not os.path.exists(video_file):

0 commit comments

Comments
 (0)