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: assign different playlist designs to certain tabs (Read 4654 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

assign different playlist designs to certain tabs

i think this would be a great feature if any tab could have a different playlist design. i have one tab for all my albums/singles/eps and one for SINGLE files (no albums in there). the album tab would get then an "album mode formatting string design" and the single files tab would get an "single mode formatting string design"

assign different playlist designs to certain tabs

Reply #1
Second that!
Or at least a %_playlist_name% or something would be enough, as then we could have something like $if($stricmp(%_playlist_name%,'albums'),$get(ALBUMFORMATTING),$get(SINGLEFORMATTING))

assign different playlist designs to certain tabs

Reply #2
Thirded!

I do exactly like xenion does currently, but the formatting scheme used for complete albums/singles isn't really well suited for those loose individual files.

assign different playlist designs to certain tabs

Reply #3
Err... uhm.

Quote
[21:37] <DEATH> anyone ever tried %_playlist_name% ?


Problem solved, I'd say

assign different playlist designs to certain tabs

Reply #4
%_playlist_name% doesn't work here at least

assign different playlist designs to certain tabs

Reply #5
Meh... was broken until a few minutes ago.
Microsoft Windows: We can't script here, this is bat country.

assign different playlist designs to certain tabs

Reply #6
@anza: can you please write a little guide how to get it working ? maybe with an example on one of your "skins"

assign different playlist designs to certain tabs

Reply #7
Quote
@anza: can you please write a little guide how to get it working ? maybe with an example on one of your "skins"

Well, there's only the problem, that you'd have to have "albums" (or some other word, user defineable ) on playlists you want to have your album formatting, all the other playlists would get the single formatting. Of course it'd be possible to make more formatting strings, so there could be, for example, 4 types of formattings and they'd change between the playlists

Of course I can try to write it, but I'm not so good in writing guides  I can write a little title formatting, that starts working whenever the %_playlist_name% starts working (next release?).

assign different playlist designs to certain tabs

Reply #8
This should work when the %_playlist_name% starts working, till then it uses formatting1. Remember to change the CHANGE_ME in $puts(playlist_name,CHANGE_ME)

So, if you wan't album formatting for certain playlists and single formatting (or whatever) for ALL the others, just change the word to something like "album" (not case sensitive) and add it to the names of your album playlists. This way you could even do different formattings different genres  It should be easily editable to get it to work with more different formattings.

If you select mode=0, then it uses formatting1 for all playlists.

Code: [Select]
// 1=use 2 formattings that change according to the pl name, 0=use only one formatting for all playlists
$puts(mode,1)
// the word that playlist has to have to get formatting #1
$puts(playlist_name,CHANGE_ME)

$puts(formatting1,
// <<< PASTE THE FIRST FORMATTING AFTER THIS LINE >>>

[%artist% - ]['['%album% [#%tracknumber%]']' ]$if2(%title%,%_filename_ext%)

// << STOP PASTING >>>
)

$puts(formatting2,
// <<< PASTE THE SECOND FORMATTING AFTER THIS LINE >>>

%_filename_ext%

// << STOP PASTING >>>
)

$if($stricmp($get(mode),1),

// check which formatting to use
$if($stricmp(
// get the part of playlist's name that has the string configured above
$substr(%_playlist_name%,$strstr(%_playlist_name%,$get(playlist_name)),$len($get(playlist_name))),
$get(playlist_name)),$get(formatting1),$get(formatting2))

// use this formatting is selected mode is 0
,$get(formatting1))

assign different playlist designs to certain tabs

Reply #9
This i good news, I've been waiting for this feature. Can't wait to get back home (in 4 days or so) to use it... 

Is this a new feature, or is it a hidden feature that has been there for some time?

assign different playlist designs to certain tabs

Reply #10
Can %_playlist_name% be added to "sort incoming files by..." too, for similar reasons above? Just in case its not already done.
.

assign different playlist designs to certain tabs

Reply #11
Ok, that my thing doesn't seem to work.. There's a bug somewhere, but I'll try to fix it tomorrow.

assign different playlist designs to certain tabs

Reply #12
Quote
Ok, that my thing doesn't seem to work.. There's a bug somewhere, but I'll try to fix it tomorrow.

sent you a PM anza