getmusicbee.com

General => MusicBee Wishlist => Topic started by: mikebo on March 19, 2013, 06:01:36 AM

Title: 'Now Playing' list layouts
Post by: mikebo on March 19, 2013, 06:01:36 AM
Hello,

I'd like to propose two new layouts for the 'Now Playing' list.

First a compact layout that combines Title and Artist in one line but in different colors so it's easier to distinguish
(http://i.imgur.com/tkzw64u.png)
It's already possible to do this with a virtual tag just needs a color setting for the Artist.
I think it makes a good use of limited space.

Second is an album art layout, which shows the cover for every track like so:
(http://i.imgur.com/Z7vut3K.png)
This also uses a different color for the artist name, which in this case i think would look better than say a bold font. The color would of course have to be skin dependent. I like this layout the most because it provides the most information in a very readable way.

Please comment.
Title: Re: 'Now Playing' list layouts
Post by: psychoadept on March 19, 2013, 06:08:50 AM
+1 to both, but especially the first.  I've done something similar with <Artist>~<Album> to make best use of my limited space, but eliminating the separator altogether would be even better.
Title: Re: 'Now Playing' list layouts
Post by: VX on March 19, 2013, 07:48:33 AM
+1 to both, but especially the first.

+10  8)
Title: Re: 'Now Playing' list layouts
Post by: Gary Young on March 19, 2013, 08:24:47 AM
+1 for both.

The 2nd one would clean up a lot the current "Album and Tracks" layout for playlists, I find.
Title: Re: 'Now Playing' list layouts
Post by: MeeMeeMee on March 19, 2013, 09:20:43 AM
So... Why not go for the next logical step and ask for a $color(color,text) function that could be used, for example, like so: <Title>$color(#E3E3E7,<artist>)
Title: Re: 'Now Playing' list layouts
Post by: Greb on March 19, 2013, 10:15:21 AM
+1

I'd suggest to allow to use a secondary colour defined in the skin too (fg=colour1 fg2=colour2). That way the skin could select the colours that fit better with the layout.

Of course, that should be a possibility, using any colour you want should be allowed too.
Title: Re: 'Now Playing' list layouts
Post by: mikebo on March 19, 2013, 04:56:17 PM
So... Why not go for the next logical step and ask for a $color(color,text) function that could be used, for example, like so: <Title>$color(#E3E3E7,<artist>)

But then you'd have to change these colors every time you change the skin. I'd leave the color decisions to the skin makers.
Title: Re: 'Now Playing' list layouts
Post by: MeeMeeMee on March 19, 2013, 06:21:23 PM
So... Why not go for the next logical step and ask for a $color(color,text) function that could be used, for example, like so: <Title>$color(#E3E3E7,<artist>)

But then you'd have to change these colors every time you change the skin. I'd leave the color decisions to the skin makers.
You're right. I just gave that $color(...) as an example to make my suggestion clearer.
Besides picking colors directly using hex RGB values, if you could also use element ID names to pick colors, i.e. use the same color as this other object - that would be great.
Title: Re: 'Now Playing' list layouts
Post by: Gary Young on March 19, 2013, 07:31:01 PM
Possibly the basic font color could be just "dimmed" a bit?

There must be some hardcoded thing which e.g. displays dead links (greyed out). I don't know if these are alwas displayed in grey or if it depends on the actual font color (which can be skin-dependent).

I mean:

<Title> uses the "normal" color
<Artist> uses the "greyed out" version of that color
Title: Re: 'Now Playing' list layouts
Post by: mikebo on March 19, 2013, 08:50:00 PM
That could be a solution for skins that don't specify a color.
Title: Re: 'Now Playing' list layouts
Post by: Steven on March 19, 2013, 08:58:19 PM
i want to do this request but it would be as $colour(%, <field>)
where % is the mix of foreground and background eg. 100%=foreground
Title: Re: 'Now Playing' list layouts
Post by: mikebo on March 19, 2013, 09:10:35 PM
Would that value be defined in the skin xml?

EDIT: If you are considering this request maybe you would be willing to implement a similar setting for a secondary fg color in main view for tags other than track title like this:
(http://i.imgur.com/r4CzH3p.png)
This would put the a little more focus on Track Title
Title: Re: 'Now Playing' list layouts
Post by: MeeMeeMee on March 19, 2013, 09:43:44 PM
i want to do this request but it would be as $colour(%, <field>)
where % is the mix of foreground and background eg. 100%=foreground
I like that idea. It keeps things simple and the everything stays consistent.
Just a couple of clarification question, Steven: would this be limited to <field> or could we write whole formulas in there? And could we use $color freely inside formulas, such as $if(<condition>, <artist>, $color(...))?
Title: Re: 'Now Playing' list layouts
Post by: mikebo on April 29, 2013, 07:36:26 PM
Any progress on this or did you change your mind?
Title: Re: 'Now Playing' list layouts
Post by: Steven on April 29, 2013, 07:52:18 PM
yes but probably not for a few weeks yet
Title: Re: 'Now Playing' list layouts
Post by: Steven on May 04, 2013, 02:05:35 PM
i've done this (using %mix fg/bg) for the "Now Playing" Panel and "Playing Track" panel. Its in the next 2.1 update which i will post later.
Doing it within virtual fields as a formula is much harder. Not sure if i will do it and it will be at a later date that i look at it.
Title: Re: 'Now Playing' list layouts
Post by: Steven on May 04, 2013, 03:58:45 PM
this has the change:
http://musicbee.niblseed.com/V2_1/MusicBee_Exe_Patched.zip
Title: Re: 'Now Playing' list layouts
Post by: redwing on May 06, 2013, 04:12:31 AM
Any plan to support Now Playing list as the original request?
Title: Re: 'Now Playing' list layouts
Post by: psychoadept on May 06, 2013, 04:24:48 AM
I was thinking perhaps this should also be an option under Configure Fields, too.  That would come closest to the original request without using virtual tags.
Title: Re: 'Now Playing' list layouts
Post by: Steven on May 06, 2013, 08:04:59 AM
as i said above its much harder to change contrast or colour within a field and i might not do it
Title: Re: 'Now Playing' list layouts
Post by: Steven on November 19, 2013, 09:40:02 PM
i've been looking at the 2nd request, the album art layout, having a picture and multiple lines of text for each picture. I was wanting to do this so you can still have multiple columns for the first line in each picture and then a single field for the 2nd line.
However there is a snag i have encountered that i dont think can be solved without redoing some things which i am not willing to do.
So could i get peoples opinion whether this feature would still be useful if each line just shows a single field? You could use a virtual field to combine fields but it would mean you couldnt put a fields in their own column eg. time in its own column on the right
Title: Re: 'Now Playing' list layouts
Post by: mikebo on November 20, 2013, 06:11:56 AM
whether this feature would still be useful if each line just shows a single field?

That's fine by me.
Title: Re: 'Now Playing' list layouts
Post by: psychoadept on November 20, 2013, 07:13:58 AM
One field per line seems fine to me.
Title: Re: 'Now Playing' list layouts
Post by: KissCool on November 20, 2013, 05:05:03 PM
1 field per line is fine.
Title: Re: 'Now Playing' list layouts
Post by: Steven on November 20, 2013, 09:41:31 PM
this has the new Now Playing List layout which can be set in the Now Playing Layout preferences dialog.
As mentioned only one field per line is supported.
I havent added support for this new layout in the Modern Compact player as yet and it also doesnt support as yet clicking a rating if you have the rating field displayed. No doubt i will have overlooked other things as well!

http://musicbee.niblseed.com/V2_3/MusicBee_Exe_Patched.zip
Title: Re: 'Now Playing' list layouts
Post by: KissCool on November 20, 2013, 11:06:01 PM
Nice. Thx.

Drag&Drop isn't supported?
Title: Re: 'Now Playing' list layouts
Post by: mikebo on November 21, 2013, 08:03:19 AM
It looks very nice already (http://i.imgur.com/A2xTwTV.png)

There's an extra empty line at the end of the list
(http://i.imgur.com/fcWnyGB.png)

Drag & drop doesn't work for me either
Title: Re: 'Now Playing' list layouts
Post by: Steven on November 21, 2013, 08:05:49 AM
is the blue you own highlighting?
there will be a gap at the end depending on the height of the panel as the top item is always flush with the top of the panel. The height of the gap should be less than one row in height, even 1px less depending on the panel height
Title: Re: 'Now Playing' list layouts
Post by: mikebo on November 21, 2013, 08:08:30 AM
It's not just a gap, it's an extra row, which i can select (hence the highlight) but it's empty.
Title: Re: 'Now Playing' list layouts
Post by: Steven on November 21, 2013, 08:10:02 AM
does it do it for any now playing list you create from scratch. Its not something that happens for me so i will need some steps to reproduce.
Also try setting it to Track Details view to see if it corresponds to a particular track
Title: Re: 'Now Playing' list layouts
Post by: mikebo on November 21, 2013, 08:26:38 AM
I does that every time, so there are no specific steps i can provide (i'll pm my settings file)

also if i have a track playing and will clear the list and then queue a song ('Electricity' in this example) i'll get this:
(http://i.imgur.com/zEcjCHB.png)
Title: Re: 'Now Playing' list layouts
Post by: Steven on November 21, 2013, 08:30:45 AM
i guess you didnt see my edited comment.
What shows when you switch to track details view.
If you edit the blank file, does it correspond to a real file or it is an item that should be on the playlist but just not showing the details.
Title: Re: 'Now Playing' list layouts
Post by: mikebo on November 21, 2013, 08:37:30 AM
When i switch to track details that empty row disappears (in the sense that it cannot be selected anymore).

In thumbnail view i can select that last empty row; double-click does nothing; when i right-click the highlight will jump to the track above and display the context menu for it

edit: i can also drag it, it will show the drop indicator, but when i release the mouse button nothing changes
Title: Re: 'Now Playing' list layouts
Post by: redwing on November 21, 2013, 09:14:02 AM
I too see the extra line with any node selected.

(http://i.imgur.com/kwRrYbY.png)

- but I can't play the empty line (can't show just speaker icon)
- thumbnail browser too shows some sort of empty line when its height fills screen, but the line is not selectable unlike now playing list. And if I click on empty area below the last item, highlight disappears from thumbnail browser. I think it shouldn't do that. The highlight should remain like screenshot.
Title: Re: 'Now Playing' list layouts
Post by: Steven on November 21, 2013, 10:10:30 AM
i am able to reproduce using mikebo's settings and will post a fix later.
Also drag/drop into the playlist doesnt work as reported and will also be fixed
Title: Re: 'Now Playing' list layouts
Post by: Steven on November 21, 2013, 08:57:30 PM
this should fix the extra line showing for certain configurations, and drag/drop into the playlist. It also makes the new Now Playing layout available in the modern compact player

http://musicbee.niblseed.com/V2_3/MusicBee_Exe_Patched.zip
Title: Re: 'Now Playing' list layouts
Post by: KissCool on November 22, 2013, 12:00:12 AM
Got this error with the compact player:

MusicBee v2.3.5073.30024 (Win6.2), 22 nov. 2013 0:48:

System.ArgumentOutOfRangeException: InvalidArgument=La valeur '1' n'est pas valide pour 'index'.
Nom du paramètre : index
   à System.Windows.Forms.ListView.ColumnHeaderCollection.get_Item(Int32 index)
   à #=qwpqld5uf$NMMnMMeKi8_IyJRyVXh25jII2VoY8cud6k=.#=qixFJISDTuTuMKX2JTkfoENK6Pt9TjvLV5uPReZWuKXU=(Boolean #=q6naSO_VOBHNNVI$jjy0dDQ==)
   à #=qODjwuQ199$ffSBFv5MNwIduFD3r1SsL3ArYN3uDkGFg=.#=qH70wbJXaALe91v9EPFGTxuKAlyq0kIkiij7XRhQenQI=(Boolean #=qz0kAdqE4r3YQMnSu3Omwxg==)
   à #=qOA$gvMndwzDD7N1qKi$nn__G_FcJvf8l4NquSZDEfZKb_xgBZYL_XX4ViAGbizhd.#=qKOb7gr3Hw7tUwkbMcwya3uVYRJYl1ov_16N$HobYg$I=(Object #=qjY3buMiLomUcZdMt_P8MQQ==, EventArgs #=q11vDo$R3DD0gYkfk5mmcKg==)
   à System.Windows.Forms.Timer.OnTick(EventArgs e)
   à System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
   à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Settings:
- Overlay panels onto the picture
- show lyrics
- hover the mouse on the right window edge to open the panels not shown

Error occure when I try to open those panels not shown.

And just noticed one strange thing: when you display "now playing" to the right panel, you can have a "now playing" tab in the main panel. You can't if "now playing" is docked to the left panel. Is It intended?
Title: Re: 'Now Playing' list layouts
Post by: mikebo on November 22, 2013, 12:43:23 PM
Looks and works great. I'm glad you've made the gap between artwork the same as the thumbnail browser.

Apart from the bug reported by KissCool, this patch (or one of the recent ones) extended the highlight background to the speaker icon but didn't extend the borders so it looks unfinished
(http://i.imgur.com/so2hPqC.png)


If i may suggest some changes:
- a tooltip for truncated titles would be useful

- 1px offset from the list header (also in the thumbnail browser)
(http://i.imgur.com/JFE5RaB.png)

- better vertical alignment of text in the now playing list (2px down)
(http://i.imgur.com/tQ9FEJU.png)
and in subscription list in the podcasts node (2px down)
(http://i.imgur.com/dTkYCwx.png)
Title: Re: 'Now Playing' list layouts
Post by: SimonBRT on November 22, 2013, 02:05:56 PM
@mikebo - sometimes you're eye for detail is frightening!  ;)  I have to agree though that these small details really do help improve the overall experience when taken together. Great stuff.

Also, another fantastic new layout Steven!
Title: Re: 'Now Playing' list layouts
Post by: Steven on November 22, 2013, 02:33:15 PM
unfortunately when using no header with list controls (the thumbnail browser also doesnt even though it looks like it has header) there is no gap at the top short of reducing the picture size and tweaking the highlighting which i am not willing to do.
Title: Re: 'Now Playing' list layouts
Post by: Steven on November 22, 2013, 07:09:04 PM
this should fix the issue with the modern compact player popup sidebar and a couple of other bugs, along with a couple of minor GUI tweaks

http://musicbee.niblseed.com/V2_3/MusicBee_Exe_Patched.zip
Title: Re: 'Now Playing' list layouts
Post by: KissCool on November 22, 2013, 09:50:18 PM
Fixed. Thank you.
Title: Re: 'Now Playing' list layouts
Post by: Steven on November 22, 2013, 10:12:53 PM
just a warning this version might cause random freezing when double clicking to start a song. It might just be something in my environment and not a general problem.
Title: Re: 'Now Playing' list layouts
Post by: mikebo on November 22, 2013, 10:35:55 PM
unfortunately when using no header with list controls (the thumbnail browser also doesnt even though it looks like it has header) there is no gap at the top short of reducing the picture size and tweaking the highlighting which i am not willing to do.

Now i wish i hadn't noticed that and this
(http://i.imgur.com/2hGD2JI.png)
At least you got it right in the subscriptions list (apart from the indentation and lack of artwork border :))

Any thoughts on the tooltip suggestion?
Title: Re: 'Now Playing' list layouts
Post by: Steven on November 22, 2013, 10:45:20 PM
this should fix the random freezing when the now playing list gets reset using the new layout:
http://musicbee.niblseed.com/V2_3/MusicBee_Exe_Patched.zip
Title: Re: 'Now Playing' list layouts
Post by: trmbl on November 26, 2013, 01:30:20 AM
Any plans to integrate Highlighting to "Track with Thumbnail" view ?
Currently, if I choose to display this field, nothing is shown (obviously, since its not text but a color).
I suppose it could be added at the right of the artwork, as if it was another column.

Btw, I love this new enhancement : )
Title: Re: 'Now Playing' list layouts
Post by: Steven on November 26, 2013, 08:18:57 PM
this fixes a couple of bugs and now shows a tooltip for cut-off text
http://musicbee.niblseed.com/V2_3/MusicBee_Exe_Patched.zip


Any plans to integrate Highlighting to "Track with Thumbnail" view ?
its already supported for when the rule has highlight text ticked. I dont plan to support it beyond that unless a number of people want it, but you would need to keep in mind that if it was to display as a block or icon, it would take an entire line
Title: Re: 'Now Playing' list layouts
Post by: KissCool on December 03, 2013, 02:42:07 PM
i've done this (using %mix fg/bg) for the "Now Playing" Panel and "Playing Track" panel. Its in the next 2.1 update which i will post later.
Doing it within virtual fields as a formula is much harder. Not sure if i will do it and it will be at a later date that i look at it.

I'd really like to get this formula.
Would look really nice in the main panel.
eg.: <Title> %mix(<Subtitle>,0.5) -> (http://imageshack.com/a/img10/972/8poe.jpg)