Skip to content

jo-nike/clipplex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clipplex

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".

Description

An in-depth paragraph about your project and overview of use.

Docker variables

Variables Value Notes
PUID 1000 Optional
GUID 1000 Optional
TZ America/New_York Optional
PLEX_URL link to plex Mandatory
PLEX_TOKEN token for plex Mandatory
STREAMABLE_LOGIN ... Optional
STREAMABLE_PASSWORD ... Optional

Finding Plex token: https://support.plex.tv/articles/204059436-finding-an-authentication-token-x-plex-token/

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

Docker Compose Example

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
      - PLEX_URL=YOUR_PLEX_URL (example: http://plex:32400)
      - PLEX_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

Authors

Contributors names and contact info

Jo Nike

Version History

  • 0.0.3

    Initial Release

License

Distributed under the MIT License. See the LICENSE file information.

Acknowledgments

  • 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.