Release - Dropbox addon

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
josetaza Offline
Member
Posts: 53
Joined: Aug 2013
Reputation: 2
Location: The Netherlands, Eindhoven
Post: #91
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.
find quote
psysfaction Offline
Member
Posts: 50
Joined: Sep 2010
Reputation: 0
Post: #92
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?
(This post was last modified: 2014-11-05 05:33 by psysfaction.)
find quote
josetaza Offline
Member
Posts: 53
Joined: Aug 2013
Reputation: 2
Location: The Netherlands, Eindhoven
Post: #93
(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.
find quote
psysfaction Offline
Member
Posts: 50
Joined: Sep 2010
Reputation: 0
Post: #94
(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
find quote
josetaza Offline
Member
Posts: 53
Joined: Aug 2013
Reputation: 2
Location: The Netherlands, Eindhoven
Post: #95
(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.
find quote
marv_el Offline
Senior Member
Posts: 157
Joined: Aug 2009
Reputation: 2
Post: #96
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.
find quote
marv_el Offline
Senior Member
Posts: 157
Joined: Aug 2009
Reputation: 2
Post: #97
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?
find quote
josetaza Offline
Member
Posts: 53
Joined: Aug 2013
Reputation: 2
Location: The Netherlands, Eindhoven
Post: #98
(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?
find quote
matryc Offline
Junior Member
Posts: 9
Joined: Nov 2014
Reputation: 0
Post: #99
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.
find quote
josetaza Offline
Member
Posts: 53
Joined: Aug 2013
Reputation: 2
Location: The Netherlands, Eindhoven
Post: #100
Oh, that is such a stupid bug... I'm so embarrassed.Frown
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!
find quote
marv_el Offline
Senior Member
Posts: 157
Joined: Aug 2009
Reputation: 2
Post: #101
(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?!
find quote
derfmit Offline
Junior Member
Posts: 1
Joined: Dec 2014
Reputation: 0
Post: #102
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
find quote
foobar2014 Offline
Junior Member
Posts: 1
Joined: Dec 2014
Reputation: 0
Post: #103
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.
find quote
bazabel Offline
Junior Member
Posts: 7
Joined: Aug 2010
Reputation: 0
Post: #104
(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?
find quote
josetaza Offline
Member
Posts: 53
Joined: Aug 2013
Reputation: 2
Location: The Netherlands, Eindhoven
Post: #105
(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
find quote
Post Reply