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

Re: Playlist-Tools-SMP

Reply #150
I must say that now works like a charm.

the test with different styles seems promising but I did a search with a shoegaze, ambient, post-rock song that have a electronic, rock tag as genre and not only the artists in a preview seems to match the styles. I'm listening it about 3 hours and not even a surprise. All smooth transitions of tracks. the effect of the generic electronic and rock tag is gone.

Almost all track between the styles given and the variations, all related and not dissonant. some drone, a bit of kraufrock, post-metal that have an additional ambient tag....All quiet, atmospheric and with a low bpm. Perfect relaxing Sunday.

A very nice experience indeed.

It was not easy, but it was worth it.

Thanks for the help @regor

Re: Playlist-Tools-SMP

Reply #151

For NIN in particular, there is an Electro-industrial estyle btw. For ex. their 94's album:
[attach type=thumb]22846[/attach]
I would not say none of those tracks are alt. rock, and only some of them are industrial rock.


Regarding the image above - how did you tag those- manually or is there a mass tagger for track level genres? 
Manually. I listen to every single track and assign genre(s) & style(s). There is no available tool right now to make it faster (like this: https://getmusicbee.com/forum/index.php?topic=35266.15).

Hierarchy is defined on my scripts if you are looking for a description.
https://github.com/regorxxx/Music-Graph
https://regorxxx.github.io/Music-Graph/Draw%20Graph.html

BUT you may use foo_uie_tagger_mod to quicly add pre-defined existing tags (without levels though).

I may create at some point a genre/styles hierarchy list tagging panel, but right now I'm busy with other things. It would be great if someone else creates it. (https://getmusicbee.com/forum/index.php?topic=35266.15)

Re: Playlist-Tools-SMP

Reply #152
Not wrong, I understand why this result is included, just not the outcome I wanted.
but I found one solution to my problem.

You're not wrong, part of the bad results are caused to a high value in max distance and genre weigh, plus the heavy association of a specific tag to a large supergenre or supercluster.

I commented out the style_substitutions that associate my generic tags (electronic, rock, pop) to a complete supergenre or supercluster, reduced the weigh of genre tag, increased the style, reduced the max distance to exclude and give theme a 0 (only a few tags have it).

With this and some minor additions in style_substitution to match some differences in tag names, the results are a lot much better.

No more electronic, pop, rock genre contamination and more focuses on the specific styles of the songs that start the search.

I left the house, trance and techno supergenre association to the single tag to avoid the fact that all have a electronic genre tag and with the above edits also gives results between the margins of club music.

Also change the 'Metal_supergenre ->Heavy Metal to just Metal to match my genre structure and remove and association of "harcore rap" to "hardcore" .This one is a bit excessive in my opinion in general terms, it is not rare that people have hardcore with no relation of any kind to rap. Even automatic tags like last.fm ones use it in a great variety of situations. But anyway, minor details.

Some more tuning will be needed to align with my taste and understanding of genre relations, but things are in the right way.

In general, I must say that I'm very happy with the results of your component. Sometimes I trend to overthinking when in fact there is a easier solution at hand.

That will be all about the search questions.

Now about the keys (don't hate me please)

After the mixx fiasco with multivalue tags I asked some friends who work in clubs and pubs, and managed to get a working copy of traktor.
This software seems to works with multivalue tags (if they are id3 v2.3, v2.4 gives problems) and is very fast analyzing the key tag and gives results for bpm more consistent than the bpm of foobar (that gives different results with the same config over the same song and have a strange fixation with 76, even when a rerun gives other value totally different ;) ). Traktor gives these kinds of key to write:
musical
musical (all sharps)
open keys
key text

What kind I must choose to match the key that I have already written with the essentia tool?
No idea, try yourself. I never used tracktor. I suppose it's Musical. Anyway all key notations are supported by my scripts (although I would recommend to stick with one for tagging/querying).

For "NIN - The downward spiral" keys should be:
Code: [Select]
Dm
Am
A#m
G
Am
Dm
Fm
Am
Am
D#
A#m
Dm
Am
Am

PD: Key will be added to the tagging tools by me on next release anyway. Along BPM, and LRA using essentia. So Acousticbrainz will not be required anymore.

X

Re: Playlist-Tools-SMP

Reply #153
Manually. I listen to every single track and assign genre(s) & style(s).

That's what I figured.  I have been rescrubbing my genre tags (in addition to several consistency upgrades) but have only reached "De_" after about 1 year now. I'm sure the perfect automation tool will arrive when I finally hit the Zs in about 10 years.

Such is the irony about the obsession with AI - there are almost no useful (and fewer practical) applications of it.

I've been happy padding out album taxonomies via AllMusic & Lastfm in spite of noise ratio. At least it offers supplementary usefulness thanks to your work!

Re: Playlist-Tools-SMP

Reply #154


With traktor Musical (All sharps) is equal to essentia tool. But if you're planning to add more tools will be better to wait. Traktor have problems with v2.4 tags multivalues and "/" in single value in v2.3 and v2.4 (trends to tranform the field in multivalue). With foobar2000 making the tagging there is no risk.

BPM and LRA are a cool addition too. And all at time with the tag button will be a great time saving

Re: Playlist-Tools-SMP

Reply #155
regor, I have a problem with the scripts (it seems it's only happening to me).It's happening from hmmm... I think from December, I just didn't have time to ask/solve this until now.
The old scripts (those from November, I think) are working ok, but with the new scripts I have 0 luck. Foobar refuses to start (CPU remains stuck somewhere at 20%) every time
At first I tried with all the scripts, then I tried only with 1 script (I tried them all) but the result is the same: foobar doesn't start, the CPU remains stuck at 20%.
I even deleted all the data related with the scripts from the folder js_data but no luck. Obviously, if I put the old scripts back, everything is fine.
What can be done? It's frustrating to use the old scripts, especially now when you have added other cool/useful things

Re: Playlist-Tools-SMP

Reply #156
regor, I have a problem with the scripts (it seems it's only happening to me).It's happening from hmmm... I think from December, I just didn't have time to ask/solve this until now.
The old scripts (those from November, I think) are working ok, but with the new scripts I have 0 luck. Foobar refuses to start (CPU remains stuck somewhere at 20%) every time
At first I tried with all the scripts, then I tried only with 1 script (I tried them all) but the result is the same: foobar doesn't start, the CPU remains stuck at 20%.
I even deleted all the data related with the scripts from the folder js_data but no luck. Obviously, if I put the old scripts back, everything is fine.
What can be done? It's frustrating to use the old scripts, especially now when you have added other cool/useful things
Have you tried it on a clean portable install? Which SO?

I have never experienced something like that.

Re: Playlist-Tools-SMP

Reply #157
I got a pair of crashes when trying to open the configuration (Shift+L. Click) of "Search Same By" and "Same Styles".
Code: [Select]
Error: Spider Monkey Panel v1.6.2-dev+7c0928bf (Playlist Tools: Buttons Bar: Playlist Tools: Buttons Bar v3.0.0-beta8 by XXX)
settingsMenu is not defined

File: buttons_search_same_by.js
Line: 95, Column: 4
Stack trace:
  .searchSameBy<@buttons_search_same_by.js:95:4
  themedButton/this.onClick@buttons_xxx.js:273:21
  on_mouse_lbtn_up@buttons_xxx.js:447:21
Code: [Select]
Error: Spider Monkey Panel v1.6.2-dev+7c0928bf (Playlist Tools: Buttons Bar: Playlist Tools: Buttons Bar v3.0.0-beta8 by XXX)
settingsMenu is not defined

File: buttons_search_same_style.js
Line: 32, Column: 4
Stack trace:
  .SameStyles<@buttons_search_same_style.js:32:4
  themedButton/this.onClick@buttons_xxx.js:273:21
  on_mouse_lbtn_up@buttons_xxx.js:447:21

Re: Playlist-Tools-SMP

Reply #158
I got a pair of crashes when trying to open the configuration (Shift+L. Click) of "Search Same By" and "Same Styles".
Code: [Select]
Error: Spider Monkey Panel v1.6.2-dev+7c0928bf (Playlist Tools: Buttons Bar: Playlist Tools: Buttons Bar v3.0.0-beta8 by XXX)
settingsMenu is not defined

File: buttons_search_same_by.js
Line: 95, Column: 4
Stack trace:
  .searchSameBy<@buttons_search_same_by.js:95:4
  themedButton/this.onClick@buttons_xxx.js:273:21
  on_mouse_lbtn_up@buttons_xxx.js:447:21
Code: [Select]
Error: Spider Monkey Panel v1.6.2-dev+7c0928bf (Playlist Tools: Buttons Bar: Playlist Tools: Buttons Bar v3.0.0-beta8 by XXX)
settingsMenu is not defined

File: buttons_search_same_style.js
Line: 32, Column: 4
Stack trace:
  .SameStyles<@buttons_search_same_style.js:32:4
  themedButton/this.onClick@buttons_xxx.js:273:21
  on_mouse_lbtn_up@buttons_xxx.js:447:21
My bad. I missed a line on some of the buttons:
Code: [Select]
include('..\\helpers\\buttons_xxx_menu.js');
Add that after all the "include" lines on those button scripts. Use absolute paths if needed (I think that was your case).
Code: [Select]
include(fb.ProfilePath + 'scripts\\SMP\\xxx-scripts\\helpers\\buttons_xxx_menu.js');
The list of files which should have the line is:
Code: [Select]
buttons_playlist_filter.js
buttons_playlist_remove_duplicates.js
buttons_playlist_show_duplicates.js
buttons_search_same_by.js
buttons_search_same_style.js
buttons_search_same_style_moods.js
buttons_search_top_tracks.js
buttons_search_top_tracks_from_date.js
Will be fixed on next release.

Re: Playlist-Tools-SMP

Reply #159
Mine looks a bit different, I supossed is because I used the _switchPaths.bat but I recreate the same format of the other include and seems to work
Code: [Select]
include(fb.ProfilePath + 'scripts\\SMP\\xxx-scripts\\helpers\\buttons_xxx_menu.js');

Re: Playlist-Tools-SMP

Reply #160
Mine looks a bit different, I supossed is because I used the _switchPaths.bat but I recreate the same format of the other include and seems to work
Code: [Select]
include(fb.ProfilePath + 'scripts\\SMP\\xxx-scripts\\helpers\\buttons_xxx_menu.js');
Yep, whatever your path was. That will fix it.

Re: Playlist-Tools-SMP

Reply #161
I forgot to mention that it works on a clean, portable install. I have windows 10 (21H1), the latest foobar version, SMP 1.6.1
But, as I said, the old scripts are working. With the new scripts, it doesn't matter what script I try, the result is always the same, foobar doesn't start. Any tip for this weird situation? :)

 

Re: Playlist-Tools-SMP

Reply #162
I forgot to mention that it works on a clean, portable install. I have windows 10 (21H1), the latest foobar version, SMP 1.6.1
But, as I said, the old scripts are working. With the new scripts, it doesn't matter what script I try, the result is always the same, foobar doesn't start. Any tip for this weird situation? :)
If it works on a clean installation, then the error is on your side or an SMP/foobar bug.
Workaround: Copy your current config to a new install (?) and use the scripts there since they work on a clean install.

Otherwise provide logs, since that's an SMP/foobar bug, not something related to my scripts. Also be sure this is not enabled:
X

Hope @TheQwertiest continues development soon, there is a a few bugs unresolved right now and crashes on multiple OSes...

Re: Playlist-Tools-SMP

Reply #163
With Search by Distance (CUSTOM) Button setting a weight to composer and doing a search make the panel crashs if the composer tag is present.
Code: [Select]
Error: Spider Monkey Panel v1.6.2-dev+7c0928bf (Playlist Tools: Buttons Bar: Playlist Tools: Buttons Bar v3.0.0-beta8 by XXX)
composerSet is not defined

File: search_bydistance.js
Line: 1321, Column: 18
Stack trace:
  do_searchby_distance@search_bydistance.js:1321:18
  .SimilarUserSet<@buttons_search_bydistance_customizable.js:58:5
  themedButton/this.onClick@buttons_xxx.js:273:21
  on_mouse_lbtn_up@buttons_xxx.js:447:21
  _runHidden@helpers_xxx_file.js:346:12
  calcTag/<@essentia-utils.js:105:6
  calcTag@essentia-utils.js:101:52
  calculateHighLevelTags@essentia-utils.js:155:9
  async*tagAutomation/this.stepTag@tags_automation.js:213:39
  tagAutomation/this.stepTag@tags_automation.js:245:23
  tagAutomation/this.stepTag@tags_automation.js:245:23
  tagAutomation/this.stepTag@tags_automation.js:245:23
  tagAutomation/this.stepTag@tags_automation.js:245:23
  tagAutomation/this.stepTag@tags_automation.js:245:23
  tagAutomation/this.stepTag@tags_automation.js:245:23
  tagAutomation/this.stepTag@tags_automation.js:245:23
Using GitHub's zips with the new essentia tools

Re: Playlist-Tools-SMP

Reply #164
With Search by Distance (CUSTOM) Button setting a weight to composer and doing a search make the panel crashs if the composer tag is present.
Code: [Select]
Error: Spider Monkey Panel v1.6.2-dev+7c0928bf (Playlist Tools: Buttons Bar: Playlist Tools: Buttons Bar v3.0.0-beta8 by XXX)
composerSet is not defined

File: search_bydistance.js
Line: 1321, Column: 18
Stack trace:
  do_searchby_distance@search_bydistance.js:1321:18
  .SimilarUserSet<@buttons_search_bydistance_customizable.js:58:5
  themedButton/this.onClick@buttons_xxx.js:273:21
  on_mouse_lbtn_up@buttons_xxx.js:447:21
  _runHidden@helpers_xxx_file.js:346:12
  calcTag/<@essentia-utils.js:105:6
  calcTag@essentia-utils.js:101:52
  calculateHighLevelTags@essentia-utils.js:155:9
  async*tagAutomation/this.stepTag@tags_automation.js:213:39
  tagAutomation/this.stepTag@tags_automation.js:245:23
  tagAutomation/this.stepTag@tags_automation.js:245:23
  tagAutomation/this.stepTag@tags_automation.js:245:23
  tagAutomation/this.stepTag@tags_automation.js:245:23
  tagAutomation/this.stepTag@tags_automation.js:245:23
  tagAutomation/this.stepTag@tags_automation.js:245:23
  tagAutomation/this.stepTag@tags_automation.js:245:23
Using GitHub's zips with the new essentia tools

Fixed (also on github).

Adjust include paths as needed in your case.

Re: Playlist-Tools-SMP

Reply #165
Changing the path I saw a reference to a "music_graph_descriptors_xxx_last.fm.js" but I couldn't find it.
It is no longer used, or I miss some file?

Re: Playlist-Tools-SMP

Reply #166
Changing the path I saw a reference to a "music_graph_descriptors_xxx_last.fm.js" but I couldn't find it.
It is no longer used, or I miss some file?

https://github.com/regorxxx/Search-by-Distance-SMP/blob/main/CHANGELOG.md#212---2022-04-13
wip

Re: Playlist-Tools-SMP

Reply #167

If it works on a clean installation, then the error is on your side or an SMP/foobar bug.
Workaround: Copy your current config to a new install (?) and use the scripts there since they work on a clean install.

Otherwise provide logs, since that's an SMP/foobar bug, not something related to my scripts. Also be sure this is not enabled:
[attach type=image]22889[/attach]

Hope @TheQwertiest continues development soon, there is a a few bugs unresolved right now and crashes on multiple OSes...

Well, it would be too much to copy my current config to a new install...it's not a simple config, it would take ages, lots of settings.
I like your second suggestion better :) What you showed in that picture , I looked at the settings and that setting is not enabled.
Can you please guide me a bit? Where is that log file? I have a file, console.log in : foobar2000\profile\   BUT there's not much in that file, basically there's nothing interesting, useful, that shows why foobar doesn't start...

Re: Playlist-Tools-SMP

Reply #168

If it works on a clean installation, then the error is on your side or an SMP/foobar bug.
Workaround: Copy your current config to a new install (?) and use the scripts there since they work on a clean install.

Otherwise provide logs, since that's an SMP/foobar bug, not something related to my scripts. Also be sure this is not enabled:
[attach type=image]22889[/attach]

Hope @TheQwertiest continues development soon, there is a a few bugs unresolved right now and crashes on multiple OSes...

Well, it would be too much to copy my current config to a new install...it's not a simple config, it would take ages, lots of settings.
I like your second suggestion better :) What you showed in that picture , I looked at the settings and that setting is not enabled.
Can you please guide me a bit? Where is that log file? I have a file, console.log in : foobar2000\profile\   BUT there's not much in that file, basically there's nothing interesting, useful, that shows why foobar doesn't start...
Copy the entire profile folder but the old scripts. You don't have to copy every setting one by one (?) It takes seconds..

The crash log is the one shown when Foobar crashes (not sure if foobar crashes at startup in your case). Can not help you any more since your problem is too abstract. Try the "switch paths" fix on the  installation guide after updating the scripts.

Re: Playlist-Tools-SMP

Reply #169
I copied the profile folder in another clean, portable install. It's the same situation, with the old scripts foobar starts, if I update or simply try with only one script (the latest scripts), foobar doesn't start. I tried the "switch paths" fix, but no result. The only difference is that now, in this clean portable install, something else happens, if I try to remove SMP and then I install it, foobar doesn't want to start again, it remains stuck forever (without any scripts, obviously). This doesn't happen in my old config, I can install and remove SMP, the only problem there is with these new scripts. Maybe a SMP bug...
Foobar never crashes, it remains stuck, with the CPU at 20% , so I have to kill the process because it remains forever like this. In the crash log there's nothing about these failed attempts to start. 

Re: Playlist-Tools-SMP

Reply #170
As suggested, copy profile folder and then delete all the old scripts (no SMP). Finally install the new scripts.

According to your reports that should work, since the scripts work on a new install.

If that doesn't work, please report it in the SMP forum. People keep reporting SMP bugs on my scripts but they should be fixed by @TheQwertiest

In any case, you may keep adding things from the profile folder on a clean install with the new scripts until it fails. As you have reported there is a problem in your current profile with some combination of addons or scripts.

Re: Playlist-Tools-SMP

Reply #171
Just created this hoping it helps solving errors  :))
Will upload it on github after checking colorblindness readability.
Spoiler (click to show/hide)

PD: Also attached the drawio file, in case someone wants to reuse it.

Re: Playlist-Tools-SMP

Reply #172
https://github.com/regorxxx/Playlist-Tools-SMP/releases/tag/v3.0.0-beta.8

Quote
v3.0.0-beta.8 - Wine fixes, online controller, dynamic menus Latest
@regorxxx regorxxx released this in 26 seconds
v3.0.0-beta.8
25935ce

There may be a SMP's bug on installation. See _TIPS and INSTALLATION.txt
PREVIOUS BUTTONS CONFIG (<3.0.0) WILL BE LOST ON UPGRADE DUE TO A CHANGE ON PROPERTIES
REQUIRES SMP 1.6.1.

    New tools: device selector, show duplicates, ...
    New tagging tools (Essentia): key, BPM, LRA, DANCENESS along other optimizations and popup tips.
    New readmes for 'Tagging requisites', 'Tags sources' and 'Other tag notes'. They should cover most frequently asked questions.
    SMP Dynamic menus to be used with CMD, keyboard shortcuts, etc.
    Added new submenu with pre-defined filters (queries) to easily configure the forced query.
    Themed buttons are replaced with manually drawn buttons when the first method fails (on Wine for ex.).
    Playlist Manager: Updated to match v0.5.0-beta.8 release.
    Search by distance: Updated to match v2.1.6 release.
    Minor speed optimization.
    Improved readmes.
    Fixed multiple crashes on wine, enabling/disabling tools, tagging, etc.

buttons_wine

See changelog for a full list: https://github.com/regorxxx/Playlist-Tools-SMP/blob/main/CHANGELOG.md

Spoiler (click to show/hide)

Re: Playlist-Tools-SMP

Reply #173
https://github.com/regorxxx/Playlist-Tools-SMP/releases/tag/v3.0.0-beta.9

Quote
v3.0.0-beta.9 - Hotfix Latest
@regorxxx regorxxx released this 29 seconds ago
v3.0.0-beta.9
b81f021

There may be a SMP's bug on installation. See _TIPS and INSTALLATION.txt
PREVIOUS BUTTONS CONFIG (<3.0.0) WILL BE LOST ON UPGRADE DUE TO A CHANGE ON PROPERTIES
REQUIRES SMP 1.6.1.

    Forced query was not being properly saved when using pre-defined filters.
    Search by Distance: minor improvements to console logging when reporting track list.
    Search by Distance: fix to theme checking. Themes were being reported as non valid when they were fine.
    Search by distance: Updated to match v2.2.1 release.

See v3.0.0-beta.8 release info: https://github.com/regorxxx/Playlist-Tools-SMP/releases/tag/v3.0.0-beta.8

Re: Playlist-Tools-SMP

Reply #174
Updated and working like a charm. This time, I didn't need to use the _switchPaths.bat.
I was wondering if you are planning to include more descriptors to the essentia tools. Things like excitement, intensity, speech_music, voice_instrumental, etc.
All this data could help to make an "automatic" mood (or similar) tag  (this could be really cool) or at least be useful to match similar tracks.