diff --git a/CHANGELOG.md b/CHANGELOG.md index e5437e9..8b265c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 548affc..a81825b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" } ] diff --git a/tests/test_ytplugin.py b/tests/test_ytplugin.py index c963f5d..b4d33da 100644 --- a/tests/test_ytplugin.py +++ b/tests/test_ytplugin.py @@ -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)) @@ -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)) @@ -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