Compare commits
2 commits
820032240a
...
989acd1501
Author | SHA1 | Date | |
---|---|---|---|
989acd1501 | |||
6af04649cc |
2 changed files with 12 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
# Jellyfin SmartPlaylist Plugin
|
||||
|
||||
Smart playlists with lisp filter engine.
|
||||
Smart playlists with Lisp filter engine.
|
||||
|
||||
## How to use
|
||||
|
||||
|
|
|
@ -7,10 +7,17 @@ VERSION=$(sed -n '/^version:/ s/^version: *//p' "${PLUGIN}/build.yaml")
|
|||
ARTIFACT_DIR=artifacts
|
||||
REPO_URL="https://gitea.redxef.at/redxef/jellyfin-smart-playlist/releases/download/v${VERSION}/jellyfin-smart-playlist_${VERSION}.dll"
|
||||
|
||||
build() {
|
||||
mkdir -p "${ARTIFACT_DIR}"
|
||||
find "${PLUGIN}" -name project.assets.json -exec rm -v '{}' ';'
|
||||
|
||||
zipfile=$($JPRM --verbosity=debug plugin build "${PLUGIN}" --output="${ARTIFACT_DIR}" --version="${VERSION}") && {
|
||||
$JPRM --verbosity=debug repo add --plugin-url="${REPO_URL}" . "${zipfile}"
|
||||
}
|
||||
}
|
||||
version() {
|
||||
echo "$VERSION"
|
||||
}
|
||||
"$@"
|
||||
exit $?
|
||||
|
||||
|
|
Loading…
Reference in a new issue