Update external API
This commit is contained in:
parent
723f43ad48
commit
3a709aa4d6
|
@ -55,6 +55,15 @@ python -m unittest tests.unit
|
||||||
python -m unittest tests.integration
|
python -m unittest tests.integration
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# Scripted API
|
||||||
|
An example of calling the program from Python:
|
||||||
|
```
|
||||||
|
import fsub
|
||||||
|
|
||||||
|
# Pass the arguments here
|
||||||
|
fsub.run(['-c', 'test.srt'])
|
||||||
|
```
|
||||||
|
|
||||||
# Features
|
# Features
|
||||||
- Fixes subtitle numbering
|
- Fixes subtitle numbering
|
||||||
- Converts files to UTF-8 encoding
|
- Converts files to UTF-8 encoding
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import fsub
|
import fsub.fsub as fsub
|
||||||
|
|
||||||
|
|
||||||
# External interface
|
# External interface
|
||||||
|
|
Loading…
Reference in New Issue