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 532328 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[Not My Release] ELPlaylist

Reply #376
i have a small problem:

here is what i am working on: semi transparent band logos in elplaylist
>>Picture<<

my logos are white with black background, so i draw a rectangle, which is slightly darker then the el_playlist background, so the black parts of the logo become invisible.

here is the code:
Code: [Select]
$imageabs(330,$max($div($sub($mul(%el_item_count%,%el_row_height%),200),2),0),450,200,c:\albumart\logos\%artist%.jpg,)
$drawrect($getlastpos(x),$getlastpos(y),$getlastpos(w),$getlastpos(h),68-68-68-255,)
$imageabs($getlastpos(x),$getlastpos(y),$getlastpos(w),$getlastpos(h),%BANDLOGO.PATH%,,,20,)


but on some logos, the rectangle is drawn too big... see the small grey line on the right side of 'behemoth' logo?
happend on some logos, most time resizing the image fixed it.

can anyone explain why that happens?

also, when i set the first imageabs to 'nodisplay', nothing shows up.
I always thought with nodisplay i can load images into chache with out showning them. But $getlastpos() doesn't seem to get the information then...

thanks in advance!

[Not My Release] ELPlaylist

Reply #377
anyone?

[Not My Release] ELPlaylist

Reply #378
I tried to install ELPlaylist.
Now, the problem is that although it's in the components folder(and list), it doesn't appear in the options, and it doesn't replace NGPlaylist.

So... What do I do now?

Nadav.

EDIT: Working now, but I still can't find it in the settings, and the album arts aren't shown

[Not My Release] ELPlaylist

Reply #379
Menu File --> Preferences --> Columns UI --> Layout --> Right-click on the Splitter your NG Playlist is currently inserted and choose "Insert Panel --> Playlist views --> EL Playlist".
Then right-click on the NG Playlist and choose "Remove panel"

EDIT:
Just saw your edit now...
ELPLaylists settings are available with right-click on ELPlaylist --> Settings.
To get the album art you have set the path to it on the "field definition" tab (double-click on ART.PATH and enter the path to your album art in "definition")

[Not My Release] ELPlaylist

Reply #380
Menu File --> Preferences --> Columns UI --> Layout --> Right-click on the Splitter your NG Playlist is currently inserted and choose "Insert Panel --> Playlist views --> EL Playlist".
Then right-click on the NG Playlist and choose "Remove panel"

Yes, I've found it out, but I still can't find the ELPlaylist settings in the options, and the album arts aren't shown.
Nadav.

EDIT: thanks


[Not My Release] ELPlaylist

Reply #382
I have an ELPlaylist in a Panel Stack Splitter and now was wondering if it is possible to use a butten in the splitter to change the way of sorting the playlist. For example a butten "Artist" sorts the playlist by artist and a button "Album" sorts the playlist by album. Anyone a suggestion?

[Not My Release] ELPlaylist

Reply #383
This question more belongs to PSS thread

Button command in PSS:
COMMAND:Edit/Sort/Sort by Album

To view available commands in PSS go to Splitter Settings --> Script and choose from the dropdown list (where "function" is pre-selected) "Menu Command", then click on "list".

[Not My Release] ELPlaylist

Reply #384
Is there any way to dispaly images provided with foo_covers?
I tried $imageabs(3,3,$sub(%el_height%,8),$sub(%el_height%,8),%path%,artreader) but that only displays the no cover image...
(Btw. i'm talking about external album art, not embedded)

[Not My Release] ELPlaylist

Reply #385
I tried to add a transparent background.  I found that just enabling pseudo transparency on the elplaylist it really slows down scrolling, particularly one line at a time as opposed to one page at a time (although that's slow too).  Also uses much more CPU while scrolling.  About 50% on a AMD X2 3800+.  I have the latest version of all components.

Is this normal or am I doing something wrong?  thanks.

[Not My Release] ELPlaylist

Reply #386
It's normal, unfortunately.

[Not My Release] ELPlaylist

Reply #387
ELPlaylist 0.6.5.3b

Quote
added: restore scroll position on startup.
added: $imageabs creates a thread and reads an image file in the thread.
nodelay option disables this behaviour.
added %el_group_first_path% for $imageabs.
eg.$imageabs(,,,,%el_group_first_path%,artreader_front).

[Not My Release] ELPlaylist

Reply #388
Quote
added: restore scroll position on startup.

It doesn't work :/

[Not My Release] ELPlaylist

Reply #389
Restore scroll works for me but the whole thing has become slower and it takes time to display the album art as you scroll down

[Not My Release] ELPlaylist

Reply #390
set the option "nodelay" to your $imageabs-function for the covers.

[Not My Release] ELPlaylist

Reply #391
OK, "restore scroll position on startup" doesn't work when playlist have ~600 items. On another playlist with about 200 items it's working well oO

[Not My Release] ELPlaylist

Reply #392
In which cases does the new thread stuff for images improve anything? For me it makes everything slower. Not good for a default value to have this on in my opinion.

 

[Not My Release] ELPlaylist

Reply #393
OK, "restore scroll position on startup" doesn't work when playlist have ~600 items. On another playlist with about 200 items it's working well oO

I released fixed version.
scrolling on startup maybe works.

[Not My Release] ELPlaylist

Reply #394
thanks.  It appears the latest version (5/15/09) fixes a problem with the previous version where memory usage keeps climbing up as you scroll through the playlist.

%el_group_first_path% returns the path of the first file in the group, right?  Is it possible to extract %artist% and %album% from this to do your own cover art drawing rather than use artreader?

[Not My Release] ELPlaylist

Reply #395
As i understood, %el_group_first_path% is for use with artreader. If you want to draw your own cover in the file's path use $directory_path(%path%)\cover.jpg (or folder.jpg or %album%.jpg or whatever.jpg ... )

[Not My Release] ELPlaylist

Reply #396
@Ssenna:

problem for me:

"added %el_group_first_path% for $imageabs.
eg.$imageabs(,,,,%el_group_first_path%,artreader_front). "

this is great to optimize the display of covers from artreader, thanx, but unfortunatly the nokeepaspect option is nomore available when coding this in elp

can you make it back ?

[Not My Release] ELPlaylist

Reply #397
I have an ELPlaylist in a Panel Stack Splitter and now was wondering if it is possible to use a butten in the splitter to change the way of sorting the playlist. For example a butten "Artist" sorts the playlist by artist and a button "Album" sorts the playlist by album. Anyone a suggestion?


If you just want to sort using the pre-defined sort on the main menu, it's easy.  You can use COMMAND:'Edit/Sort/Sort by Album' or COMMAND:'Edit/Sort/Sort by Artist' etc with $imagebutton or $textbutton.  Syntax for those is here

http://wiki.hydrogenaudio.org/index.php?ti...panel_splitter)

I want to do something a little different: I want to invoke the right click command Group/Sort by<preset>.  I think this is put there by ELPlaylist.  I can't figure how to do this though.  Alternatively, I want to invoke COMMAND:Edit/Sort/Sort by .../(custom sort string) but I can't figure how to do that either.  The best I can do is bring up the dialog, but I don't know how to programatically put in the string and press enter.  Any idea is appreciated.



[Not My Release] ELPlaylist

Reply #398
@Ssenna:

problem for me:

"added %el_group_first_path% for $imageabs.
eg.$imageabs(,,,,%el_group_first_path%,artreader_front). "

this is great to optimize the display of covers from artreader, thanx, but unfortunatly the nokeepaspect option is nomore available when coding this in elp

can you make it back ?

nokeepaspect seems to work on my PC.
e.g.$imageabs(0,0,100,100,%el_group_first_path%,nokeepaspect artreader_front)
if this code doesn't work, please provide more information.