LibraryPanes: Library panes like these in Winamp, iRiver, ..
-
Guest
Separate filters for all panes seem helpful maybe. I don't directly see how one filter for all panes can be handy.what about adding a search function/ filter
Or do you mean a filter on the track view? That's a request for MediaMonkey itself, and this wish is already on the wishlist, I think.
Extensions: ExternalTools, ExtractFields, SongPreviewer, LinkedTracks, CleanImport, and some other scripts (Need Help with Addons > List of All Scripts).
-
Batiu-Drami
- Posts: 12
- Joined: Thu Aug 03, 2006 3:06 am
Currently the panel actually lists both Artists AND Album Artists (similar to the way it's stored in DB - a single column).
I don't mind having both listed if it then selects the albums and tracks correctly. As it stands, if you select an Album Artist (which has no corresponding / equivalent Artist entry) you will see no albums listed, and thus no tracks shown. This is an obvious problem for Various Artist albums.
Because of this, I'd imagine the changes would be easier made by Steegy. If someone else IS able to make it work, please let us all know
I don't mind having both listed if it then selects the albums and tracks correctly. As it stands, if you select an Album Artist (which has no corresponding / equivalent Artist entry) you will see no albums listed, and thus no tracks shown. This is an obvious problem for Various Artist albums.
Because of this, I'd imagine the changes would be easier made by Steegy. If someone else IS able to make it work, please let us all know
-
durden999uk
- Posts: 91
- Joined: Sun Apr 23, 2006 6:18 pm
- Location: England
Hi Steegy,
Excellent script, it makes picking out whole albums infinitly easier (I've never been able to completely get on with the tree system, but that's another matter). As you are taking on comments about future versions, I would like to suggest implementing a way to keep tracks from an album in their correct order. I have tried sorting the columns by album, then track number, and it puts things in order for a while, but then goes back to listing all the tracks in any old order if after a while. It only takes a couple of clicks to fix, of course, but would improve an already excellent script.
Ben
Excellent script, it makes picking out whole albums infinitly easier (I've never been able to completely get on with the tree system, but that's another matter). As you are taking on comments about future versions, I would like to suggest implementing a way to keep tracks from an album in their correct order. I have tried sorting the columns by album, then track number, and it puts things in order for a while, but then goes back to listing all the tracks in any old order if after a while. It only takes a couple of clicks to fix, of course, but would improve an already excellent script.
Ben
iPod?
First of all, great script, thanks Steegy.
I'm using MM to play stuff from my iPod, but haven't synched or added the tracks to the library however. I was wondering if it'd be possible to add the option to show the iPod contents in LibraryPanes (for example switching between MM library and iPod contents)?
Also would like to second the request from the previous post regarding track order.
Thanks,
BN
I'm using MM to play stuff from my iPod, but haven't synched or added the tracks to the library however. I was wondering if it'd be possible to add the option to show the iPod contents in LibraryPanes (for example switching between MM library and iPod contents)?
Also would like to second the request from the previous post regarding track order.
Thanks,
BN
If anyone is getting error messages about line 184, send a blank email to fixlp@trixmoto.net and you should recieve the fix instantly!
(This address is not checked and the emails are deleted, an auto response is sent with the fix!)
N.B. I've tidied up this thread by removing all the previous requests, hope that's ok.
(This address is not checked and the emails are deleted, an auto response is sent with the fix!)
N.B. I've tidied up this thread by removing all the previous requests, hope that's ok.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Changing to AlbumArtist !?
Hey and thanx for an wounderfull script.
I have one question,
Is it possible to change the Artist Panel to AlbumArtist instead ?
If so, how do I do it ???
Cheers,
//Peter
I have one question,
Is it possible to change the Artist Panel to AlbumArtist instead ?
If so, how do I do it ???
Cheers,
//Peter
-
46AND2
Sorting?
first of all: nice script!
I'm very new in MM and I'm not familiar with visiual basic. my problem: the LibraryPanes.vbs works very fine, but I have a sorting problem. everytime I select an artist on the left pane and then an album on the right pane, the listed songs are not correct sortet. I want them to be sorted by track-number. With every new select I have to click on the track-number column header to sort the list. do I need to change anything in the script?
thanks a lot for your help.
I'm very new in MM and I'm not familiar with visiual basic. my problem: the LibraryPanes.vbs works very fine, but I have a sorting problem. everytime I select an artist on the left pane and then an album on the right pane, the listed songs are not correct sortet. I want them to be sorted by track-number. With every new select I have to click on the track-number column header to sort the list. do I need to change anything in the script?
thanks a lot for your help.
Hi.
I think the following should do the trick:
- Open the script file (e.g. using notepad) and go to "Sub DoAlbums".
- Locate and change it to
Cheers
Steegy
I think the following should do the trick:
- Open the script file (e.g. using notepad) and go to "Sub DoAlbums".
- Locate
Code: Select all
Call SDB.MainTracksWindow.AddTracksFromQuery("" _
+ "AND Artists.ID=" + ArtistsTag + " AND Albums.ID=" + AlbumsTag)Code: Select all
Call SDB.MainTracksWindow.AddTracksFromQuery("" _
+ "AND Artists.ID=" + ArtistsTag + " AND Albums.ID=" + AlbumsTag + " ORDER BY Songs.SongOrder")Steegy
Extensions: ExternalTools, ExtractFields, SongPreviewer, LinkedTracks, CleanImport, and some other scripts (Need Help with Addons > List of All Scripts).
-
46AND2
Steegy, thank you very much!
If someone is interested in correct sorting... (I hope, this is okay for you Steegy, that I modify your excellent script. Otherwise, pls. delete this post).
1. Replace the whole Sub DoAlbums
2. If you work with "Genres", you also have to replace the following "Sub":
If someone is interested in correct sorting... (I hope, this is okay for you Steegy, that I modify your excellent script. Otherwise, pls. delete this post).
1. Replace the whole Sub DoAlbums
Code: Select all
Sub DoAlbums
If lvAlbums.Interf.SelectedItem Is Nothing Then Exit Sub
Call SDB.ProcessMessages
If CustomTag = "ALL" Then
If ArtistsTag = "ALL" Then
If AlbumsTag = "ALL" Then
Call SDB.MainTracksWindow.AddTracksFromQuery("" _
+ "ORDER BY Artists.Artist, Albums.Album, Songs.SongOrder")
Else
Call SDB.MainTracksWindow.AddTracksFromQuery("" _
+ "AND Albums.ID=" + AlbumsTag + " ORDER BY Songs.SongOrder")
End If
Else
If AlbumsTag = "ALL" Then
Call SDB.MainTracksWindow.AddTracksFromQuery("" _
+ "AND Artists.ID=" + ArtistsTag + " ORDER BY Albums.Album, Songs.SongOrder")
Else
Call SDB.MainTracksWindow.AddTracksFromQuery("" _
+ "AND Artists.ID=" + ArtistsTag + " AND Albums.ID=" + AlbumsTag + " ORDER BY Songs.SongOrder")
End If
End If
Else
If CustomPaneKind = "Genres" Then
If ArtistsTag = "ALL" Then
If AlbumsTag = "ALL" Then
Call AddTracksFromQueryAdvanced("" _
+ "SELECT Songs.ID " _
+ "FROM Genres INNER JOIN Songs ON Genres.IDGenre = Songs.Genre " _
+ "WHERE Genres.IDGenre=" + CustomTag)
Else
Call AddTracksFromQueryAdvanced("" _
+ "SELECT Songs.ID " _
+ "FROM (Genres INNER JOIN Songs ON Genres.IDGenre = Songs.Genre) INNER JOIN Albums ON Songs.IDAlbum = Albums.ID " _
+ "WHERE (Genres.IDGenre=" + CustomTag + " AND Albums.ID=" + AlbumsTag + ")")
End If
Else
If AlbumsTag = "ALL" Then
Call AddTracksFromQueryAdvanced("" _
+ "SELECT Songs.ID " _
+ "FROM Artists INNER JOIN (Genres INNER JOIN Songs ON Genres.IDGenre = Songs.Genre) ON Artists.ID = Songs.IDArtist " _
+ "WHERE (Genres.IDGenre=" + CustomTag + " AND Artists.ID=" + ArtistsTag + ")")
Else
Call AddTracksFromQueryAdvanced("" _
+ "SELECT Songs.ID " _
+ "FROM (Artists INNER JOIN (Genres INNER JOIN Songs ON Genres.IDGenre = Songs.Genre) ON Artists.ID = Songs.IDArtist) INNER JOIN Albums ON Songs.IDAlbum = Albums.ID " _
+ "WHERE (Genres.IDGenre=" + CustomTag + " AND Artists.ID=" + ArtistsTag + " AND Albums.ID=" + AlbumsTag + ")")
End If
End If
Else
If ArtistsTag = "ALL" Then
If AlbumsTag = "ALL" Then
Call AddTracksFromQueryAdvanced("" _
+ "SELECT DISTINCT Songs.ID " _
+ "FROM Lists INNER JOIN (AddSongInfoInt INNER JOIN Songs ON AddSongInfoInt.IDSong = Songs.ID) ON Lists.ID = AddSongInfoInt.IntData " _
+ "WHERE AddSongInfoInt.DataType=1010" & GetIDListType(CustomPaneKind) & " AND Lists.ID=" + CustomTag)
Else
Call AddTracksFromQueryAdvanced("" _
+ "SELECT DISTINCT Songs.ID " _
+ "FROM Albums INNER JOIN (Lists INNER JOIN (AddSongInfoInt INNER JOIN Songs ON AddSongInfoInt.IDSong = Songs.ID) ON Lists.ID = AddSongInfoInt.IntData) ON Albums.ID = Songs.IDAlbum " _
+ "WHERE AddSongInfoInt.DataType=1010" & GetIDListType(CustomPaneKind) & " AND Albums.ID=" + AlbumsTag + " AND Lists.ID=" + CustomTag)
End If
Else
If AlbumsTag = "ALL" Then
Call AddTracksFromQueryAdvanced("" _
+ "SELECT Songs.ID " _
+ "FROM Artists INNER JOIN (Albums INNER JOIN (Lists INNER JOIN (AddSongInfoInt INNER JOIN Songs ON AddSongInfoInt.IDSong = Songs.ID) ON Lists.ID = AddSongInfoInt.IntData) ON Albums.ID = Songs.IDAlbum) ON (Artists.ID = Songs.IDArtist) " _
+ "WHERE AddSongInfoInt.DataType=1010" & GetIDListType(CustomPaneKind) & " AND Lists.ID=" + CustomTag + " AND Artists.ID=" + ArtistsTag)
Else
Call AddTracksFromQueryAdvanced("" _
+ "SELECT Songs.ID " _
+ "FROM (Albums INNER JOIN (Artists INNER JOIN Songs ON Artists.ID = Songs.IDArtist) ON (Songs.IDAlbum = Albums.ID)) INNER JOIN (Lists INNER JOIN AddSongInfoInt ON Lists.ID = AddSongInfoInt.IntData) ON Songs.ID = AddSongInfoInt.IDSong " _
+ "WHERE Albums.ID=" + AlbumsTag + " AND Artists.ID=" + ArtistsTag + " AND AddSongInfoInt.DataType=1010" & GetIDListType(CustomPaneKind) & " AND Lists.ID=" + CustomTag)
End If
End If
End If
End If
Set PreviousAlbumsItem = lvAlbums.Interf.SelectedItem
Call SDB.ProcessMessages
LastSelection = " "
End Sub2. If you work with "Genres", you also have to replace the following "Sub":
Code: Select all
Sub AddTracksFromQueryAdvanced(FullQuery)
Call SDB.MainTracksWindow.AddTracksFromQuery("AND Songs.ID IN (" & FullQuery & ")" + " ORDER BY Artists.Artist, Albums.Album, Songs.SongOrder")
End SubSure, modifications are always welcome. Actually, I welcome anyone who can "update" this script a bit, to take into account the various wishes posted here. Maybe someone can make the script a bit more "modular" (the SQL part) as all the necessary 'fine-tuned-for-speed' queries are a lot for me... That makes that it's not very fun to edit things (certainly when a 'newer' version's gui is broken due to a dubious reason, and I really want it to work but it seems impossible46AND2 wrote:...I hope, this is okay for you Steegy...
Extensions: ExternalTools, ExtractFields, SongPreviewer, LinkedTracks, CleanImport, and some other scripts (Need Help with Addons > List of All Scripts).
-
iffrunner
-
Dutchronnie
- Posts: 15
- Joined: Wed Oct 18, 2006 10:56 am
-
Guest
Hey both
Check the first post in this topic, and send a mail (cantents can be empty) to the email address mentioned there.
Cheers
Steegy
Check the first post in this topic, and send a mail (cantents can be empty) to the email address mentioned there.
Cheers
Steegy