[RELEASE] - Sync media library with MyMediaDB
#1
Star 
We just updated http://www.mymediadb.org to version 0.1.1 and together with the release we made the first attempt of a xbmc addon featuring two way syncing.

The code and binary release can be found here.

http://code.google.com/p/mmdb-xbmc-addon/

For now the features include:
  • Two way syncing of:
    • acquired state of a movie
    • watched state of the movie

In the future we hope that we can add functionality for marking media as loved/hated and custom tagging.

Please take a look! and tell us what you think Smile any bugs can be reported on the project page.

We hope that we can get this plugin into the official repository once the code has proven stable.

Edit: the addon is in the official repo's!
Reply
#2
Unfortunately not working for me:

Quote:16:56:39 T:6555456 M:1339076608 DEBUG: ADDON: cpluff: 'Plug-in script.mymediadb has been installed.'
16:56:47 T:3067083632 M:1299222528 DEBUG: Process - The source file to load is /home/peter/.xbmc/addons/script.mymediadb/default.py
16:56:47 T:3067083632 M:1299222528 DEBUG: Process - Setting the Python path to /home/peter/.xbmc/addons/script.mymediadb:/home/peter/.xbmc/addons/script.module.dialogaddonscan/lib:/home/peter/.xbmc/addons/script.module.beautifulsoup/lib:/home/peter/.xbmc/addons/script.module.cryptopy/lib:/home/peter/.xbmc/addons/script.module.simplejson/lib:/usr/local/lib/xbmc/addons/script.module.pil/lib:/home/peter/.xbmc/addons/script.web.viewer/lib:/home/peter/.xbmc/addons/script.module.elementtree/lib:/usr/local/lib/xbmc/addons/script.module.pysqlite/lib:/usr/local/lib/xbmc/system/python/python24.zip:/usr/local/share/xbmc/system/python/lib/python24.zip:/usr/local/share/xbmc/system/python/lib/python2.4/:/usr/local/share/xbmc/system/python/lib/python2.4/plat-linux2:/usr/local/share/xbmc/system/python/lib/python2.4/lib-tk:/usr/local/share/xbmc/system/python/lib/python2.4/lib-dynload
16:56:47 T:3067083632 M:1299222528 DEBUG: Process - Entering source directory /home/peter/.xbmc/addons/script.mymediadb
File "/home/peter/.xbmc/addons/script.mymediadb/default.py", line 21, in ?
16:57:16 T:2955897712 M:1259155456 DEBUG: Caching image '/home/peter/.xbmc/addons/script.mymediadb/icon.png' as '0/044ce3da.png' full size
16:57:16 T:2955897712 M:1259155456 INFO: Caching image from: /home/peter/.xbmc/addons/script.mymediadb/icon.png to special://masterprofile/Thumbnails/0/044ce3da.png
16:59:09 T:2807405424 M:1220804608 DEBUG: Process - The source file to load is /home/peter/.xbmc/addons/script.mymediadb/default.py
16:59:09 T:2807405424 M:1220804608 DEBUG: Process - Setting the Python path to /home/peter/.xbmc/addons/script.mymediadb:/home/peter/.xbmc/addons/script.module.dialogaddonscan/lib:/home/peter/.xbmc/addons/script.module.beautifulsoup/lib:/home/peter/.xbmc/addons/script.module.cryptopy/lib:/home/peter/.xbmc/addons/script.module.simplejson/lib:/usr/local/lib/xbmc/addons/script.module.pil/lib:/home/peter/.xbmc/addons/script.web.viewer/lib:/home/peter/.xbmc/addons/script.module.elementtree/lib:/usr/local/lib/xbmc/addons/script.module.pysqlite/lib:/usr/local/lib/xbmc/system/python/python24.zip:/usr/local/share/xbmc/system/python/lib/python24.zip:/usr/local/share/xbmc/system/python/lib/python2.4/:/usr/local/share/xbmc/system/python/lib/python2.4/plat-linux2:/usr/local/share/xbmc/system/python/lib/python2.4/lib-tk:/usr/local/share/xbmc/system/python/lib/python2.4/lib-dynload
16:59:09 T:2807405424 M:1220804608 DEBUG: Process - Entering source directory /home/peter/.xbmc/addons/script.mymediadb
File "/home/peter/.xbmc/addons/script.mymediadb/default.py", line 21, in ?
Seems I have the python libs installed:

ii python-pysqlite1.1 1.1.8a-3ubuntu2 python interface to SQLite 3
ii python-pysqlite1.1-dbg 1.1.8a-3ubuntu2 python interface to SQLite 3 (debug extension)
ii python-pysqlite2 2.5.5-3 Python interface to SQLite 3
ii python-pysqlite2-dbg 2.5.5-3 Python interface to SQLite 3 (debug extension)
ii python-pysqlite2-doc 2.5.5-3 Documentation for python-pysqlite2


Any suggestions?

Thanks
Peter
------------------------
XBOX 1.1 Softmod
Asrock ION 330
------------------------
Reply
#3
Code:
10:02:48 T:140200644085504 M:5794918400   ERROR: Traceback (most recent call
File "/home/user1/.xbmc/addons/script.mymediadb/default.py", line 21, in ?
from pysqlite2 import dbapi2 as sqlite
ImportError: No module named pysqlite2

but
Code:
$ dpkg -l | grep python | grep sqlite
ii  python-pysqlite2                                     2.6.3-1                               Python interface to SQLite 3
ii  python-sqlite                                        1.0.1-7+b1                               python interface to SQLite 2

is installed.

i read something about incompatible python libs in xbmc forum, but don't know what to to.

(OS: Debian Sid)
Reply
#4
prjxbmc Wrote:Unfortunately not working for me:

...


Any suggestions?

Thanks
Peter

I see you are using python 2.4, i have only tested it on 2.6 maybe u could try to upgrade? Any issues can be submitted to the project page at googlecode.
Reply
#5
jackyohh Wrote:
Code:
10:02:48 T:140200644085504 M:5794918400   ERROR: Traceback (most recent call
File "/home/user1/.xbmc/addons/script.mymediadb/default.py", line 21, in ?
from pysqlite2 import dbapi2 as sqlite
ImportError: No module named pysqlite2

but
Code:
$ dpkg -l | grep python | grep sqlite
ii  python-pysqlite2                                     2.6.3-1                               Python interface to SQLite 3
ii  python-sqlite                                        1.0.1-7+b1                               python interface to SQLite 2

is installed.

i read something about incompatible python libs in xbmc forum, but don't know what to to.

(OS: Debian Sid)

You could try to install libsqlite3-0. Other than that, i don't know. It seems you have the correct packages installed.
Reply
#6
Is this plugin still under development? I like a lot the idea! I've installed it on the latest XBMC version, but how can I perform the initial load of my watched list? I have a lot of already watched movies. Thanks!
Reply
#7
After you have installed the addon the addon should auto startup when xbmc starts if autostart flag is enabled under addon settings. If you wish to start the addon manually you can go to Programs and click on the MyMediaDB addon.
Reply
#8
So the first time it starts it would get all movies flagged as "watched" in my library and upload this to the mymediadb site? It didn't do that in my test...
Reply

Logout Mark Read Team Forum Stats Members Help
[RELEASE] - Sync media library with MyMediaDB0