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

[Not My Release] ELPlaylist

Reply #475
for 2) why is it not needed? Some of the images I use in ELPL are located in the images folder of foobar.


i run foobar from multiple locations (hard drive at home, usb key on other computers) using the same el_playlist code and it works fine as a relative path.

Code: [Select]
$imageabs($sub(%el_width%,150),6,15,11,images\whatever.png,,,,)


[Not My Release] ELPlaylist

Reply #477
Not sure if you can manage a workaround with this component (foo_cmd_playlist)
I use it to activate certain playlists.

Unfortunately, not. I guess there is no underground plugin to fetch the active playlist name... And cwb_hooks is dead.
Will hope our (dear) developer adds it some day, this question was asked here few times already.


[Not My Release] ELPlaylist

Reply #479
Why refreshing a playlist is so slow if 'Follow Active Playlist' is activated compared to the same playlist display when option disabled ?

I'm not sure, but I think performance of ELPlaylist is almost same whether "Follow Active Playlist" is enabled or not.

Activating playlist affects not only ELPlaylist but also some other components.
As a result, Follow Active Playlist may seem to be slow.

[Not My Release] ELPlaylist

Reply #480
@ Ssenna:

I´m using EL Playlist with a library of 62K tracks.

Performance of the list (scrolling, loading covers) is really good, but what´s so slow is collapsing/expanding groups! This takes 5 up to 10 seconds.


To find out why I did the following:

1. only used drawtextex (instead of sometimes drawstring) in the script.
2. unchecked pseudo transparency.
3. Deleted script parts.
4. Removed all scripts completely (!).

Nothing helped (not even point 4). So the reason must be somewhere in the component itself or some of my other settings.

Do you have an idea?

Thanks a lot in advance!

[Not My Release] ELPlaylist

Reply #481
v0.6.5.4b(2009/08/13)

    * 大きいプレイリストでの処理速度を少し改善。

    * improved performance with large playlists.


http://foo2k.chottu.net/#elp


i'm speechless  ==> now it only takes 1 second to display my big playlist (library) !! 4 seconds before !!

Thank you very much Ssenna, you're the best ! keep up the good work

[Not My Release] ELPlaylist

Reply #482
v0.6.5.4b(2009/08/13)

    * ?????????????????????

    * improved performance with large playlists.


woooooooooooooooooooooooooooooooooooooooooooowwwwwwwww! This is really incredible! collapsing and expanding of groups now is soooooo fast (62K files)!

I´m:

a) happy as can be

b) impressed as can be

c) thanking you sooooo much!

:thumbsup: :thumbsup: :thumbsup: :thumbsup: :thumbsup:

[Not My Release] ELPlaylist

Reply #483
Downloaded, tested and totally agree - so FAST now! 2000 songs Playlist loaded in a sec, so smooth! Yay thanks, awesome work!!!!

[Not My Release] ELPlaylist

Reply #484
v0.6.5.5b released today :Fixed handling keyboard shortcuts

@ssenna :

Thanx for new release

issue report : additional sort order (tab misc) for context are not saved on export to .elp file, is a fix possible ?


[Not My Release] ELPlaylist

Reply #485
Gotta say I love ELPlaylist.

I do have a feature request. I'd love to be able to add a Group Footer as well. There doesn't seem to be anyway to do this currently.

Keep up the great work ssenna.

[Not My Release] ELPlaylist

Reply #486
Gotta say I love ELPlaylist.

I do have a feature request. I'd love to be able to add a Group Footer as well. There doesn't seem to be anyway to do this currently.

Keep up the great work ssenna.


it's already possible by adding an empty (or many) line in the groupe (last index of the group+1)

[Not My Release] ELPlaylist

Reply #487
it's already possible by adding an empty (or many) line in the groupe (last index of the group+1)

You're right, I figured out how to do it, but it wasn't very easy. It seems that when ELPlaylist is iterating through the lines, %el_height% has a different value depending on whether we are looking at an actual track, or if it's an extra row. My script was using %el_height% to draw backgrounds and display text, and it took a decent amount of work to get everything located properly. I'm still kind of new at scripting for foobar, particularly using ELPlaylist, so it takes me longer than it does most people I assume.

I still think a dedicated Group Footer might be a nice addition, but I suppose it isn't necessary.

I was able to do some cool things though:

[Not My Release] ELPlaylist

Reply #488
I did not find how to display my covert art named folder.jpg in each album header, how can I do that ?

[Not My Release] ELPlaylist

Reply #489
use the $imageabs function. check the documentation for how to use it. here's the titleformatting needed for the path...

Code: [Select]
$directory_path(%path%)\folder.jpg

[Not My Release] ELPlaylist

Reply #490
use the $imageabs function. check the documentation for how to use it. here's the titleformatting needed for the path...

Code: [Select]
$directory_path(%path%)\folder.jpg


Thank you so much, I found this function but i didn't have any idea about the way it worked.

[Not My Release] ELPlaylist

Reply #491
@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

 

[Not My Release] ELPlaylist

Reply #492
Hi,

I am trying to insert the artist name when the CD is a compilation. Here is the code I wrote in the Track List script:

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


If it is a compilation, then artist and band (album artist) will not match, therefore ELPlaylist should write a line including %artist% tag. But it does not seem to work for me. Yet if I write $puts(track.text,%tracknumber% %artist% %band%  %title%) ELplaylist can read both tags and they are really different. Any clues ?


Thanks,
Leo

[Not My Release] ELPlaylist

Reply #493
If it is a compilation, then artist and band (album artist) will not match, therefore ELPlaylist should write a line including %artist% tag. But it does not seem to work for me. Yet if I write $puts(track.text,%tracknumber% %artist% %band%  %title%) ELplaylist can read both tags and they are really different. Any clues ?

$ifequal only works with integers not strings. Your strings are always TRUE so that's your problem. Do this instead:

Code: [Select]
$if($stricmp(%band%,%artist%)
   ,$puts(track.text,%tracknumber%  %artist%  %title%)
   ,$puts(track.text,%tracknumber%  %title%)
)


if %band% and %artist% are equal $stricmp will return 0, so you have to reverse the order of your $puts as well.

[Not My Release] ELPlaylist

Reply #494
Excellent it worked !

Thanks MordredKLB,

Leo


Moderation: Removed useless full quote of the preceding post.

[Not My Release] ELPlaylist

Reply #495
use the $imageabs function. check the documentation for how to use it. here's the titleformatting needed for the path...

Code: [Select]
$directory_path(%path%)\folder.jpg


Thank you so much, I found this function but i didn't have any idea about the way it worked.


New small issue I guess. How can it be done even on the albums not currently playing ?

[Not My Release] ELPlaylist

Reply #496
i just use that one line of code to display album art in all my group headers.

i guess you must have some conditional title formatting in your group header displaying different stuff depending on if something is playing or not? 

[Not My Release] ELPlaylist

Reply #497
v0.6.5.6b(2009/09/05) released

Hi Ssenna,

the new Refresh All context command is perfect thanx a lot, but could you make it available too for Panel STack Splitter in $imagebuttons ot $textbutton for CONTEXT:'Refresh All' ???

would be very usefull,  thanx by advance and keep the good work

[Not My Release] ELPlaylist

Reply #498
i just use that one line of code to display album art in all my group headers.

i guess you must have some conditional title formatting in your group header displaying different stuff depending on if something is playing or not? 


Here it is :

Quote
// ----- ALBUM-ART --------------------------------------------------------------------------------------------------------

$if(%el_isplaying%,
   $imageabs(3,3,$sub(%el_height%,8),$sub(%el_height%,8),$directory_path(%path%)\folder.jpg)
,
   $if2($imageabs(3,3,$sub(%el_height%,8),$sub(%el_height%,8),%__ART_PATH__%,%__ART_OPTION__%)
   ,
      $imageabs(3,3,$sub(%el_height%,8),$sub(%el_height%,8),$get(sub.pic),nodelay)
   )
)


more here : http://paste2.org/p/415309



[Not My Release] ELPlaylist

Reply #499
@malouito
It looks like you are using a modified DarkOne script.
I made a mistake in its field definitions...

Please do the following:
Right-click in the playlist --> Settings --> field definition tab --> double-click on the entry __ART_OPTION__ and change the value artreader_front nodelay to artreader nodelay and all your covers should be displayed.

If you want to get back the play arrow on albums that are playing, change the line:
Code: [Select]
$imageabs(3,3,$sub(%el_height%,8),$sub(%el_height%,8),$directory_path(%path%)\folder.jpg)

back to
Code: [Select]
$imageabs(3,3,$sub(%el_height%,8),$sub(%el_height%,8),%__IMG_PATH__%Images\GroupPlay.png)


If you only want to display album art not depending on play state, change this whole part of the script:
Code: [Select]
// ----- ALBUM-ART --------------------------------------------------------------------------------------------------------

$if(%el_isplaying%,
$imageabs(3,3,$sub(%el_height%,8),$sub(%el_height%,8),$directory_path(%path%)\folder.jpg)
,
$if2($imageabs(3,3,$sub(%el_height%,8),$sub(%el_height%,8),%__ART_PATH__%,%__ART_OPTION__%)
,
$imageabs(3,3,$sub(%el_height%,8),$sub(%el_height%,8),$get(sub.pic),nodelay)
)
)

to:
Code: [Select]
// ----- ALBUM-ART --------------------------------------------------------------------------------------------------------

$if2($imageabs(3,3,$sub(%el_height%,8),$sub(%el_height%,8),%__ART_PATH__%,%__ART_OPTION__%)
,
$imageabs(3,3,$sub(%el_height%,8),$sub(%el_height%,8),$get(sub.pic),nodelay)
)