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
WebService and Mobile Access
Popular Plugins
MPExtended
GetMovieCategories broken?
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="Oxan" data-source="post: 997786" data-attributes="member: 97484"><p>Well, for one, they're storing a tree in the database (node__node table), which is always hard to read without either losing your performance or writing quite some code. The fact that the top two nodes of the tree are stored in different tables (menu__node and menu) doesn't make it easier. There also seem to be two menus with the exact same content, which is quite confusing to me. </p><p></p><p>Then you need to go from the node table to actual filtering of movies.. which is hard. That seems to be either done by referencing a field on a class with a weird syntax in the basicfilteringfield column (that's great, but we can't do anything with class references), or by referencing a filter in the filters table. Those filters are linked to the criteria table, which again has the field-on-class reference thing, something I really don't understand in the relation column, and another class reference in generic_type. There's also a custom syntax for timespans in the value column and a few operators we'd need to implement. </p><p></p><p>It's probably doable, but it's just a lot of work I don't want to invest into it at this moment, especially since we don't gain much with it (most features are also possible with our own API). Patches are always welcome. </p><p></p><p>Yes, it'd be better if we could just use the MovingPictures DLL and let them do all the hard work (i.e. just use their programming interface instead of the database). However, we've only recently gained the ability to load DLLs linked against MP in the service, and I'm a bit afraid it'll kill performance.</p></blockquote><p></p>
[QUOTE="Oxan, post: 997786, member: 97484"] Well, for one, they're storing a tree in the database (node__node table), which is always hard to read without either losing your performance or writing quite some code. The fact that the top two nodes of the tree are stored in different tables (menu__node and menu) doesn't make it easier. There also seem to be two menus with the exact same content, which is quite confusing to me. Then you need to go from the node table to actual filtering of movies.. which is hard. That seems to be either done by referencing a field on a class with a weird syntax in the basicfilteringfield column (that's great, but we can't do anything with class references), or by referencing a filter in the filters table. Those filters are linked to the criteria table, which again has the field-on-class reference thing, something I really don't understand in the relation column, and another class reference in generic_type. There's also a custom syntax for timespans in the value column and a few operators we'd need to implement. It's probably doable, but it's just a lot of work I don't want to invest into it at this moment, especially since we don't gain much with it (most features are also possible with our own API). Patches are always welcome. Yes, it'd be better if we could just use the MovingPictures DLL and let them do all the hard work (i.e. just use their programming interface instead of the database). However, we've only recently gained the ability to load DLLs linked against MP in the service, and I'm a bit afraid it'll kill performance. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
WebService and Mobile Access
Popular Plugins
MPExtended
GetMovieCategories broken?
Contact us
RSS
Top
Bottom