All Projects → StackTraceYo → ombi-bot

StackTraceYo / ombi-bot

Licence: other
Telegram bot for OMBI

Programming Languages

scala
5932 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to ombi-bot

Cloudbox
Ansible-based solution for rapidly deploying a Docker containerized cloud media server.
Stars: ✭ 1,763 (+4420.51%)
Mutual labels:  plex, ombi
jarvis
🍿 Simple Home Media Stack
Stars: ✭ 28 (-28.21%)
Mutual labels:  plex, ombi
Plexguide.com
Welcome to https://PlexGuide.com ~ Rapidly deploy multiple-hasty Docker Containers through Ansible with local or Unlimited Google HD Space!
Stars: ✭ 1,631 (+4082.05%)
Mutual labels:  plex, ombi
Organizr
HTPC/Homelab Services Organizer - Written in PHP
Stars: ✭ 3,605 (+9143.59%)
Mutual labels:  plex, ombi
flixctl
A toolkit for controlling the infrastructure necessary for a true MaSaS (Movies and Shows as a Service) architecture.
Stars: ✭ 43 (+10.26%)
Mutual labels:  plex, ombi
ChineseSubFinder
自动化中文字幕下载。字幕网站支持 shooter、xunlei、arrst、a4k 。支持 Emby、Jellyfin、Plex、Sonarr、Radarr、TMM
Stars: ✭ 2,212 (+5571.79%)
Mutual labels:  plex
Plex-Movie-Poster-Display
Scraps the Plex sessions page to display the current playing movie or TV show poster on a screen.
Stars: ✭ 113 (+189.74%)
Mutual labels:  plex
Random-Plex-Movie
Python App which chooses a random movie from your Plex Library.
Stars: ✭ 17 (-56.41%)
Mutual labels:  plex
conv2mp4-py
Python script that recursively searches through a user-defined file path and converts all videos of user-specified file types to MP4 with H264 video and AAC audio using ffmpeg. If a conversion failure is detected, the script re-encodes the file with HandbrakeCLI. Upon successful encoding, Plex libraries are refreshed and source file is deleted. …
Stars: ✭ 37 (-5.13%)
Mutual labels:  plex
WebTools-NG
WebTools Next Generation for Plex
Stars: ✭ 354 (+807.69%)
Mutual labels:  plex
Doplarr
An *arr request bot for Discord
Stars: ✭ 236 (+505.13%)
Mutual labels:  plex
plex-api
.NET Core SDK for Plex Media Server
Stars: ✭ 70 (+79.49%)
Mutual labels:  plex
PlexMeetsHomeAssistant
Custom card which integrates plex into Home Assistant and makes it possible to launch movies or tv shows on TV with a simple click
Stars: ✭ 73 (+87.18%)
Mutual labels:  plex
Spotifarr
Spotifarr
Stars: ✭ 35 (-10.26%)
Mutual labels:  plex
AvalonXmlAgent.bundle
XML file agent for Plex
Stars: ✭ 32 (-17.95%)
Mutual labels:  plex
muvio.bundle
A music video extras agent for Plex
Stars: ✭ 14 (-64.1%)
Mutual labels:  plex
posterr
A digital poster app for Plex, Sonarr, Radarr, and Readarr
Stars: ✭ 211 (+441.03%)
Mutual labels:  plex
Youtube-DL-Agent.bundle
A plex metadata agent for Youtube-DL downloads
Stars: ✭ 92 (+135.9%)
Mutual labels:  plex
plex-music
Web/Desktop app for streaming music from your Plex Media Server
Stars: ✭ 42 (+7.69%)
Mutual labels:  plex
Movie Data Capture
Local Movies Organizer
Stars: ✭ 5,481 (+13953.85%)
Mutual labels:  plex

ombi-bot

Buy Me A Coffee

Telegram bot for Ombi Requests

  • v2.2-SNAPSHOT

note - only works with ombi v3

for v4 ombi go to the ombi-v4 branch

commands:

  • /searchmovie Movie Title or imdb url
  • /searchtv TV show name or imdb url
  • /search Search both Movie and TV show name or imdb url
  • /info
  • /authinfo

auth commands:

(admin can only run these)

  • /register registers the current chat
  • /unregister unregisters the current chat
  • /unregisterall removes all chats
  • /authorize authorizes a user to make requests
  • /extauthorize authorizes a user to make requests in any chat (like private chat with bot)
  • /unauthorize removes the user from allowed requesters
  • /unauthorizeall removes all users other than the admin
  • /authon enables authorization
  • /authoff disables authorization (authorized users will stay authorized if toggled back on)

authorization notes:

authorization is in the images after 2.0. (latest / 2.1)

in your env file, if you provide the BOT_ADMIN env variable with a user id, then authorization will be enabled on bot start, and that user id will be considered admin. the admin will have to add users, to allow them to make request commands.

additionally, admin will have to register and unregister chats to use the bot

here is a table

          BOT_ADMIN    BOT_CHAT_ID    registration    auth       who_can_search
defined   yes           yes            yes             yes       users in a registered chat and authorized, initialized with BOT_CHAT_ID
defined   yes           no             yes             yes       users in a registered chat and authorized
defined   no            yes            no              no        users in the chat from BOT_CHAT_ID
defined   no            no             no              no        anyone
  • if you do not have BOT_ADMIN AND have a BOT_CHAT_ID then everyone in that chat only will be allowed to use the bot.
  • if BOT_ADMIN is not set, no authorization is done - and cannot be turned on.
  • you can disable or enable the authorization support only if there is an admin.
  • toggling using the /authon and /authoff commands does not clear the authorized users
  • only the admin can use the authorization commands, meaning if you put it in wrong. you will be locked out and the bot will not be usable.

you can get your user id from the @userinfobot.

warning :

  • requesting a tv show currently requests all seasons

for more features open a ticket

todo:

  • requesting specific episodes/seasons
  • testing

How to run

  • make an env file with the following (bot.env):
OMBI_HOST=<http://www.ombiserver.com:9090> // The url to ombi instance
OMBI_KEY=<ombi api key> // ombi api key
OMBI_BOT_TOKEN=<telegram token> // telegram bot token
OMBI_BOT_NAME=<telegram bot name> // name of telegram bot
OMBI_USER_NAME=<ombi user name> (OPTIONAL) // ombi user for requests. configure this user with permissions according to your needs
BOT_ADMIN=<admin user id> (OPTIONAL) // admin user id - see authorization section
BOT_CHAT_ID=<allowed chat id> (OPTIONAL) //  - see authorization section 
  • the run (bot.env is ex env filename)
with docker

available tags: 2.0, 2.1, 1.2, latest, 2.2-OMBI-V4 (for ombi v4 only)

for the latest changes (off master) run docker run --env-file bot.env -d stacktraceyo/ombi-bot:latest

for 2.0 run docker run --env-file bot.env -d stacktraceyo/ombi-bot:2.0

for 1.X release run docker run --env-file bot.env -d stacktraceyo/ombi-bot:1.2

without docker
  • install java version 8+ and maven
  • clone project git clone https://github.com/StackTraceYo/ombi-bot
  • cd into directory and run mvn clean install
  • get the output jar at ombi-bot/ombi-bot/target/ombibot.jar
  • run the jar directly with the env file (bot.env is ex env filename)

java -jar ombibot.jar -p full/path/to/bot.env

https://hub.docker.com/r/stacktraceyo/ombi-bot

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].