Skip to content

Commit

Permalink
Merge branch 'develop' v0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rstrahan committed Jul 6, 2023
2 parents 62ba8b0 + c79338e commit 46dfdcb
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 8 deletions.
15 changes: 10 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.3.0] - 2021-12-16
## [0.3.1] - 2023-07-06
### Added
- Temporary fix to resolve YouTube playlist download failures by patching cipher.py for pytube version 15.0.0

## [0.3.0] - 2023-05-16
### Added
- YouTube support for MediaSearch solution

Expand All @@ -19,7 +23,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Initial release

[Unreleased]: https://github.com/aws-samples/aws-kendra-transcribe-media-search/compare/v0.3.0...develop
[0.3.0]: https://github.com/aws-samples/aws-kendra-transcribe-media-search/compare/0.2.0...v0.3.0
[0.2.0]: https://github.com/aws-samples/aws-kendra-transcribe-media-search/compare/0.1.0...0.2.0
[0.1.0]: https://github.com/aws-samples/aws-kendra-transcribe-media-search/releases/tag/0.1.0
[Unreleased]: https://github.com/aws-samples/aws-kendra-transcribe-media-search/compare/v0.3.1...develop
[0.3.1]: https://github.com/aws-samples/aws-kendra-transcribe-media-search/compare/v0.3.0...v0.3.1
[0.3.0]: https://github.com/aws-samples/aws-kendra-transcribe-media-search/compare/v0.2.0...v0.3.0
[0.2.0]: https://github.com/aws-samples/aws-kendra-transcribe-media-search/compare/v0.1.0...v0.2.0
[0.1.0]: https://github.com/aws-samples/aws-kendra-transcribe-media-search/releases/tag/v0.1.0
2 changes: 1 addition & 1 deletion cfn-templates/msfinder.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Description: >
MediaSearch Solution - Finder stack (v0.3.0)
MediaSearch Solution - Finder stack (v0.3.1)
Resources:
##Create Cognito Userpool for Authentication
Expand Down
2 changes: 1 addition & 1 deletion cfn-templates/msindexer.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Description: >
MediaSearch Solution - Indexer stack (v0.3.0)
MediaSearch Solution - Indexer stack (v0.3.1)
Resources:
# This MediaBucket only holds the downloaded YouTube videos
Expand Down
8 changes: 7 additions & 1 deletion publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,13 @@ pwd
[ -d lambdalayer ] && rm -fr lambdalayer
mkdir -p lambdalayer/pytube/python
pip3 install pytube -t lambdalayer/pytube/python

if [[ `pip3 list --path lambdalayer/pytube/python | grep pytube | awk '{print $2}'` = '15.0.0' ]]; then
echo "Temp fix specific to pytube 15.0.0 cipher.py"
replacewith=`head -287 lambdalayer/pytube/python/pytube/cipher.py| tail -1 | sed 's/;//g'`
lines=`wc -l lambdalayer/pytube/python/pytube/cipher.py | awk '{print $1}'`
head -286 lambdalayer/pytube/python/pytube/cipher.py > cipher.py && echo $replacewith >> cipher.py && tail -`expr $lines - 287` lambdalayer/pytube/python/pytube/cipher.py >> cipher.py
mv cipher.py lambdalayer/pytube/python/pytube/cipher.py
fi
echo "Create timestamped zipfile for lambdas and layers"
# pytube-llayer
pytubellayerzip=pytubellayer_$timestamp.zip
Expand Down

0 comments on commit 46dfdcb

Please sign in to comment.