Kodi Community Forum

Full Version: Dropbox addon
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Website: http://sourceforge.net/projects/xbmc-dropbox/
Wiki: http://kodi.wiki/view/Add-on:Dbmc

Description
XBMC addon for Dropbox. Features:
  • With this addon you can access multiple dropbox accounts. And for each account you can:
  • Browse your dropbox files and folders in the Pictures, Videos, Music and Programs menus
  • Pictures: View dropbox pictures (with slideshow of XBMC)
  • Videos: View dropbox videos
  • Music: Play dropbox music
  • Programs: Browse all files and folders
  • Dropbox files are cached to local disk/location for smooth performance
  • Delete, copy, move, upload and download files in/to Dropbox
  • Create folders in Dropbox
  • Search for files/folders in Dropbox
  • One way (dropbox to local) synchronization service (from version 0.6.1)

Notice when using the synchronizing service
This service is a one way synchronization only! From Dropbox to local. So:
No files will be added/uploaded to Dropbox, which are added locally
No Dropbox items will be removed or changed when removed or changed locally (on a new new sync they will be put back)
Important: If you are on a platform, for which the native Dropbox Application is available, use that! That is a much better working, more stable and more safe than this service. This service has been created for the platforms which are not supported by Dropbox (like Raspbmc).
Check the Dropbox site for their native Application.
Very nice work, thank you!

Do you think that this (or a fork of the code) could also be made into a service addon that always runs in the background or could be called upon on demand?

http://forum.xbmc.org/forumdisplay.php?fid=152
http://wiki.xbmc.org/index.php?title=Cat...ce_add-ons

Would be cool if other addons XBMC could use Dropbox to backup or synchronize data between when you have XBMC running on multiple devices.

Kind of like how several different iOS and Android apps are using API for Dropbox and similar online cloud storage services to share data between them.
I'm trying to log on using web viewer but it is only asking for password (not email). What am I missing?
Ah. Got it using Confluence. Nice and thanks!
(2013-09-06, 13:56)Hedda Wrote: [ -> ]Very nice work, thank you!

Do you think that this (or a fork of the code) could also be made into a service addon that always runs in the background or could be called upon on demand?

http://forum.xbmc.org/forumdisplay.php?fid=152
http://wiki.xbmc.org/index.php?title=Cat...ce_add-ons

Would be cool if other addons XBMC could use Dropbox to backup or synchronize data between when you have XBMC running on multiple devices.

Kind of like how several different iOS and Android apps are using API for Dropbox and similar online cloud storage services to share data between them.

Thanks for your feedback.
The synchronizing, which I would like to implement in a later release, would run in the background (always). So I guess it would be like a service addon. So it would keep a folder on the XBMC device in sync with the Dropbox folder. But, are you referring to specific XBMC data(files) you want to synchronize with Dropbox? What kind of data would that be? Can you name an example?
Would be cool to be able to sync xbmc settings/addons/data etc
The XBMC Backup addon already runs as a service and can use Dropbox as a target. Not saying this addon isn't needed for other types of files you may want to sync but settings/addons/etc can already be backed up via this addon. You might want to check it out if you're looking for something to just backup your settings data. The setup is basically the same as outlined for this addon to get your dropbox account authorized by the addon.

http://forum.xbmc.org/showthread.php?tid=129499
Kudos. Was not aware. Thank you!
A new version is available (0.4.0). If you have the addon installed it should automatically update to the new version. If not you can download it from here:
http://sourceforge.net/projects/xbmc-dropbox/

New features are:
  • Add context menu items for:
    • searching for dropbox files/folders
    • deleting files/folders from Dropbox
    • copying files/folders in Dropbox
    • move files/folders in Dropbox
    • create folders in Dropbox
    • upload files to Dropbox
  • Added passcode lock functionality
  • Add the addon to the Programs menu
  • Added fanart image
  • Remove cached files/folders/thumbnails when items are no longer
    present in dropbox folders

I hope you like it. :-)

Now I will start working on synchronizing a folder with dropbox.
I am unable to stream/play videos.

I can only browse them.

The context menu doesn't provide options for streaming/playback.

Also, I'm unable to open all folders. When I try to open them they give errors.

Any idea why this is happening?
(2013-09-22, 07:41)Agora1 Wrote: [ -> ]I am unable to stream/play videos.

I can only browse them.

The context menu doesn't provide options for streaming/playback.
The addon caches the media files in the folders that you open in the addon. Videos are normally large files so it can take some time before they are actually downloaded. After they are downloaded you can play them. I understand that this is not very clear, so I'll try to add some background progress bar dialog so that you can see if the addon is still downloading media items.
I already tested with streaming from dropbox directly (so no caching), but this didn't work that well. It takes to long to get the media url from dropbox... But I'll check this again, maybe I missed something...

(2013-09-22, 07:41)Agora1 Wrote: [ -> ]Also, I'm unable to open all folders. When I try to open them they give errors.

Any idea why this is happening?
What kind of error do you get?
I didn't read the entire thread and don't know the special circumstances for your problem. I just spotted this qoute:
(2013-09-22, 20:58)josetaza Wrote: [ -> ]I already tested with streaming from dropbox directly (so no caching), but this didn't work that well. It takes to long to get the media url from dropbox... But I'll check this again, maybe I missed something...

You know the setResolvedUrl() method? I wrote a good explanation for it here.
(2013-09-22, 23:03)sphere Wrote: [ -> ]I didn't read the entire thread and don't know the special circumstances for your problem. I just spotted this qoute:
(2013-09-22, 20:58)josetaza Wrote: [ -> ]I already tested with streaming from dropbox directly (so no caching), but this didn't work that well. It takes to long to get the media url from dropbox... But I'll check this again, maybe I missed something...

You know the setResolvedUrl() method? I wrote a good explanation for it here.
Thanks for the info. I will check this as well. I have played with the setResolvedUrl() before but I didn't understand how it worked. Now I understand it better.
(2013-09-22, 20:58)josetaza Wrote: [ -> ]
(2013-09-22, 07:41)Agora1 Wrote: [ -> ]Also, I'm unable to open all folders. When I try to open them they give errors.

Any idea why this is happening?
What kind of error do you get?

Script failed: addon.py
(2013-09-25, 08:11)Agora1 Wrote: [ -> ]
(2013-09-22, 20:58)josetaza Wrote: [ -> ]
(2013-09-22, 07:41)Agora1 Wrote: [ -> ]Also, I'm unable to open all folders. When I try to open them they give errors.

Any idea why this is happening?
What kind of error do you get?

Script failed: addon.py
Hi there,
Could you provide a bit more info?
An error message from the xbmc.log would be nice. http://wiki.xbmc.org/index.php?title=Log...#Log_files
Also, what version are you using? In 0.2.1b there was a problem with 'special' characters in the folder/file names (eg.: &,@ and so on) This is (should Confused ) be fixed in 0.4.0.
Can you provide a folder name on which it failes?
What platform are you using it? (Linux, windows, raspberrypi, ...)

Thanks
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22