Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
LemurPwned committed Oct 12, 2024
1 parent d023d89 commit d7b6d25
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@

Changelog for the `video-sampler`.

### 0.11.1 - 0.11.2

- added `start-time` and `end-time` options to the `video-sampler` command which allows to specify the start and end time of the video segment to be processed.
- fixed optional imports
- minimal docker builds added

### 0.11.0

- added multiprocessing over multiple videos in the folder
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "video_sampler"
description = "Video Sampler -- sample frames from a video file"
url = "https://github.com/LemurPwned/video-sampler"
version = "0.11.1"
version = "0.11.2"
authors = [
{ name = "LemurPwned", email = "lemurpwned@gmail.com" }
]
Expand Down
3 changes: 3 additions & 0 deletions tests/test_ytplugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def test_keyword_extractor(subtitles):
assert c == 4


@pytest.mark.skip(reason="This test requires log-in ")
def test_segment_sampler(random_video):
ytdlp = YTDLPPlugin()
title, url, subs = next(ytdlp.generate_urls(random_video, get_subs=True))
Expand All @@ -41,6 +42,7 @@ def test_segment_sampler(random_video):
assert len(os.listdir(tempdir)) > 0


@pytest.mark.skip(reason="This test requires log-in ")
def test_single_url_gen(random_video):
ytdlp = YTDLPPlugin()
title, url, subs = next(ytdlp.generate_urls(random_video, get_subs=True))
Expand All @@ -49,6 +51,7 @@ def test_single_url_gen(random_video):
assert subs and len(subs) > 0, f"Expected subtitles, got {subs}"


@pytest.mark.skip(reason="This test requires log-in ")
def test_search_url_gen():
ytdlp = YTDLPPlugin()
expected_results, results = 5, 0
Expand Down

0 comments on commit d7b6d25

Please sign in to comment.