{"id":27926018,"url":"https://github.com/thenameisnigel/pod","last_synced_at":"2026-05-16T11:01:41.247Z","repository":{"id":291469332,"uuid":"977717941","full_name":"TheNameIsNigel/PoD","owner":"TheNameIsNigel","description":"Discord self-bot that allows you to stream content from your Plex library straight to Discord.","archived":false,"fork":false,"pushed_at":"2025-05-04T20:47:46.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-04T21:26:15.947Z","etag":null,"topics":["bot","discord","plex","self-bot","video-streaming"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TheNameIsNigel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-04T20:22:22.000Z","updated_at":"2025-05-04T20:48:15.000Z","dependencies_parsed_at":"2025-05-04T21:36:37.370Z","dependency_job_id":null,"html_url":"https://github.com/TheNameIsNigel/PoD","commit_stats":null,"previous_names":["thenameisnigel/plexondiscord"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheNameIsNigel%2FPoD","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheNameIsNigel%2FPoD/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheNameIsNigel%2FPoD/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheNameIsNigel%2FPoD/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheNameIsNigel","download_url":"https://codeload.github.com/TheNameIsNigel/PoD/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252793580,"owners_count":21805055,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bot","discord","plex","self-bot","video-streaming"],"created_at":"2025-05-07T00:51:00.763Z","updated_at":"2025-10-28T12:20:29.237Z","avatar_url":"https://github.com/TheNameIsNigel.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n# PoD\n\nDiscord self-bot that joins your voice channel and plays Plex movies or TV episodes (video + audio) with simple chat commands. Perfect for streaming your Plex library directly into any server you control.\n\n---\n\n## 🔑 Features\n\n- **Search \u0026 Play**: `!pplay Agents of S.H.I.E.L.D ` finds movies or TV shows in Plex and starts streaming.  \n- **Playlist Support**: For TV shows, builds a season playlist and auto-advances through episodes.  \n- **Playback Controls**:  \n  - `!prestart` – Restart the current item from the top  \n  - `!ppause` – Pause the stream (video frame freezes)  \n  - `!pnext` / `!pback` – Skip forward or back one episode  \n  - `!pstop` – Stop streaming and disconnect  \n\n---\n\n## 🚀 Prerequisites\n\n- **Node.js** v16 or newer  \n- **FFmpeg** installed and available on your `PATH`  \n- A **Plex Media Server** with an access token  \n\n---\n\n## 🛠 Installation\n\n1. **Clone this repo**  \n   ```bash\n   git clone https://github.com/TheNameIsNigel/PoD.git\n   cd PoD\n``\n\n2. **Install dependencies**\n\n   ```bash\n   npm update\n   ```\n\n3. **Create your config**\n\n Copy `config.example.json` to `config.json` and fill in your credentials (see below).\n\n4. **Run the bot**\n\n   ```bash\n   npm start\n   ```\n\n---\n\n## ⚙️ Configuration (`config.json`)\n````\n{\n  \"token\": \"YOUR_DISCORD_USER_TOKEN\",\n  \"acceptedAuthors\": [\"YOUR_USER_ID\"],\n  \"plex\": {\n    \"host\": \"http://your.plex.server:32400\",\n    \"token\": \"YOUR_PLEX_TOKEN\"\n  },\n  \"streamOpts\": {\n    \"width\": 1280,\n    \"height\": 720,\n    \"fps\": 15,\n    \"bitrateKbps\": 1000,\n    \"maxBitrateKbps\": 1200,\n    \"hardware_acceleration\": true,\n    \"videoCodec\": \"h264\"\n  }\n}\n````\n* **token**: Your Discord bot user token (has to be an actual Discord account, not a bot app)\n* **acceptedAuthors**: Array of user IDs allowed to control the bot.\n* **plex.host**: URL of your Plex server\n* **plex.token**: Your Plex access token\n* **streamOpts**: FFmpeg / stream settings\n\n---\n\n## 🎮 Usage\n\nIn any text channel:\n\n!pplay \u003cmovie-or-show-name\u003e   # Search Plex \u0026 start streaming\n!prestart                     # Restart current movie/episode\n!ppause                       # Pause the stream\n!pnext                        # Next episode (TV only)\n!pback                        # Previous episode (TV only)\n!pstop                        # Stop streaming \u0026 leave VC\n\n**Example**:\n\n!pplay The Mandalorian\n// → Joins your voice channel and plays S01 E01 of The Mandalorian\n!pnext\n// → Skips to S01E02\n!ppause\n// → Pauses the stream\n!pstop\n// → Stops \u0026 disconnects\n\n---\n\n## 🐛 Troubleshooting\n\n* **No video/audio?**\n\n  * Verify FFmpeg: `ffmpeg -version`\n  * Check your Plex credentials and server URL.\n* **Permissions errors?**\n\n  * Ensure your bot account can join voice channels and go live.\n\n---\n\n## 🤝 Contributing\n\nPRs and issues are welcome! Feel free to open a feature request or submit a bug-fix.\n\n---\n\n## 📄 License\n\nThis project is licensed under the **PoDRSL License**. See [LICENSE](LICENSE) for details.\n\n---\n\n## 🤝 Credits\n\nThis project uses the [Discord-video-stream](https://github.com/Discord-RE/Discord-video-stream) library from dank074, as well as the [discord.js-selfbot-v13 library](https://discordjs-self-v13.netlify.app/).\n\n```\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthenameisnigel%2Fpod","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthenameisnigel%2Fpod","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthenameisnigel%2Fpod/lists"}