Hide Bookmark menu for new dynamically generated playlists

The bookmark menu with the option to create a bookmark
was inadvertently displayed for new dynamic playlists,
that had no associated folder or playlist file on disk.
(e.g. after selecting some track from the database for
playback), until the playlist was modified by the user.

Change-Id: I9d6809e4d03603c651459415327f28e38162ad53
This commit is contained in:
Christian Soffke 2023-09-21 07:45:13 +02:00
parent a0c29d8857
commit 75befe19ef
3 changed files with 23 additions and 3 deletions

View file

@ -133,6 +133,7 @@ int playlist_get_display_index(void);
int playlist_amount(void);
void playlist_set_last_shuffled_start(void);
struct playlist_info *playlist_get_current(void);
bool playlist_dynamic_only(void);
/* Exported functions for all playlists. Pass NULL for playlist_info
structure to work with current playlist. */