Skip to content

Commit

Permalink
incorrect variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
yajrendrag committed Dec 4, 2024
1 parent 90e9e62 commit 141e87b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions source/split_mkv/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@

**<span style="color:#56adda">0.0.2</span>**
- fixed incorrect variable in file test section

**<span style="color:#56adda">0.0.1</span>**
- initial release
2 changes: 1 addition & 1 deletion source/split_mkv/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
"on_worker_process": 0
},
"tags": "MKV,ffmpeg,library file test",
"version": "0.0.4"
"version": "0.0.2"
}
2 changes: 1 addition & 1 deletion source/split_mkv/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def on_library_management_file_test(data):
chapter_time = settings.get_setting('chapter_time')

if split_method == 'chapters' or split_method == 'combo':
chapters = ffmpeg.probe(f, show_chapters=None)['chapters']
chapters = ffmpeg.probe(abspath, show_chapters=None)['chapters']
if chapters:
logger.info("Splitting file '{}' based on presence of '{}' chapters".format(abspath, len(chapters)))
data['add_file_to_pending_tasks'] = True
Expand Down

0 comments on commit 141e87b

Please sign in to comment.