Comments (7)
Telegram Image support is as simple as adding ?image=Yes to the URL;
e.g: tgram:///123456789:abcdefg_hijklmnop/1234567/?image=Yes
from nzb-notify.
Lemme know when its testable!
from nzb-notify.
It should be there now π. Let me know how it goes.
from nzb-notify.
alright! Here I go for a first spin.... result no picture seen in telegram so its not working for me yet. See logging beneath:
Notify: [DEBUG] Exiting with return code: 93
Notify: Sent Telegram notification.
Notify: [DEBUG] Telegram Payload: {'text': '<b>Download Successful</b>\r\n## Kill_Order_2017_BDRip_x264-JUSTWATCH ##\r\nStatus: SUCCESS/HEALTH\r\n\r\n### Statistics ###\r\n * Download Size: 508.00 MB\r\n * Download Time: 00:10:29\r\n * Transfer Speed: 827.01 KB/s \r\n * Analyse Time: 00:00:00\r\n * Repair Time: 00:00:00\r\n * Total Archive Preparation Time: 00:00:00\r\n * Unarchiving Time: 00:00:00\r\n * Total Post-Process Time: 00:00:42\r\n * Total Time: 00:11:11\r\n\r\n### File(s) ###\r\n * Kill.Order.2017.BDRip.x264-JustWatch.mkv (492.13 MB)\r\n * newz[NZB].nfo (13.00 B)', 'parse_mode': 'HTML', 'chat_id': <id>}
Notify: [DEBUG] Telegram POST URL: https://api.telegram.org/bot<id>:<id>/sendMessage (cert_verify=True)
Notify: [DEBUG] get(config) INCLUDEIMAGE="yes"
Notify: [DEBUG] get_files('/share/Download/nzbget/dst/Kill_Order_2017_BDRip_x264-JUSTWATCH') with 0 filter(s)
Notify: [DEBUG] get(system) NZBID="1475"
Notify: [DEBUG] get(system) CONTROLPASSWORD="tegbzn6789"
Notify: [DEBUG] get(system) CONTROLUSERNAME="nzbget"
Notify: [DEBUG] get(system) CONTROLPORT="6789"
Notify: [DEBUG] get(system) SECUREKEY=""
Notify: [DEBUG] get(system) SECURECERT=""
Notify: [DEBUG] get(system) SECURECONTROL="no"
Notify: [DEBUG] get(config) INCLUDELOGS="OnFailure"
Notify: [DEBUG] get(config) INCLUDEFILES="yes"
Notify: [DEBUG] get(config) INCLUDESTATS="yes"
Notify: [DEBUG] get(config) ONSUCCESS="yes"
Notify: [DEBUG] get(config) ONFAILURE="yes"
Notify: [DEBUG] get(config) SERVERS="tgram://<id>:<id>/<id>"
Notify: [DEBUG] get(config) INCLUDEIMAGE="yes"
Notify: [DEBUG] get(default) BODY=None
Notify: [DEBUG] get(default) TITLE=None
Notify: [DEBUG] Opened connection to SQLite Database: /share/Download/nzbget/tmp/nzbget/nzbget.db
Notify: [DEBUG] get(config) SERVERS="tgram://<id>:<id>/<id>"
Notify: [DEBUG] get(system) NZBID="1475"
Notify: NZBParse - NZB-File parsed 0 meta entries
Notify: NZB-File detected: Kill_Order_2017_BDRip_x264-JUSTWATCH.nzb.queued
Notify: [DEBUG] NZB-Files located: Kill_Order_2017_BDRip_x264-JUSTWATCH.nzb.queued (2018-03-03 15:25:10)
Notify: [DEBUG] Allowed Kill_Order_2017_BDRip_x264-JUSTWATCH.nzb.queued (regex)
Notify: [DEBUG] get_files('/share/Download/nzbget/nzb') with 1 filter(s)
Notify: [DEBUG] get(system) NZBDIR="/share/Download/nzbget/nzb"
Notify: [DEBUG] get_files('/share/MD0_DATA/Download/nzbget/tmp') with 1 filter(s)
Notify: [DEBUG] OS: Linux 3.4.6
Notify: [DEBUG] Python v2.7.13
Notify: [DEBUG] Script Mode: postprocess
from nzb-notify.
Make sure to add ?image=true to your tgram:// url
from nzb-notify.
Ah yes! I should've read better! It worked like a charm! awesome.
IMO both issue 36 and 40 can now be closed as solved! Thanks for the great work and patience :)
Keep up the great work!
from nzb-notify.
Glad to hear everything is working for you!
from nzb-notify.
Related Issues (20)
- error building wheel for PyYAML HOT 2
- Notification script returned exit code 1 and output "Traceback (most recent call last) HOT 21
- No failure notifications HOT 2
- Issue with SABnzbd on Mac HOT 6
- Issue with SABnzbd and Docker HOT 1
- Request: add support for SABnzbd "pause_resume" notifications HOT 5
- Create new release HOT 4
- Support priorities HOT 10
- Notify.py was not found!
- errors HOT 3
- name error HOT 1
- Error when running script on Windows 'no such file or directory' HOT 7
- Notify: Failed to send Telegram notification to -chatid: Bad Request: message is too long, error=400. HOT 2
- no notification on nzb file adding failure frm url HOT 4
- python3 HOT 1
- Missing Module 'nzbget' HOT 1
- exit code 127 and output "env: βpythonβ: No such file or directory " HOT 5
- Unable to use discord webhook default image for notifications HOT 5
- Problem running pip install -r requirements.txt HOT 1
- ImportError: No module named six HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nzb-notify.