MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Community Skins and Plugins » Plugins


Plugins Plugins developed and maintained by users. Want to create your own plugin? Start a thread in here.

Reply
 
Thread Tools Display Modes
Old 2006-08-31, 23:19   #1 (permalink)
Portal Member
 
Join Date: Aug 2006
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts


Default XMMImporter [Official Thread]

XMM Importer v0.0.0.2 - Released 061011
http://www.team-mediaportal.com/file...s/XMMImporter/

New version posted to the repository. Will get updated after approval.

* Second update to XMM Importer. Many changes and some bug fixes hopefully.
*
* Bugs Fixed
* - Videos with the same name/path were not being imported correctly. The duplicate
* files were being ignored. Updated the FileLinkMovie method in the MPVideoDB file to
* always add a movie file.
* - Path setting in the "movie" table of the MP video database was not correct. The
* path is now updated when the file is added in the AddFile method in the MPVideoDB file.
* - Saving settings didn't work in MP. Updated the saving/loading settings methods
* to match the MP methods and data is stored in the MediaPortal.xml file. You must
* press OK when exiting the MP configuration to actually save settings.
*
* Enhancements/New Features
* + Added some error checking before attempting to clear the MP database file.
* Previously, if a user pointed to an invalid file, then the program would crash. Now
* the file existance is checked before continuing.
* + Database views alpha version implemented. A generic views structure is possible
* with the views editor in the configuration of XMM Importer. There are some bugs still.
* For example, a view with more than 3 levels cannot be saved currently.
* + GUI code added to support the views structure. A skin file is included with this
* release. You can only view the database contents currently until the actual code for
* playing files is implemented.

Last edited by Hesse; 2006-11-13 at 13:30.
Hesse is offline   Reply With Quote
Old 2006-09-29, 10:23   #2 (permalink)
Portal Member
 
Join Date: Sep 2006
Age: 48
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Your plugin will be very usefull for me, and many others:
Without it I can't use MPortal because I have 550 movies to import!
Unfortunatly I have this error (see the attach) and the plugin doesn't
work!
Can you help me?
TIA
Robytex
Attached Thumbnails
xmmimporter-xmmerror.jpg  
robytex is offline   Reply With Quote
Old 2006-09-29, 13:29   #3 (permalink)
Portal Member
 
Join Date: Aug 2006
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts


Default

robytex,

I've only tested with XMM v5 databases. I have not used with v4. There is a type mismatch somewhere. I should really be more careful when I'm programming I guess.

If you're using a v5 database, do you mind sending it to me so I can reproduce the problem on my system?

Jesse
Hesse is offline   Reply With Quote
Old 2006-09-29, 14:07   #4 (permalink)
Portal Member
 
Join Date: Sep 2006
Age: 48
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Yes, I'm using XMM v5.
I've used the example database, downloaded with the shareware version.
You could try programming the import of the important fields only.
It could be easier.
In my opinion the most important fields are: (in XMM)
Tittle, Original Title, Genre, Director, rating, lenght, media type, movie file 1-2-3,
cover, location, custom1-2.
These are the most important information to popolate the MP database, the
other could be retrieved from IMDB in a second step.
I'm very surprised by the difficulty to import data in MP. I would like to migrate
from Meedio to MP but without an import tool it will be impossible.
Your tool is on the good way.
TIA
robytex is offline   Reply With Quote
Old 2006-10-31, 04:32   #5 (permalink)
Portal User
 
Join Date: Sep 2006
Age: 28
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts


Default

First off I just want to say, Thank you so much for making a plugin for XMM for Media Portal. I have been keeping a database of my movies in XMM for a couple years now and it is roughly around 4500 movies now. I would love to be able to display my collection and all the information in media portal. I used to have Meedio but unfourtunately it is no longer supported. Your plugin looks just like the answer to all my problems.

I am using the newest version of XMM and when I try to use your plugin I am getting the same error as Robytex. I would be happy to assist you in getting this plugin up and running. I know a lot about computers but absolutely nothing about programming. If there are any resources I can gather for you or any files that I can send you to help you test this out please let me know.

BTW I am using WinXP home and the newest ver of media portal and xmm.

thank you so much for your time and efforts.

-Joe Danzer
JoeDanzer is offline   Reply With Quote
Old 2006-10-31, 13:30   #6 (permalink)
Portal Member
 
Join Date: Aug 2006
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Hi Joe,

Thanks for your comments. Sorry about the lack of development for this plugin. I'll go back and take a look at it again. I had missed robytex's last email. I'll try looking at the example database to see what happens with the import.

For my information, what version of MP are you using?

Jesse
Hesse is offline   Reply With Quote
Old 2006-10-31, 14:17   #7 (permalink)
Portal Member
 
Join Date: Aug 2006
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts


Default

I just tried in debug mode to import the example database. It seems to work on my end without any problems. However, I'm getting a crash now with trying to run the configuration with the latest MP, so I will need to investigate.

I can try to send a standalone exe to test if I cannot get this figured out. Does it crash for you when trying to import the example database too?

Jesse

EDIT:

Could someone try this standalone EXE on their system to see if the import works with this? I'm having troubles fixing a crash with the configuration. Something has changed in the recent MP version.

When you start the program, click in the top right corner on the button that says "XMMImportForm()". That should bring up the configuration. You may need to copy the System.Data.SQlite.dll into the directory as well.

Jesse

Last edited by Hesse; 2006-11-08 at 14:03.
Hesse is offline   Reply With Quote
Old 2006-11-02, 22:24   #8 (permalink)
Portal User
 
Join Date: Sep 2006
Age: 28
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Hesse,

I really appreciate you looking into this. I am currently on a very busy work schedule but I will look at the exe you posted this weekend. Once again thanks, and take care.
JoeDanzer is offline   Reply With Quote
Old 2006-11-04, 22:41   #9 (permalink)
Portal Member
 
Join Date: Aug 2006
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Quote:
Originally Posted by JoeDanzer View Post
Hesse,

I really appreciate you looking into this. I am currently on a very busy work schedule but I will look at the exe you posted this weekend. Once again thanks, and take care.
Joe, I completely understand.

For everyone else, there is an updated dll in that .RAR file. In the latest versions of MP, I had to copy it into the plugins folder AND the main MP folder (i.e. C:\Program Files\Team Media Portal\Media Portal). Its working for me.

There are some features that I was working on that I'll get back to when I get some free time. I'm implementing a generic views structure similar to that in Meedio. Along with that is a generic media module. You can see the views setup in the updated dll. I did have an XML skin file so you could browse though the views, unfortunately, I accidentally deleted it without any backups .

Jesse
Hesse is offline   Reply With Quote
Old 2006-11-06, 01:42   #10 (permalink)
Portal Developer
 
chefkoch's Avatar
 
Join Date: Oct 2004
Location: Germany, Dresden
Age: 22
Posts: 776
Thanks: 154
Thanked 48 Times in 31 Posts

Country:

My System

Send a message via ICQ to chefkoch
Default

Hi Jesse

testet your plugin, really good work, but i have two problems:

everytime i started the i have to select the path to xmm and mps database.

the import only apllies to 3 movies in mp-db, but in the xmm one are 22.

regards
chefkoch
__________________
Do not start to moan if something is not working as you want it to be.
Remember that MediaPortal is Open Source.
YOU can improve it!
chefkoch is offline   Reply With Quote
Reply

Bookmarks

Tags
xmmimporter

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
XMMImporter Plugin/General MediaModule -- Help Needed Hesse Plugins 1 2006-08-22 02:47


All times are GMT +1. The time now is 06:15.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden