matty87a 6 Posted June 14, 2019 Share Posted June 14, 2019 (edited) Hi, Put this together for my own use - its a bit rough around the edges but figured i'd throw it out here should anyone want to give it a whirl! Docker Hub: https://hub.docker.com/r/matty87a/telemby GitHub: https://github.com/matty87a/telemby Edited June 14, 2019 by matty87a 2 Link to post Share on other sites
Luke 26209 Posted June 14, 2019 Share Posted June 14, 2019 Cool thanks ! Link to post Share on other sites
Pog22 40 Posted June 15, 2019 Share Posted June 15, 2019 Subscribed, Installing, thanks Link to post Share on other sites
Pog22 40 Posted June 16, 2019 Share Posted June 16, 2019 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. Link to post Share on other sites
matty87a 6 Posted June 16, 2019 Author Share Posted June 16, 2019 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. Link to post Share on other sites
dual-o 9 Posted July 9, 2019 Share Posted July 9, 2019 Hello, is there a way to install the plugin without docker? I would like to have my debian server as clean as possible 1 Link to post Share on other sites
matty87a 6 Posted July 11, 2019 Author Share Posted July 11, 2019 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! Link to post Share on other sites
guilhermydg.a 1 Posted July 12, 2019 Share Posted July 12, 2019 Very cool, how do I install on windows? Can you help me? 1 Link to post Share on other sites
Pog22 40 Posted July 12, 2019 Share Posted July 12, 2019 (edited) 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 July 12, 2019 by Pog22 Link to post Share on other sites
matty87a 6 Posted July 13, 2019 Author Share Posted July 13, 2019 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? Link to post Share on other sites
Pog22 40 Posted July 16, 2019 Share Posted July 16, 2019 Is there any way i could get this to post the output from /status to a channel on a daily schedule? Link to post Share on other sites
matty87a 6 Posted July 16, 2019 Author Share Posted July 16, 2019 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! Link to post Share on other sites
Pog22 40 Posted July 16, 2019 Share Posted July 16, 2019 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. Link to post Share on other sites
Pog22 40 Posted July 16, 2019 Share Posted July 16, 2019 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 Link to post Share on other sites
matty87a 6 Posted July 16, 2019 Author Share Posted July 16, 2019 (edited) 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 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 July 17, 2019 by matty87a Link to post Share on other sites
Pog22 40 Posted July 17, 2019 Share Posted July 17, 2019 Thank you kindly Link to post Share on other sites
matt4542 0 Posted December 9, 2020 Share Posted December 9, 2020 (edited) Does anyone know if this still works? 2020-12-09 06:25:51,429 - telegram.bot - DEBUG - Entering: get_updates 2020-12-09 06:25:51,429 - telegram.vendor.ptb_urllib3.urllib3.connectionpool - D EBUG - Starting new HTTPS connection (4): api.telegram.org 2020-12-09 06:25:56,630 - telegram.ext.updater - DEBUG - Timed out getting Updat es: Timed out 2020-12-09 06:25:56,630 - telegram.bot - DEBUG - Entering: get_updates 2020-12-09 06:25:56,631 - telegram.vendor.ptb_urllib3.urllib3.connectionpool - D EBUG - Starting new HTTPS connection (5): api.telegram.org 2020-12-09 06:26:01,835 - telegram.ext.updater - DEBUG - Timed out getting Updat es: Timed out 2020-12-09 06:26:01,835 - telegram.bot - DEBUG - Entering: get_updates 2020-12-09 06:26:01,835 - telegram.vendor.ptb_urllib3.urllib3.connectionpool - D EBUG - Starting new HTTPS connection (6): api.telegram.org 2020-12-09 06:26:07,034 - telegram.ext.updater - DEBUG - Timed out getting Updat es: Timed out 2020-12-09 06:26:07,034 - telegram.bot - DEBUG - Entering: get_updates 2020-12-09 06:26:07,034 - telegram.vendor.ptb_urllib3.urllib3.connectionpool - D EBUG - Starting new HTTPS connection (7): api.telegram.org 2020-12-09 06:26:12,241 - telegram.ext.updater - DEBUG - Timed out getting Updat es: Timed out 2020-12-09 06:26:12,241 - telegram.bot - DEBUG - Entering: get_updates 2020-12-09 06:26:12,242 - telegram.vendor.ptb_urllib3.urllib3.connectionpool - D EBUG - Starting new HTTPS connection (8): api.telegram.org Never properly starts Edited December 9, 2020 by matt4542 Link to post Share on other sites
matty87a 6 Posted January 19 Author Share Posted January 19 @matt4542 My container has been running (with auto restarts) pretty much constantly for a while, the current has been up for 2 weeks and, having just checked, i'm seeing the same error in my docker logs - but the actual bot and telegram commands are working fine still for me. I dont currently have time to work on this, but the log entries may be a red herring as ive been able to use all bot commands fine when I have tested today. Link to post Share on other sites
Prfilmes 0 Posted January 23 Share Posted January 23 (edited) I installed the Plugin, but I am still unable to receive notifications of releases by telegrams of the posted files. This plugin does this, we have some manual, or video for these details. I thank you and your work is very good Edited January 23 by Prfilmes Link to post Share on other sites
Luke 26209 Posted January 24 Share Posted January 24 On 1/23/2021 at 12:42 PM, Prfilmes said: I installed the Plugin, but I am still unable to receive notifications of releases by telegrams of the posted files. This plugin does this, we have some manual, or video for these details. I thank you and your work is very good Hi, did you configure the plugin? Link to post Share on other sites
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now