Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: [Not My Release] ELPlaylist (Read 534254 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[Not My Release] ELPlaylist

Reply #525
I have a question. How do I get the selected/playing bar color to match both strips in the ELPlayist ? Because I would like to just change the text color of the now playing and leave the strip color the same. Currently I've changed the now playing text color but the selected/playing bar is black and I don't know how to get it to match the strip its on. Any help would be appreciated.

Thanks in advance.

BTW here's a thumbnail to show what I mean

[Not My Release] ELPlaylist

Reply #526
I have a question. How do I get the selected/playing bar color to match both strips in the ELPlayist ? Because I would like to just change the text color of the now playing and leave the strip color the same. Currently I've changed the now playing text color but the selected/playing bar is black and I don't know how to get it to match the strip its on. Any help would be appreciated.

Thanks in advance.

BTW here's a thumbnail to show what I mean


in field definition you can add some SELECTED.TEXT.COLOR and add to the script something like:

$puts(selected.text.color,%SELECTED.TEXT.COLOR%)

//and at the appropriate position
$if(%el_selected%, $drawtextex(.........,$get(selected.text.color,...),  //here the rest of your drawtextex-string
)

edit:

alternatively you can add the $if(%el_selected% condition only for the color used in your drawtextex-string:
$if(%el_selected%,$get(selected.text.color),$get(text.color))

[Not My Release] ELPlaylist

Reply #527
Thanks, that got the text color how I wanted. But does anyone know how I would get the selected/playing bar color to match both the strip color and the black depending on which one its on? As in it would be gray when on gray and black when on black. Currently it's always black.

[Not My Release] ELPlaylist

Reply #528
Thanks, that got the text color how I wanted. But does anyone know how I would get the selected/playing bar color to match both the strip color and the black depending on which one its on? As in it would be gray when on gray and black when on black. Currently it's always black.

you can add something like this

Code: [Select]
$if(%el_isplaying%,
$drawrect($sub($get(text.left),4),0,$get(text.width),%el_row_height%,255-255-255-80,,)
,
$if(%el_selected%,
$drawrect($sub($get(text.left),4),0,$get(text.width),%el_row_height%,0-0-0-80,,)
,)
)

just copied the code I use, so you can´t use it directly but adjust it to your needs

[Not My Release] ELPlaylist

Reply #529
Okay it sort of worked. I changed it to this. But how do I make it so that the selected/playing bar is gray on even strips and black on odd strips?
Code: [Select]
$if(%el_isplaying%,
$drawrect($sub($add(%COVER.SIZE%,%COVER.PADDING.RIGHT%),4),0,$get(%el_width%,$add(%COVER.SIZE%,%COVER.PADDING.RIGHT%,0)),%el_row_height%,6-6-6-255,,)
,
$if(%el_selected%,
$drawrect($sub($get(%COVER.SIZE%,%COVER.PADDING.RIGHT%),4),0,$get(%el_width%,$add(%COVER.SIZE%,%COVER.PADDING.RIGHT%,0)),%el_row_height%,0-0-0-80,,)
,)
)

[Not My Release] ELPlaylist

Reply #530
Okay it sort of worked. I changed it to this. But how do I make it so that the selected/playing bar is gray on even strips and black on odd strips?


Never mind I figured it out. But another question. Is there a way to make it so that all the groups are collapsed except for the now playing group?

Thanks in advance

[Not My Release] ELPlaylist

Reply #531
check the behaviour tab>"collapse all groups when playlist is changed"

[Not My Release] ELPlaylist

Reply #532
There's not much sample code available yet, so I offer mine.

Default look :


Configuration :


You will need to have the totaltracks tag for every song of every album you want to display as such, otherwise it will show up as a folder and not display artwork.

For the artwork, the script will look in the same folder as the album for an image and display the first match in this list (* = wildcard) :
a file called folder.* ; a file called *front*.* ; a file called *cover*.* ; any jpg file ; any jpeg file ; any png file ;  any gif file.

If you just want to use it right away, grab the optimized version.
If you plan to tinker with the code, get the standard (commented) version.

There isn't any copyright or anything, so have fun. Also, I welcome any kind of feedback.

[Not My Release] ELPlaylist

Reply #533
i have two el playlists in my config, using one of them as a library viewer.
Is there any possibility to keep the other one always active? Because quicksearch and album list panel always activate the viewer playlist...

[Not My Release] ELPlaylist

Reply #534
i have two el playlists in my config, using one of them as a library viewer.
Is there any possibility to keep the other one always active? Because quicksearch and album list panel always activate the viewer playlist...


just a question:

are you saying that your two playlist panels can display different playlists at the same time?
if so, how do you do that?

[Not My Release] ELPlaylist

Reply #535
Just open el playlist context menu, under "playlist" you can deactivate "follow active playlist" and choose which playlist you want to show.

With a component, i think it is called playback queque viewer, you can have a el playlist panel show your playback queque (and delete items by setting "remove from queque" as a mouse click action)

It would be perfect as a library viewer, but since quicksearch and album list panel and so on active their playlist, i can't use send/add to playlist commands, since they always send to active playlist.
The only idea i had for a workaround is to set single click in library el playlist to "activate now playing" and double click to "add to playlist". But this only works when music is playing, so it kinda sucks...

edit: forgot to mention: playlist tree mod doesn't activate its autosend playlist, but since it causes very long startup times its unfortunatley pretty much unusable for me

[Not My Release] ELPlaylist

Reply #536
New version 0.6.6.0 beta released

I really like the new context menu actions - thank-you.

[Not My Release] ELPlaylist

Reply #537
+ added Now playing playlist

Too bad that new foobar users start with DUI, so they'll miss this much requested feature

 

[Not My Release] ELPlaylist

Reply #538
@ssenna
Again thanks for the latest version.

Now that you are 'active' again (I hope you managed to get all your other work done), would you have time to look at the following;

1) Context menu entries for Select All, Remove (delete all selected) and Crop (delete all not selected). The existing ones only work with the active playlist.
2) Make the row height a variable like row number for group header. This would allow the current playing track to have a wider row for extra info.
3) Make most of the configuration on the behaviour tab configurable per script/group by name.

Thanks again for this plugin.
 

[Not My Release] ELPlaylist

Reply #539
that's awesome !
the new dynamic context menus just made my foobar one step closer to perfection

[Not My Release] ELPlaylist

Reply #540
@ssenna
. . .
2) Make the row height a variable like row number for group header. This would allow the current playing track to have a wider row for extra info.


I've requested that long time ago but, for a different reason: To be able to strip off the header from singles without loosing any info and/or crowing the display.
Mainly to mimic the Amarok 2 playlist view (which IMO is awesome)
<insert signature here>

[Not My Release] ELPlaylist

Reply #541
There seems to be an issue with the latest ELPlaylist:
On a fresh foobar2000 installation without added folders to the media library the ELPlaylist doesn't show entries when using "add files" or "add folders" from menu (but isn't empty. Hit PLAY plays the "invisible" files...).

[Not My Release] ELPlaylist

Reply #542
Is the possibility of showing elapsed or remaining playback time for the whole album/group (not for single track)?

[Not My Release] ELPlaylist

Reply #543
@Ssenna: There are some really minor issues:

1. Group headers aren´t updated after changing Tags.

2. It would be nice to have options for right click actions. What I miss is, that all tracks in a group are selected and the context menu appears when right-clicking the group header (now you have to first left-click the group header then right click to get the context menu, would be handy in only one click)

3. Using the up and down arrow keys works very well with expanded groups. But when groups are collapsed, it would be nice, if scrolling using up and down arrows would switch (and highlight) the complete group instead of going through the (invisible) tracks. (I´m asking this because I use foobar with a remote control, which uses up and down arrow).

As I said, minor things. Nevertheless I really love, how EL PL runs now. These are just ideas to make it perfect


Ssenna, did you think about these proposals? Point 1 would be very fine, if it was fixed


[Not My Release] ELPlaylist

Reply #545
i am having problems with the %el_isplaying% and the %isplaying% variables. it is set to ? every odd time I start the player. I mean, track is playing and everything is ok (%el_isplaying% set to 1), and then I close and restart the player and then the %el_isplaying% variable is set to ? no matter which track I play... when I start the player again, everything is ok, and then when I restart it it happens again... like it is cyclic or something...

edit: when i select Follow NowPlaying Playlists, everything is ok, Follow Active Playlist is guilty for this...

using the latest versions (foobar2000 beta 3, elplaylist v0.6.6.4b)

Code: [Select]
Core (2009-12-03 22:27:08)
    foobar2000 core 1.0 beta 3
foo_abx.dll (2009-06-07 14:25:26)
    ABX Comparator 1.3.4
foo_albumlist.dll (2009-12-03 22:25:06)
    Album List 4.4
foo_cdda.dll (2009-12-03 22:25:00)
    CD Audio Decoder 3.0
foo_converter.dll (2009-12-03 22:24:54)
    Converter 1.4
foo_dsp_std.dll (2009-12-03 22:25:08)
    Standard DSP Array 1.0
foo_facets.dll (2009-11-23 07:19:50)
    Facets 2008-02-25
foo_fileops.dll (2009-12-03 22:24:08)
    File Operations 2.1.2
foo_freedb2.dll (2009-12-03 22:24:14)
    freedb Tagger 0.6.2
foo_input_std.dll (2009-12-03 22:24:50)
    Standard Input Array 1.0
foo_lyricsdb.dll (2009-10-05 12:35:38)
    foo_lyricsdb 0.0.8 beta 0
foo_masstag.dll (2009-09-18 10:01:36)
    Masstagger 1.8.4
foo_rgscan.dll (2009-12-03 22:24:42)
    ReplayGain Scanner 2.0.9
foo_run.dll (2009-06-07 15:15:18)
    Run services 0.3.7
foo_textdisplay.dll (2008-07-08 19:45:26)
    Text Display UI Element 1.0 RC 3
foo_ui_columns.dll (2009-08-30 16:21:36)
    Columns UI 0.3.8.0
foo_ui_std.dll (2009-12-03 22:25:16)
    Default User Interface 0.9.5
foo_uie_biography.dll (2009-12-05 12:48:04)
    Biography View 0.3.4.2
foo_uie_elplaylist.dll (2009-11-28 19:53:48)
    ELPlaylist 0.6.6.3(beta)
foo_uie_panel_splitter.dll (2009-11-26 01:03:32)
    Panel Stack Splitter 0.3.8.2(alpha)
foo_uie_tabs.dll (2008-12-10 23:06:50)
    Tabbed Panel Modified 0.2.7
foo_verifier.dll (2009-10-05 11:39:20)
    File Integrity Verifier 1.1
foo_vis_shpeck.dll (2009-11-27 09:19:43)
    Shpeck - Winamp vis plugins wrapper 0.3.7

[Not My Release] ELPlaylist

Reply #546
i noticed that re-activating solves the problem while using follow active playlist, but i don't know why this doesn't always work on start

[Not My Release] ELPlaylist

Reply #547
I am thinking about going from NGPlaylist to Elplaylist. Yet there is one feature that i love in NGPlaylist and i was wondering if i could achieve the same thing in Elplaylist.

In NGPlaylist you can do something like this:
$rgb(60,100,60,30,50,30)
$replace($replace(%title%,')',')'$rgb(60,100,60,30,50,30)),'(',$rgb(164,180,134,82,90,67)'(')

Which means you can change color inside a tag text like the title.
Is there any way to do the same thing in Elplaylist?

Thanks


[Not My Release] ELPlaylist

Reply #549
using $drawtextex, first you'd have to split your string. calculate the width of the first part before the opening parentheses. then you'd use this width as the x co-ordinate to write the rest... that might work assuming it always followed this format...

something (in brackets)

but what if.....

(I) Get Lost (Stereo Dub)