Skip to content

Commit

Permalink
v5.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Inrixia committed Apr 7, 2024
2 parents 585ec8e + a1bd59e commit 4f048ed
Show file tree
Hide file tree
Showing 36 changed files with 3,219 additions and 2,260 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/autoBuildDev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: "ubuntu-latest"

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: "Install dependencies"
run: |
npm install
Expand All @@ -27,7 +27,7 @@ jobs:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "dev"
prerelease: true
title: "Latest dev build"
title: "Latest"
files: |
build/*
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/autoRelease.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
---
name: 'Release'
name: "Release"

on:
push:
branches:
- 'master'
- "master"

jobs:
GitHub:
name: 'Release - GitHub'
runs-on: 'ubuntu-latest'
name: "Release - GitHub"
runs-on: "ubuntu-latest"

steps:
- uses: actions/checkout@v2
- name: 'Install dependencies'
- uses: actions/checkout@v4
- name: "Install dependencies"
run: |
npm install
- name: 'Build'
- name: "Build"
run: |
npm run build
- name: Draft release on GitHub
uses: 'marvinpinto/action-automatic-releases@latest'
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: '${{ secrets.GITHUB_TOKEN }}'
automatic_release_tag: 'latest'
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
draft: true
title: 'Latest Release'
title: "Latest Release"
files: |
build/*
DockerHub:
name: 'Release - DockerHub'
runs-on: 'ubuntu-latest'
name: "Release - DockerHub"
runs-on: "ubuntu-latest"

steps:
- name: Set up QEMU
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/autoTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: "ubuntu-latest"

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: "Install dependencies"
run: |
npm install
Expand All @@ -41,7 +41,7 @@ jobs:
name: eslint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: reviewdog/action-eslint@v1
with:
reporter: github-check
Expand Down
43 changes: 26 additions & 17 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,29 +1,38 @@
FROM node:latest
FROM node:current-alpine AS build

LABEL Description="Project for automatically organizing and downloading Floatplane videos for plex."

# Environment variables
ENV headless=true
ENV runQuickstartPrompts=false

# Create Directory for the Container
WORKDIR /fp

# Define volumes to be mountable
VOLUME /fp/db
VOLUME /fp/videos
# working directory for the build
WORKDIR ${HOME}

# Copy package configs into working Directory
COPY ./package.json ./package-lock.json ./tsconfig.json /fp/
COPY ./package.json ./package-lock.json ./tsconfig.json ${HOME}/

# Install required packages
RUN npm install
RUN npm ci --omit-dev

# Copy src files into Working Directory
COPY ./src /fp/src
COPY ./src ${HOME}/src

# Compile the project
RUN npx tsc

# Copy built artifacts and dependencies into a minimal release image
FROM node:current-alpine AS release

LABEL Description="Project for automatically organizing and downloading Floatplane videos for plex."

# Create Directory for the Container
WORKDIR /fp

COPY --from=build ${HOME}/node_modules node_modules
COPY --from=build ${HOME}/dist dist
COPY --from=build ${HOME}/package.json package.json

# Environment variables
ENV headless=true

# Define volumes to be mountable
VOLUME /fp/db
VOLUME /fp/videos

# Runs on container start
CMD node ./dist/float.js
CMD node ./dist/float.js
18 changes: 12 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
[![dev Build](https://github.com/Inrixia/Floatplane-Downloader/actions/workflows/autoBuildDev.yml/badge.svg?branch=dev)](https://github.com/Inrixia/Floatplane-Downloader/actions/workflows/autoBuildDev.yml)
[![dev Build](https://github.com/Inrixia/Floatplane-Downloader/actions/workflows/autoBuildDev.yml/badge.svg?branch=dev)](https://github.com/Inrixia/Floatplane-Downloader/actions/workflows/autoBuildDev.yml)<br>

### **[Live Downloader Metrics Dashboard](https://monitor.spookelton.net/public-dashboards/db0aec66747b4950b01b128916eb737e)**

![Active Downloaders](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fprometheus.spookelton.net%2Fapi%2Fv1%2Fquery%3Fquery%3Dcount(instance)&query=data.result%5B0%5D.value%5B1%5D&label=Active%20Downloaders&color=rgb(115%2C%20191%2C%20105)) ![Queued](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fprometheus.spookelton.net%2Fapi%2Fv1%2Fquery%3Fquery%3Dsum(queued)&query=data.result%5B0%5D.value%5B1%5D&label=Queued&color=rgb(255%2C%20152%2C%2048)) ![Speed](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftinyurl.com%2Fy2xksyyu&query=data.result%5B0%5D.value%5B1%5D&suffix=%20mb%2Fs&label=Current%20Speed&color=rgb(242%2C%2073%2C%2092)) ![Bytes](https://img.shields.io/badge/dynamic/json?url=https%3A//tinyurl.com/bddawdt9&query=data.result%5B0%5D.value%5B1%5D&suffix=%20TB&label=Bytes&color=rgb(184%2C%20119%2C%20217)) ![Videos](https://img.shields.io/badge/dynamic/json?url=https%3A//tinyurl.com/bdfmxjnw&query=data.result%5B0%5D.value%5B1%5D&label=Videos)

![image](https://user-images.githubusercontent.com/6373693/115112327-2b69b680-9fd9-11eb-8239-45b30219f705.png)<br>
**This project is unofficial and not in any way affiliated with LMG**<br>
Expand All @@ -9,6 +13,7 @@

Both downloading videos as they release and archiving the entire backlog is supported!<br>
This requires a **[Floatplane](http://floatplane.com)** subscription.<br>

<br><br>
Thank you to everyone who has contributed to the project, you can see these amazing people on the right **>>**<br>
If you like the project, and want to support me can to throw some bits at my [Sponsor Page](https://github.com/sponsors/Inrixia) ❤️
Expand All @@ -27,7 +32,7 @@ Get the image on: **[hub.docker.com/r/inrix/floatplane-downloader](https://hub.d
Looking for **Unraid**?<br>
Go install it using the unraid template! [**unraid template**](https://unraid.net/community/apps?q=floatplane#r)!

1. Download the latest stable binary for your OS from **[Releases](https://github.com/Inrixia/Floatplane-PlexDownloader/releases)**<br>
1. Download the latest binary for your OS from **[Releases](https://github.com/Inrixia/Floatplane-PlexDownloader/releases)**<br>

2. Run the binary and follow the setup prompts.<br>

Expand All @@ -44,15 +49,16 @@ For more info on setting up plex & available settings check out the Wikis:
- [Settings Info](https://github.com/Inrixia/Floatplane-Downloader/blob/master/wiki/settings.md)
- [Docker Info](https://github.com/Inrixia/Floatplane-Downloader/blob/master/wiki/docker.md)
- [Advanced Env Info](https://github.com/Inrixia/Floatplane-Downloader/blob/master/wiki/advenv.md)

<br>

**Note**: This is licenced under the GNU Affero General Public License v3.0. I am happy for you to use/modify/contribute to the source code as long as you provide a link back to here.

<br>

### Images:

## Images:
### **[Grafana Dashboard](https://monitor.spookelton.net/public-dashboards/db0aec66747b4950b01b128916eb737e) ([Template](https://github.com/Inrixia/Floatplane-Downloader/blob/dev/wiki/grafana.json))**
[![image](https://github.com/Inrixia/Floatplane-Downloader/assets/6373693/39e5ffcc-f0ae-46a9-af02-850f671eb845)](https://monitor.spookelton.net/public-dashboards/db0aec66747b4950b01b128916eb737e)
## Downloader
![image](https://user-images.githubusercontent.com/6373693/115110440-8d252300-9fcf-11eb-92a0-a813fcfcc632.png)
## Plex
![image](https://user-images.githubusercontent.com/6373693/115112389-69ff7100-9fd9-11eb-92e2-b83c3241627b.png)
![image](https://user-images.githubusercontent.com/6373693/115112394-6e2b8e80-9fd9-11eb-9c3d-ecaa3f87eb16.png)
Binary file added artwork/floatplane_new_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added artwork/ltx2023.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 4f048ed

Please sign in to comment.