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

  Thread Rating:
  • 3 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
pgeraldes Offline
Junior Member
Posts: 4
Joined: Jun 2017
Reputation: 0
Post: #106
I there thanks for the quick answer, the problem was the file and not the plugin, i put other file(mkv) and worked perfect, great plugin.
If possible to add flv extension would be great.
Thanks

Sincerely

Pedro
find quote
cguZZMan Offline
Member
Posts: 64
Joined: Feb 2015
Reputation: 1
Post: #107
Hi Pedro, glad it worked.
flv extension has been added. it will be available in few days with the new version update.
find quote
pgeraldes Offline
Junior Member
Posts: 4
Joined: Jun 2017
Reputation: 0
Post: #108
Thanks for all your help.

Take care

Sincerely

Pedro
find quote
pgeraldes Offline
Junior Member
Posts: 4
Joined: Jun 2017
Reputation: 0
Post: #109
Thanks for all your help.

Take care

Sincerely

Pedro
find quote
yayman123 Offline
Junior Member
Posts: 2
Joined: Jul 2017
Reputation: 0
Post: #110
Hi guys, I'm having problems with this extension... It installed successfully, and I logged in without a problem, but when I try to open an mp3 file from my OneDrive, it fails or freezes my Pi 3. I'm using OSMC if that matters.

Any help would be appreciated...
find quote
cguZZMan Offline
Member
Posts: 64
Joined: Feb 2015
Reputation: 1
Post: #111
I just tested it in a Pi and it worked just fine. To be able to help you, can you upload your log file and if possible PM me the mp3 file.
(This post was last modified: 2017-07-09 23:13 by cguZZMan.)
find quote
yayman123 Offline
Junior Member
Posts: 2
Joined: Jul 2017
Reputation: 0
Post: #112
(2017-07-09 23:13)cguZZMan Wrote:  I just tested it in a Pi and it worked just fine. To be able to help you, can you upload your log file and if possible PM me the mp3 file.

Actually, nevermind, it works just fine apparently. It turned out that half of my media library was just corrupted from my sketchy internet connection. Thanks anyway!
find quote
weekendowel Offline
Junior Member
Posts: 1
Joined: Aug 2017
Reputation: 0
Post: #113
I just tried this addon but I have a very strange phenomenon. I install the add-on and register an account, this works fine and I can see all my files.
Then I go to Videos - Files and add source http (localhost, 8585) and browse that source until I get to my movie collection in Onedrive. Movies are organized in separate folders for each movie. I set the content to Movies and use the default The Movie Database as info provider. Set movies is inseparete folders and not to scan recursively.
Scanning starts and movies are added to the library.
Now to the strange part, all my movies are either MKV or AVI. But none is starting to play when clicking on them in the library. After checking the movie information (long click movie and choose information) and hovering the refresh button you can see the path to the actual video file. In my case all movies are added as "http://<searchpath as in Onedrive>/VIDEO_TS.IFO"
That explains why the movie is not starting, file is not even existing...

I tried to fire up a webbrowser and navigate to localhost:8585 and I can see all my files and I can even navigate to the movie folder and there I can find my mkv or avi file, if I click on the file it starts to download it. So web part seems to be working fine.

I am using the Android version and I get same error on my phone as on my Nvidia shield TV box.

Kodi version 17.3
Onedrive addon version 1.3.1


Am I doing something wrong?
find quote
cguZZMan Offline
Member
Posts: 64
Joined: Feb 2015
Reputation: 1
Post: #114
Don't use the source http address to add videos to your library. Instead, go to the OneDrive addon, navigate to the folder which contains your movie collection and select the option "Add to library (export .strm)..."
Then you need to add the folder where you exported your collection as a source, and scan.
find quote
Jmart93 Offline
Junior Member
Posts: 2
Joined: Aug 2017
Reputation: 0
Post: #115
Hello,

I can install the addon and add the libraries but cannot play my video files and get an error notification everytime I start Kodi or install the extension.

Code:
18:55:49.874 T:8656   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ImportError'>
                                            Error Contents: No module named unittest
                                            Traceback (most recent call last):
                                              File "C:\Users\Julien\AppData\Roaming\Kodi\addons\plugin.onedrive\service.py", line 29, in <module>
                                                from resources.lib.api.source import source
                                              File "C:\Users\Julien\AppData\Roaming\Kodi\addons\plugin.onedrive\resources\lib\api\so​urce.py", line 31, in <module>
                                                from resources.lib.api.html import HTML
                                              File "C:\Users\Julien\AppData\Roaming\Kodi\addons\plugin.onedrive\resources\lib\api\ht​ml.py", line 231, in <module>
                                                import unittest
                                            ImportError: No module named unittest
                                            -->End of Python script error report<--

And here is the log for when I try to play a video:

Code:
19:02:12.370 T:5548  NOTICE: VideoPlayer: Opening: http://localhost/52F965BA5CF15550!41648
19:02:12.370 T:5548 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
19:02:13.581 T:5548   ERROR: CCurlFile::Stat - Failed: Couldn't connect to server(7) for http://localhost/52F965BA5CF15550!41648
19:02:13.582 T:2052  NOTICE: Creating InputStream
19:02:16.391 T:4508 WARNING: CPythonInvoker(3, C:\Users\Julien\AppData\Roaming\Kodi\addons\plugin.onedrive\addon.py): the python script "C:\Users\Julien\AppData\Roaming\Kodi\addons\plugin.onedrive\addon.py" has left several classes in memory that we couldn't clean up. The classes include: class XBMCAddon::xbmcaddon::Addon,class XBMCAddon::xbmcgui::DialogProgressBG,class XBMCAddon::xbmcaddon::Addon,class XBMCAddon::xbmc::Monitor,class XBMCAddon::xbmc::Monitor
19:02:43.580 T:2052   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
19:02:43.580 T:2052   ERROR: CCurlFile::Open failed with code 0 for http://localhost/52F965BA5CF15550!41648
19:03:13.588 T:2052   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
19:03:13.588 T:2052   ERROR: CCurlFile::Open failed with code 0 for http://localhost/52F965BA5CF15550!41648
19:03:13.588 T:2052   ERROR: XFILE::CFileCache::Open - failed to open source <http://localhost/52F965BA5CF15550!41648>
19:03:13.588 T:2052   ERROR: CVideoPlayer::OpenInputStream - error opening [http://localhost/52F965BA5CF15550!41648]
19:03:13.588 T:2052  NOTICE: CVideoPlayer::OnExit()
19:03:13.594 T:5548   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.onedrive/?action=play&item_id=52F965BA5CF15550%2141648&item_driveid=52f965ba5cf15550&driveid=52f965ba5cf15550&content_type=video]
19:03:13.602 T:5548  NOTICE: CVideoPlayer::CloseFile()
19:03:13.602 T:5548  NOTICE: VideoPlayer: waiting for threads to exit
19:03:13.602 T:5548  NOTICE: VideoPlayer: finished waiting
19:03:13.602 T:5548  NOTICE: CVideoPlayer::CloseFile()
19:03:13.602 T:5548  NOTICE: VideoPlayer: waiting for threads to exit
19:03:13.602 T:5548  NOTICE: VideoPlayer: finished waiting

I am using Kodi 17.4-RC1 (Windows store) and OneDrive for KODI installed using the application.

Thank you for your time
(This post was last modified: 2017-08-09 19:08 by Jmart93.)
find quote
cguZZMan Offline
Member
Posts: 64
Joined: Feb 2015
Reputation: 1
Post: #116
I reproduced the issue.
It happens only with the Windows Store version of Kodi. I'll release a new addon version soon with the fix.
Thanks for the report.
find quote
jpdribbler Offline
Junior Member
Posts: 2
Joined: Feb 2015
Reputation: 0
Post: #117
(2017-05-20 20:02)cguZZMan Wrote:  I just updated the login app and the addon. You can use version 1.2.0 from github now.
Business accounts are supported with the new version.

Hi cguzzman,

first of all thank you for this amazing addon!

I could add my office 365 one drive business account (version 1.31) without any problem but unfortunately i cannot see any files under Videos, there are not folder or files. I can give you my credentials if you need to test office 365 (i think right now you can get 1 year for free as developer) See https://profile.microsoft.com/RegSysProf...&lcid=1033

Hardware: Shield TV
Kodi Fork SPMC 16.6.0 (not compatible?)

Thank you again.
(This post was last modified: 2017-08-12 15:28 by jpdribbler.)
find quote
cguZZMan Offline
Member
Posts: 64
Joined: Feb 2015
Reputation: 1
Post: #118
Hi jpdribbler, if you can you send me your user and password in a private message it will be great. It will be more easy to test it.
find quote
stcaosu Offline
Junior Member
Posts: 3
Joined: Aug 2017
Reputation: 0
Post: #119
Hi Carlos,

I can see the files in the browser via http://localhost:8585 and I can select them but some somehow Kodi is not able to play these files from my addon - The log is shown below - Thanks you.

17:08:16 T:6312 ERROR: CCurlFile::Stat - Failed: Timeout was reached(28) for http://localhost:8585/Bata Band/Public/bataband_mkv_song_folder/00/001.mkv
17:08:16 T:6312 NOTICE: DVDPlayer: Opening: http://localhost:8585/Bata Band/Public/bataband_mkv_song_folder/00/001.mkv
17:08:16 T:6312 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
17:08:16 T:6312 WARNING: DXVA::CProcessorHD::PreInit - failed to get video devices.
17:08:16 T:6312 NOTICE: CWinRenderer::Preinit - could not init DXVA processor - skipping
17:08:16 T:11676 NOTICE: Creating InputStream
17:08:23 T:8620 ERROR: 127.0.0.1 - - [14/Aug/2017 17:08:23] code 400, message Bad request syntax ('HEAD /Bata Band/Public/bataband_mkv_song_folder/00/001.mkv HTTP/1.1')
17:08:23 T:8620 ERROR: 127.0.0.1 - - [14/Aug/2017 17:08:23] "HEAD /Bata Band/Public/bataband_mkv_song_folder/00/001.mkv HTTP/1.1" 400 -
17:08:23 T:8620 ERROR: 127.0.0.1 - - [14/Aug/2017 17:08:23] code 400, message Bad request syntax ('HEAD /Bata Band/Public/bataband_mkv_song_folder/00/001.mkv HTTP/1.1')
17:08:23 T:8620 ERROR: 127.0.0.1 - - [14/Aug/2017 17:08:23] "HEAD /Bata Band/Public/bataband_mkv_song_folder/00/001.mkv HTTP/1.1" 400 -
17:08:24 T:8620 ERROR: 127.0.0.1 - - [14/Aug/2017 17:08:24] code 400, message Bad request syntax ('GET /Bata Band/Public/bataband_mkv_song_folder/00/001.mkv HTTP/1.1')
17:08:24 T:8620 ERROR: 127.0.0.1 - - [14/Aug/2017 17:08:24] "GET /Bata Band/Public/bataband_mkv_song_folder/00/001.mkv HTTP/1.1" 400 -
17:08:24 T:11676 ERROR: CCurlFile::Open failed with code 0 for http://localhost:8585/Bata Band/Public/bataband_mkv_song_folder/00/001.mkv
17:08:24 T:11676 ERROR: XFILE::CFileCache::Open - failed to open source <http://localhost:8585/Bata Band/Public/bataband_mkv_song_folder/00/001.mkv>
17:08:24 T:11676 ERROR: CDVDPlayer::OpenInputStream - error opening [http://localhost:8585/Bata Band/Public/bataband_mkv_song_folder/00/001.mkv]
17:08:24 T:11676 NOTICE: CDVDPlayer::OnExit()
17:08:24 T:6312 ERROR: Playlist Player: skipping unplayable item: 0, path [http://localhost:8585/Bata Band/Public/bataband_mkv_song_folder/00/001.mkv]
17:08:24 T:6312 NOTICE: CDVDPlayer::CloseFile()
17:08:24 T:6312 NOTICE: DVDPlayer: waiting for threads to exit
17:08:24 T:6312 NOTICE: DVDPlayer: finished waiting
17:08:24 T:6312 NOTICE: CDVDPlayer::CloseFile()
17:08:24 T:6312 NOTICE: DVDPlayer: waiting for threads to exit
17:08:24 T:6312 NOTICE: DVDPlayer: finished waiting
find quote
jpdribbler Offline
Junior Member
Posts: 2
Joined: Feb 2015
Reputation: 0
Post: #120
(2017-08-15 02:15)cguZZMan Wrote:  Hi jpdribbler, if you can you send me your user and password in a private message it will be great. It will be more easy to test it.

Hi Carlos,

thanks for your reply,

unfortunately i cannot send you any private message or email in the kodi forum or on github. Can you send me a private message to which i can reply to? Not sure how to contact you now the safest way.

BR

//edit:
i could get your email address and sent you an email, thanks! Smile
(This post was last modified: 2017-08-15 08:41 by jpdribbler.)
find quote
Post Reply