Kodi Community Forum
[CLOSED] OneDrive (SkyDrive) Video/Music add-on for XBMC / Kodi - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: [CLOSED] OneDrive (SkyDrive) Video/Music add-on for XBMC / Kodi (/showthread.php?tid=208131)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12


RE: [EARLY TESTING] OneDrive (SkyDrive) Video/Music add-on for XBMC / Kodi - mral70 - 2015-05-07

Just loaded the OneDrive a few min ago and still playing with it to see what it does. Also downloaded the test version but havent installed it yet. Any chance or vision for the future to add some doc support for pdf files. I print a lot of pics to pdf files to string them together. I have a pdf file that has several hundred pics in it also. Plus, lots of my house plans and drawings are scanned into pdf files. This would be great if i could pull them straight from my my OneDrive to a big tv to talk to folks about it.

Great code so far. I like it a lot.Big Grin

Al


RE: [EARLY TESTING] OneDrive (SkyDrive) Video/Music add-on for XBMC / Kodi - dmdsoftware - 2015-05-08

First new release major release, supporting OneDrive API.

Unleashed for testing:
Version 0.3.1
- OneDrive API support added - changes for all login methods except for ClientLogin
- now included:
* support for music
* improved folder management
* improved STRM creation
* improved SEARCH
* support for OAUTH2 (support for secure accounts, two-factor authentication accounts, etc)

http://dmdsoftware.net/repository.ddurdle-testing/plugin.video.onedrive-testing-0.3.1.zip

Just doing some more testing on the following:
- coming soon:
* subtitle (SRT) support
* integrated player
* photo support
* download and cache support
* OneDrive for business


You need to make sure you switch to an account type that supports One Drive API (either dmdsoftware OAUTH2, SSL Script, or your own OAUTH2 client ID). ClientLogin type is legacy and doesn't include many of the new features.
Instructions posted here -> http://dmdsoftware.net/OneDriveOAUTH2/index.html


RE: [now testing OneDrive API] OneDrive (SkyDrive) Video/Music add-on for XBMC / Kodi - dmdsoftware - 2015-05-08

Turned on photo support. Camera Roll isn't working, something to do with access permissions. I'm in contact with Microsoft on getting a resolution.

- known issue - Can't access Camera Roll #3
- known issue - Thumbnails broken on 0.3.0 with OneDrive / OAUTH2 #4
Version 0.3.2
- enable picture plugin mode and picture support

http://dmdsoftware.net/repository.ddurdle-testing/plugin.video.onedrive-testing-0.3.2.zip


RE: [now testing OneDrive API] OneDrive (SkyDrive) Video/Music add-on for XBMC / Kodi - tehKNi - 2015-05-08

wow nice... ;-)
have to document myself a little bit for 3. and 4., have to say that i'm not even close to understand how to get that OAUTH2 code (though i'm ok with the client ID + secret key).

Anyway, i've just did it with the SSL script stuff, it's login in correctly.
Though, it's only displaying 2 folders in the root so far Smile


RE: [now testing OneDrive API] OneDrive (SkyDrive) Video/Music add-on for XBMC / Kodi - dmdsoftware - 2015-05-08

(2015-03-15, 15:48)dmdsoftware Wrote:
(2015-03-03, 08:23)sandronesta Wrote: I have tested Version 0.1.6 and 0.2.1 and I can't build a stream with right-click on the File.

You showed this option for Hive (https://www.youtube.com/watch?v=mf8KR7QBUZA) and this is really a cool feature...

Sorry, I noticed the code is there but disabled. The STRMs that are generated are unique and expire after time, so until STRMs that can be generated that don't expire after some period of time can be generated, the feature will be unavailable.

I will have a look at what work needs to be done to rework the way links are generated, but it involves a lot of rework (hours).

(2015-05-08, 21:31)tehKNi Wrote: wow nice... ;-)
have to document myself a little bit for 3. and 4., have to say that i'm not even close to understand how to get that OAUTH2 code (though i'm ok with the client ID + secret key).

Anyway, i've just did it with the SSL script stuff, it's login in correctly.
Though, it's only displaying 2 folders in the root so far Smile
The folders are not all showing up?

I got a workaround for the camera roll from MS. It's actually a bug they were not aware of that I drew their attention to. Very quick and responsive they were. The workaround I'll document in another release today, until a permanent fix can be done on their side.

If there is anything in particular about those folders. Right now, "special" folders won't show up (Music, Photos, Documents, Camera Roll) until I document the workaround. There is an issue with accessing your drive with only read-only permissions that prevents these from working.


RE: [now testing OneDrive API] OneDrive (SkyDrive) Video/Music add-on for XBMC / Kodi - tehKNi - 2015-05-09

(2015-05-08, 22:22)dmdsoftware Wrote: The folders are not all showing up?

Indeed, only 2 (the first, and the last) and i've got 3 others that are not, even with some regular names Smile
I've got "Document" working.
Pictures, Music and Videos are not.


RE: [now testing OneDrive API] OneDrive (SkyDrive) Video/Music add-on for XBMC / Kodi - dmdsoftware - 2015-05-09

Version 0.3.3
- partial fix - Thumbnails broken on 0.3.0 with OneDrive / OAUTH2 #4
- support for subtitles (.srt files) -- will load automatically
- added special folders (in photos/pictures context) Camera Roll, Documents, Photos and (in music context) Music
- workaround for Can't access Camera Roll #3
-- READ & WRITE scope access is required when using special folders.
-- For authenticating with dmdsoftware.net OAUTH2, use the following:
-- https://login.live.com/oauth20_authorize.srf?client_id=000000004412F032&scope=wl.offline_access%20onedrive.readwrite&response_type=code&redirect_uri=https://login.live.com/oauth20_desktop.srf
-- For authenticating with SSL Script, use the following:
-- https://login.live.com/oauth20_authorize.srf?client_id=0000000040156511&scope=wl.offline_access%20onedrive.readwrite&response_type=code&redirect_uri=https://script.google.com/macros/s/AKfycbwYa0MLXluP5gEdkUwKvImFwykltNyg94EC7yAL_CWCxKaRjkg/exec


http://dmdsoftware.net/repository.ddurdle-testing/plugin.video.onedrive-testing-0.3.3.zip



- known issue - Can't access Camera Roll #3
- known issue - Thumbnails broken on 0.3.0 with OneDrive / OAUTH2 #4


RE: [now testing OneDrive API] OneDrive (SkyDrive) Video/Music add-on for XBMC / Kodi - tehKNi - 2015-05-09

Deleted every settings, still passing through SSL script (but the new one).
Gained access again to Onedrive with Kodi, still with no access to Photos, Music and Videos.


RE: [now testing OneDrive API] OneDrive (SkyDrive) Video/Music add-on for XBMC / Kodi - dmdsoftware - 2015-05-09

(2015-03-15, 15:48)dmdsoftware Wrote:
(2015-03-03, 08:23)sandronesta Wrote: I have tested Version 0.1.6 and 0.2.1 and I can't build a stream with right-click on the File.

You showed this option for Hive (https://www.youtube.com/watch?v=mf8KR7QBUZA) and this is really a cool feature...

Sorry, I noticed the code is there but disabled. The STRMs that are generated are unique and expire after time, so until STRMs that can be generated that don't expire after some period of time can be generated, the feature will be unavailable.

I will have a look at what work needs to be done to rework the way links are generated, but it involves a lot of rework (hours).

(2015-05-09, 12:53)tehKNi Wrote: Deleted every settings, still passing through SSL script (but the new one).
Gained access again to Onedrive with Kodi, still with no access to Photos, Music and Videos.

I will add a special debug mode for you to use so I can see what is going on. Let me test the debug mode first.


RE: [now testing OneDrive API] OneDrive (SkyDrive) Video/Music add-on for XBMC / Kodi - dmdsoftware - 2015-05-09

(2015-05-09, 12:53)tehKNi Wrote: Deleted every settings, still passing through SSL script (but the new one).
Gained access again to Onedrive with Kodi, still with no access to Photos, Music and Videos.

I pushed out a new version 0.3.4 (updated in repository and http://dmdsoftware.net/repository.ddurdle-testing/plugin.video.onedrive-testing-0.3.4.zip) with debug. Can you go into settings, navigate to Logging (last tab). Mark enabled the send crash logs and media list debug. Then navigate to your folder in the plugin. You should be prompted asking to send the data to me. It should provide you a reference number.

It will send the directory listing information to me, so I can examine it and understand why it is only detecting 2 directories.


RE: [now testing OneDrive API] OneDrive (SkyDrive) Video/Music add-on for XBMC / Kodi - dmdsoftware - 2015-05-09

tehKNi, 0.3.5 made a lot of optimizations to the indexing. It's not skipping any files or folders for me. The debug method is still there if you need me to troubleshoot.

New release (0.3.5):
http://dmdsoftware.net/repository.ddurdle-testing/plugin.video.onedrive-testing-0.3.5.zip


Version 0.3.5
- improvements to indexing
- fix: Thumbnails broken on 0.3.0 with OneDrive / OAUTH2 #4

- known issue - Can't access Camera Roll #3


RE: [now testing OneDrive API] OneDrive (SkyDrive) Video/Music add-on for XBMC / Kodi - tehKNi - 2015-05-09

Seems to work a lot better with that one ;-) !
You can add to your known issues list that you've got some trouble with special characters (like "é", i'm french)

EDIT : still got some trouble with the STRMs also, and that's not the same files as before.
EDIT 2 : well actually it's linked to the special characters trouble (in the filename)


RE: [now testing OneDrive API] OneDrive (SkyDrive) Video/Music add-on for XBMC / Kodi - poppax - 2015-05-10

I got an issue with the STRM files - not sure if its a Kodi or Onedrive-addin issue.
When I add video files to the Kodi library using the STRM files - it plays the videos very nicely - but it does not store a resume point. So it starts the video from the beginning everytime.
If that could be fixed it would be very good - since I miss the metadata when browsing directly in the onedrive-addin (where is also plays nicely AND it stores the resume point)


RE: [now testing OneDrive API] OneDrive (SkyDrive) Video/Music add-on for XBMC / Kodi - dmdsoftware - 2015-05-10

(2015-05-10, 00:14)poppax Wrote: I got an issue with the STRM files - not sure if its a Kodi or Onedrive-addin issue.
When I add video files to the Kodi library using the STRM files - it plays the videos very nicely - but it does not store a resume point. So it starts the video from the beginning everytime.
If that could be fixed it would be very good - since I miss the metadata when browsing directly in the onedrive-addin (where is also plays nicely AND it stores the resume point)

.STRM support from KODI library doesn't support resume points. Within the plugin, it uses KODI's built in tracking. In the Google Drive plugin, I'm testing storing the playback resume right in the cloud storage so that regardless how you playback (in the plugin or via STRM), it resumes where you left off.

I'll be testing these methods with this plugin as well.


RE: [now testing OneDrive API] OneDrive (SkyDrive) Video/Music add-on for XBMC / Kodi - dmdsoftware - 2015-05-10

(2015-05-09, 23:51)tehKNi Wrote: Seems to work a lot better with that one ;-) !
You can add to your known issues list that you've got some trouble with special characters (like "é", i'm french)

EDIT : still got some trouble with the STRMs also, and that's not the same files as before.
EDIT 2 : well actually it's linked to the special characters trouble (in the filename)

I'll track it here: https://github.com/ddurdle/KODI-OneDrive/issues/5

Does playback of these files work?