Page 1 of 1
Indicator for being on a playlist
Posted: Mon Jul 14, 2025 7:05 am
by scitari
Hi There,
Ist there a way to show (e.g. in archive view) if a song is part of a playlist? E.g. is there a field/tag/flag, which could indicate the same?
Background: I am deduping my library but with any duplicates I do not want to to accidentally delete the copy which is linked to a playlist.
Best
Christian
Re: Indicator for being on a playlist
Posted: Mon Jul 14, 2025 1:40 pm
by Rob_S
No easy way that I know of to display this in the listing. There is one way to do this that might work for you.
When you come to a series of songs that you might want to delete, open properties, and open the "Classification" tab. There you can see which playlists the currently selected track is attached to.
By clicking next or previous with this dialog open, you can scroll through a number of tracks and see which of them is in a playlist, and which playlists it is in.
Might just work.
Re: Indicator for being on a playlist
Posted: Tue Jul 15, 2025 4:39 am
by scitari
Thank you very much, Rob. Will give it a try.
Best
Christian
Re: Indicator for being on a playlist
Posted: Tue Jul 15, 2025 7:07 am
by IanRTaylorUK
There is a Add-In / Extension for Media Monkey 4 (MMW4) called Magic Nodes that might go some way to help. But I believe this has yet to be updated to MMW5.
Magic Nodes has a sub-Node for Playlists that has sub-sub-Nodes for "Song In / Songs Not In / Songs in Several / Songs in One" Playlist. Also - as I recall - Magic Nodes can be configured with User-Defined Nodes AND a Duplicates node.
So it may be possible to create a User-Defined Node for Duplicates Songs in Playlists (but only using MMW4)?
Re: Indicator for being on a playlist
Posted: Tue Jul 15, 2025 7:27 am
by IanRTaylorUK
Alternatively, pop the MM.DB "tables" into your chosen database software and write / run a little SQL query. This is a starting point... It needs a little refining as ALL my "Cnt" are 1 as duplicates are due to essential the same track in different albums by the same artist!
SELECT
Playlists.IDPlaylist,
Playlists.ParentPlaylist,
Playlists.PlaylistName,
PlaylistSongs.IDPlaylistSong,
PlaylistSongs.IDSong,
Songs.SongTitle,
Songs.AlbumArtist,
Songs.Album,
Count(Songs.SongTitle) AS Cnt
FROM
(
Playlists
INNER JOIN PlaylistSongs ON Playlists.IDPlaylist = PlaylistSongs.IDPlaylist
)
INNER JOIN Songs ON PlaylistSongs.IDSong = Songs.ID
GROUP BY
Playlists.IDPlaylist,
Playlists.ParentPlaylist,
Playlists.PlaylistName,
PlaylistSongs.IDPlaylistSong,
PlaylistSongs.IDSong,
Songs.SongTitle,
Songs.AlbumArtist,
Songs.Album
HAVING
(((Playlists.ParentPlaylist) = 0))
ORDER BY
Songs.SongTitle;
Re: Indicator for being on a playlist
Posted: Tue Jul 15, 2025 8:58 am
by scitari
Thank you so much, Ian. Some homework to do.

Re: Indicator for being on a playlist
Posted: Thu Jul 17, 2025 6:25 am
by IanRTaylorUK
No problem.
Another thing occurs to me - if you use the Media Monkey 5 option to Export ALL Playlists (File / Export...) then you will have a text file for each Playlist AND these files will contain the location and filename of each and every "Track / Song" in your Playlists.
You might then "Ask" your chosen AI agent to:
"Write a Python script that recursively scans a given folder for .m3u or .m3u8 playlist files. For each playlist, extract all .mp3 and .flac file paths listed (ignoring comment lines). Check whether each referenced audio file exists on disk (relative to the playlist location). Generate a readable report listing any missing audio files along with the playlist they were referenced in. "
And then ask your chosen AI agent to modify / improve the "script" to - for example - expose duplicates within a single Playlist file...
Re: Indicator for being on a playlist
Posted: Thu Jul 17, 2025 6:35 am
by IanRTaylorUK
https://octoberclub-my.sharepoint.com/: ... Q?e=prleyv
A link to a Python Script (not tested / run yet) from a dialogue with the AI agent to fine tune. When the AI agent what "prompt" could have been used, it replied with:
"Write a Python 3 script that recursively scans a selected folder (using a GUI folder picker) for .m3u and .m3u8 playlist files. For each playlist, extract references to local .mp3, .flac, .wav, and .ogg files (ignoring comment lines and URLs). Check whether each file exists on disk relative to the playlist location.
Output a grouped CSV report where entries are listed under a heading for each playlist, with columns: Audio File, Resolved Path, Status. Also generate a .log file with warnings for missing files and general info.
Include a command-line summary with total/found/missing counts per playlist. Use only standard Python libraries. "
Alternatively - if you are not into Python - you could ask the AI Agent to give a Word or Excel Macro version AND if any errors ask it to specifically address these e.g. using CStr() to address a ByRef argument type mismatch...
Re: Indicator for being on a playlist
Posted: Tue Aug 19, 2025 4:23 am
by scitari
Thank you, Ian. Truly appreciated. Even provided that your solution might be a bit too sophisticated for my capabilities.
Best
CV
Re: Indicator for being on a playlist
Posted: Tue Aug 19, 2025 4:33 am
by scitari
After playing some time with it, I think I found a very pragmatic, not perfect but much more efficient solution. Wirking nicely at least for my workflow.
In case someone might sumble upon this thread while looking for a similar solution.
I am simply using one of the custom fields.
- Inside a non-auto playlist (songs manually selected), ...
- I select all entries and allocate a so far unused of the custom fields (e.g. #4) using the custome field value "in playlist" (or anything else)
- now, in any list view, I can add the custom field I am using (e.g. "custom field 4") to the columns of the view
Which is exacly what I was looking for, the aability to show e.g. with duplicates' check if a song is in a playlist (so that I am not accidentally deleting the duplicate which is in the playlist).
Side note: This certainly would also work for auto-playlists, but for my use case they don't matter as songs will anyhow be in the playlist based on artist, title or whatsoever.
Re: Indicator for being on a playlist
Posted: Tue Aug 19, 2025 12:30 pm
by Rob_S
So having done that, how do you deal with what for most people would be frequent additions and deletions to your various playlists??