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 1
Development
General Development (no feature request here!)
Generic Browsing in MP? Database Re-Design?
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="mbuzina" data-source="post: 66063" data-attributes="member: 12382"><p>This is a sample datamodel I designed which might fit the space between good enough and clean enough.</p><p></p><p><a href="http://img105.imageshack.us/my.php?image=newdatamodelmpyb9.png" target="_blank"><img src="http://img105.imageshack.us/img105/2759/newdatamodelmpyb9.th.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></a></p><p></p><p>I would represent:</p><p>an <strong>artist </strong>(e.g. Music or Movie) as</p><p>LabelType = "Artist"</p><p>Label = "R.E.M."</p><p>additional info might be in the Artist Table (Biography etc.)</p><p></p><p>a <strong>genre </strong>as</p><p>LabelType = "Genre"</p><p>Label = "Grunge"</p><p>ParentLabel = "Rock" (sample!)</p><p></p><p>an <strong>album </strong>as</p><p>LabelType = "Album"</p><p>Label = "Automatic for the people"</p><p>ParentLabel = "R.E.M." (The Album Artist)</p><p></p><p>a <strong>directory </strong>as</p><p>LabelType = "Directory"</p><p>Label = "d:\Music\R.E.M.\Automatic for the people"</p><p>Directory.strPath = "d:\Music\R.E.M.\Automatic for the people"</p><p></p><p>a <strong>playlist </strong>as</p><p>LabelType = "Play List"</p><p>Label = "My Summer"</p><p> --> Might need a reference to a file as well for storage or also be an item</p><p>LabelMap contains:</p><p> map to song "Drive"</p><p> map to picture "SomePicture_002" --> Can mix media in playlists!</p><p></p><p>a <strong>song </strong>as</p><p>Item.strName = "Drive"</p><p>File.strFileName = "01 Drive.mp3"</p><p>File.idPath.strPath = "d:\Music\R.E.M.\Automatic for the people"</p><p>LabelMap contains:</p><p> map to Album "Automatic for the people" (Role Empty)</p><p> map to Genre "Rock" (Role Empty)</p><p> map to Directory "d:\Music\R.E.M.\Automatic for the people" (Role Empty)</p><p> map to Artist R.E.M (Role Artist)</p><p> map to Artist "Bill Berny" (Role Composer)</p><p> map to Artist "Peter Buck" (Role Composer)</p><p> map to Playlist "My Summer" (Role 00001), forgot to add iPosition to LabelMap</p><p></p><p>a <strong>movie </strong>as</p><p>Item.strName = "The Rock"</p><p>file.strFileName = "the_rock_cd1.iso" (File 1)</p><p>file.strFileName = "the rock_cd2.iso" (File 2)</p><p>LabelMap contains:</p><p> map to Genre "Whatever"</p><p> map to Artist "Michael Bay" (Role Director)</p><p> map to Artist "Sean Connery" (Role Actor)</p><p>... </p><p></p><p>a <strong>TV Channel </strong>as</p><p>Item.strName = "CNN International"</p><p>Label.strLabel = "CNN International"</p><p>LabelType = "TV Channel"</p><p>Channel.iChannelNr = 123</p><p>...</p><p></p><p>a <strong>program series </strong>(epg) as</p><p>Label.strLabel = "The Simpsons"</p><p>LabelType = "Series"</p><p></p><p>a <strong>TV Program </strong>(epg) as</p><p>Item.strName = "The Simpsons - Homer in Space"</p><p>Item.ParentItem = "Pro 7" (The Channel, maybe)</p><p>LabelMap contains</p><p> map to Channel "Pro 7"</p><p> map to Series "The Simpsons"</p><p> map to Artist "Matt Groening" (Role Author)</p><p> map to Artist "Bart Simpson" (Role Actor)</p><p> map to Directory "d:\My Recordings"</p><p>File.strFileName = "Pro7_TheSimpsons_HomerInSpace_2006010122222.dvr-ms"</p><p>File. (Either allready there or scheduled for recording)</p><p></p><p>an <strong>Internet TV </strong>Stream as</p><p>Item.strName = "BBC World Stream"</p><p>Stream.strURL = "http://bbc.co.uk/123456.123.asx"</p><p>LabelMap contains</p><p> map to Country "UK" (Sample)</p><p></p><p>a <strong>Picture </strong></p><p>Item.strName = "SomePicture_002"</p><p>file.strFileName = "SomePicture_002.jpg"</p><p>Directoy.str_Path = "d:\My Pics\Summer of 2006"</p><p>LabelMap contains</p><p> map to Directory "d:\My Pics\Summer of 2006"</p><p> map to CustomLabel "Holiday 2006"</p><p> map to Playlist "My Summer" (Role 000002)</p><p> map to PrintedLabel "Printed on 15th July 2006"</p><p></p><p>I guess I added most of the important types. I am willing (but time limited) to help out on this further.</p></blockquote><p></p>
[QUOTE="mbuzina, post: 66063, member: 12382"] This is a sample datamodel I designed which might fit the space between good enough and clean enough. [URL=http://img105.imageshack.us/my.php?image=newdatamodelmpyb9.png][img]http://img105.imageshack.us/img105/2759/newdatamodelmpyb9.th.png[/img][/URL] I would represent: an [b]artist [/b](e.g. Music or Movie) as LabelType = "Artist" Label = "R.E.M." additional info might be in the Artist Table (Biography etc.) a [b]genre [/b]as LabelType = "Genre" Label = "Grunge" ParentLabel = "Rock" (sample!) an [b]album [/b]as LabelType = "Album" Label = "Automatic for the people" ParentLabel = "R.E.M." (The Album Artist) a [b]directory [/b]as LabelType = "Directory" Label = "d:\Music\R.E.M.\Automatic for the people" Directory.strPath = "d:\Music\R.E.M.\Automatic for the people" a [b]playlist [/b]as LabelType = "Play List" Label = "My Summer" --> Might need a reference to a file as well for storage or also be an item LabelMap contains: map to song "Drive" map to picture "SomePicture_002" --> Can mix media in playlists! a [b]song [/b]as Item.strName = "Drive" File.strFileName = "01 Drive.mp3" File.idPath.strPath = "d:\Music\R.E.M.\Automatic for the people" LabelMap contains: map to Album "Automatic for the people" (Role Empty) map to Genre "Rock" (Role Empty) map to Directory "d:\Music\R.E.M.\Automatic for the people" (Role Empty) map to Artist R.E.M (Role Artist) map to Artist "Bill Berny" (Role Composer) map to Artist "Peter Buck" (Role Composer) map to Playlist "My Summer" (Role 00001), forgot to add iPosition to LabelMap a [b]movie [/b]as Item.strName = "The Rock" file.strFileName = "the_rock_cd1.iso" (File 1) file.strFileName = "the rock_cd2.iso" (File 2) LabelMap contains: map to Genre "Whatever" map to Artist "Michael Bay" (Role Director) map to Artist "Sean Connery" (Role Actor) ... a [b]TV Channel [/b]as Item.strName = "CNN International" Label.strLabel = "CNN International" LabelType = "TV Channel" Channel.iChannelNr = 123 ... a [b]program series [/b](epg) as Label.strLabel = "The Simpsons" LabelType = "Series" a [b]TV Program [/b](epg) as Item.strName = "The Simpsons - Homer in Space" Item.ParentItem = "Pro 7" (The Channel, maybe) LabelMap contains map to Channel "Pro 7" map to Series "The Simpsons" map to Artist "Matt Groening" (Role Author) map to Artist "Bart Simpson" (Role Actor) map to Directory "d:\My Recordings" File.strFileName = "Pro7_TheSimpsons_HomerInSpace_2006010122222.dvr-ms" File. (Either allready there or scheduled for recording) an [b]Internet TV [/b]Stream as Item.strName = "BBC World Stream" Stream.strURL = "http://bbc.co.uk/123456.123.asx" LabelMap contains map to Country "UK" (Sample) a [b]Picture [/b] Item.strName = "SomePicture_002" file.strFileName = "SomePicture_002.jpg" Directoy.str_Path = "d:\My Pics\Summer of 2006" LabelMap contains map to Directory "d:\My Pics\Summer of 2006" map to CustomLabel "Holiday 2006" map to Playlist "My Summer" (Role 000002) map to PrintedLabel "Printed on 15th July 2006" I guess I added most of the important types. I am willing (but time limited) to help out on this further. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Generic Browsing in MP? Database Re-Design?
Contact us
RSS
Top
Bottom