Skip to main content

Topic: [Not My Release] ELPlaylist (Read 407401 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • n0stalgia
  • [*]
[Not My Release] ELPlaylist
Reply #975
I'd like to somehow automate sorting in ELPlaylist.

I'm using Filter Column to look for a new album artist, and then click on the album artist once. It get's automatically sent into Filter Results column, which is powered by ELPlaylist; however, the sorting is messed up (it's %album%). I have to Right Click --> Sort manually every time to get the order I want (%ALBUM ARTIST% - %DATE% - %ALBUM% - %DISCNUMBER% - %TRACKNUMBER% - %TITLE%)

Is there any way I can automate this process, so it gets automatically put in the said form?

  • MachineHead
  • [*][*][*][*][*]
[Not My Release] ELPlaylist
Reply #976
Filters sorting pattern needs to be set. That should take care of of how items are displayed automatically then.

  • Last Edit: 28 December, 2015, 05:29:30 AM by MachineHead

  • n0stalgia
  • [*]
[Not My Release] ELPlaylist
Reply #977
Filters sorting pattern needs to be set. That should take care of of how items are displayed automatically then.

[Image]


Thanks, that did the trick. I've got another question though.



My Group Header has a magenta background color. Can't quite figure out how to get rid of it. I put in a basic $drawstring with DUMMY TEXT LOREM IPSUM text in it an set the color to white to make it opaque. As you can see, there's no more code in Group Header, and it's still magenta. Any clues how to remove it/make it white?

For reference, my Styles tab:

  • Last Edit: 29 December, 2015, 09:05:28 AM by n0stalgia

  • n0stalgia
  • [*]
[Not My Release] ELPlaylist
Reply #978
I meant to say cyan,  not magenta. Woops.

  • MachineHead
  • [*][*][*][*][*]
[Not My Release] ELPlaylist
Reply #979
Looks like default text color you get on first run. Maybe check here. Optionally you could use $drawtextex(,,,,,) which is easier to come to terms with.



  • n0stalgia
  • [*]
[Not My Release] ELPlaylist
Reply #980
Looks like default text color you get on first run. Maybe check here. Optionally you could use $drawtextex(,,,,,) which is easier to come to terms with.


Nope, no luck with that, as you can see here: http://i.imgur.com/xoE3jvE.png

No luck with $drawtext or $drawtextex either: they're simply not being displayed. No matter the settings or text color I use, the text doesn't show up.

  • n0stalgia
  • [*]
[Not My Release] ELPlaylist
Reply #981
Looks like default text color you get on first run. Maybe check here. Optionally you could use $drawtextex(,,,,,) which is easier to come to terms with.


Nope, no luck with that, as you can see here: http://i.imgur.com/xoE3jvE.png

No luck with $drawtext or $drawtextex either: they're simply not being displayed. No matter the settings or text color I use, the text doesn't show up.


I fixed it. It was a very dumb mistake. I used Tab in my code instead of Space to format it, and it killed the function. Basically it was $drawtext with x,y coordinates and the rest of it was just dead, so it used the defaults. Apparently cyan is the default color for when no custom r-g-b option is set.
  • Last Edit: 30 December, 2015, 01:28:10 PM by n0stalgia

Re: [Not My Release] ELPlaylist
Reply #982
Is it possible the change text color or dim text only in brackets or parentheses?
  • Last Edit: 21 June, 2016, 03:28:07 PM by baloneyboy

Re: [Not My Release] ELPlaylist
Reply #983
Hello,

I like to add an column for the albumn title after song title. How to do it?
Is it even possible?

Now my code looks like this:

Code: [Select]
$puts(art.size,$mul(%ART.ROW%,%el_row_height%))

$puts(text.color,%TEXT.COLOUR%)
$puts(track.text,%tracknumber%  %title%)

///////Track Info///////

$if($not(%el_isplaying%),
    $drawtextex($get(track.text),
                $get(text.left),0,$get(text.right),%el_height%,$get(text.color),vcenter end_ellipsis)
    $drawtext(%length%,0,0,$sub(%el_width%,4),%el_height%,$get(text.color),vcenter right),)
$setcoordinate(0)

  • jazzthieve
  • [*][*][*][*]
Re: [Not My Release] ELPlaylist
Reply #984
If you merely want to show the album name next to the title change this:

Code: [Select]
$puts(track.text,%tracknumber%  %title%  %album%)

Re: [Not My Release] ELPlaylist
Reply #985
But then it is not justified

  • jazzthieve
  • [*][*][*][*]
Re: [Not My Release] ELPlaylist
Reply #986
As I said, "If you merely want to show the album name next to the title", you didn't ask it to be justified.

Check out the $drawtext function on the ELplaylist wiki to get %album% displayed the way you want.

Put it after the if declaration in your script but before setcoordinate(0).
You might then perhaps also want to limit your %title% string to x characters so it doesn't run in and mix up with your album title.
So use this
Code: [Select]
$puts(track.text,%tracknumber%  $left(%title%,y))

Where y is the amount of characters you want to display starting from the left. There are more elegant solutions then merely cutting off the title string using $len and $ifgreater but that's for you to find out and learn if you want to have more control about how you want to display stuff in ELplaylist.
Use the titleformatting reference  and Elplaylist wiki as help.

Re: [Not My Release] ELPlaylist
Reply #987
Thank you it is working now

Code: [Select]
$puts(art.size,$mul(%ART.ROW%,%el_row_height%))

$puts(text.color,%TEXT.COLOUR%)
$puts(track.text,%tracknumber%  %title%)
$puts(track.text,%tracknumber%  $left(%title%,20))
///////Track Info///////

$if($not(%el_isplaying%),
    $drawtextex($get(track.text),
                $get(text.left),0,$get(text.right),%el_height%,$get(text.color),vcenter end_ellipsis)
    $drawtext(%length%,0,0,$sub(%el_width%,4),%el_height%,$get(text.color),vcenter right)
$drawtext(%album%,210,0,$sub(%el_width%,4),%el_height%,$get(text.color)),)
,)

$setcoordinate(0)

Re: [Not My Release] ELPlaylist
Reply #988
One last question. What is the grey box at the bottom? Is it maybe a bug?
  • Last Edit: 23 February, 2017, 09:50:55 PM by foobaraddicted

  • jazzthieve
  • [*][*][*][*]
Re: [Not My Release] ELPlaylist
Reply #989
No clue, that's something config specific. Could be anything, a line or a top layer panel stack not fully filling the height or something else.

Re: [Not My Release] ELPlaylist
Reply #990
It is a bug. When you remove the foobar2000 toolbar and make the setting for the elplaylist background color within the Columns UI  / Colors and Fonts Interface it appears.

If you set the background color for elplaylist in its internal settings the problem is gone  :D

  • jazzthieve
  • [*][*][*][*]
Re: [Not My Release] ELPlaylist
Reply #991
Here's my two cents, I would hesitate calling any unexpected behavior by any piece of software a "bug" without at least some knowledge of its basics. You've got a custom build config there and you have no understanding of its syntax used to build it yet freely conclude behavior that's unexpected to you to be a "bug".

  • MachineHead
  • [*][*][*][*][*]
Re: [Not My Release] ELPlaylist
Reply #992
Here's my two cents, I would hesitate calling any unexpected behavior by any piece of software a "bug" without at least some knowledge of its basics. You've got a custom build config there and you have no understanding of its syntax used to build it yet freely conclude behavior that's unexpected to you to be a "bug".

It's closer to a bug than not. You can get around this by changing the splitter background color to whatever you desire and turning on ELPlaylist transparency in its settings. Style > Pseudo-transparent Background.

  • jazzthieve
  • [*][*][*][*]
Re: [Not My Release] ELPlaylist
Reply #993
Without seeing anything at all of how that config/ELplaylist was scripted including its color settings I wouldn't be able to say anything at all with confidence what the problem is. I like to think I would first see to that I excluded all other variable before going with "it's a bug". Add to that with most new users often even PEBKAC is a "bug".

  • MachineHead
  • [*][*][*][*][*]
Re: [Not My Release] ELPlaylist
Reply #994
It's been brought up in this very thread before. You wouldn't notice this behavior if you use default colors. However, when you alter the background color of the playlist scrolling to the bottom reveals the underlying splitter color. For whatever reason it does not paint it all the way down its given vertical size.

It's easy to check in a portable test mule install. Perhaps it is not a bug but a limitation of the component. That said, you can work around this oddity by using the method in my previous post.

Re: [Not My Release] ELPlaylist
Reply #995
It seems that this problem cannot be solved fully solved with the workaround. There is still a small vertical line.