-
Notifications
You must be signed in to change notification settings - Fork 456
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[plugin.video.opentakserver] 1.0.0 #4606
Conversation
Please make the add-on checker happy. |
I resized the logo and removed the transparency. Also renamed main.py to addon.py due to the 15 line warning for main.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please have a look at my comments.
Besides that: could you explain a bit what this plugin will do?
plugin.video.opentakserver/addon.py
Outdated
def get(url): | ||
auth_token = get_auth_token_from_file() | ||
|
||
r = requests.get(url, params={'auth_token': auth_token}, verify=False) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think verify=False
should be configurable: some might actually have certificates and then they don't want to just ignore invalid ones?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've updated the PR with this option
plugin.video.opentakserver/addon.py
Outdated
return '{}?{}'.format(URL, urlencode(kwargs)) | ||
|
||
|
||
def list_videos(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will always return an empty listing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has been removed
plugin.video.opentakserver/addon.xml
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please provide language for the add-on using the <language>
tag and perhaps add a <website>
or <source>
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These tags have been added
I'll fix those issues and update the PR. I'm the developer of OpenTAKServer which is a self hosted, open source backend for ATAK. One of OpenTAKServer's features is the ability to pull in video feeds from various sources such as IP cameras, online streams, drones, etc using MediaMTX. This plugin allows users to view those streams in Kodi. |
Description
View video streams and recordings from OpenTAKServer
Checklist:
Additional information :