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: 70194" data-attributes="member: 11286"><p>To refrase the horrible last-post :lol: :</p><p></p><p>Will I be able to make a simple sql-statement that filters down to the songs I would like to get viewed BEFORE the current logic?</p><p></p><p>Ex: Album- SingleArtist view</p><p>[code]</p><p>SELECT album.idAlbum,album.strAlbum,artist.idArtist,artist.strArtist,song.idSong,</p><p>song.strTitle,genre.idGenre,genre.strGenre,song.iTrack,song.iDuration,</p><p>song.iYear,song.iTimesPlayed,song.iRating,song.favorite,path.strPath,</p><p>song.strFileName </p><p></p><p>FROM</p><p>song,album,artist,genre,path</p><p></p><p>WHERE</p><p>song.idAlbum = album.idAlbum and song.idArtist = artist.idArtist and song.idGenre = genre.idGenre and song.idPath = path.idPath</p><p></p><p>(here starts MY sql)</p><p>AND album.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>(here stops MY sql)</p><p></p><p>GROUP BY </p><p>"something" </p><p></p><p>ORDER BY </p><p>"something"[/code]</p><p></p><p><strong>EDIT:</strong></p><p><strong>---BAHH--- You got it the first time.. BTW: This feature would be awsome.</strong></p><p><strong>Would there be a good idea to store views seperately so that they could be shared?? Maybe put as an xml-file in a seperate folder. this way users could create POWER-views and share them.</strong></p><p></p><p>AND almost forgot RESPECT.. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" /></p></blockquote><p></p>
[QUOTE="Lyxalig, post: 70194, member: 11286"] To refrase the horrible last-post :lol: : Will I be able to make a simple sql-statement that filters down to the songs I would like to get viewed BEFORE the current logic? Ex: Album- SingleArtist view [code] SELECT album.idAlbum,album.strAlbum,artist.idArtist,artist.strArtist,song.idSong, song.strTitle,genre.idGenre,genre.strGenre,song.iTrack,song.iDuration, song.iYear,song.iTimesPlayed,song.iRating,song.favorite,path.strPath, song.strFileName FROM song,album,artist,genre,path WHERE song.idAlbum = album.idAlbum and song.idArtist = artist.idArtist and song.idGenre = genre.idGenre and song.idPath = path.idPath (here starts MY sql) AND album.inumArtists == 1 AND idArtist IN (SELECT idArtist FROM song GROUP BY idArtist HAVING COUNT(*) >=7)) (here stops MY sql) GROUP BY "something" ORDER BY "something"[/code] [b]EDIT: ---BAHH--- You got it the first time.. BTW: This feature would be awsome. Would there be a good idea to store views seperately so that they could be shared?? Maybe put as an xml-file in a seperate folder. this way users could create POWER-views and share them.[/b] AND almost forgot RESPECT.. :D [/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