XBMC Export Plugin (v0.88)

Additional plug-ins for the program.
User avatar
JeF
Black Belt Squirrel
Posts: 1185
Joined: Fri Feb 20, 2009 3:34 pm
Location: France

XBMC Export Plugin (v0.88)

Postby JeF » Wed Sep 08, 2010 5:14 pm

Hi all,

Here's the latest beta of the plugin (please keep in mind this will remain beta until v1.0 :) )

In this v0.88 (2012/01/23) :
[+] Movies having no video filename can now (optionally) be exported (to a specified folder)
[+] Exports Movies Series to XBMC 'Sets'
[+] Exports Tagline to XBMC Tagline
[+] Choose Fan Art Options : added 'from wide shot' choice to avoid aspect ratio issues
[+] Exports Trailer Url to XBMC Trailer (XBMC won't play it if it's html embedded video like imdb trailer urls)
[+] Exports Sound Tracks infos from Movienizer 5.x New Format
[+] Exports Subtitles infos from Movienizer 5.x New Format
Todo:
- add support for series (started but not completed)

Plugin functionality :
The main functionality is to generate nfo files (built using data from movienizer) for xbmc to import automatically in its library. With nfo files (movies infos) come also .tnb files (thumbs duplicated from covers folder) and -fanart.jpg files which ones are (optionnaly) downloaded from themoviedb site (cause not available from local covers)

How to install and run the plugin :
1) Install Movienizer v4.0 if you don't have already
2) To install XBMC plugin, just unzip the XBMCExport.zip in Movienizer plugins directory
3) Start Movienizer
4) Select XBMC Export from Plugins Menu

How to use the plugin :
Should be simple.
You just must have write rights to the folders containing the movies selected for export.
The 'Load List' button allows to load a list of preselected movies.
This preselection can be created using JeF's Toolbox or JeF's interface (v29 and above).

Updating XBMC Library with nfo files :
IF you have set media library to auto update at xbmc startup, things should be updating well.
However, it seems that sometimes update does not refresh all data. In that case, a manual rescan of the source(s) will do the job.

Folders considerations :
Media centers/organizers like XBMC (or media browser for windows media center) have some similar prerequisites.
Here are some of them to get the best compatibiilty and experience :
- organize your files in dedicated branches independant from each others :
- a branch (with a 'movies' root folder) for movies and only movies (no series, no music, etc...)
- a branch for series (with a 'series' root folder)
- a branch for music, and so on...
You should get a folder hierarchy like :

MyMedias
+--> Movies
    +--> Adventure (my advice : organize movies within genre subfolders but strongly discouraged when using mediabrowser)
      +--> MyMovie1.avi
      +--> MyMovie2.avi
      +--> and so on...
+--> Series
    +--> Friends
      +--> Season1
        +--> S01E01.Title1.avi
        +--> S01E02.Title2.avi
        +--> S01E03.Title3.avi
      +--> Season2
        +--> S02E01.Title1.avi
        +--> S02E02.Title2.avi
    +--> NCIS
      +--> Season1
        +--> S01E01.Title1.avi
        +--> S01E02.Title2.avi
+--> Music...

Having each movie in its own folder is not required when using XBMC (but is required when using mediabrowser...)
As you surely noticed, you should also have formated your series filenames like SxxEyy (the most simple and the most compatible with mediabrowser too) to get them in the right order (Sxx tagging is useful for global search through folders, that way you keep the right order even if folder name is not analyzed).
If you have multiple drives, repeat that hierarchy on each drive.
This could be a long work but you have to do it only once.
Anyway, if you're using a media center, that work has surely already be done.

Feel free to post comments,
;)
JeF
Attachments
XBMCExport.zip
XBMC Export Plugin v0.88 (to unzip in Plugins folder)
(516.49 KiB) Downloaded 1052 times

estate
Star
Posts: 453
Joined: Sat Sep 05, 2009 6:06 pm
Location: Meppel, The Netherlands
Contact:

Re: XBMC Export Plugin

Postby estate » Wed Sep 08, 2010 6:47 pm

I don't get it :( how must we install this feature ? by just creating a map called UserPlugins ? and unzipping this .dll there or what ?

User avatar
JeF
Black Belt Squirrel
Posts: 1185
Joined: Fri Feb 20, 2009 3:34 pm
Location: France

Re: XBMC Export Plugin

Postby JeF » Wed Sep 08, 2010 7:20 pm

Hi estate,
estate wrote:I don't get it :( how must we install this feature ? by just creating a map called UserPlugins ? and unzipping this .dll there or what ?
First post updated with a more detailed 'how to install and run' section + added a zip of demo program files from Custom Plugins.
;)
JeF

P_Jamula
Supporting actor
Posts: 74
Joined: Thu Dec 03, 2009 4:26 am
Location: Karachi, Pakistan
Contact:

Re: XBMC Export Plugin

Postby P_Jamula » Thu Sep 09, 2010 7:25 am

JeF wrote:Hi estate,
estate wrote:I don't get it :( how must we install this feature ? by just creating a map called UserPlugins ? and unzipping this .dll there or what ?
First post updated with a more detailed 'how to install and run' section + added a zip of demo program files from Custom Plugins.
;)
JeF

as a standalone independantly this works fine.
How do i get MN to show the plugin from under the "Plugins" tab??
PJ

User avatar
JeF
Black Belt Squirrel
Posts: 1185
Joined: Fri Feb 20, 2009 3:34 pm
Location: France

Re: XBMC Export Plugin

Postby JeF » Thu Sep 09, 2010 9:13 am

Hi PJ,
P_Jamula wrote:as a standalone independantly this works fine.
Glad to know it works for you.
How do i get MN to show the plugin from under the "Plugins" tab??
As far as i know, dev team is still in the process to open that menu to user plugins entries. I guess user plugins will integrate Movienizer plugins menu in the near future in a coming Movienizer release.
JeF

User avatar
JeF
Black Belt Squirrel
Posts: 1185
Joined: Fri Feb 20, 2009 3:34 pm
Location: France

Re: XBMC Export Plugin (v0.81)

Postby JeF » Mon Sep 13, 2010 6:19 am

Hi all,

v0.81 is available.

;)
JeF

ordago_86
Supporting actor
Posts: 65
Joined: Wed Apr 30, 2008 10:24 am

Re: XBMC Export Plugin (v0.81)

Postby ordago_86 » Fri Sep 17, 2010 10:06 am

Hi Jeff

Plugin works fine except when I use the themoviedb.org fanart opcion. When I select it and I start export process, a message is showed saying:

Title: 'pruserplugindemo'
'Access Violation at address 0149487F in module XBMCExport.dll'. Read of address 013B8008.'

Other info that could help you:
-------------------------------------------------
SO: Windows XP
Movies: I try the plugin with 'Avatar' and 'In the loop'
Version Movienizer: 3.3
Version Plugin: 0.81
-------------------------------------------------

Thanks! XD
Visita mi blog de Cine - > http://www.metropolidelcine.es

estate
Star
Posts: 453
Joined: Sat Sep 05, 2009 6:06 pm
Location: Meppel, The Netherlands
Contact:

Re: XBMC Export Plugin (v0.81)

Postby estate » Thu Sep 23, 2010 8:35 pm

Hi Jeff I got it working and it seems the movie list is exported, but I can't find the db file?

where does you export plugin place the db file for xbmc ? in which map ?

User avatar
JeF
Black Belt Squirrel
Posts: 1185
Joined: Fri Feb 20, 2009 3:34 pm
Location: France

Re: XBMC Export Plugin (v0.81)

Postby JeF » Thu Sep 23, 2010 9:46 pm

estate wrote:Hi Jeff I got it working and it seems the movie list is exported, but I can't find the db file?
where does you export plugin place the db file for xbmc ? in which map ?
Hi, export plugin creates nfo files but doesn't inject data in xbmc db (just forces update by resetting files references).
It's xbmc library auto-update process which populates xbmc db by importing newly detected nfo files.
Xbmc video db is located under xbmc install dir : [Xbmc_Install_Dir]\userdata\database\MyVideos*.db
;)
JeF
Note: series support is still in progress. Will upload a new beta asap.

HMK
Passerby
Posts: 8
Joined: Mon Nov 08, 2010 2:30 pm

Re: XBMC Export Plugin (v0.81)

Postby HMK » Mon Nov 08, 2010 2:41 pm

I'm having a problem with the latest release... When I open it I can load the movie list and select all of the movies for export. But when I select Export I get

ERegistry Exception in module UserFunctions.Dll at 00029A38. I'm using Windows 7 64-bit.

Any help would be appreciated.


Return to “Plugins”

Who is online

Users browsing this forum: No registered users and 2 guests