Release - Dropbox addon

  Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
josetaza Offline
Member
Posts: 75
Joined: Aug 2013
Reputation: 3
Location: The Netherlands, Eindhoven
Lightbulb  Dropbox addon
Post: #1
Website: http://sourceforge.net/projects/xbmc-dropbox/
Wiki: Add-on:Dbmc (wiki)

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.
(This post was last modified: 2015-03-31 19:30 by josetaza.)
find quote
Hedda Offline
Fan
Posts: 629
Joined: Feb 2013
Reputation: 12
Post: #2
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.
find quote
Jmhthefirst Offline
Senior Member
Posts: 276
Joined: Jan 2013
Reputation: 0
Post: #3
I'm trying to log on using web viewer but it is only asking for password (not email). What am I missing?
find quote
Jmhthefirst Offline
Senior Member
Posts: 276
Joined: Jan 2013
Reputation: 0
Post: #4
Ah. Got it using Confluence. Nice and thanks!
find quote
josetaza Offline
Member
Posts: 75
Joined: Aug 2013
Reputation: 3
Location: The Netherlands, Eindhoven
Post: #5
(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?
find quote
bry- Offline
Donor
Posts: 1,498
Joined: Jan 2011
Reputation: 16
Post: #6
Would be cool to be able to sync xbmc settings/addons/data etc
find quote
robweber Offline
Posting Freak
Posts: 1,009
Joined: Sep 2009
Reputation: 31
Post: #7
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
find quote
bry- Offline
Donor
Posts: 1,498
Joined: Jan 2011
Reputation: 16
Post: #8
Kudos. Was not aware. Thank you!
find quote
josetaza Offline
Member
Posts: 75
Joined: Aug 2013
Reputation: 3
Location: The Netherlands, Eindhoven
Post: #9
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.
find quote
Agora1 Offline
Junior Member
Posts: 9
Joined: Sep 2013
Reputation: 0
Post: #10
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?
find quote
josetaza Offline
Member
Posts: 75
Joined: Aug 2013
Reputation: 3
Location: The Netherlands, Eindhoven
Post: #11
(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?
find quote
sphere Offline
Team-Kodi Member
Posts: 1,267
Joined: Jul 2009
Reputation: 52
Location: Germany
Post: #12
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.

My GitHub. My Add-ons:
[Image: IOoywq0.jpg]
find quote
josetaza Offline
Member
Posts: 75
Joined: Aug 2013
Reputation: 3
Location: The Netherlands, Eindhoven
Post: #13
(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.
find quote
Agora1 Offline
Junior Member
Posts: 9
Joined: Sep 2013
Reputation: 0
Post: #14
(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
find quote
josetaza Offline
Member
Posts: 75
Joined: Aug 2013
Reputation: 3
Location: The Netherlands, Eindhoven
Post: #15
(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 Frown ) 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
find quote
Post Reply