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

Re: Search-by-Distance-SMP

Reply #75
And seriously this is the end of the discussion, I don't have time for these things, neither I contribute to a forum to create hostility or have personal discussions. It has gone too far by my side too, sorry for my English as always and I apologize if I don't express myself in a right way sometimes or being "too direct", but I think there are lines that must not be crossed. Will simply ignore your replies from now on, hope you do the same.

Lets go back to the topic, @Koshingg let me know if moving the files solves the problem (works for me in 1.4 and 1.6 in portable installs as far as I have checked). Thanks

Re: Search-by-Distance-SMP

Reply #76
@snotlicker and @regor honestly, as a foobar user , I would like to see you both get along, and cooperating in a nice manner, not like this :)

regor the problem is solved if I create that profile folder and move the scripts there, The problem is once I create that profile folder foobar starts without my theme and without user components , so I have to move also the other folders in that profile folder. This is why I avoided this move

snotlicker was right here : "fb2k v1.6+ can easily not have a profile folder from using an older version and then upgrading it in place. Only clean portable installs of v1.6+ generate a profile folder on first run.''

This is exactly my situation, I upgraded and I have no profile folder, I knew about your requirements for users that have foobar 1.6.+ BUT I didn't wanted to start moving folders and components, to create possible problems
I made a quick test and everything seems ok, if I move folders in the profile folder (obviously some things must be modified but it can be done) I'll make a backup, just in case...
This situation with this profile folder (some have it , some not) it's not ideal, for sure :)
But for me, for now, everything seems ok. I think it's better to just move the folders in that profile folder, to avoid possible problems in the future

Thanks for the help

Re: Search-by-Distance-SMP

Reply #77
Will warn about the folder update misbehavior on the readmes too, so people with >1.6 always install it right no matter if they updated from an old version or not. This is affecting other scripts which rely on relative paths for user configurable files too (like the world map's image).

Re: Search-by-Distance-SMP

Reply #78
Just pushed a new update. Please read the new installation instructions. This update is required if you also update any of my other scripts due to the UTF-8 file saving/reading changes. Clone the repository to get the latest changes (Code/Download zip) instead of using the releases page.
Quote
### CHANGED
- All json files are now saved as UTF-8 without BOM. All json files are now read as UTF-8 (forced).
- Link cache is now saved in an human readable structure.
- Updated installation instructions.

Re: Search-by-Distance-SMP

Reply #79
Just pushed a new update. First steps on async processing for these scripts and porting of the additional tools from Playlis Tools. Clone the repository to get the latest changes (Code/Download zip) instead of using the releases page.
Quote
   ### Added
   - Cache: Checks graph links cache size on startup and warns when file size > 40 Mb. This is done to avoid memory leaks, since the file is fully loaded on memory and a corrupted file may increase the map size indefinitely until crashing the panel.
   - Buttons: Customizable button now has all additional menu entries found at Playlist Tools button: debug graph, find genre/styles not on graph, reset cache, etc. i.e. both now should offer the same degree of customization and advanced tools.
   ### Changed
   - Requisites: Script requires at minimum SMP 1.5.2. now.
   - Cache: Graph links cache is now calculated asynchronously whenever it's required (on first initialization or when manually forced to do so, thus improving the startup time the first time the panel it's loaded and not blocking the UI on posterior updates.

Re: Search-by-Distance-SMP

Reply #80
Just pushed a new update. A few bugfixes, great optimization of remove duplicates and improvements at import track list. Clone the repository to get the latest changes (Code/Download zip) instead of using the releases page.

Quote
   ### Added
   - Buttons: buttons' text color can now be customized via menus on the bar menu (R. Click on the bar).
   ### Changed
   - Remove duplicates: optimized the code, now runs at least x2 times faster. Updated all instances where the functions were being used to call the new version.
   - Buttons: toolbar configuration menu now is opened with R. Click (instead of Shift + L. Click on empty space). This is done to allow opening the menu anywhere even when the bar has no empty space left anymore.
   - Buttons: colors are changed without reloading the panel.
   ### Removed
   ### Fixed

Re: Search-by-Distance-SMP

Reply #81
Just pushed a new update. Minor UI change. Clone the repository to get the latest changes (Code/Download zip) instead of using the releases page.

Quote
       ### Changed
   - Buttons: When using a variable name, max graph distance is now displayed as variable along its result when evaluated.
   - Properties: max graph distance is now set at properties as a variable instead of a number. Follows the same rules found at recipes (the variable must be at the descriptors).
   - Properties: added extensive checks to most properties.

Spoiler (click to show/hide)

Re: Search-by-Distance-SMP

Reply #82
Just pushed a new update. Improvements and bugfix. Permanent console log to bypass foobar limitation of 'saving log to file' getting reset on every startup. obviously limited to the script output. Clone the repository to get the latest changes (Code/Download zip) instead of using the releases page.
Quote
   ### Added
   - Helpers: added full script console logging to file at foobar profile folder ('console.log'). File is reset when reaching 5 MB. Logging is also sent to foobar2000's console (along other components logging).
   ### Changed
   - Cache: now gets refreshed not only when the descriptors change ('music_graph_descriptors_xxx.js' & 'music_graph_descriptors_xxx_user.js') but also when the 2 functions used to calculate the paths or the own graph constructor change and the influences method. Even if changing those functions is not planned, it ensures the cache reflects the actual state of the graph in any case. In particular, the 'influences bugfix' would have required a manual cache reset by the user without this change which now will be performed automatically. The properties panel now tracks the CRC32 of those 6 items as merged strings (instead of only the first 2).
   - Influences: Added 4 methods top check influences: 'fullPath', 'adjacentNodes', 'zeroNodes' and 'direct'. 'direct' is the previous behavior ("bugged") checking only the fist against the last node. 'zeroNodes' the fix listed bellow. 'adjacentNodes' works like zeroNodes but without forcing the adjacent nodes to be substitutions (checks (A,B) against (Y,Z), i.e. max. 4 possible links). 'fullPath' checks all consecutive links on the path (A->B), (B->C), ...) and also applies 'adjacentNodes' logic (to check the origin and final nodes). 'adjacentNodes' is now the default behavior.
   - Descriptors: Added a few anti-influences.
   ### Removed
   ### Fixed
   - Influences: were not being correctly parsed when the original or the final node was a substitution (zero weight). Now adjacent nodes which may be substitutions are also checked at both sides, for ex for this path: Hip-Hop <- Rap_supergenre <- Rap_cluster <- Rythm Music_supercluster <- Blue_Note_cluster <- Blues_supergenre <- Blues. Where Hip-Hop is a substitution for Rap_supergenre,  Rap_supergenre is checked against Blues_supergenre and/or Blues for (anti)influences. Note it doesn't check for links at Hip-Hop since the influences link are always added to the generic items by design (in this case Rap_supergenre_supergenre), so there is max. 1 possible link. (note this may be overridden by the default behavior listed at top)

Spoiler (click to show/hide)

Re: Search-by-Distance-SMP

Reply #83
Just pushed a new update. Fixed missing file on the previous update.. Clone the repository to get the latest changes (Code/Download zip) instead of using the releases page.

 
SimplePortal 1.0.0 RC1 © 2008-2021