home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 2
General
NEW: Series and Movie support for MP2 MediaLibrary [2012-07-01]
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="morpheus_xx" data-source="post: 855348" data-attributes="member: 48495"><p>After we have discussed about new metadata aspects (<a href="https://forum.team-mediaportal.com/threads/discussion-of-metadata-tags.105951/" target="_blank">https://forum.team-mediaportal.com/threads/discussion-of-metadata-tags.105951/</a>) I finally started to implement some new cool features for MP2's media library:</p><p> </p><p>MP2 is now able to browse series! Ok, it's not yet MP TVSeries, but I want to show all users how easy it is to extend the core features!</p><p> </p><p>What was needed can be summarized as:</p><ul> <li data-xf-list-type="ul">Define new metadata aspect "SeriesAspect", content you find here (<a href="http://wiki.team-mediaportal.com/2_MEDIAPORTAL_2/Contribute/Development/3_Concepts/Metadata_system/Planning_Extension" target="_blank">http://wiki.team-mediaportal.com/2_MEDIAPORTAL_2/Contribute/Development/3_Concepts/Metadata_system/Planning_Extension</a>)</li> <li data-xf-list-type="ul">Extend the Metadata Extractors to fill the SeriesAspect</li> <li data-xf-list-type="ul">Extended the Media Plugin with<ul> <li data-xf-list-type="ul">Few lines of code</li> <li data-xf-list-type="ul">Few constants</li> <li data-xf-list-type="ul">Few screens</li> <li data-xf-list-type="ul">Few language tags.</li> </ul></li> </ul><p>In principle I did this in one afternoon, so be excited and join <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" />I did not need to change any database table, it is fully controlled by the MediaLibrary itself.</p><p> </p><p>Here I must say a big <strong><span style="color: #000000"><span style="font-size: 15px">thank you</span></span></strong> to <strong>Albert</strong> for designing the Media Plugin and MP2 so flexible!</p><p> </p><p><strong>Edit 2012-04-03:</strong></p><p>I made some more progress and internally simplified the series information handling a lot. We now are able to retrieve Series informations from:</p><ul> <li data-xf-list-type="ul">TvServer recording .xml-files</li> <li data-xf-list-type="ul">MatroskaTags</li> <li data-xf-list-type="ul"><strong>new</strong>: filename matchings using regular expressions</li> </ul><p>I've made the "episode number" a list of numbers, so combined episodes can be handled correctly:</p><p>i.e. "Stargate Universe S01E01_02 - Die Destiny.avi" (pilot of 2 episodes) -> we store "1" and "2" as episode numbers for this entry (see screenshot 11)</p><p> </p><p> </p><p>Here are first screenshots of navigation features, taken from default skin:</p><p>[ATTACH]101285[/ATTACH][ATTACH]101286[/ATTACH][ATTACH]101287[/ATTACH][ATTACH]101288[/ATTACH][ATTACH]101289[/ATTACH]</p><p> </p><p>As requested, here are new screenshots of Reflexion skin <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p><p>[ATTACH]101680[/ATTACH][ATTACH]101681[/ATTACH][ATTACH]101682[/ATTACH][ATTACH]101683[/ATTACH][ATTACH]101684[/ATTACH][ATTACH]101685[/ATTACH]</p><p> </p><p><strong>Update 2012-04-13: Support for Banners and Posters</strong></p><p>[ATTACH]102265[/ATTACH][ATTACH]102266[/ATTACH]</p><p>I have created a new ImageSource to be used from xaml screens in a very simple way:</p><p>[CODE]<Image Width="400" Height="100" Stretch="Uniform"></p><p> <Image.Source></p><p> <fanart:FanArtImageSource fanart:FanArtMediaType="Series" fanart:FanArtType="Banner" fanart:FanArtName="Eureka"/></p><p> </Image.Source></p><p></Image>[/CODE]</p><p> </p><p><strong>Update 2012-04-15: Online matching of Series implemented, downloading banners, posters and fan art images while importing share</strong></p><p>Updated images from Reflexion skin, adjusted sizes to match screen better:</p><p>[ATTACH]102420[/ATTACH][ATTACH]102421[/ATTACH]</p><p> </p><p><strong>Update 2012-05-29: </strong></p><ul> <li data-xf-list-type="ul">Extended features for Series: FanArt can be displayed inside Series library.</li> <li data-xf-list-type="ul">Improved Reflexion skin layouts</li> <li data-xf-list-type="ul"><strong>Brand new: sneak preview of Movie section (WiP)</strong></li> </ul><p>[ATTACH]104771[/ATTACH][ATTACH]104772[/ATTACH][ATTACH]104773[/ATTACH]</p><p> </p><p>Movie Section (WiP)</p><p>[ATTACH]104774[/ATTACH][ATTACH]104775[/ATTACH][ATTACH]104776[/ATTACH]</p><p> </p><p><strong>Update 2012-06-11: </strong></p><ul> <li data-xf-list-type="ul">Code for Series and Movie handling is progressing quite nice, so it's now time to work on Reflexion skin support for those features!</li> <li data-xf-list-type="ul">New screenshots attached, showing new layout concept. This is WiP, i.e. menu is deactivated in this screen and I am looking for a working solution to implement a "slide-in-menu".</li> </ul><p>[ATTACH]105379[/ATTACH][ATTACH]105380[/ATTACH][ATTACH]105381[/ATTACH]</p><p> </p><p><strong>Update 2012-06-30:</strong></p><ul> <li data-xf-list-type="ul">Made progress in showing a "slide-in-menu", it's nearly working besides a small focus issue <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></li> <li data-xf-list-type="ul">The layout of the movie section has been further improved (thanks Furnibird!) <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></li> </ul><p>[ATTACH]106387[/ATTACH][ATTACH]106388[/ATTACH][ATTACH]106389[/ATTACH][ATTACH]106390[/ATTACH][ATTACH]106391[/ATTACH]</p><p> </p><p><strong>Update 2012-07-01:</strong></p><p>Development has gone further, trying to use a different layout for movies. We are now able to use animated Brushes in MP2. Maybe this does not sound so spectacular, but indeed it looks really great <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p><p> </p><p><span style="font-size: 15px"><strong><span style="font-size: 12px">To get an idea how this could work, check out this movie: </span><a href="http://tinypic.com/r/2gy1us0/6" target="_blank">http://tinypic.com/r/2gy1us0/6</a></strong></span></p><p> </p><p>In reality it looks even smoother than on this capture <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" /></p></blockquote><p></p>
[QUOTE="morpheus_xx, post: 855348, member: 48495"] After we have discussed about new metadata aspects ([url]https://forum.team-mediaportal.com/threads/discussion-of-metadata-tags.105951/[/url]) I finally started to implement some new cool features for MP2's media library: MP2 is now able to browse series! Ok, it's not yet MP TVSeries, but I want to show all users how easy it is to extend the core features! What was needed can be summarized as: [LIST] [*]Define new metadata aspect "SeriesAspect", content you find here ([url]http://wiki.team-mediaportal.com/2_MEDIAPORTAL_2/Contribute/Development/3_Concepts/Metadata_system/Planning_Extension[/url]) [*]Extend the Metadata Extractors to fill the SeriesAspect [*]Extended the Media Plugin with [LIST] [*]Few lines of code [*]Few constants [*]Few screens [*]Few language tags. [/LIST] [/LIST] In principle I did this in one afternoon, so be excited and join :DI did not need to change any database table, it is fully controlled by the MediaLibrary itself. Here I must say a big [B][COLOR=#000000][SIZE=4]thank you[/SIZE][/COLOR][/B] to [B]Albert[/B] for designing the Media Plugin and MP2 so flexible! [B]Edit 2012-04-03:[/B] I made some more progress and internally simplified the series information handling a lot. We now are able to retrieve Series informations from: [LIST] [*]TvServer recording .xml-files [*]MatroskaTags [*][B]new[/B]: filename matchings using regular expressions [/LIST] I've made the "episode number" a list of numbers, so combined episodes can be handled correctly: i.e. "Stargate Universe S01E01_02 - Die Destiny.avi" (pilot of 2 episodes) -> we store "1" and "2" as episode numbers for this entry (see screenshot 11) Here are first screenshots of navigation features, taken from default skin: [ATTACH]101285[/ATTACH][ATTACH]101286[/ATTACH][ATTACH]101287[/ATTACH][ATTACH]101288[/ATTACH][ATTACH]101289[/ATTACH] As requested, here are new screenshots of Reflexion skin ;) [ATTACH]101680[/ATTACH][ATTACH]101681[/ATTACH][ATTACH]101682[/ATTACH][ATTACH]101683[/ATTACH][ATTACH]101684[/ATTACH][ATTACH]101685[/ATTACH] [B]Update 2012-04-13: Support for Banners and Posters[/B] [ATTACH]102265[/ATTACH][ATTACH]102266[/ATTACH] I have created a new ImageSource to be used from xaml screens in a very simple way: [CODE]<Image Width="400" Height="100" Stretch="Uniform"> <Image.Source> <fanart:FanArtImageSource fanart:FanArtMediaType="Series" fanart:FanArtType="Banner" fanart:FanArtName="Eureka"/> </Image.Source> </Image>[/CODE] [B]Update 2012-04-15: Online matching of Series implemented, downloading banners, posters and fan art images while importing share[/B] Updated images from Reflexion skin, adjusted sizes to match screen better: [ATTACH]102420[/ATTACH][ATTACH]102421[/ATTACH] [B]Update 2012-05-29: [/B] [LIST] [*]Extended features for Series: FanArt can be displayed inside Series library. [*]Improved Reflexion skin layouts [*][B]Brand new: sneak preview of Movie section (WiP)[/B] [/LIST] [ATTACH]104771[/ATTACH][ATTACH]104772[/ATTACH][ATTACH]104773[/ATTACH] Movie Section (WiP) [ATTACH]104774[/ATTACH][ATTACH]104775[/ATTACH][ATTACH]104776[/ATTACH] [B]Update 2012-06-11: [/B] [LIST] [*]Code for Series and Movie handling is progressing quite nice, so it's now time to work on Reflexion skin support for those features! [*]New screenshots attached, showing new layout concept. This is WiP, i.e. menu is deactivated in this screen and I am looking for a working solution to implement a "slide-in-menu". [/LIST] [ATTACH]105379[/ATTACH][ATTACH]105380[/ATTACH][ATTACH]105381[/ATTACH] [B]Update 2012-06-30:[/B] [LIST] [*]Made progress in showing a "slide-in-menu", it's nearly working besides a small focus issue ;) [*]The layout of the movie section has been further improved (thanks Furnibird!) :) [/LIST] [ATTACH]106387[/ATTACH][ATTACH]106388[/ATTACH][ATTACH]106389[/ATTACH][ATTACH]106390[/ATTACH][ATTACH]106391[/ATTACH] [B]Update 2012-07-01:[/B] Development has gone further, trying to use a different layout for movies. We are now able to use animated Brushes in MP2. Maybe this does not sound so spectacular, but indeed it looks really great ;) [SIZE=4][B][SIZE=3]To get an idea how this could work, check out this movie: [/SIZE][url]http://tinypic.com/r/2gy1us0/6[/url][/B][/SIZE] In reality it looks even smoother than on this capture :D [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
General
NEW: Series and Movie support for MP2 MediaLibrary [2012-07-01]
Contact us
RSS
Top
Bottom