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-SMP (Read 61102 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: Playlist-Manager-SMP

Reply #325
https://github.com/regorxxx/Playlist-Manager-SMP/releases/tag/v0.13.0

Quote
0.13.0 - 2023-02-28
Added

    Importing JSON: allows to import any available playlist metadata from UI-only playlists, .fpl, .xsp, .pls and .srtm files (which is only saved in the JSON file). In such case, the playlist file (with same filename and name) must already reside in the tracked folder to be matched at the importing step and overwritten with the metadata found.
    Importing JSON: allows to import the folder structure saved in the JSON file.
    Importing JSON: allows to selectively choose which formats will be imported. i.e. files, AutoPlaylists and Smart Playlists, UI-only playlists, folders, ...
    AutoPlaylists: it's now possible to directly import all AutoPlaylists from native foobar2000 (v1.6 and V2.0+) to the manager using 'Import AutoPlaylists from UI...'. It will read the config files at the profile folder and try to parse the playlists found there (retrieving the query, name and sorting). This should automate the process of importing AutoPlaylists the first time the manager is installed, instead of going one by one.
    Search: new search mode against tracks' metadata. Internally loads all tracks from every playlists and looks for the search input within specific tags (by default ALBUM ARTIST, ALBUM, TITLE and DATE). It may produce some lag while searching if there are a lot of playlists, so disable it if not needed. The tracks are cached, so consecutive searches are faster (or performing it some seconds after startup); but it greatly increases startup time when using search is maintained at startup (since cache has not been built). In such cases, make sure to have the setting 'Reset search on startup' enabled.
    Search: new search mode against playlists' metadata. Retrieves track's metadata from the playlist file (available on .m3u8, .m3u, .xspf and .pls formats) and tries to match ARTIST or TITLE. This mode is much faster than looking for the track's tags (see above).
    Search: new search mode using queries. If the query outputs at least a track from a playlist, is considered a match. Caching is used (see above).
    Search: using drag n' drop on search box when query search mode is enabled will create a query to show only playlists containing such tracks by title and artist.
    Search: using drag n' drop on search box when tags search mode is enabled will show only playlists containing tracks matching title and artist.
    Search: the different drag n' drop search modes can now be set by priority. i.e. If query and path search are both enabled, query search may be set as as higher priority than path search, so it will always use queries if possible. In case query search is disabled, path search would be used instead.
    XSP: Smart Playlists are now automatically refreshed whenever a playlist source changes (not in any other case, use AutoPlaylists for that). i.e. if a Smart Playlist has a query like "#PLAYLIST# IS A", and "A" playlist changes, the Smart Playlist is automatically refreshed now (tracks added/removed). If the playlist is not loaded, only metadata is updated (like duration or size). This behavior can be disabled at settings.
    Backup: added more backup procedures when editing playlists. Original file is restored in case of errors.
    Statistics: new 'size' data mode for statistics, which shows statistics according to playlist's size (num of tracks) grouped by 25. Ex. Empty, >0, >25, >50, ... Clicking on any data point will filter the panel, as usual, with playlists with such condition.
    Statistics: data source can now be set to All playlists, Playlist files, AutoPlaylists, UI-only playlists or Selected playlists (by name).
    Configuration: added integrity checks to global user settings files, found at '[FOOBAR PROFILE FOLDER]\js_data\presets\global[...].json'. In particular queries are now check to ensure they are valid and will throw a popup at init otherwise. Other settings are check to ensure they contain valid values too.
    Configuration: expanded user configurable file at '[FOOBAR PROFILE FOLDER]\js_data\presets\global\globSettings.json' with a new setting to output to console profiling logs at script init. They work globally. Disabled by default.
    Folders: added menu entries to create [child] playlists from current selection or active playlists at the folder contextual menu. Request 71
    Folders: playlists can now be created within folders using drag n' drop (pressing ALT or ALT + CONTROL as usual). Request 71
    UI: added drag n' drop actions to the quick help popup (shift click on help button).
    UI: added settings for UI-only bound playlists deletion behavior when deleting a playlist file: always ask, delete both (file and UI-only playlist) or delete only playlist file. Request 76

Changed

    Importing JSON: importing logic has been rewritten to be more robust. If an existing playlist has the same name than one imported, a popup will ask to overwrite or omit it. In case extensions differ, will show an error (since they are probably not the same playlist). Overwriting a playlist involves replacing the old metadata with the new one, which in the case of AutoPlaylists means the query is replaced (plus other data), but for other playlists formats, things like tags, categories, etc. are also transferred. Items will also be compared before overwriting, so in case there is no changes (filtering on-init properties like folders being opened or not), they will skipped.
    Importing JSON: suggested JSON file path is now automatically retrieved from clipboard (instead of being empty).
    Search: added validity checks to input to avoid crashes or errors.
    AutoPlaylists: added checks to sorting inputs to ensure they are valid expressions.
    AutoPlaylists: AutoPlaylists created via native foobar2000, instead of the manager, are now flagged as 'AutoPlaylist (UI)' when opening their contextual menu at the manager, as an indication of playlist being an UI-only playlist. Some menu entries also show a warning about cloning needed to fully integrate them.
    AutoPlaylists: cloning an AutoPlaylist created via native foobar2000, instead of the manager, also opens the AutoPlaylists properties now to easily copy the query and sort patterns.
    XSP: added checks to sorting inputs to ensure they are valid expressions.
    XSP: Smart Playlists are now locked when loading them, similar to AutoPlaylists behavior. If there is no sorting, then tracks can be reorder, otherwise sorting is also locked.
    XSP: improved caching in multiple playlist actions.
    XSPF: improved caching in multiple playlist actions.
    XSPF: .xspf playlists now follow the complete specification, allowing multiple locations per track. In case one is not found, the next one is used. Previously only one location per track was allowed. Content resolution via tags has not changed since that was already implemented.
    Folders: drag n' drop now allows to move items to any specific position within a folder, not just to the end, on manual sorting.
    Folders: improved filtering in some cases with nested folders or showing only specific playlists within a folder.
    UI: 'Move to folder...' submenu now shows an indicator when there are no other folders to move to.
    UI: Added a tip at all input popups for sorting, to specify when 'SORT BY' and similar statements must be used.
    UI: optimized repainting to use less resources on statistics mode.
    UI: changed tooltip for multiple selection to only show the available actions which work on the entire selection.
    Shortcuts: global shortcut to search (F9) uses now the new search methods added for tracks.
    Shortcuts: Shift + F9 now displays the report with selected tracks (previously it was only used when pressing F9 if no compatible search methods was enabled to look for tracks).
    Shortcuts: all global shortcuts related to playlists (F1 - F6) now work recursively on multiple selection and folders (without level limits). Exceptions: F2-Rename (since renaming on batch is not allowed), and DEL-Remove playlist (deleting in batch can only be done via menus and multiple selection to avoid accidental deletions of multiple items).
    Shortcuts: global shortcut are now shown on the related menu entries and/or buttons. For ex. the menu entry to create a new playlist now displays the shortcut F7 if global shortcuts are enabled.
    Clone: wrong warning about not found tracks when using relative paths in some cases.
    Clone: when cloning playlists within a folder (via menus or shortcuts), the new items will be created now at the same folder level (not at the root of the list).
    Playlist formats: added some checks when parsing corrupted playlists to avoid crashes (and instead omit the line).
    ListenBrainz: input when using playlist importing by MBID is now checked to ensure it's a valid UUID (before attempting the web retrieval).
    Startup processing has been changed to not run any secondary process while caching the library (for ex. AutoPlaylist size updating, etc.); these steps will be run sequentially after library caching has been done. Using multiple panels, one of them will cache the library and the rest run the other steps if possible.
    Configuration: changed the remove duplicates bias to prefer tracks with higher play-counts and positive feedback tag (love/hate).
    Helpers: updated helpers.
    Console: improved log file formatting on windows text editors which parse new lines only with CR+LF instead of LF.
    Code cleanup.

Removed

    UI: internal logging when checking .xsp playlists.

Fixed

    UI: single click actions not working in some cases. Issue 74
    UI: multiple selection was lost in some cases after executing actions if UI-only playlists were tracked.
    UI: extra separator on 'Restore...' playlists submenu in some cases.
    UI: AutoPlaylists contextual menu missing 'Load playlist' entry on lite mode.
    UI: playlists missing 'Delete' entry on lite mode.
    UI: fixed misspelling of 'bound' in multiple places.
    UI: renaming a playlist/folder changed the position when using manual sorting, sending the item to the end of the list (instead of keeping the original position).
    Drag and Drop: source playlist's size was not properly updated after using drag n' drop on move tracks actions. It was increasing the size instead of decreasing it.
    Search: search history not applying the term when clicking.
    Folders: playlist deletion within folders did not update the UI properly in some cases. Issue 72
    Folders: nested folders not working in some cases or producing crashes. Issue 73
    Folders: internal drag n' drop not working properly on sorting methods different than manual one. i.e. to move items into/out of a folder.
    Search: crash on multiple settings menu entries due to a typo on variable.
    ListenBrainz: crash when importing an existing playlist in some cases.
    Exporting Playlists: crash when clicking on a point -to filter- while using folders data.
    Exporting Playlists: error while exporting an AutoPlaylist with sorting.
    Exporting Playlists: crash while reporting malformed .xsp playlist.
    XSP: wrong cache handling for .xsp playlist when rewriting the queries.
    XSP: UI-only playlists were not working as playlist sources.
    XSPF: playlist was rewritten when some tracks were not found (by link, content resolver and path) after loading it.
    XSPF: identifier tag was not working properly at the content resolution step (usually used for MUSICBRAINZ_TRACKID).
    XSPF: .xspf playlists not loading properly when content resolution was used in some cases.
    XSPF: malformed track paths using relative paths in some cases.
    AutoPlaylists: crash when changing AutoPlaylists sort TF expression if the value was not changed.
    Links: multiple fixes to YouTube web links handling.
    Remove duplicates: advanced RegEx title matching option not being applied in some cases.
    Colors: crash if a color was missing from an older version, after updating, if the settings menu was opened. Issue 70
    Shortcuts: 'Single click' header submenu, to set the single click actions on header, was duplicated.
    Lite mode: fixed some minor errors when switching to/from lite mode (after installation process only).
    Rare crash on mouse L. button up if a menu from other panel was displayed over the manager panel, the action affected a playlist and the click fell on the list.
    Minor fixes.

Re: Playlist-Manager-SMP

Reply #326
Hi.
X

I can't find how to change size, color and behavior of these icons. I would like to make them a bit bigger and change to highlight square for the active playlist like it does when is playing.

Sorry in advance, sure is pretty obvious, but I can't find it

Re: Playlist-Manager-SMP

Reply #327
You can't. You have to change the font size of all text, not only the icons. And there is a reason for that, since icons bigger than text would break the proportions of the panel, overlap with other lines and/or the scrollbar. But feel free to just make the entire rows bigger.

The icons use the color for "standard text" too, which I may consider to allow independent customization.

About your other question, the manager only shows loaded playlists and playing playlist. Are you asking to show a different icon for the active playlist? (which is not currently present)

Re: Playlist-Manager-SMP

Reply #328
You can't. You have to change the font size of all text, not only the icons. And there is a reason for that, since icons bigger than text would break the proportions of the panel, overlap with other lines and/or the scrollbar. But feel free to just make the entire rows bigger.

Fair enough

The icons use the color for "standard text" too, which I may consider to allow independent customization.

This could be cool. Different colors for loaded, playing and active.

About your other question, the manager only shows loaded playlists and playing playlist. Are you asking to show a different icon for the active playlist? (which is not currently present)

Not necessary one more icon, the same existing square (loaded) highlighted could work. Now when you have various playlists loaded there is no visual clue for the active one

The important part is to have visual for the active playlist. New icon, custom colors.....the easier way for you

Re: Playlist-Manager-SMP

Reply #329
Not necessary one more icon, the same existing square (loaded) highlighted could work. Now when you have various playlists loaded there is no visual clue for the active one

The important part is to have visual for the active playlist. New icon, custom colors.....the easier way for you

That's not true. You single click on the bolt icon and it jumps to the active one. Or whatever shortcut you assigned.

In general, I don't really want to clutter the UI with more and more info if it's not really needed.

Quote
This could be cool. Different colors for loaded, playing and active.
That's what icons are for. Adding that, means 3 more colors and it would also be confusing since now playlists have colors per format. Not sure...

Re: Playlist-Manager-SMP

Reply #330
Ok, so this is how it looks now for active/loaded/playling playlist:
X

And the active playlist highlighting, which has always been available:
X

If someone has a better suggestion for the chars, let me know. They must be one of these unicode chars.
https://www.codetable.net/groups

(for ex https://www.codetable.net/Group/general-punctuation)

Re: Playlist-Manager-SMP

Reply #331
Looks good. It is easy to distinguish which one is active, playing and loaded.

Thanks

Re: Playlist-Manager-SMP

Reply #332
Well, I also added the chars to the properties. So in any case they can be edited there if desired. Will not add another menu for that though.

I created a menu to switch these status icons: loaded, active and playing playlist.

Looking at the colors, there are some inconsistencies, since the top toolbar uses the standard text color (the same than playlist files without an specific color). So I will add a new setting for the top toolbar and another one only for standard playlist files. Therefore the icons , which use the standard text color would also be configurable without affecting the rest.


Re: Playlist-Manager-SMP

Reply #334
The color of Standard playlist and UI-only playlist doesn't change, is always blue.

X

All other text colors are set to white (standard text, header toolbar, buttons' text)

Re: Playlist-Manager-SMP

Reply #335
Standard playlists work fine on my side. Please check again.

You are right about the other. (now fixed)

Re: Playlist-Manager-SMP

Reply #336
Standard playlists work fine on my side. Please check again.

You are right about the other. (now fixed)

Now the color change too much :-P

X

The standard doesn't obey the color chosen.
The color of UI-only is set to both.

I have an error updating to the new version
Code: [Select]
WinAPI error:
  CreateFile failed with error (0x5):
    Acceso denegado.

I tried to deleted the script package to start fresh, and I could not do it with the package manager UI. After restart, it displays the text will be removed but stay installed. I had to erase the folder in foo_spider_monkey panel.

After new install, the error pop-up again with the big setup button

Edit:
I tried again to delete the script.
After the restart is stil there and gives the error
Code: [Select]
Failed to process delayed packages:
remove_all: Acceso denegado.: "Z:\home\user\.foobar2000\profile\foo_spider_monkey_panel\packages\{2A6AEDC9-BAE4-4D30-88E2-EDE7225B494D}"

And the package manager look like that

X

Re: Playlist-Manager-SMP

Reply #337
Have no idea what you did or SMP broke the package. That's something on your side and SMP.. clean the panel, redownload package and install again.

Re: Playlist-Manager-SMP

Reply #338
Clear the properties gives away the errors.
But the color remains the same. The color of UI-only is set to both

Re: Playlist-Manager-SMP

Reply #339
Clear the properties gives away the errors.
But the color remains the same. The color of UI-only is set to both
I don't really understand the problem. I'm testing it on my side and all works fine. Are you really using the latest nightly?

Re: Playlist-Manager-SMP

Reply #340
Clear the properties gives away the errors.
But the color remains the same. The color of UI-only is set to both
I don't really understand the problem. I'm testing it on my side and all works fine. Are you really using the latest nightly?

Yeah, generated with the link at the bottom of the page
Nightly releases
Automatic package built from GitHub (using the latest commit).

 

Re: Playlist-Manager-SMP

Reply #342
That doesn't mean you are using the latest one... it takes some time to be created. Redownload.

No luck. I tried deleting the browser cache, and with chrome (just in case), same result

I can put the UI-only in white and I have my indicator. :-P. It does the trick for now.

Re: Playlist-Manager-SMP

Reply #343
Really, no idea what you are doing. Please send a video and a copy of your properties.

And also please recheck you are really using any playlist file at all. Your screenshot shows only ui-playlists, so obviously they all have the same color.

Re: Playlist-Manager-SMP

Reply #344
Same as always. After the error is gone cleaning the properties, install the download zip, restart foobar and configure the background and colors

Re: Playlist-Manager-SMP

Reply #345
Is weird.

The properties value changes, but the colors in the panel not

Both set to white

autoPlaylist,-24125,smartPlaylist,-6037372,selectedPlaylist,-16744256,uiPlaylist,4294967295,lockedPlaylist,-2354116,folder,4286644096,standardPlaylist,4294967295

Changing standard to orange

autoPlaylist,-24125,smartPlaylist,-6037372,selectedPlaylist,-16744256,uiPlaylist,4294967295,lockedPlaylist,-2354116,folder,4286644096,standardPlaylist,4294934528

but the UI doesn't change

X


Re: Playlist-Manager-SMP

Reply #346
You have no standard playlist there, not sure what you are complaining about... You have an autoplaylist in red and 2 ui playlist in white, as you have set.

Re: Playlist-Manager-SMP

Reply #347
You have no standard playlist there, not sure what you are complaining about... You have an autoplaylist in red and 2 ui playlist in white, as you have set.

Could be that I get it wrong.

X

The pink is an autoplaylist, the green a folder

And all the other ones are UI-only?

Library view with the monitor like icon and the other with the solid file icon created with the playlist tabs are the same?

I thought that the solid ones were UI-only and the others standard.

So what is a standard?








Re: Playlist-Manager-SMP

Reply #348
I must present my apologies, now I get it.

These are UI-only, to make standard you must select with middle click and convert to playlist file, that is save in the playlist folder setup in properties.

Now the color change fine.

Really sorry for making you lost your time.



Re: Playlist-Manager-SMP

Reply #349
They are solid but blank, because they are empty. That applies to any type of playlist. Files have a different icon.