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 41928 times) previous topic - next topic
Michelist and 1 Guest are viewing this topic.

Re: Playlist-Manager-SMP

Reply #300
Quote
Well personally I hate when software forces you -by default- : (any of them)
- Network calls to check an update.
- Popup about new update.
- Download the update.

You have valid points with these, I personally also do not like this behavior BUT you can turn off auto-check as personal
preference. For the general public I would enable this as default though. I think most people do not manually check often
or forget to even check for new updates.

But I DO fully understand, less effort, more time for other things 8)

-Tom

Re: Playlist-Manager-SMP

Reply #301
I wonder if checking for updates can be done with foo_acfu. I don't know since these are scripts for SMP.

I use rss feeds to keep me informed of updates, and they notify me first (before foo_acfu). But it's a bit more complicated and not everyone uses rss feeds. Otherwise I think I'd be happy to have a pop-up that informs me of an update (with an option to disable it), I like programs that do that, but here I won't use it because I already do otherwise.

I've made some small modifications for my use in Search by distance (these if you're interested), so I have to manually redo these modifications each time I update, or replace files with my versions. At the moment I'm trying Github Desktop. I can update very easily as long as you don't modify the files I'm modifying. It happened once and it was a mess. I don't know anything about Git.

Speaking of popups, I commented some stuff in helpers_xxx_so, so those popups don't show up anymore, I think it's for linux. Some time ago, I also spent an afternoon looking for the source of these "test" in my clipboard. I discovered that it came from this.

Re: Playlist-Manager-SMP

Reply #302
Quote
I wonder if checking for updates can be done with foo_acfu. I don't know since these are scripts for SMP.
No. It would require a rewrite of SMP to integrate it.

Also there has been zero interest in the community on showcasing JS scripts on the foobar components list, even if some scripts are much more mature and less buggy than some components  ::) My point is there is zero interest -by devs- on anything down that road.

Quote
I use rss feeds to keep me informed of updates, and they notify me first (before foo_acfu). But it's a bit more complicated and not everyone uses rss feeds. Otherwise I think I'd be happy to have a pop-up that informs me of an update (with an option to disable it), I like programs that do that, but here I won't use it because I already do otherwise.
I'm considering that. Enabled by default, a global setting to enable/disable it by default on any new script installation (like the global tag remap files) and a setting per panel to switch it.

Quote
Speaking of popups, I commented some stuff in helpers_xxx_so, so those popups don't show up anymore, I think it's for linux. Some time ago, I also spent an afternoon looking for the source of these "test" in my clipboard. I discovered that it came from this.
They are supposed to be taken into consideration to be fixed, but yep, they can become annoying if you don't want to. I will add a new file at 'profile\js_data\presets\global\' (along the other global config files), with a toggle to simply omit the popups. The update check behavior on new installs will be there too.

Quote
I've made some small modifications for my use in Search by distance (these if you're interested), so I have to manually redo these modifications each time I update, or replace files with my versions. At the moment I'm trying Github Desktop. I can update very easily as long as you don't modify the files I'm modifying. It happened once and it was a mess. I don't know anything about Git.
Will look at this. The buttons customization, not sure how they look. I may provide additional settings for that. Then you seem to have a "fix" for an incomplete commit of mine. Will upload today all update files.

EDIT: To remove borders, just set buttons colors to -1 at properties. It also affects the highlighting. The code is already there for that, no need to touch the files. Just click ctrl when on the buttons color menu entry, as indicated at the header of the menu.

I'm not sure about your rationale to changing the width of the button to 1 px. though. That makes the button invisible (?) Neither why you changed the coordinates in some functions at the buttons framework file, which affects all buttons (?)

Re: Playlist-Manager-SMP

Reply #303
Related to colors on UI, since I have been working on an updated fork of Chroma.js; have found an easy way to know which color is associated to an element in menus (without requiring to open the color picker).

Thanks to Name that color and the new chroma fork, I can show a name for the color in the entry (the most prox. color).
X
Which should give you at least a hint of the current settings on menus. 'None' in the case of the previous button discussion equals to 'no button color and border'.

Will implement this to all my scripts. In case someone more is interested, it just requires 3 lines of code:

Code: [Select]
include('ntc.js');
const Chroma = require('chroma-ultra-light.min');
const getColorName = (val) => {return (val !== -1 ? ntc.name(Chroma(val).hex())[1] : '-none-');}

For the require:
Code: [Select]
let module = {}, exports = {};
module.exports = null;
function require(script) { // Must be path relative to this file, not the parent one; add RegExp  if needed
include(script + '.js');
return module.exports;
}


Re: Playlist-Manager-SMP

Reply #305
Test release. If everything is right, will upload to github and create a proper release.
Quote
### Added
- Auto-update: added -optional- automatic checks for updates on script load; enabled by default. Compares version of current file against GitHub repository. Manual checking can also be found at the settings menu. Setting may also be globally switched at '[FOOBAR PROFILE FOLDER]\js_data\presets\global\globSettings.json', by changing 'bAutoUpdateCheck'. It will apply by default to any new installed script (previous scripts will still need to be manually configured to change them).
### Changed
- UI: panel background can now use both 'Maintain proportions' and 'Fill panel' options at the same time when using the front cover.
- Helpers: updated statistics mode with new graphs and features from the latest [Statistics-Framework-SMP](https://github.com/regorxxx/Statistics-Framework-SMP) version.
- Helpers: replaced library [chroma.js with own version](https://regorxxx.github.io/chroma.js/).
- Helpers: updated helpers.
### Removed
### Fixed

X

It should ask after 2 mins to update (since I changed the version num to something wrong on purpose). Manual update check can also be used.

Re: Playlist-Manager-SMP

Reply #306
v0.9.0 - Auto-update
https://github.com/regorxxx/Playlist-Manager-SMP/releases/tag/v0.9.0
Quote
[0.9.0] - 2023-11-15
Added

    Auto-update: added -optional- automatic checks for updates on script load; enabled by default. Compares version of current file against GitHub repository. Manual checking can also be found at the settings menu. Setting may also be globally switched at '[FOOBAR PROFILE FOLDER]\js_data\presets\global\globSettings.json', by changing 'bAutoUpdateCheck'. It will apply by default to any new installed script (previous scripts will still need to be manually configured to change them).
    Added setting to disable popups related to features not being supported by the OS (at startup). Found at '[FOOBAR PROFILE FOLDER]\js_data\presets\global\globSettings.json', by changing 'bPopupOnCheckSOFeatures'. By default popups are always shown. This setting will never be exposed within foobar, only at this file.

Changed

    UI: color menu entries now show the color name along the menu entry.
    UI: panel background can now use both 'Maintain proportions' and 'Fill panel' options at the same time when using the front cover.
    Helpers: updated statistics mode with new graphs and features from the latest Statistics-Framework-SMP version.
    Helpers: replaced library chroma.js with own version.
    Helpers: updated helpers.

Removed
Fixed
Spoiler (click to show/hide)

Re: Playlist-Manager-SMP

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

Quote
[0.10.0] - 2023-11-24
Added

    Statistics: click on point to jump to list mode and filter by selected key.
    Statistics: added buttons to statistics mode. Menus are now opened via buttons, no longer with R. click. There is also a button to directly exit statistics mode.
    Statistics: added sorting options according to Y axis.
    Statistics: colors are now forced with a scheme based on selection color and background.
    UI: transparency input menu entries now have a hint about which value is opaque and which transparent.

Changed

    Lite mode: config json files are now saved with an UUID on filename, so they can't conflict with playlist managers panels associated to a physical tracking folder anymore.
    Lite mode: it's now possible to have multiple playlist managers panels in lite mode tracking different AutoPlaylist or with different manual sorting/folder structures.
    Helpers: updated helpers.
    Console: reduced max log file size to 1 MB.

Removed
Fixed

    UI: minor fix to settings button's tooltip.


Re: Playlist-Manager-SMP

Reply #308
Can the tooltips be changed to a dark background with white text? OR can they be turned off completely? They're too bright on my old tired eyes.

Re: Playlist-Manager-SMP

Reply #309
Can the tooltips be changed to a dark background with white text? OR can they be turned off completely? They're too bright on my old tired eyes.

That's something to ask at the SMP thread or DUI/CUI threads. How tooltips are displayed is not something script related.

[...]\xxx-scripts\helpers\helpers_xxx_UI.js
Delete or comment those lines in that file. It will work on any of my scripts.
X

Re: Playlist-Manager-SMP

Reply #310
Ok, thanks!

One more question... Do I really need IE 11? I get that popup every so often. It seems to work just fine without it and I'd rather not install it unless I have to.

Re: Playlist-Manager-SMP

Reply #311
Ok, thanks!

One more question... Do I really need IE 11? I get that popup every so often. It seems to work just fine without it and I'd rather not install it unless I have to.
Read this, to disable such popups.
https://github.com/regorxxx/Playlist-Manager-SMP/blob/main/CHANGELOG.md#090---2023-11-15

(will also add a setting to disable tooltips globally on the same file)

About the functionality, for IE on my scripts you only lose automatic clipboard functionality at some points, since I made all to ensure they would work on Wine too.
Will reword the popups to make more clear what are you losing.

Other scripts, like Bio, will simply not work at all.

Re: Playlist-Manager-SMP

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

Quote
## [0.11.0] - 2023-11-28
### Added
- UI: added setting to disable tooltip on all scripts. Found at '[FOOBAR PROFILE FOLDER]\js_data\presets\global\globSettings.json', by changing 'bTooltip'. By default tooltip is always shown. This setting will never be exposed within foobar, only at this file.
### Changed
- Helpers: updated helpers.
- Improved error messages about features not working related to OS checks (at startup) with tips and warnings.
### Removed
### Fixed
- UI: minor fix to settings button's tooltip.