Kodi Community Forum
Release Dropbox addon - 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: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+---- Thread: Release Dropbox addon (/showthread.php?tid=172902)

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


RE: Dropbox addon - josetaza - 2014-10-29

Hi,
Starting the addon from the Programs menu, you should see al the files (and folders) in your account. (you don't need to enable synchronizing for that)
If you want to see all files, when starting from the Pictures/Music/Video menu's, you can disable the following setting:
Quote:Show relevant files only: When enabled, only pictures are shown when starting the addon from the Pictures menu, only music is shown when starting from the Music menu and only video when starting from the Video menu.
See also: http://kodi.wiki/view/Add-on:Dbmc
I hope this helps.


RE: Dropbox addon - psysfaction - 2014-11-05

I am very interested in this Add-on to sync informational pictures to various Raspberry Pi installed in a hostel.

Is there some kind of limit as to how many xbmc/kodi clients can be linked to one Drobpox account?


RE: Dropbox addon - josetaza - 2014-11-05

(2014-11-05, 05:33)psysfaction Wrote: I am very interested in this Add-on to sync informational pictures to various Raspberry Pi installed in a hostel.

Is there some kind of limit as to how many xbmc/kodi clients can be linked to one Drobpox account?
The addon doesn't have limits in that aspect. Maybe Dropbox has limits, but I'm guessing not. I have synced my account on 3 XBMC devices with Dbmc, and I don't have any problems with that.


RE: Dropbox addon - psysfaction - 2014-11-06

(2014-11-05, 22:13)josetaza Wrote:
(2014-11-05, 05:33)psysfaction Wrote: I am very interested in this Add-on to sync informational pictures to various Raspberry Pi installed in a hostel.

Is there some kind of limit as to how many xbmc/kodi clients can be linked to one Drobpox account?
The addon doesn't have limits in that aspect. Maybe Dropbox has limits, but I'm guessing not. I have synced my account on 3 XBMC devices with Dbmc, and I don't have any problems with that.

That's great, I also just read on the Dropbox website that there is now limit on how many computers can be connected.

Dropbox


RE: Dropbox addon - josetaza - 2014-11-06

(2014-11-06, 12:20)psysfaction Wrote: That's great, I also just read on the Dropbox website that there is no limit on how many computers can be connected.

Dropbox

Thanks for the feed back. Good to know.


RE: Dropbox addon - marv_el - 2014-11-12

hi,

i installed dbmc on my new openelec system and started syncing my whole pictures and vids (more than 35 gigs).
after many hours of downloading dbmc gave me a script error and stopped the sync!
here's my debug log:
http://xbmclogs.com/show.php?id=348836

i figured out that the problem relies on the sync_data.pik file in the addon_data dir. an entry seems to make problems. i renamed the file and tried again, but dbmc started to sync the whole 35gigs again, ignoring the already dowloaded files.
any idea how i can solve this without the need to run it for days to sync everything again?

great addon btw., glad to have the possibility to access dropbox on openelec.


RE: Dropbox addon - marv_el - 2014-11-15

this is the more detailed error i get:
"open file '/storage/.xbmc/userdata/addon_data/plugin.dbmc//sync_data.pik', mode 'r' at 0xa2127390>"

maybe i can edit the sync_data.pik manually to solve this? can you suggest any solution i can try?


RE: Dropbox addon - josetaza - 2014-11-26

(2014-11-15, 11:10)marv_el Wrote: this is the more detailed error i get:
"open file '/storage/.xbmc/userdata/addon_data/plugin.dbmc//sync_data.pik', mode 'r' at 0xa2127390>"

maybe i can edit the sync_data.pik manually to solve this? can you suggest any solution i can try?
Sorry for the late response. The forum didn't send me an email update on your messages.
Can you send a link to new logging again, the link above doesn't work anymore. And what version of the addon are you on?


RE: Dropbox addon - matryc - 2014-11-28

Hi josetaza!
I have to admit that this add-on is a must-have! Wink
Great work man!

But I'm here also to report a bug.
Add-on in version 0.7.3 works great.
But in my example 0.7.4 and 0.7.5 gives me "dbmc script error" and this output:
Code:
01:06:27 T:140132113360640   DEBUG: CPythonInvoker(15, /storage/.kodi/addons/plugin.dbmc/addon.py): entering source directory /storage/.kodi/addons/plugi
n.dbmc
01:06:27 T:140132113360640   DEBUG: CPythonInvoker(15, /storage/.kodi/addons/plugin.dbmc/addon.py): instantiating addon using automatically obtained id o
f "plugin.dbmc" dependent on version 2.1.0 of the xbmc.python api
01:06:28 T:140132113360640   DEBUG: plugin.dbmc: Argument List: ['plugin://plugin.dbmc/', '7', '']
01:06:28 T:140132113360640   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.UnboundLocalError'>
                                            Error Contents: local variable 'iconImage' referenced before assignment
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/plugin.dbmc/addon.py", line 75, in <module>
                                                current_module.run(params)
                                              File "/storage/.kodi/addons/plugin.dbmc/browse_account.py", line 313, in run
                                                browser.buildList()
                                              File "/storage/.kodi/addons/plugin.dbmc/browse_account.py", line 100, in buildList
                                                self.add_account(name)
                                              File "/storage/.kodi/addons/plugin.dbmc/browse_account.py", line 120, in add_account
                                                listItem = xbmcgui.ListItem(name, iconImage=iconImage, thumbnailImage=iconImage)
                                            UnboundLocalError: local variable 'iconImage' referenced before assignment
                                            -->End of Python script error report<--
01:06:28 T:140132409927552   DEBUG: ------ Window Init (DialogKaiToast.xml) ------
01:06:28 T:140132113360640    INFO: Python script stopped
01:06:28 T:140132113360640   DEBUG: Thread LanguageInvoker 140132113360640 terminating
01:06:28 T:140132409927552   DEBUG:  WaitOnScriptResult - plugin exited prematurely - terminating
01:06:28 T:140132409927552   ERROR: GetDirectory - Error getting plugin://plugin.dbmc/
01:06:28 T:140132409927552   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.dbmc/) failed
01:06:28 T:140132409927552   DEBUG: CGUIMediaWindow::GetDirectory ()
01:06:28 T:140132409927552   DEBUG:   ParentPath = [plugin://plugin.dbmc/]
01:06:28 T:140132113360640  NOTICE: Thread BackgroundLoader start, auto delete: false
01:06:28 T:140132113360640   DEBUG: Thread BackgroundLoader 140132113360640 terminating
01:06:28 T:140132409927552   DEBUG: ------ Window Deinit (DialogAddonInfo.xml) ------
01:06:33 T:140132409927552   DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
01:06:36 T:140132409927552   DEBUG: ------ Window Init (Pointer.xml) ------
01:06:42 T:140132409927552   DEBUG: ------ Window Deinit (Pointer.xml) ------
01:06:50 T:140131218482944   DEBUG: Thread JobWorker 140131218482944 terminating (autodelete)
01:06:50 T:140131646281472   DEBUG: Thread JobWorker 140131646281472 terminating (autodelete)
01:06:51 T:140132409927552   DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/ImageLib-x86_64-linux.so)
01:06:51 T:140132409927552   DEBUG: Unloading: /ImageLib-x86_64-linux.so
01:08:27 T:140132409927552   DEBUG: ------ Window Init (Pointer.xml) ------
01:08:32 T:140132409927552   DEBUG: ------ Window Deinit (Pointer.xml) ------

It appears right after lunching the add-on.

Greets.


RE: Dropbox addon - josetaza - 2014-11-28

Oh, that is such a stupid bug... I'm so embarrassed.Confused
I will fix it right away.

The problem only occurs when you start the addon from the "Programs" menu. The addon doesn't has this problem when you start it from the Pictures, Music or Video menus.
Thanks for reporting it!


RE: Dropbox addon - marv_el - 2014-11-30

(2014-11-26, 21:48)josetaza Wrote:
(2014-11-15, 11:10)marv_el Wrote: this is the more detailed error i get:
"open file '/storage/.xbmc/userdata/addon_data/plugin.dbmc//sync_data.pik', mode 'r' at 0xa2127390>"

maybe i can edit the sync_data.pik manually to solve this? can you suggest any solution i can try?
Sorry for the late response. The forum didn't send me an email update on your messages.
Can you send a link to new logging again, the link above doesn't work anymore. And what version of the addon are you on?

the link works for me, but xbmclogs seems a bit unstable.
beside that, i enabled sync yesterday to see if something changed after the update with multiple accounts. "unfortunately" i had to set the folders again and the addon began to sync from scratch (10.000+ files). from my last sync, before the error occurs, i guess 80 to 90% of the files are already on my local disk.
it seems that your dropbox addons does not check if the file already exists to skip it?! this feature would help a lot to save time and bandwith.
can you implement this?

btw. i think that the posted error isn't a bug from your addon. i once shut down xbmc during the sync process so maybe that broke it?!


RE: Dropbox addon - derfmit - 2014-12-01

I hope this is the right place to post.

I think i successfully added my drop box account, but when i click on my account (name) nothing happens.

This is Kodi 14.00


RE: Dropbox addon - foobar2014 - 2014-12-05

Derfmit, I'm facing the same problem with Kodi v14.0 - helix - rc on my Amazon Fire TV. It show "working…" for about . 0.2s, but then nothing happens.


RE: Dropbox addon - bazabel - 2014-12-08

(2014-12-01, 14:55)derfmit Wrote: I hope this is the right place to post.

I think i successfully added my drop box account, but when i click on my account (name) nothing happens.

This is Kodi 14.00

Same here?


RE: Dropbox addon - josetaza - 2014-12-11

(2014-12-08, 14:37)bazabel Wrote:
(2014-12-01, 14:55)derfmit Wrote: I hope this is the right place to post.

I think i successfully added my drop box account, but when i click on my account (name) nothing happens.

This is Kodi 14.00

Same here?

Can you provide me with some logging so that I can analyze this problem? Preferably with DEBUG log level enabled.
Please do the following actions:
1) remove the account
2) add the account again (I need the logging from this part)
3) try to access the account (I need the logging from this part)

Thanks