getmusicbee.com

General => MusicBee Wishlist => Topic started by: Steven on February 19, 2017, 10:30:14 PM

Title: View Upcoming Tracks
Post by: Steven on February 19, 2017, 10:30:14 PM
http://musicbee.niblseed.com/V3_1/MusicBee31_Patched.zip
unzip and replace the existing musicbee application files

This has been requested a few times. You can now toggle the Playing Tracks panel to show upcoming tracks. Toggling can be done using a new hotkey or by choosing "Upcoming Tracks" from the "Playing Tracks" panel header bar.
When viewing upcoming tracks you can also manipulate the play order manually by drag/ dropping files or right click queue next.
I guess it makes most sense to use the panel when you have shuffle enabled but it will also work when shuffle is not enabled.
When re-arranging the play order when shuffle is not enabled, you might be initially confused by the way MB does the queue numbering - however the numbering applied is necessary.
Title: Re: View Upcoming Tracks
Post by: theG on February 20, 2017, 06:04:49 PM
I have set the Playing Tracks panel to Upcoming Tracks.
If I right click on an album/playlist and choose "play now" it works. If I drag an album to the Playing Tracks panel I get this:

Quote
MusicBee v3.1.6259.40408 (Win6.1), 20 févr. 2017 13:02:

System.ArgumentOutOfRangeException: L'index était hors limites. Il ne doit pas être négatif et doit être inférieur à la taille de la collection.
Nom du paramètre : index
   à System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   à System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
   à #=q3LqWAfSfxZI1yEsIsx3Zmoqhfb8_Wu9GdKQHIo9Yepf2gFsRocThQG0jDNJIr_fd.#=q_2UAnJN6OIdOuV4i0D_uD0w_SfRb179JjOQrfBWPmUc=(IList`1 #=qjpzP6oSs2TWUFn_rQJtICQ==, Int32 #=qSJsxUZCF6sceffD2fMpT1Q==)
   à MusicBee.Media.PlayManager.#=qbNuihEBsnoTjjB07OAKxa7PNkEO1L17ACnZZQ$H1xzI=(IList`1 #=qPkuvsgkjfDJjnvitSIv7xg==, Int32 #=qtrBgCKNkz6q3Og87acCkig==)
   à #=qJffUuETWrLu6O2oVg$kgY6O$Wd7ppCgt0exSHOQUo$U=.#=qZ1cqhEzfyI6xJCAltqhdx8FjXAWYyfujF4iTPzLOqC8=.#=qblq2QzdEi46BG9eseOXmm3dNRnGgJ_l5YX2Ugj1vCqA=._Lambda$__0(List`1 #=qP36_Ve3IijK$zNFUti0pjw==)


EDIT:
Can't reproduce it anymore. I guess it has something to do with the track list being cleared up completely. If I delete all the tracks when in "Playing Tracks" when I select "Upcoming Tracks" again, the last played track is there instead of the list being completely empty like in "Playing Tracks" view.
When I got the error, for some reason the last played track wasn't there in "Playing Tracks".
Title: Re: View Upcoming Tracks
Post by: Steven on February 20, 2017, 06:27:56 PM
are you using it when shuffle is enabled or not?
in either case, it will be something to do with tracks explicitly in a numbered queue changing.
If have put in some handling for the next update but it would be good to figure out a reproducable way to create the error
Title: Re: View Upcoming Tracks
Post by: theG on February 20, 2017, 06:36:45 PM
While trying to reproduce it, I found another one.

Try this:
Add a few tracks and start playback.
In "Upcoming Tracks", the playing track should be the first one at the top. Double click on it.


Quote
MusicBee v3.1.6259.40408 (Win6.1), 20 févr. 2017 13:36:

System.ArgumentOutOfRangeException: L'index était hors limites. Il ne doit pas être négatif et doit être inférieur à la taille de la collection.
Nom du paramètre : index
   à System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   à #=q3LqWAfSfxZI1yEsIsx3Zmoqhfb8_Wu9GdKQHIo9Yepf2gFsRocThQG0jDNJIr_fd.#=qBDdsgeKxiNh6QiGL_S1qWB9tLJDHzqn2m3Lv75t_s4A=(Int32 #=qQl7fMm5oeA5SCk6qMnfsjQ==)
   à MusicBee.Media.PlayManager.#=qwm4Sjt4jBdbsl97sNq$TKA==(Int32 #=q6NOQuDVu7nKRVrRRUh1GVg==, Boolean #=qD_Vj7jZXuBpvMeJlijDU9w==)
   à #=qJffUuETWrLu6O2oVg$kgY6O$Wd7ppCgt0exSHOQUo$U=.#=qZ1cqhEzfyI6xJCAltqhdx8FjXAWYyfujF4iTPzLOqC8=.OnMouseDoubleClick(MouseEventArgs #=q1CRxLM$dVwNhd_vjGt0ldg==)
   à System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   à System.Windows.Forms.Control.WndProc(Message& m)
   à #=qvoXqqGViwOb52e5q5r7kLeJ7LkMeWc7A7wzySsCJoA8=.WndProc(Message& #=qdfDOFdAMxH3UIHtTxNXHag==)
   à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


EDIT:
Figured out how to reproduce.
I have a button to clear the Playing Tracks. When I press it, it clears all tracks in "Upcoming Tracks" and doesn't leave the last played track like when I delete them right from the panel. I get the error only when I drag an album to the panel.
Title: Re: View Upcoming Tracks
Post by: Steven on February 20, 2017, 06:39:37 PM
Try this:
Add a few tracks and start playback.
In "Upcoming Tracks", the playing track should be the first one at the top. Double click on it.
thats fixed for the next update
Title: Re: View Upcoming Tracks
Post by: theG on February 20, 2017, 06:50:02 PM
thats fixed for the next update

I have edited my previous post on how to reproduce the proglem I had in the OP, in case you missed it ;)
Title: Re: View Upcoming Tracks
Post by: Steven on February 20, 2017, 06:54:15 PM
thanks thats also fixed now
Title: Re: View Upcoming Tracks
Post by: Steven on February 20, 2017, 10:18:22 PM
http://musicbee.niblseed.com/V3_1/MusicBee31_Patched.zip
Title: Questions about Upcoming Tracks
Post by: klint on February 21, 2017, 10:08:39 AM
First, thanks for implementing this feature :)

1) Maybe not a bug, but I just wanted to know whether the display of positions in orange icons is intended, and what is the rationale behind (some have, some haven't)?

 (http://i.imgur.com/5bjOdaL.png)


2) Also, on the contrary to Now Playing list, there is no way to change to current playing list by double clicking on an upcoming track. The right click option works thought. And maybe this is better to avoid changes by accident, and could also be applied to Now Playing list?

3) And last, when trying to drag and drop the CURRENT playing track to the future (dont' know exactly what for though), I get the following error:

Quote
MusicBee v3.1.6260.39976 (Win6.1), 21 févr. 2017 11:06:

System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at #=qCe$4FHRc3flKjDTMXg7j5igXKozMesFkzkqgnQHqUnawSEtc2D9F_uO5A3eKaM0h.#=qy$nlFpLIoZqMS$Whkot3Mf2pNOnh9f3JyPydLjsiQPM=(Int32[] #=qFIvOUns9tAZJYPjr4i2Q4g==, Int32 #=q4QX4aeC6bGw7VaiAv4KvGw==)
   at MusicBee.Media.PlayManager.#=qS7w7SFDgVGT6P7H2Ha1v0b$FLk5CChEoatA9FOQoZyM=(Int32[] #=q6JgklZ50JZ7spJ54JOhIKQ==, Int32 #=q0AmW13kXF6rab1f$9QLE3A==)
   at #=qxj8aoSN2Pm5u5fv2mekgZUuWYWf34t212TLPqZ_Ucxw=.#=qqYCag$ce7Pu3he3O7ckz97zBtVDDxK03PxaWZB1YKQg=.#=q9EsnpqgZPETKSI1JEsoVaSPfYmwon2PSSnjOo_XdqPc=._Lambda$__0(List`1 #=qt8XxmsYXpRH$dSzq8jD8yA==)

Thanks
Title: Re: View Upcoming Tracks
Post by: Steven on February 21, 2017, 05:17:23 PM
i have merged this with the wishlist request because i think its useful for everyone to see the responses in the one topic

1) numbering means the ordering is forced. This is especially necessary when shuffle is not enabled because the normal play sequence is the order of the tracks in the playlist. Having said that, i think i will change the behavior so numbering is not displayed when Upcoming Tracks is being shown

2 & 3 i will fix
Title: Re: View Upcoming Tracks
Post by: Steven on February 21, 2017, 06:42:57 PM
I have fixed the two bugs and removed the display of the forced order numbers in the "Upcoming Tracks" panel.

I am curious what reasons people would use the "Upcoming Tracks" panel when shuffle is not enabled.
Title: Re: View Upcoming Tracks
Post by: Steven on February 21, 2017, 10:22:36 PM
http://musicbee.niblseed.com/V3_1/MusicBee31_Patched.zip

also makes the upcoming tracks available in the compact player, and now playing panel
Title: Re: View Upcoming Tracks
Post by: Alumni on February 22, 2017, 08:27:19 AM
There's no option to choose between "upcoming tracks" and "playing tracks" in the right sidebar of the now playing tab yet.

I can confirm this too.
Title: Re: View Upcoming Tracks
Post by: Steven on February 22, 2017, 08:43:40 AM
There is no header bar item for it and wont be.
However you can use the hotkey.
If Shuffle is enabled, then the toggle is also available from the right click context menu. As it stands I don't see a strong case for the Upcoming Tracks panel to be available for when shuffle is not enabled and I think it will just lead to confusion but if someone does give a good reason for it then I will make it more easily accessible when shuffle is not enabled.
Title: Re: View Upcoming Tracks
Post by: klint on February 22, 2017, 09:50:43 AM
I have fixed the two bugs and removed the display of the forced order numbers in the "Upcoming Tracks" panel.

I am curious what reasons people would use the "Upcoming Tracks" panel when shuffle is not enabled.

Works fine, thanks Steven.
As for the reasons, it easily allows "manual shuffle" :). "Now Playing pane" also, but "Upcoming tasks" one is neater, focused on the future.
Could be useful also to order podcasts episodes (when no specific order is required).
Just some guesses.
Title: Re: View Upcoming Tracks
Post by: Alumni on February 22, 2017, 10:00:31 AM
There is no header bar item for it and wont be.
However you can use the hotkey.
If Shuffle is enabled, then the toggle is also available from the right click context menu. As it stands I don't see a strong case for the Upcoming Tracks panel to be available for when shuffle is not enabled and I think it will just lead to confusion but if someone does give a good reason for it then I will make it more easily accessible when shuffle is not enabled.

The playing tracks panel is essentially the same whether it's in the main panel or in the now playing node, so I'm not sure why the header bar behavior would differ.
Title: Re: View Upcoming Tracks
Post by: theG on February 22, 2017, 06:39:54 PM
With shuffle enabled, the tracks disappear from the Now Playing list as they play. With REPEAT enabled, right now, they all disappear from the list until there's only one track left.
When it has to play the list again because REPEAT is ON, instead of loading all tracks in the Now Playing list again, it only changes the one track that is left in the panel for the new playing track.

I don't see a strong case for the Upcoming Tracks panel to be available for when shuffle is not enabled

Then why not having it only when shuffle is enabled and when shuffle is disabled, it should go back to Playing Tracks automatically.

What I'd like to have, is a button I could add to the Header Bar to enable on disable Upcoming Tracks. With a way to tell me if it's ON or OFF.
Title: Re: View Upcoming Tracks
Post by: Steven on February 22, 2017, 07:35:51 PM
With shuffle enabled, the tracks disappear from the Now Playing list as they play. With REPEAT enabled, right now, they all disappear from the list until there's only one track left.
When it has to play the list again because REPEAT is ON, instead of loading all tracks in the Now Playing list again, it only changes the one track that is left in the panel for the new playing track.
are you using the version from yesterday? I cant reproduce the behaviour you describe. If repeat is not enabled, then the playlist will exhaust to one track. As soon as repeat is enabled the upcoming tracks fills to 100 tracks, repeating the play list if necessary and stays at 100 as tracks are played

Then why not having it only when shuffle is enabled and when shuffle is disabled, it should go back to Playing Tracks automatically.
thats how i had it originally but i think i am going down the path of fully supporting the Upcoming Tracks when shuffle is not enabled

What I'd like to have, is a button I could add to the Header Bar to enable on disable Upcoming Tracks. With a way to tell me if it's ON or OFF.
The text "Upcoming Tracks" does display in the playing tracks panel header. I will amend the "Now Playing" main panel so it also shows the upcoming tracks text. The only place i think it wont show is in the compact and mini player
You can assign the new hotkey to a command button to make it easier to toggle
Title: Re: View Upcoming Tracks
Post by: Steven on February 22, 2017, 08:52:52 PM
The playing tracks panel is essentially the same whether it's in the main panel or in the now playing node, so I'm not sure why the header bar behavior would differ.
i was thinking of another configuration - you are right and i will address that

http://musicbee.niblseed.com/V3_1/MusicBee31_Patched.zip
Title: Re: View Upcoming Tracks
Post by: theG on February 23, 2017, 12:22:24 AM
Quote from: Steven
are you using the version from yesterday?

I am using the latest one now. Found another bug: I have a bunch of tracks in the Playing Tracks panel in "Upcoming Tracks" view with shuffle enabled. I start playback and skip songs and everything works as it should. When I switch to "Playing Tracks" and skip songs, they do skip but not in the panel. The one that's highlighted is the one that was highlighted before I switched from "Upcoming Tracks" to "Playing Tracks". It only does that with Shuffle enabled.

Quote from: Steven
The text "Upcoming Tracks" does display in the playing tracks panel header.

I always have the headers hidden. I don't need them, they take too much space and ruin the look for me so I've added a button with the command "View: Toggle Show Upcoming Track" now. But, is there a way for show the state of the view on the button?
Title: Re: View Upcoming Tracks
Post by: Alumni on February 23, 2017, 06:27:46 AM
i was thinking of another configuration - you are right and i will address that

http://musicbee.niblseed.com/V3_1/MusicBee31_Patched.zip

Updated to this version, but it seems the same as before?
Title: Re: View Upcoming Tracks
Post by: Steven on February 23, 2017, 09:34:03 AM
Updated to this version, but it seems the same as before?
can you post a screenshot so i can see your layout
Title: Re: View Upcoming Tracks
Post by: Alumni on February 23, 2017, 09:40:44 AM
can you post a screenshot so i can see your layout

(http://i.imgur.com/obahEAJm.jpg) (http://i.imgur.com/obahEAJ.jpg)
Title: Re: View Upcoming Tracks
Post by: Steven on February 23, 2017, 07:53:59 PM
this should fix the reported issues:
http://musicbee.niblseed.com/V3_1/MusicBee31_Patched.zip

I always have the headers hidden. I don't need them, they take too much space and ruin the look for me so I've added a button with the command "View: Toggle Show Upcoming Track" now. But, is there a way for show the state of the view on the button?
MB already has that type of support so i have also enabled the new hotkey command to show different text or image depending on the state
Title: Re: View Upcoming Tracks
Post by: theG on February 23, 2017, 08:40:46 PM
MB already has that type of support so i have also enabled the new hotkey command to show different text or image depending on the state

Thanks, exactly what I needed.

Found another odd thing.

Upcoming tracks: OFF
REPEAT: ON
Shuffle: ON
(http://i.imgur.com/8ckWyHs.jpg)

The first track only appears once.
Upcoming tracks: ON
REPEAT: ON
Shuffle: ON
(http://i.imgur.com/vbG7gVk.jpg)
Title: Re: View Upcoming Tracks
Post by: Steven on February 25, 2017, 03:23:16 PM
Found another odd thing.

Upcoming tracks: OFF
REPEAT: ON
Shuffle: ON
thats fixed now

http://musicbee.niblseed.com/V3_1/MusicBee31_Patched.zip
Title: Re: View Upcoming Tracks
Post by: ettelaiv on August 12, 2019, 11:34:42 AM
Maybe I should create a new topic but the "Upcoming tracks" panel has one very frustrating behavior and I cannot figure out how to fix it:
Let's say that the upcoming track list looks like this:
- UpcomingTrack1
- UpcomingTrack2
- UpcomingTrack3

If I drag UpcomingTrack3 and put it in second position (after UpcomingTrack1), then it will just remove UpcomingTrack2 from the upcoming list. Is there no way to reorganize the upcoming tracks without having this behavior?
Same goes if I right click on UpcomingTrack3 and select "Queue Next" -> UpcomingTrack2 gets deleted / skipped.

Thanks!!
Title: Re: View Upcoming Tracks
Post by: Steven on August 12, 2019, 02:29:50 PM
What version are you using? - if its not 3.3+ then can you update to that version from the downloads page and if it is can you send me a link to your settings file (help/ support/ view settings)
Title: Re: View Upcoming Tracks
Post by: ettelaiv on August 20, 2019, 07:15:19 PM
Sorry, I somehow didn't receive any email notification! My version is 3.3.7165
When I click on help/ support/ view settings, I get an error message: the system cannot find the path specified. I did do a backup&restore on this new computer, might be related?

Thank you!
Title: Re: View Upcoming Tracks
Post by: Steven on August 20, 2019, 07:31:43 PM
You must have updated the version since you wrote the original post.
Can you confirm its still happening?
If yes, try this version which might help with the issue for opening the settings file

https://getmusicbee.com/patches/MusicBee33_Patched.zip
unzip and replace the existing musicbee files

and then send me a link to your settings file
Title: Re: View Upcoming Tracks
Post by: ettelaiv on August 20, 2019, 08:11:41 PM
Hello Steven,
Thanks for your answer again. I dont believe I updated it, yet you are right the behavior isn't happening anymore, I just checked thanks!
Title: Re: View Upcoming Tracks
Post by: ettelaiv on August 28, 2019, 01:05:39 PM
Well somehow it doesn't work anymore, still on the same version, experiencing the same bug.
Here are my settings file: https://drive.google.com/open?id=1bPqq9oLredjTuSzEaTn6zlOjluUhWrmB
Found them under C:\Users\Dekstop\AppData\Local\Packages\50072StevenMayall.MusicBee_kcr266et74avj\LocalCache\Roaming\MusicBee is that normal?

I unzipped what you sent me but I'm unsure which files to copy? I see that you have a theathermode pluging and a skin and I don't want to mess up what I have. Thanks!
Title: Re: View Upcoming Tracks
Post by: sveakul on August 28, 2019, 08:48:47 PM
Unfortunately the MusicBee path you gave indicates you have the Windows Store version, which cannot be updated manually with the patch Steven posted due to Windows permissions issues.  I recommend that you change to the Portable version, installed in a non-system location like C:\MusicBee.  After that, patches are applied by extracting the entire contents of the zip into your MusicBee folder, overwriting the existing files.