Kodi Community Forum
[Release] OneDrive for KODI (Officially in Kodi Addon Repository) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (/forumdisplay.php?fid=154)
+---- Thread: [Release] OneDrive for KODI (Officially in Kodi Addon Repository) (/showthread.php?tid=228443)

Pages: 1 2 3 4 5 6 7 8 9


OneDrive for KODI (Officially in Kodi Addon Repository) - cguZZMan - 2015-06-01 04:35

[Image: 400px-Logo_OneDrive.svg.png]

The OneDrive add-on for KODI is officially in Kodi Addon Repository
  • Unlimited personal or business accounts
  • Playback your music and videos. Listing of videos with thumbnails.
  • Use OneDrive as a source.
  • Export your videos to your library (.strm files). You can export your music too, but kodi won't support it yet. It's a Kodi issue for now.
  • Show your photos individually or run a slideshow of them. Listing of pictures with thumbnails.
  • Auto-Refreshed slideshow.
  • Search over your files
  • Use of OAuth 2 login. You don't have to write your user/password within the add-on. Use the login process in your browser.
  • Extremely fast. Using the OneDrive API

[*] All platforms supported!

How to add an account?
1. Select "Add an account...". You will get a code.
2. Go to the login page and enter the code generated for you.
3. Read the instructions to complete the login.

How to add OneDrive as a source?
1. Add an account.
2. The source path for OneDrive addon is: http://localhost:8585. If you want/need to change the port number, you can do so within the addon settings.


Login process page:
http://onedrive.daro.mx/

Source code:
https://github.com/cguZZman/onedrive-kodi-addon

Any comment, suggestion or report of issues are appreciated. I'll try to respond asap.

This program/addon is not affiliated with or sponsored by Microsoft OneDrive.


RE: OneDrive for KODI - cguZZMan - 2015-06-14 20:35

LAST UPDATE:

v1.3.0 released - May 29, 2017:
- Use OneDrive as a source!
- Subtitle fix


RE: OneDrive for KODI - blutstein - 2015-06-15 22:36

didnt work for me unfortunately

ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: 'NoneType' object has no attribute '__getitem__'
Traceback (most recent call last):
File "D:\Kodi15\portable_data\addons\k-onedrive-master\addon.py", line 44, in <module>
content_type = args.get('content_type')[0]
TypeError: 'NoneType' object has no attribute '__getitem__'
-->End of Python script error report<--


RE: OneDrive for KODI - cguZZMan - 2015-06-16 02:46

(2015-06-15 22:36)blutstein Wrote:  didnt work for me unfortunately

ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: 'NoneType' object has no attribute '__getitem__'
Traceback (most recent call last):
File "D:\Kodi15\portable_data\addons\k-onedrive-master\addon.py", line 44, in <module>
content_type = args.get('content_type')[0]
TypeError: 'NoneType' object has no attribute '__getitem__'
-->End of Python script error report<--

did you install the addon trough the addon manager? looks like you have the incorrect installation folder name.
I see you have the portable kodi. I'll give it a try to that version and see if something different happen.
Let me know your installation process so I can get an idea how to reproduce your error.


RE: OneDrive for KODI - blutstein - 2015-06-16 12:14

Ive installed your zip file in Kodi with 'install per ZIP-File'.
Maybe its a Isengard thing, because i'm using Kodi 15 beta1?

Is there any addon requirement that ive missed maybe?


RE: OneDrive for KODI - blutstein - 2015-06-18 23:12

any news?


RE: OneDrive for KODI - cguZZMan - 2015-06-19 04:51

@blutstein:
I couldn't find the beta1, but I just tested it with Isengard beta2 in portable (and normal mode too) and it worked just fine.
Download the beta2 and try again. or try with kodi 14 to see if that works for you.
If the problem continues let me know, and send me the details of where/when it fails (just after run the addon or after enter to your account or when navigating a folder, or open a file, etc). but please try with 15 beta2 or the stable version.


RE: OneDrive for KODI - ktpires - 2015-06-19 14:16

Confirmed

It works ok for me in Beta1 and Beta2


RE: OneDrive for KODI - cguZZMan - 2015-06-19 19:36

@ktpires thanks for the confirmation


RE: OneDrive for KODI - blutstein - 2015-06-24 13:51

do i have to be logged in windows with my ms account?


RE: OneDrive for KODI - cguZZMan - 2015-06-24 14:38

(2015-06-24 13:51)blutstein Wrote:  do i have to be logged in windows with my ms account?

No. You'll be asked to login when you add an account and within a specific process.


RE: OneDrive for KODI - deceptijon - 2015-08-07 05:34

I'm having the exact same issue as blut. Also on Isengard.


RE: OneDrive for KODI - deceptijon - 2015-08-07 05:35

Wait, seems to be working now...


RE: OneDrive for KODI - deceptijon - 2015-08-07 06:17

Ok, it's sort of working, but it's only recognizing my first 200 or so movies (I have nearly 400). And I do still get that initial error message when I first launch the plugin (which shows the same error info in the log that blut posted). But after that, I'm able to see my movies folder on my onedrive, it just doesn't list all of them.


RE: OneDrive for KODI - cguZZMan - 2015-08-09 22:39

(2015-08-07 06:17)deceptijon Wrote:  Ok, it's sort of working, but it's only recognizing my first 200 or so movies (I have nearly 400). And I do still get that initial error message when I first launch the plugin (which shows the same error info in the log that blut posted). But after that, I'm able to see my movies folder on my onedrive, it just doesn't list all of them.

I'm gonna take a look on it. May be it's some pagination from the api. I'll let you know though.