Skip to content

Commit

Permalink
fix errorneous reference to force_encoder
Browse files Browse the repository at this point in the history
  • Loading branch information
yajrendrag committed Apr 21, 2024
1 parent 7094ad0 commit 694cd2e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions source/asad_audio_encoder/changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

**<span style="color:#56adda">0.0.4</span>**
- fix erroneous reference to force_encoder

**<span style="color:#56adda">0.0.3</span>**
- added force encoding option
- added check so file not reprocessed if stream encoder equals configured encoder
Expand Down
2 changes: 1 addition & 1 deletion source/asad_audio_encoder/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
"on_worker_process": 0
},
"tags": "audio,encoder,ffmpeg,library file test",
"version": "0.0.3"
"version": "0.0.4"
}
2 changes: 1 addition & 1 deletion source/asad_audio_encoder/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def on_library_management_file_test(data):
channel_rate = settings.get_setting('channel_rate')
force_encoding = settings.get_setting('force_encoding')

if s2_encode(probe_streams, probe_format, encoder, force_encoder, channel_rate, abspath) != [0,0,0]:
if s2_encode(probe_streams, probe_format, encoder, force_encoding, channel_rate, abspath) != [0,0,0]:
# Mark this file to be added to the pending tasks
data['add_file_to_pending_tasks'] = True
logger.debug("File '{}' should be added to task list. Probe found streams require processing.".format(abspath))
Expand Down

0 comments on commit 694cd2e

Please sign in to comment.