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: Playlist Manager - Sort by Lock question (Read 4451 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Playlist Manager - Sort by Lock question

I hope this is the right section of the board to post this question in.  I have looked at the foobar tutorial page, the Colums UI Wiki page, and the Panels UI Wiki page, but cannot find the answer to my question.  So, I'm not sure if this is a foobar, columns, or panels specific question.

From the Main menu, File - View - Playlist Manager ,  once in the Playlist Manager window,  when you right click on a playlist,  select Sort, and one of the options is to Sort By Lock.

There is also a header in the Playlist Manager called  Lock Name.

Would someone be so kind as to explain to me how I can go about locking a playlist, and how to give it a lock name?

Thanks much!

Playlist Manager - Sort by Lock question

Reply #1
Thank you mods for moving this into the correct section.  Now at least, I know it's a plug in. 

I went to the components page for this, but still found not one line of documentation for it. 

Any help at all would be appreciated!  I have done all I can do to research this feature, to no avail. 

Surely someone has had this same question in the past??

Playlist Manager - Sort by Lock question

Reply #2
Well, I guess nobody's ever asked about using the lock feature before, not that I could find in the Search database or on any of the guide sites.

After digging on this for almost 24 hours now, I finally came up with what I wanted to know.

For future reference on the Search database, here's what I could find.

I had to find a special .dll to install in the Components directory.  Now when I run foobar2k, and selected a playlist, I have the option to lock that playlist in one, or in several different ways.

The options are Filter Add, Filter Remove, Filter Reorder, Filter Replace, and Filter Rename.  You can select one, or all of those options.

Hopes this helps someone in the future.

Playlist Manager - Sort by Lock question

Reply #3
Which component .dll did you have to download to be able to lock playlists? I'd like to be able to lock a couple of mines.

Playlist Manager - Sort by Lock question

Reply #4
Which component .dll did you have to download to be able to lock playlists? I'd like to be able to lock a couple of mines.


The only one I was able to find is foo_locktest .

Hope this helps!

Playlist Manager - Sort by Lock question

Reply #5
Playlist lock is a technical term used in the foobar2000 SDK. It describes a means by which a component can restrict the operations that are possible on a given playlist (each playlist can be locked by at most one component). I plan to call this column "Type" in the successor of the foo_playlist_manager component which will be released for foobar2000 0.9.5.

foo_locktest is only a tool to help developers test code that is (or should be) aware of playlist locks, so it does not over a whole lot of convenience. There are other components using playlist locks that are intended to be used by regular users. One such component is foo_autoplaylist which can fill a playlist with tracks from the media library that match specific criteria. Another one is foo_utils which adds a menu command to make an arbitrary (non-locked) playlist read-only, i.e. it prevents modification of the playlist content; the menu command is called "Read-only" and is located in the "Edit" branch of the main menu. There are also several third-party components that make use of playlist locks to display search results of some kind or another.

Playlist Manager - Sort by Lock question

Reply #6
Thank you, foosion, for that in-depth explanation! 

I'll now go search for those *other* third party components you referred to, and see if I cannot put them to good use.

 

Playlist Manager - Sort by Lock question

Reply #7
Many thanks Maranatha and Foosion.
I already had foo_utils but I had no idea about that read only thing. Now I can lock my playlists pretty easily.