Release - OneDrive for KODI (Officially in Kodi Addon Repository)

  Thread Rating:
  • 3 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
cguZZMan Offline
Member
Posts: 62
Joined: Feb 2015
Reputation: 1
Post: #1
[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.
(This post was last modified: 2017-05-31 16:21 by cguZZMan.)
find quote
cguZZMan Offline
Member
Posts: 62
Joined: Feb 2015
Reputation: 1
Post: #2
LAST UPDATE:

v1.3.0 released - May 29, 2017:
- Use OneDrive as a source!
- Subtitle fix
(This post was last modified: 2017-05-31 16:00 by cguZZMan.)
find quote
blutstein Offline
Member
Posts: 83
Joined: Feb 2015
Reputation: 0
Post: #3
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<--
find quote
cguZZMan Offline
Member
Posts: 62
Joined: Feb 2015
Reputation: 1
Post: #4
(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.
find quote
blutstein Offline
Member
Posts: 83
Joined: Feb 2015
Reputation: 0
Post: #5
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?
find quote
blutstein Offline
Member
Posts: 83
Joined: Feb 2015
Reputation: 0
Post: #6
any news?
find quote
cguZZMan Offline
Member
Posts: 62
Joined: Feb 2015
Reputation: 1
Post: #7
@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.
find quote
ktpires Offline
Member
Posts: 70
Joined: May 2013
Reputation: 2
Post: #8
Confirmed

It works ok for me in Beta1 and Beta2
find quote
cguZZMan Offline
Member
Posts: 62
Joined: Feb 2015
Reputation: 1
Post: #9
@ktpires thanks for the confirmation
(This post was last modified: 2015-06-20 05:54 by cguZZMan.)
find quote
blutstein Offline
Member
Posts: 83
Joined: Feb 2015
Reputation: 0
Post: #10
do i have to be logged in windows with my ms account?
find quote
cguZZMan Offline
Member
Posts: 62
Joined: Feb 2015
Reputation: 1
Post: #11
(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.
(This post was last modified: 2015-06-24 14:41 by cguZZMan.)
find quote
deceptijon Offline
Junior Member
Posts: 11
Joined: Aug 2015
Reputation: 0
Post: #12
I'm having the exact same issue as blut. Also on Isengard.
find quote
deceptijon Offline
Junior Member
Posts: 11
Joined: Aug 2015
Reputation: 0
Post: #13
Wait, seems to be working now...
find quote
deceptijon Offline
Junior Member
Posts: 11
Joined: Aug 2015
Reputation: 0
Post: #14
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.
find quote
cguZZMan Offline
Member
Posts: 62
Joined: Feb 2015
Reputation: 1
Post: #15
(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.
find quote
Post Reply