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!)
working on: filter in music views reloaded
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="Lyxalig" data-source="post: 70169" data-attributes="member: 11286"><p>I'm hoping this is going to help me out with my "view"-problems. </p><p></p><p>Problems: I have a lot of singles that has album-tag because of it's origin, I have lots of compilation-albums, and I have <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite10" alt=":oops:" title="Oops! :oops:" loading="lazy" data-shortname=":oops:" /> uncomplete <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite10" alt=":oops:" title="Oops! :oops:" loading="lazy" data-shortname=":oops:" /> albums.</p><p></p><p>What I'm looking for is a way to completely set the requisites for the views. As I know sql, I would find it very useful to be able to write my own sql-statements.</p><p></p><p>Ex for config;</p><p></p><p>Albumview-> add new view: "Compilations"</p><p>Albumview-> add new view: "Single artist"</p><p></p><p>The code for the first one would be:</p><p>[code]</p><p>SELECT idAlbum</p><p>FROM album</p><p>WHERE inumArtists > 1 </p><p>[/code]</p><p></p><p>And the second one:</p><p>[code]</p><p>SELECT idAlbum</p><p>FROM album</p><p>WHERE inumArtists == 1 </p><p>[/code]</p><p></p><p>As I have "Albums" with only one artist (inumArtists == 1) some logic should be added to make sure this album has more than a few tracks.</p><p>That renders the "Single artist"-album view code:</p><p>[code]</p><p>SELECT idAlbum</p><p>FROM album</p><p>WHERE inumArtists == 1 </p><p>AND idArtist IN</p><p> (SELECT idArtist</p><p> FROM song</p><p> GROUP BY idArtist</p><p> HAVING COUNT(*) >=7) </p><p>[/code]</p><p></p><p>The views should have a sortby handeler as well, but in my opinon; Beeing able to fully customize the views would be awsome, as well as people who know sql could make custom-views for any user, and it can alsom be posted in a seperate list or something...</p><p></p><p>BTW: I would love a list of views in the GUI to complement the changes, look something like this:</p><p></p><p>Views</p><p></p><p>-Album</p><p> +Single artist</p><p> +Compilation</p><p>-Artist</p><p> + Favorites (lots of songs for example..)</p><p> + Old-timers (Earlier than ???)</p><p> + One-Hit-Wonders (One or two songs)</p><p> + Newcomers</p><p></p><p></p><p>and so on.......</p><p></p><p>What needs to be done?</p></blockquote><p></p>
[QUOTE="Lyxalig, post: 70169, member: 11286"] I'm hoping this is going to help me out with my "view"-problems. Problems: I have a lot of singles that has album-tag because of it's origin, I have lots of compilation-albums, and I have :oops: uncomplete :oops: albums. What I'm looking for is a way to completely set the requisites for the views. As I know sql, I would find it very useful to be able to write my own sql-statements. Ex for config; Albumview-> add new view: "Compilations" Albumview-> add new view: "Single artist" The code for the first one would be: [code] SELECT idAlbum FROM album WHERE inumArtists > 1 [/code] And the second one: [code] SELECT idAlbum FROM album WHERE inumArtists == 1 [/code] As I have "Albums" with only one artist (inumArtists == 1) some logic should be added to make sure this album has more than a few tracks. That renders the "Single artist"-album view code: [code] SELECT idAlbum FROM album WHERE inumArtists == 1 AND idArtist IN (SELECT idArtist FROM song GROUP BY idArtist HAVING COUNT(*) >=7) [/code] The views should have a sortby handeler as well, but in my opinon; Beeing able to fully customize the views would be awsome, as well as people who know sql could make custom-views for any user, and it can alsom be posted in a seperate list or something... BTW: I would love a list of views in the GUI to complement the changes, look something like this: Views -Album +Single artist +Compilation -Artist + Favorites (lots of songs for example..) + Old-timers (Earlier than ???) + One-Hit-Wonders (One or two songs) + Newcomers and so on....... What needs to be done? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
working on: filter in music views reloaded
Contact us
RSS
Top
Bottom