[RELEASE] - Sync media library with MyMediaDB

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
netbrain Offline
mymediadb.org admin
Posts: 28
Joined: Oct 2008
Reputation: 10
Star  [RELEASE] - Sync media library with MyMediaDB Post: #1
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!
(This post was last modified: 2011-04-08 11:43 by netbrain.)
find quote
prjxbmc Offline
Junior Member
Posts: 19
Joined: Dec 2009
Reputation: 0
Location: England
Post: #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
------------------------
find quote
jackyohh Offline
Junior Member
Posts: 28
Joined: Jul 2008
Reputation: 0
Post: #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)
find quote
netbrain Offline
mymediadb.org admin
Posts: 28
Joined: Oct 2008
Reputation: 10
Post: #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.
find quote
netbrain Offline
mymediadb.org admin
Posts: 28
Joined: Oct 2008
Reputation: 10
Post: #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.
find quote
fschnack Offline
Donor
Posts: 65
Joined: Dec 2010
Reputation: 0
Location: Porto Alegre, Brazil
Post: #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!
find quote
netbrain Offline
mymediadb.org admin
Posts: 28
Joined: Oct 2008
Reputation: 10
Post: #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.
find quote
fschnack Offline
Donor
Posts: 65
Joined: Dec 2010
Reputation: 0
Location: Porto Alegre, Brazil
Post: #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...
find quote