HydrogenAudio

Hosted Forums => foobar2000 => General - (fb2k) => Topic started by: Adil on 2021-02-16 22:07:00

Title: Playlist Protection
Post by: Adil on 2021-02-16 22:07:00
Hi there.

I wonder if there is any way to prevent a particular playlist from being deleted.

I know that it is possible to restore a deleted playlist, but I mean some protection so that the playlist is not deleted even by accident.

Thanks in advance.
Title: Re: Playlist Protection
Post by: davideleo on 2021-02-16 22:12:43
Yes. You need the playlist attributes plugin (https://www.foobar2000.org/components/view/foo_playlist_attributes). See "playlist restrictions" in the component preferences page.
Title: Re: Playlist Protection
Post by: Adil on 2021-02-16 22:16:14
hmmm... I like to use "playback follows cursor" as default...
Is this the only protection available?
Title: Re: Playlist Protection
Post by: davideleo on 2021-02-16 22:24:45
hmmm... I like to use "playback follows cursor" as default...

The component does not interfere at all with the playback options.

Title: Re: Playlist Protection
Post by: Adil on 2021-02-16 23:15:32
@davideleo

Thank you very much!
Title: Re: Playlist Protection
Post by: yetanotherid on 2021-02-17 01:00:54
Playlist Tools will co-exist with Playlist Attributes, and it's nice and simple for locking playlists. It adds a "Read Only" item to the Edit menu.
https://wiki.hydrogenaud.io/index.php?title=Foobar2000:Components/Playlist_Tools_%28foo_utils%29
Title: Re: Playlist Protection
Post by: Adil on 2021-02-17 02:02:54
@yetanotherid

Very nice tip, thank you very much!
Title: Re: Playlist Protection
Post by: yetanotherid on 2021-02-17 16:20:54
Adil, you're welcome.
If locking and ulocking Playlists is something you'll do regularly, and in case you weren't aware, you can create a toolbar button for it. Right click where the playback buttons are and select "customise buttons", or you can add a second lot of buttons somewhere else (ie on a different toolbar) if you want to. Unfortunately, you have to supply your own icons for buttons, but you'll find plenty of free icons on the internet.
Title: Re: Playlist Protection
Post by: Adil on 2021-02-17 18:14:44
Yes! Thanks, again!!  ;)
Title: Re: Playlist Protection
Post by: MojoBass on 2021-02-17 20:52:52
I am using as well 'Read Only' regularly, great feature! Only drawback is that I did not find a way to indicate if a playlist is in Read-only mode or not except at the status bar, which does not give an overview on the playlists shown in the playlist manager, only shows the status of the currently selected playlist. (Plus I usually like to hide the status bar...)
Anybody aware of a way to indicate the Read-only status in a playlist listing (such as foo_plorg)?
Title: Re: Playlist Protection
Post by: Adil on 2021-02-18 00:47:07
Good point! I like to hide status bar too.

Any advice/tip/syntax, in fact, will be very useful!
Title: Re: Playlist Protection
Post by: Vicas on 2021-02-18 21:39:13
Thanks for foo_utils suggestion, it's a great tool.

Status bar indication of locked playlist is only available on Columns UI, it would be nice if Default user interface get that option too.