Skip to content

Commit

Permalink
Merge pull request #24 from Kyrch/main
Browse files Browse the repository at this point in the history
fix: empty ffmpeg argument and update documentation
  • Loading branch information
Kyrch committed Jun 16, 2023
2 parents dc597bd + 56dacbf commit 35792f8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020 paranarimasu
Copyright (c) AnimeThemes

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ The configuration file in which our encoding properties are defined.

By default, the program will write to or read from `batch_encoder.ini` in the user config directory of appname `batch_encoder` and author `AnimeThemes`.

Example: `C:\Users\paranarimasu\AppData\Local\AnimeThemes\batch_encoder\batch_encoder.ini`
Example: `C:\Users\Kyrch\AppData\Local\AnimeThemes\batch_encoder\batch_encoder.ini`

**Encoding Properties**

Expand Down
2 changes: 1 addition & 1 deletion batch_encoder/_encode_webm.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def get_video_filters(config_filter=None):
if config_filter is not None:
video_filters.append(config_filter)

if not video_filters:
if not video_filters or len(video_filters[0].strip()) == 0:
return ''

return ' -vf ' + ','.join(video_filters)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setup(
name='animethemes-batch-encoder',
version='1.3',
version='1.3.1',
author='AnimeThemes',
author_email='admin@animethemes.moe',
url='https://github.com/AnimeThemes/animethemes-batch-encoder',
Expand Down

0 comments on commit 35792f8

Please sign in to comment.