Have you ever, while watching something on your plex server, wanted to easily extract a clip out of a good movie or tv show you're watching to share it with your friend, family or the world? While this was always possible, the process can be complex for something "so simple".
An in-depth paragraph about your project and overview of use.
Variables | Value | Notes |
---|---|---|
PUID | 1000 | Optional |
GUID | 1000 | Optional |
TZ | America/New_York | Optional |
SERVER_PLATFORM | plex /jellyfin |
Mandatory |
SERVER_URL | link to server | Mandatory |
PLEX_TOKEN | token for server | Mandatory |
STREAMABLE_LOGIN | ... | Optional |
STREAMABLE_PASSWORD | ... | Optional |
Finding Plex token: Link
Volumes: You will need to mount two locations:
- one that point to your media, in the exact same fashion your plex access these media (as the path are absolutes)
- one where the new clips will be created.
media need to be mounted into the container path: /media
clips need to be mounted into the container path: /app/app/static/media (yes, I'll get that better eventually).
Port: Port 5000 is used to serve the frontend. (yes I will serve flask with gunicorn at some point)
Network: Need to be on the same network as your plex instance.
docker run -d --name clipplex -p 9945:5000 -v /media:/media -v /volumes/clipplex:/app/app/static/media --restart always -e PUID=1000 -e PGID=1000 -e TZ=America/New_York -e PLEX_URL=YOURPLEXURL -e PLEX_TOKEN=YOURPLEXTOKEN jonnike/clipplex:latest
version: "3.5"
networks:
docker_internal_network:
name: plex_stack
clipplex:
image: jonnike/clipplex:latest
container_name: clipplex-alpha
networks:
- docker_internal_network
environment:
- PYTHONUNBUFFERED=1
- PUID=1000
- PGID=1000
- TZ=America/New_York
- SERVER_PLATFORM=jellyfin
- SERVER_URL=YOUR_PLEX_URL (example: http://jellyfin:8096)
- SERVER_TOKEN=YOUR_PLEX_TOKEN
- STREAMABLE_LOGIN=YOUR_STREAMABLE_LOGIN
- STREAMABLE_PASSWORD=YOUR_STREAMABLE_PASSWORD
volumes:
- /media:/media
- /volumes/clipplex:/app/app/static/media
ports:
- 9945:5000
Contributors names and contact info
Jo Nike
-
0.0.3
Initial Release
Distributed under the MIT License. See the LICENSE file information.
-
Thanks to the resident of flavourtown for allowing me to pitch my ideas and share my progress with them.
-
Thanks to Start Bootstrap for the UI.