diff --git a/README.md b/README.md index 632d056..e586651 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ The latest version of the TinyTune can be found on the GitHub [releases page](ht # check that you have ffmpeg installed ffmpeg -v -wget https://github.com/alxarno/tinytune/releases/download/v1.2.1/tinytune_linux_amd64 +wget https://github.com/alxarno/tinytune/releases/download/v1.2.2/tinytune_linux_amd64 mv tinytune_linux_amd64 /usr/local/bin/tinytune diff --git a/pkg/preview/image_test.go b/pkg/preview/image_test.go index 509d829..b6bfd37 100644 --- a/pkg/preview/image_test.go +++ b/pkg/preview/image_test.go @@ -22,11 +22,11 @@ func TestPreviewImage(t *testing.T) { }{ { Name: ".jpg", - SourcePath: "../../test/image.jpg", - DataLength: 3446, - Width: 1527, - Height: 898, - Hash: "b9237e340eb886b5e437e4bc6fd19be612ff6653f3f733c3998ef20f320e6c20", + SourcePath: "../../test/img/image.jpg", + DataLength: 9946, + Width: 750, + Height: 1000, + Hash: "08b43a0683e84c4b26f61c2e143f813e11f08808a792ab86d819c69434db715a", }, { Name: ".gif", diff --git a/pkg/preview/preview_test.go b/pkg/preview/preview_test.go index 1d24321..795bebc 100644 --- a/pkg/preview/preview_test.go +++ b/pkg/preview/preview_test.go @@ -50,8 +50,8 @@ func TestPreview(t *testing.T) { dataHash string }{ { - source: mockSource{image: true, path: "../../test/image.jpg"}, - dataHash: "b9237e340eb886b5e437e4bc6fd19be612ff6653f3f733c3998ef20f320e6c20", + source: mockSource{image: true, path: "../../test/img/image.jpg"}, + dataHash: "08b43a0683e84c4b26f61c2e143f813e11f08808a792ab86d819c69434db715a", }, { source: mockSource{video: true, path: "../../test/sample.mp4"},