An in development plugin for the VRV streaming service.
scj643 / plugin.video.vrv Goto Github PK
View Code? Open in Web Editor NEWVRV Plugin for Kodi
VRV Plugin for Kodi
We shouldn't store the user's password. We can call /core/accounts/{accountId}/authentication_token
after login with username and password and store the resulting token to login with.
Kodi Matrix has switched to Python 3 (Hooray!!!)
This will require some rewrites on how unicode is handled.
I have a preliminary version that I haven't committed for Matrix that I will merge in when Matrix hits release.
I get the following errors when trying to start the VRV addon. I have not been able to get it up running yet. I haven't looked through the entire log below is just what I thought might be important and be causing the crash. I would love to get this working for me a media center without VRV is just not worth it.
Thanks in advance for any help!
EDIT:Sorry this was on a Raspberry Pi 3 b Kodi L8.0.1 LibreElec 6.0.1
2019-04-14 05:07:50.692 T:1937703584 ERROR: Control 55 in window 10025 has been asked to focus, but it can't
2019-04-14 05:07:51.816 T:1500509040 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.KeyError'>
Error Contents: 'oauth_token'
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.vrv/addon.py", line 49, in
settings.getSetting('oauth_secret'))
File "/storage/.kodi/addons/plugin.video.vrv/resources/lib/vrvlib.py", line 54, in init
self.login(email, password)
File "/storage/.kodi/addons/plugin.video.vrv/resources/lib/vrvlib.py", line 60, in login
self.session.auth.client.resource_owner_key = self.auth['oauth_token']
KeyError: 'oauth_token'
-->End of Python script error report<--
2019-04-14 05:07:52.104 T:1456468848 ERROR: GetDirectory - Error getting plugin://plugin.video.vrv/
2019-04-14 05:07:52.105 T:1937703584 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.vrv/) failed
As it is currently Hi Dive subtitles are not being formatted properly.
Over the weekend it seems, VRV changed the signing mechanism/policy for the API; mainly, instead of one set of keys/parameters, there's three. As a result, this completely breaks the plugin (except for watchlist retrieval). I've already started (and mostly finished I think) work on implementing the code to read in the key sets and apply them based on which url is being accessed, but it needs to be tested.
when i start the plugin it errors and the log says
2019-02-28 18:58:36.792 T:1799328624 NOTICE: ADDON: xbmc.webinterface v1.0.0 installed 2019-02-28 18:58:37.080 T:1937217936 WARNING: CGUIMediaWindow::OnMessage - updating in progress 2019-02-28 18:59:45.682 T:1937217936 ERROR: Control 55 in window 10025 has been asked to focus, but it can't 2019-02-28 18:59:46.326 T:1556177776 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.OSError'> Error Contents: [Errno 2] No such file or directory: '/storage/.kodi/userdata/addon_data/plugin.video.vrv/art_temp' Traceback (most recent call last): File "/storage/.kodi/addons/plugin.video.vrv/addon.py", line 35, in <module> os.mkdir(artwork_temp) OSError: [Errno 2] No such file or directory: '/storage/.kodi/userdata/addon_data/plugin.video.vrv/art_temp' -->End of Python script error report<-- 2019-02-28 18:59:46.427 T:1790935920 ERROR: GetDirectory - Error getting plugin://plugin.video.vrv/ 2019-02-28 18:59:46.428 T:1937217936 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.vrv/) failed
how can i fix this?
Could I use your code to make a VRV API for Node.JS?
Thanks in advance!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.