Playlist Name Enhanced v1.2 (foo_playlist_name_enhanced)
Appends automatically playlist info ("items / length") to all playlist names.
Each time a playlist is modified, it checks if the playlist name matches "<name> [<info>]".
If it does, it replaces the <info> part with the new info.
If it doesn't, it appends " [<info>]".
NOTE: it only checks for left and right bracket, so be careful if you have "[<something_other_than_info>]" at the end...
v1.2
- "Edit -> Playlist Name Enhanced" menu item.
Download: http://pelit.koillismaa.fi/plugins/general.php#140 (http://pelit.koillismaa.fi/plugins/general.php#140)
quite useful, thank you
thanks, Wizard!
if you plan to make it more complex, I'd have two feature requests:
- exclude empty lists (currently it displays "[0:00]")
- exclude selected playlists (in my case "history" and "queue" which are used by the respective plugins)
I thought this functionality was already offered in Colum UI playlist switcher panel, using %size% and %length% in the playlist title.
I thought this functionality was already offered in Colum UI playlist switcher panel, using %size% and %length% in the playlist title.
Not available for tabs however.
Great plugin. It would also be very helpful if the plugin could also display total number of tracks in the playlist in addition to the playlist length.
Well thank you, although I have no use for the plugin, this made me aware of the fact that you can use %length% in the playlist switcher panel
Nevermind, I figured it out
v1.1 released, see first post.
@xxiii: I need to make a preferences page for an exclude list, but since I use Visual C++ 2005 Express Edition which doesn't have resource dialog editor, I can't do it right now, only when I get a copy of Visual Studio 2005...
I really like the plugin, but there is one annoying problem. For some odd reason, after the plugin adds the information in brackets it makes all the resulting tabs uniformly larger than they need to be with extra spaces before the playlist name and after the bracketed information. I cannot make these tabs resize to a size as large as they need to be to hold all of the information which normally occurs whenever you create a playlist tab which is ordinarily only as large as it needs to be to display the text of the name of the playlist.
nice!
my question: is something like this available for foobar 0.83?
@xxiii: I need to make a preferences page for an exclude list, but since I use Visual C++ 2005 Express Edition which doesn't have resource dialog editor, I can't do it right now, only when I get a copy of Visual Studio 2005...
the way the queue list works now in v1.1 (when empty it's just the name and when you queue tracks it updates with the infos) is pretty cool and I would not want to exclude it anymore.
I really like the plugin, but there is one annoying problem. For some odd reason, after the plugin adds the information in brackets it makes all the resulting tabs uniformly larger than they need to be with extra spaces before the playlist name and after the bracketed information. I cannot make these tabs resize to a size as large as they need to be to hold all of the information which normally occurs whenever you create a playlist tab which is ordinarily only as large as it needs to be to display the text of the name of the playlist.
I really don't know why this happens to you. What OS are you using? Does anyone else experience such a problem? Can you remove all plugins and use only mine to see if it happens again?
I really like the plugin, but there is one annoying problem. For some odd reason, after the plugin adds the information in brackets it makes all the resulting tabs uniformly larger than they need to be with extra spaces before the playlist name and after the bracketed information. I cannot make these tabs resize to a size as large as they need to be to hold all of the information which normally occurs whenever you create a playlist tab which is ordinarily only as large as it needs to be to display the text of the name of the playlist.
I really don't know why this happens to you. What OS are you using? Does anyone else experience such a problem? Can you remove all plugins and use only mine to see if it happens again?
I think I figured out why it happens, but I have no solution. I have a total of 6 playlist tabs which 5 of 6 can be fit on one line with the extra information added by your plugin so I have multiline tabs checked in playlist switcher settings. As such, it appears that playlist switcher expands all the tabs to fill two complete lines making the tabs look weird with lots of extra spaces in the begining and end of the tab. Not sure how to solve.
I think I figured out why it happens, but I have no solution. I have a total of 6 playlist tabs which 5 of 6 can be fit on one line with the extra information added by your plugin so I have multiline tabs checked in playlist switcher settings. As such, it appears that playlist switcher expands all the tabs to fill two complete lines making the tabs look weird with lots of extra spaces in the begining and end of the tab. Not sure how to solve.
OK, I see... Maybe you should contact the author of playlist switcher?
@Generalverdacht: I've used functions that are not available for v0.8.3, sorry.
Simple plugin, but great and useful, Thanks a lot for the word you'done
Will this plugin work with the new Columns UI beta?
Will this plugin work with the new Columns UI beta?
I have no reason to believe it won't. My plugin just renames the playlist, so it should show up in Columns UI.
how do you guys add the length and filecount infos in your playlist switcher only? seen this before... and dont want to make my playlist tabs that ugly with this plugin...
some of you told to simply add %length% to the playlistname, but this doesnt work at all....
You checked the box just over it yes? "Use titleformatting for playlist title in panel"
If you did that, having something like %title% '['%length%']' does work.
Would there be any way to pass this info (playlist length) to another program using a command line parameter? I use Xlobby as my frontend on my HTPC and foo_burninate as a handy way to burn playlists without leaving the frontend, by I need a way to calculate and display playlist length. Thansk in advance...
Would there be any way to pass this info (playlist length) to another program using a command line parameter? I use Xlobby as my frontend on my HTPC and foo_burninate as a handy way to burn playlists without leaving the frontend, by I need a way to calculate and display playlist length. Thansk in advance...
When I started making this plugin, I wanted to make just a custom titleformatting tag (like %playlist_length% or something...) that could just be updated when playlists were switched and that anyone could use that, but I couldn't find any help on this. If anyone knows of a way (or if it's even possible), please let me know
[deleted]
I need to make a preferences page for an exclude list, but since I use Visual C++ 2005 Express Edition which doesn't have resource dialog editor, I can't do it right now, only when I get a copy of Visual Studio 2005...
Check out XN (http://www.wilsonc.demon.co.uk/d10resourceeditor.htm).
Thanks, but can I visually design the preferences page with this one or is it just an editor for .rc files?
And btw, how can I create a unique GUID?
[deleted]
XN includes a graphical layout designer.
Thanks, I will give it a try
To create a UUID, use UUIDGEN. You should already have this, as it is included with the Microsoft Platform SDK.
I can't seem to find this... Is it maybe part of Visual Studio 2005 and not of the SDK?
[deleted]
I can't seem to find this... Is it maybe part of Visual Studio 2005 and not of the SDK?
I am positive it is not, because I do not own Visual Studio 2005.
On my Windows 2000 machine which I use for these things, it's located in the Platform SDK "Bin" folder, which you might have in your PATH. That is "\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin\uuidgen.exe" here.
This is the latest version of the PSDK for Windows 2000 and higher. Maybe you need to update your development environment.
I seem to remember that I've installed only the core functionality of the SDK, maybe I need to install some other section too. I'll see what I can find, thanks!!!
OK, i installed the "tools" section from the core sdk and i found uuidgen.
However, XN Resource Editor did not work for me very well (it crashed twice and i coundn't figure how to save as .rc files). I think i found a better one, ResEd (http://www.radasm.com/projects/projects.html).
I will see what I can do.
v1.2 is released (see first post).
v1.1 released, see first post.
@xxiii: I need to make a preferences page for an exclude list, but since I use Visual C++ 2005 Express Edition which doesn't have resource dialog editor, I can't do it right now, only when I get a copy of Visual Studio 2005...
Still need this to be incorporated to be compatible with foo_browser and foo_uie_albumlist. Without excluding these two special playlists (*Browser* and Library view), it generates a new instance of these playlist instead of replacing/updating them.
v1.1 released, see first post.
@xxiii: I need to make a preferences page for an exclude list, but since I use Visual C++ 2005 Express Edition which doesn't have resource dialog editor, I can't do it right now, only when I get a copy of Visual Studio 2005...
Still need this to be incorporated to be compatible with foo_browser and foo_uie_albumlist. Without excluding these two special playlists (*Browser* and Library view), it generates a new instance of these playlist instead of replacing/updating them.
Same duplucation problem happens if you have an "always send to playlist" name selected. Just due to the fact that the component actually renames the playlists so they're not 'there' anymore for other components/functions to see?
Please, implement exclude list of playlists,
it's necessary for convient use of Browser and Album List components.
hello, useful plugin, i could like it ;-)
is it possible to say it should show information only for, lets say the "default" playlist?
i habe some playlists in row and i only need the information for playlists i'm currently listening (or used/created by foo_playlist_bind), not for playlists with i.e. radiostations in it.
also, the brackets make the shown information ugly. :-]
i'd like to define a "(" instead of "["
do you mind adding such features? or is this out of developing?
cheers
edit:
also, i found out, with showing information ON and deinstalling the plugin, by removing it and restarting foobar, the information is still shown in the playlist tabs. and no way to turn them off since uninstalling :-)
(i did not kept plugins settings as foobar asked me on restarting)
Well, it has certainly been a long time!
For the time being, I am no longer developing the plugin. Perhaps, I'll post the source code.
@fuffi: there's an option "Edit --> Playlist Name Enhanced --> Restore names", but if you uninstall it without first using this option, you have to manually rename the playlists and remove the brackets.
I too would like to see a more customizable display. Changing what delimiters are used, changing what info is displayed, and so on...
the brackets make the shown information ugly. :-]
i'd like to define a "(" instead of "["
I too would like to see a more customizable display. Changing what delimiters are used, changing what info is displayed, and so on...
You can play around with the information using formatting strings. I'm using this for my playlist-switcher panel, and it replaces the ['s with ('s:
$replace($replace(%title%,'[','('),']',')')
Hi,
your component doesn't work anymore for me. I have Windows Seven (based on Vista) and foobar2000 0.9.6.7.
Failed to load DLL: foo_playlist_name_enhanced.dll
Reason: This component is not compatible with this version of Windows and needs to be recompiled with a newer version of the foobar2000 SDK; please contact the author of this component to obtain an updated version of this component.
And as it goes by http://www.foobar2000.org/?page=ReleaseNotes&version=096 (http://www.foobar2000.org/?page=ReleaseNotes&version=096)
To permanently address the “bad allocation” bug present in very old versions of the foobar2000 SDK (released before 2006-07-30), foobar2000 now refuses to load components built with affected SDK versions when running on Windows Vista. Affected components can be fixed by just recompiling them with an updated version of the foobar2000 SDK.
Could you just recompile it? I had similar thing with my foo_dock, so it looks like that method does really work (just rebuild). Thanks in advance!
Is there any chance this could happen? I'd really like to have this functionality in foobar 1.0.
Moderation: Removed unnecessary full quote of the preceding post.
Is there any chance this could happen? I'd really like to have this functionality in foobar 1.0.
I second this
are there any currently updated components that provide a simple functionality like this? all i want to do is have my playlists tell me how long they are :)
If you're using the default interface, use layout editing mode to add the Playlist Manager to your layout. Right click on the column headers, and you can add the columns -- items, duration, and total size. This comes with Foobar...
thanks!
If you're using the default interface, use layout editing mode to add the Playlist Manager to your layout. Right click on the column headers, and you can add the columns -- items, duration, and total size. This comes with Foobar...
Chmm - need info
on the playlist - not on an extra GUI component