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
MediaPortal 1 Plugins
Popular Plugins
My TVSeries
Custom views and grouping
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="tomeirik" data-source="post: 204227" data-attributes="member: 52966"><p>Hi, sorry for the vague title, but this problem needed a little explanation...</p><p></p><p>I just started messing around with custom views in the database, and wanted a view that grouped my shows by who's watching them. So I added a field <em>WatchedBy</em> in the <em>online_series</em>-table, and used this view:</p><p></p><p>[CODE]group:<Series.WatchedBy><;><;><;><nextStep>series<;><;><Series.Pretty_Name>;asc<;><nextStep>season<;><;><Season.seasonIndex>;asc<;><nextStep>episode<;><;><Episode.EpisodeIndex>;asc<;>[/CODE]</p><p></p><p>Surprisingly enough, this worked without a hitch. Then I thought it would be fun if I could tag a series with two names, so both me and my brother could have the series in "our" group. I noticed that Genre is split up this way, one show with several genres. So I inserted "|Me|My brother|" in the WatchedBy-field of a show, but it doesn't get split up, only shows as a seperate group called "|Me|My brother|". Is there anyway I can make this work without altering the source code? Skimmed through some of the source-code, but couldn't find anything separating the Genre-field from other fields. Also noticed Channel doesn't get split up (The Boondocks is tagged with two channels, Cartoon Network and Adult Swim), so I guess there's something specifying wich fields should be split, an wich shouldn't? Tried grouping a view by actor too, that worked great...</p></blockquote><p></p>
[QUOTE="tomeirik, post: 204227, member: 52966"] Hi, sorry for the vague title, but this problem needed a little explanation... I just started messing around with custom views in the database, and wanted a view that grouped my shows by who's watching them. So I added a field [I]WatchedBy[/I] in the [I]online_series[/I]-table, and used this view: [CODE]group:<Series.WatchedBy><;><;><;><nextStep>series<;><;><Series.Pretty_Name>;asc<;><nextStep>season<;><;><Season.seasonIndex>;asc<;><nextStep>episode<;><;><Episode.EpisodeIndex>;asc<;>[/CODE] Surprisingly enough, this worked without a hitch. Then I thought it would be fun if I could tag a series with two names, so both me and my brother could have the series in "our" group. I noticed that Genre is split up this way, one show with several genres. So I inserted "|Me|My brother|" in the WatchedBy-field of a show, but it doesn't get split up, only shows as a seperate group called "|Me|My brother|". Is there anyway I can make this work without altering the source code? Skimmed through some of the source-code, but couldn't find anything separating the Genre-field from other fields. Also noticed Channel doesn't get split up (The Boondocks is tagged with two channels, Cartoon Network and Adult Swim), so I guess there's something specifying wich fields should be split, an wich shouldn't? Tried grouping a view by actor too, that worked great... [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My TVSeries
Custom views and grouping
Contact us
RSS
Top
Bottom