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
MP2 Media Database Concept
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="Albert" data-source="post: 744802" data-attributes="member: 67886"><p><strong>AW: MP2 Media Database Concept</strong></p><p></p><p>mbuzina, just a short answer.</p><p></p><p>In MP2, "media items" are very general everything which is stored in the MediaLibrary. You can create media items for everything you want, they do not need to be of type picture, music or movie. You can store your custom data as media items. To be able to have your own data, you can add media item aspects. That is the description for data records which can dynamically be added to all media items. The default aspects for picture, movie and music are realized in this way, but every plugin can bring in its own aspects.</p><p></p><p>See how the existing aspects are defined.</p><p>About your question: Yes, you can have many2many relationships, but you cannot reference a media item from another media item, you can only reference data of simple data types. For example, the artists of the music media item aspect is defined as a many2many attribute.</p><p></p><p>Metadata extractors are a way how data can come into the media library; metadata extractors are executed by the importer. There is only one importer class, which does the job of the import, not multiple importers for different types of media. The one and only importer simply traverses over the directories of the shares and executes the metadata extractors.</p><p>But you do not need to create metadata extractors to get metadata into the ML. Metadata extractors are only needed for an automatic import of metadata via the automatic importer, which is made for importing shares and nothing else. If you want to import pictures from the internet, the importer isn't made for that. In that case, you need to have your own import logic which you must schedule by your own.</p><p></p><p>I'm not sure how your desired database model looks like. Can you describe what data you want to attach to what? And how do you want to browse it?</p></blockquote><p></p>
[QUOTE="Albert, post: 744802, member: 67886"] [b]AW: MP2 Media Database Concept[/b] mbuzina, just a short answer. In MP2, "media items" are very general everything which is stored in the MediaLibrary. You can create media items for everything you want, they do not need to be of type picture, music or movie. You can store your custom data as media items. To be able to have your own data, you can add media item aspects. That is the description for data records which can dynamically be added to all media items. The default aspects for picture, movie and music are realized in this way, but every plugin can bring in its own aspects. See how the existing aspects are defined. About your question: Yes, you can have many2many relationships, but you cannot reference a media item from another media item, you can only reference data of simple data types. For example, the artists of the music media item aspect is defined as a many2many attribute. Metadata extractors are a way how data can come into the media library; metadata extractors are executed by the importer. There is only one importer class, which does the job of the import, not multiple importers for different types of media. The one and only importer simply traverses over the directories of the shares and executes the metadata extractors. But you do not need to create metadata extractors to get metadata into the ML. Metadata extractors are only needed for an automatic import of metadata via the automatic importer, which is made for importing shares and nothing else. If you want to import pictures from the internet, the importer isn't made for that. In that case, you need to have your own import logic which you must schedule by your own. I'm not sure how your desired database model looks like. Can you describe what data you want to attach to what? And how do you want to browse it? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
General
MP2 Media Database Concept
Contact us
RSS
Top
Bottom