Jump to content
matty87a

Telemby - Emby Telegram Bot

Recommended Posts

Luke

Cool thanks !

Share this post


Link to post
Share on other sites
Pog22

Subscribed, Installing, thanks

Share this post


Link to post
Share on other sites
Pog22

This is really good, I'm impressed. It's something I will use for instant commands and Telegram is the only instant messenger I use these days. You should also add an command option to restart Emby.

Share this post


Link to post
Share on other sites
matty87a

Funny you should say that, it's already in the code I just forgot to add it to the help text as it's literally a fire and forget atm.

 

Try /restartserver and it should work already.

 

There's no status polling or anything though so it will be a case of waiting and firing /status a few times till it comes back.

Share this post


Link to post
Share on other sites
dual-o

Hello,

 

is there a way to install the plugin without docker?

I would like to have my debian server as clean as possible

  • Like 1

Share this post


Link to post
Share on other sites
matty87a

Hello,

 

is there a way to install the plugin without docker?

I would like to have my debian server as clean as possible

 

 

yup of course you can, although I'd argue that the container would keep it cleaner to be honest.

 

You'll need to install Python3.

 

Then install the requirements at https://github.com/matty87a/telemby/blob/master/src/requirements.txt via pip3.

 

Once that's done you can set up the config and run the .py file (both located here: https://github.com/matty87a/telemby/tree/master/app)

 

It may also be worth wrapping the .py file in a systemd file for easier process management - e.g: https://tecadmin.net/setup-autorun-python-script-using-systemd/

 

Hope that helps!

Share this post


Link to post
Share on other sites
guilhermydg.a

Very cool, how do I install on windows? Can you help me?

  • Like 1

Share this post


Link to post
Share on other sites
Pog22

Hello,

 

is there a way to install the plugin without docker?

I would like to have my debian server as clean as possible

 

Sorry OT

 

I don't think there's a cleaner way to do software than docker containers and docker-compose. I have about 20 containers on my dedi server. The docker host only has docker installed (and an rclone gsuite mount) no other software and because the software is all in containers it is completely OS neutral and can be easily moved to another host (move from linux to windows even) by just moving the config volumes and running docker-compose on the new host

Edited by Pog22

Share this post


Link to post
Share on other sites
matty87a

Very cool, how do I install on windows? Can you help me?

 

Hi,

 

I'm not a windows user, but I'm fairly sure you can just use the same docker image?

Share this post


Link to post
Share on other sites
Pog22

Is there any way i could get this to post the output from /status to a channel on a daily schedule?

Share this post


Link to post
Share on other sites
matty87a

Is there any way i could get this to post the output from /status to a channel on a daily schedule?

 

Hi,

 

For that the easiest thing would be a cron job firing a simplified script, knocked one up for you:

 

script: https://github.com/matty87a/telemby/blob/master/send_status.py

 

rough guide: https://github.com/matty87a/telemby/blob/master/SEND_STATUS.md

 

It's a bit rough around the edges as I've only just put it together, so your mileage may vary.

 

Afraid I won't be able to help too much with it outside of the above, but its worked fine for me when I've tested it. 

 

Hope it helps!

Share this post


Link to post
Share on other sites
Pog22

Hi,

 

For that the easiest thing would be a cron job firing a simplified script, knocked one up for you:

 

script: https://github.com/matty87a/telemby/blob/master/send_status.py

 

rough guide: https://github.com/matty87a/telemby/blob/master/SEND_STATUS.md

 

It's a bit rough around the edges as I've only just put it together, so your mileage may vary.

 

Afraid I won't be able to help too much with it outside of the above, but its worked fine for me when I've tested it.

 

Hope it helps!

That is super thanks.

Share this post


Link to post
Share on other sites
Pog22

Ah, I have this working many thanks, but I'd like the info at the end of status movies episodes etc. sorry for being a right pain  :D

Share this post


Link to post
Share on other sites
matty87a

Ah, I have this working many thanks, but I'd like the info at the end of status movies episodes etc. sorry for being a right pain  :D

 

updated the script - while i was there I managed to remove the guide but i'll add that back at some point in case anyone else needs it.

 

https://github.com/matty87a/telemby/blob/master/send_status.py

 

If anything else needs adding in you'll have to adapt it from the main bot scripts  ;)

Edited by matty87a

Share this post


Link to post
Share on other sites
Pog22

Thank you kindly

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...