Now playing list jumps to top on drag and drop genre

This forum is for reporting bugs in MediaMonkey for Windows 4. Note that version 4 is no longer actively maintained as it has been replaced by version 5.

Moderator: Gurus

Triponi
Posts: 22
Joined: Tue Sep 16, 2008 5:04 pm

Now playing list jumps to top on drag and drop genre

Post by Triponi »

So I'm listening to songs in the now playing list (and for example I'm currently listening to song number 123 in the list). I decide that this song needs to have its genre changed, so using drag-and-drop, I drag the song onto the appropriate genre in the genre node. The song is updated fine. However the now playing list now jumps to the top. Hence I now have to scroll down my list to get back to number 123, where the now playing song is located. This jumping behaviour always happens even if you want to drag-and-drop any song on the list (not just the currently playing one).

Clearly this jump is entirely unnecessary and can be quite frustrating (especially if you have a lot of song to change).

I have only looked at genre, but I have found this thread which may describe a similar problem:
http://www.mediamonkey.com/forum/viewto ... =7&t=32625

I am using the latest version of media monkey gold (downloaded yesterday). I have generated a debug log as specified in the how-to:

hope you can help

Triponi

---------------------------------
[3992] Auto-Organizer : Checking rule:All Genres; D:\My Music\<Album Artist>\<Album>\<Artist> - <Title> (<Album>, <Track#>) for genres
[3992] Auto-Organizer : Track matches rule
[3992] Auto-Organizer : Track is in: D:\My Music\The Pharcyde\Labcabincalifornia\The Pharcyde - Emerald Butterfly (Labcabincalifornia, 18).wma
[3992] Auto-Organizer : Track name is: The Pharcyde - Emerald Butterfly (Labcabincalifornia, 18).wma
[3992] Auto-Organizer : Track matches rule:All Genres; D:\My Music\<Album Artist>\<Album>\<Artist> - <Title> (<Album>, <Track#>)
[3992] 664 DB query prepare finished, took 129.
[3992] 664 DB lock finished, took 187.
[3992] 664 DB lock finished, took 440.
[3992] Tagging: Queuing file: D:\My Music\The Pharcyde\Labcabincalifornia\The Pharcyde - Emerald Butterfly (Labcabincalifornia, 18).wma
[3992] Tagging: Queuing finished
[3992] Thread has started 2248
[3992] Thread initialized 2248
[3992] PrepareForTagging: Our track is playing
[3992] Going to stop playback in dll: C:\Program Files\MediaMonkey\Plugins\in_wma.dll
[3992] New thread starting 2
[3992] TWAPluginEngine.Stop - input plugin stopped
[3992] Locked file: D:\My Music\The Pharcyde\Labcabincalifornia\The Pharcyde - Emerald Butterfly (Labcabincalifornia, 18).wma
[3992] Thread has started 2964
[3992] Thread initialized 2964
[3992] 2248 DB exec SQL: UPDATE Songs SET FileLength=4467368, TrackModified=39709.522465451,FileModified=39625.487816296 WHERE ID=5537
[3992] 2248 DB lock finished, took 2070.
[3992] Unlocked file: D:\My Music\The Pharcyde\Labcabincalifornia\The Pharcyde - Emerald Butterfly (Labcabincalifornia, 18).wma
[3992] Winamp sim - WM_USER message 603
[3992] Going to play file: D:\My Music\The Pharcyde\Labcabincalifornia\The Pharcyde - Emerald Butterfly (Labcabincalifornia, 18).wma
[3992] Plugin C:\Program Files\MediaMonkey\Plugins\in_wma.dll can play D:\My Music\The Pharcyde\Labcabincalifornia\The Pharcyde - Emerald Butterfly (Labcabincalifornia, 18).wma
[3992] 2964 DB query prepare finished, took 636.
[3992] 2964 DB query prepare finished, took 2711.
[3992] 2964 DB query prepare finished, took 1455.
[3992] 2964 DB lock finished, took 488.
[3992] AutoCalcNormalization finishing
[3992] SynchronizingAfterTagging starting
[3992] 664 DB lock finished, took 1109.
[3992] 664 DB open SQL: SELECT Songs.ID FROM Songs WHERE Songs.ID=? AND ( exists (SELECT null FROM GenresSongs, Genres WHERE GenresSongs.IDSong = Songs.ID AND GenresSongs.IDGenre = Genres.IDGenre AND (Genres.GenreName like '%book%')) )
[3992] 664 DB lock finished, took 1280.
[3992] 664 DB open SQL: SELECT Songs.ID FROM Songs WHERE Songs.ID=? AND ( ( exists (SELECT idTrack FROM PodcastEpisodes WHERE PodcastEpisodes.idTrack = Songs.id) OR exists (SELECT null FROM GenresSongs, Genres WHERE GenresSongs.IDSong = Songs.ID AND GenresSongs.IDGenre = Genres.IDGenre AND (Genres.GenreName like '%podcast%'))) )
[3992] 664 DB lock finished, took 11340.
[3992] 664 DB open SQL: SELECT Songs.ID FROM Songs WHERE Songs.ID=? AND ( ( exists (SELECT idTrack FROM PodcastEpisodes WHERE PodcastEpisodes.idTrack = Songs.id) OR exists (SELECT null FROM GenresSongs, Genres WHERE GenresSongs.IDSong = Songs.ID AND GenresSongs.IDGenre = Genres.IDGenre AND (Genres.GenreName like '%podcast%'))) )
[3992] 664 DB lock finished, took 219.
[3992] 664 DB open SQL: SELECT Songs.ID FROM Songs WHERE Songs.ID=? AND ( exists (SELECT null FROM GenresSongs, Genres WHERE GenresSongs.IDSong = Songs.ID AND GenresSongs.IDGenre = Genres.IDGenre AND (Genres.GenreName like '%book%')) )
[3992] 664 DB lock finished, took 201.
[3992] SynchronizingAfterTagging - buffer match found
[3992] Tagging: Thread finished
[3992] Going to make final callback 2248
[3992] DB: Deleting prepared query: select sum( cnt) as cnt from (SELECT count(*) as cnt FROM Songs WHERE (NormalizeTrack < -99999 ) AND (Songs.IdMedia in (3,4,1,2) OR Songs.CacheStatus=1) )
[3992] DB: Deleting prepared query: SELECT Songs.*
[3992] FROM Songs
[3992] WHERE (IDAlbum=? and id<>?) AND
[3992] (Songs.IdMedia in (3,4,1,2) OR Songs.CacheStatus=1)
[3992] MMDS: Written 101120 bytes
[3992] MMDS: Written 101632 bytes
Guest

Re: Now playing list jumps to top on drag and drop genre

Post by Guest »

This happens when the container being dragged is a link, and the href is set to "#". Change the href to "javascript:void(0);" instead and that won't happen...
Triponi
Posts: 22
Joined: Tue Sep 16, 2008 5:04 pm

Re: Now playing list jumps to top on drag and drop genre

Post by Triponi »

Thanks for taking the time to reply "guest" :-)

However, I must admit that I found your response to be quite cryptic. Please excuse my ignorance but could you elaborate a bit? For example, now playing and drag and drop seen to be part of the core MM build rather than any scripting. So where are you suggesting that I change the href?

Thanks,

Triponi
Lowlander
Posts: 56574
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Re: Now playing list jumps to top on drag and drop genre

Post by Lowlander »

I tried in MediaMonkey 3.1.0.1198 (available in Beta forum) and can't reproduce this problem. Drag & Drop of a Now Playing track onto a Genre node in the Explorer Tree doesn't update the Now Playlist track position.
Post Reply