Skip to content

nuken/pluto-for-channels

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pluto for Channels

Version 1.22

Changes

  • Version 1.22:
    • Added styling to Playlist page and a copy link.
  • Version 1.21b:
    • Added Pluto Germany.
  • Version 1.21:
    • Added support for PLUTO_USERNAME and PLUTO_PASSWORD environment variables.

Running

Use single quotes around the username and password to avoid conflicts.

docker run -d --restart unless-stopped --network=host -e PLUTO_PORT=[your_port_number_here] -e PLUTO_USERNAME='your_username' -e PLUTO_PASSWORD='your_password' --name pluto-for-channels rcvaughn2/pluto-for-channels:main

or

docker run -d --restart unless-stopped -p [your_port_number_here]:7777 -e PLUTO_USERNAME'[your_username' -e PLUTO_PASSWORD='your_password' --name  pluto-for-channels rcvaughn2/pluto-for-channels:main

You can retrieve the playlist and EPG via the status page.

http://127.0.0.1:[your_port_number_here]

docker-compose.yml

version: '3.8'

services:
  pluto-for-channels:
    image: rcvaughn2/pluto-for-channels:main
    container_name: pluto-for-channels
    restart: unless-stopped
    ports:
      # Map your desired host port to the container's port 7777
      - "7777:7777"
    environment:
      # Your Pluto TV username. Use single quotes if it contains special characters.
      PLUTO_USERNAME: YOUR_USERNAME
      # Your Pluto TV password. Use single quotes if it contains special characters.
      PLUTO_PASSWORD: YOUR_PASSWORD
      # Optional: Customize the country codes.
      # Default: 'local,us_east,us_west,ca,uk,fr,de'
      PLUTO_CODE: local,us_east,us_west,ca,uk,fr,de

Run docker compose up -d in terminal.

How to Use in Portainer

  1. In Portainer, navigate to Stacks.
  2. Click Add stack.
  3. Give it a name (e.g., pluto).
  4. Choose the Web editor option.
  5. Paste the docker-compose.yml content from above into the editor.
  6. Important: Edit the environment variables for PLUTO_USERNAME and PLUTO_PASSWORD with your credentials. You can also change the host port if 7777 is already in use on your system.
  7. Click Deploy the stack.

Portainer will now pull the image and create the container with all your specified settings.

Environement Variables

Environment Variable Description Default
PLUTO_PORT Port the API will be served on. You can set this if it conflicts with another service in your environment. 7777
PLUTO_USERNAME Your Pluto TV username.
PLUTO_PASSWORD Your Pluto TV password.
PLUTO_CODE What country streams will be hosted.
Multiple can be hosted using comma separation<p><p>ALLOWED_COUNTRY_CODES:
us_east - United States East Coast,
us_west - United States West Coast,
local - Local IP address Geolocation,
ca - Canada,
uk - United Kingdom,
fr - France,
de - Germany
local,us_west,us_east,ca,uk

Additional URL Parameters

Parameter Description
channel_id_format default channel-id is set as "pluto-{slug}".
"id" will change channel-id to "pluto-{id}".
"slug_only" will change channel-id to "{slug}".

About

Forked from jgomez177/pluto-for-channels.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 99.4%
  • Dockerfile 0.6%