Re: Spider Monkey Panel (foo_spider_monkey_panel) Reply #50 – 2018-11-05 21:04:14 Version: 1.0.5Link: https://github.com/TheQwertiest/foo_spider_monkey_panel/releases/tag/v1.0.5Changelog:Spoiler (click to show/hide)AddedAdded handling of unhandled rejected promises.Added basic handling of exception-like objects and objects derived from Error in pre-ES6 style.Added properties to window for memory usage tracking: MemoryLimit, TotalMemoryUsage and PanelMemoryUsage.FixedFixed timing of promises invocation: now conforms to ES standard.Fixed several memory leaks on panel layout switch and on script error.Fixed crash on in-panel layout switch.Detailed description of API changes: https://github.com/TheQwertiest/foo_spider_monkey_panel/wiki/API-Changes#v105 Last Edit: 2018-11-20 12:44:25 by TheQwertiest
Re: Spider Monkey Panel (foo_spider_monkey_panel) Reply #51 – 2018-11-19 19:08:10 Version: 1.1.0Link: https://github.com/TheQwertiest/foo_spider_monkey_panel/releases/tag/v1.1.0Changelog:Spoiler (click to show/hide)AddedImproved drag-n-drop window:Image displays number of tracks being dragged (thanks to @musicmusic!).Tooltip text describes the performed drop action (configurable through action.Text field).API changes:Added clearInterval, clearTimeout, setInterval, setTimeout methods to global namespace.Added gdi.LoadImageSyncV2 method.Added utils.GetAlbumArtAsyncV2 method.Added arguments to FbProfiler.Print: additional message and an option to disable component info.Added global constructors for the following objects:FbMetadbHandleList: from another FbMetadbHandleList, from an array of FbMetadbHandle, from a single FbMetadbHandle and a default constructor.GdiBitmap: from another GdiBitmap.FbProfiler: accepts the same arguments as fb.CreateProfiler.FbTitleFormat: accepts the same arguments as fb.TitleFormat.Improved logging of objects through console.log: now it displays object's content as well.Added documentation link to default context menu (accessible via WIN-SHIFT-RightClick).Added callbacks to HTML documentation.Updated basic samples with the new methods.ChangedAPI changes:fb.DoDragDrop now requires an additional window.ID argument.fb.CreateHandleList is marked as [Deprecated] and will be removed in v2.0.0.Reimplemented SMP call handling so as to conform with Run to completion rule.Made adjustment to GC policies.FixedFbMetadbHandle.FileSize returns -1 properly now when file size is not available.Detailed description of API changes: https://github.com/TheQwertiest/foo_spider_monkey_panel/wiki/API-Changes#v110 Last Edit: 2018-11-20 12:44:07 by TheQwertiest
Re: Spider Monkey Panel (foo_spider_monkey_panel) Reply #52 – 2018-11-20 11:49:00 Version: 1.1.1Link: https://github.com/TheQwertiest/foo_spider_monkey_panel/releases/tag/v1.1.1ChangelogHotfix for v1.1.0 (see changelog above)FixedFixed error in object constructor when it is invoked with data from on_notify_data callback. Last Edit: 2019-01-20 15:02:30 by TheQwertiest
Re: Spider Monkey Panel (foo_spider_monkey_panel) Reply #53 – 2018-11-28 07:48:36 Do not work callback on_colours_changed()version 1.1.1, foobar 1.4.1
Re: Spider Monkey Panel (foo_spider_monkey_panel) Reply #54 – 2018-11-28 11:29:39 Do not work callback on_colours_changed()version 1.1.1, foobar 1.4.1, DUI
Re: Spider Monkey Panel (foo_spider_monkey_panel) Reply #55 – 2018-11-29 16:15:24 Quote from: AlexR on 2018-11-28 11:29:39Do not work callback on_colours_changed()version 1.1.1, foobar 1.4.1, DUI Yep, that's a bug, will be fixed in the next version =)
Re: Spider Monkey Panel (foo_spider_monkey_panel) Reply #56 – 2019-01-09 11:01:17 Version: 1.1.2Link: https://github.com/TheQwertiest/foo_spider_monkey_panel/releases/tag/v1.1.2Changelog:Spoiler (click to show/hide)AddedAdded additional options to fb.DoDragDrop: show_text, use_album_art, use_theming and custom_image.By default, fb.DoDragDrop now displays album art of the dragged item (if available).ChangedCleaned up Panel Configuration dialog:Moved all buttons and checkboxes to menu bar.Added Help button, which opens supplied html documentation.Export\Import now use *.js extension by default.FixedFixed callbacks not triggering when fb.DoDragDrop is active.Fixed on_colours_changed callback not triggering in DUI.Fixed several fb2k crashes when triggerring script error.Fixed several fb2k freezes when fetching album art through 3rd party components.Fixed a few more fb2k freezes.Fixed utils.ReadTextFile not working with empty files.Fixed utils.GetAlbumArtAsync not working in some cases.Removed extra quotes in console.log when printing strings outside of objects and arrays.Fixed occasional EOL issues in error report.Detailed description of API changes: https://github.com/TheQwertiest/foo_spider_monkey_panel/wiki/API-Changes#v112 Last Edit: 2019-01-09 11:04:26 by TheQwertiest
Re: Spider Monkey Panel (foo_spider_monkey_panel) Reply #57 – 2019-01-13 01:33:37 trying to re-create an ancient foo_uie_albumart behaviour where pictures/arts in all user specified sub-directories of currently playing track are collected when track playback starts, then runs slideshow cycling through all the art every X second as specified by userthe component can load jpg, pg, bmp...etc. but not webp or other newer formats. I was wondering if it's possible for SMP to handle webp. maybe through some codec installed on the system?
Re: Spider Monkey Panel (foo_spider_monkey_panel) Reply #58 – 2019-01-16 14:17:19 Quote from: SUPERCOOLMAN on 2019-01-13 01:33:37I was wondering if it's possible for SMP to handle webp. maybe through some codec installed on the system?TLDR: SMP does not have functionality to load images that are not supported by fb2k.Full answer:SMP uses foobar2000 API to load album art and `Gdiplus::Bitmap` to load external images. AFAIK neither fb2k nor GDI+ have the ability to work with webp files.It's probably possible to write a fb2k component that can load webp files as images though (and maybe even work as album art source for fb2k).
Re: Spider Monkey Panel (foo_spider_monkey_panel) Reply #59 – 2019-01-17 10:53:43 Version: 1.1.3Link: https://github.com/TheQwertiest/foo_spider_monkey_panel/releases/tag/v1.1.3Changelog:Spoiler (click to show/hide)ChangedRemoved image resizing for custom_image in fb.DoDragDrop when image is smaller than the drag window.All file dialogs now remember last used location.FixedFixed Last.fm Similar Artists + User Charts + Recent Tracks script crash (kudos to @marc2k3).Fixed callbacks not triggering when MenuObject.TrackPopupMenu or default context menu is active.
Re: Spider Monkey Panel (foo_spider_monkey_panel) Reply #60 – 2019-01-19 18:21:25 I don't know if the issue is with the latest version (1.1.3) or if it was already there before, but I can't update ratings (foo_playcount) anymore with fb.RunContextCommandWithMetadb. For example with the rating.txt script. It does simple nothings Thanks in advance. And ty for all the work you have already done with the component!Regards
Re: Spider Monkey Panel (foo_spider_monkey_panel) Reply #61 – 2019-01-20 10:47:39 I am new to Spider Monkey Panel and J script panel.I want to embed play back statistic information into the file.Is there a function to edit metadata? (I only found retrieve info from metadata)
Re: Spider Monkey Panel (foo_spider_monkey_panel) Reply #62 – 2019-01-20 11:28:36 This command doesn't work anymore with new spider panel.buttons.buttons.albumart = new _button(bs * 6.8, 0, bs, bs, {normal : "Albumart.png", hover: "Albumart_h.png"}, function () { fb.RunContextCommand("Run service/AlbumArt"); },"AlbumArt"); Hope you can solve this
Re: Spider Monkey Panel (foo_spider_monkey_panel) Reply #63 – 2019-01-20 15:11:12 Version: 1.1.4Link: https://github.com/TheQwertiest/foo_spider_monkey_panel/releases/tag/v1.1.4ChangelogHotfix for v1.1.3 (see changelog above)FixedFixed fb.RunContextCommandWithMetadb not working with most commands.
Re: Spider Monkey Panel (foo_spider_monkey_panel) Reply #64 – 2019-01-20 15:12:44 @Decalicatan_Decalicatan @Rhand : the issue should be fixed in v1.1.4. Thanks for the bug report!
Re: Spider Monkey Panel (foo_spider_monkey_panel) Reply #65 – 2019-01-20 15:19:26 Quote from: hlhp on 2019-01-20 10:47:39I am new to Spider Monkey Panel and J script panel.I want to embed play back statistic information into the file.Is there a function to edit metadata? (I only found retrieve info from metadata)Depends on what you mean: you can't edit some most stats provided by `foo_playcount` (e.g. %play_count%), but you can write additional custom tags with `FbMetadbHandleList.UpdateFileInfoFromJSON()` (you can read more about the method and it's usage in the documentation included with component: `Configure Panel` dialog > menu > Help > View Help). Last Edit: 2019-01-20 15:30:14 by TheQwertiest
Re: Spider Monkey Panel (foo_spider_monkey_panel) Reply #66 – 2019-01-20 16:25:18 Quote from: TheQwertiest on 2019-01-20 15:12:44@Decalicatan_Decalicatan @Rhand : the issue should be fixed in v1.1.4. Thanks for the bug report!ty!
Re: Spider Monkey Panel (foo_spider_monkey_panel) Reply #67 – 2019-01-21 02:36:39 Quote from: TheQwertiest on 2019-01-20 15:19:26Depends on what you mean: you can't edit some most stats provided by `foo_playcount` (e.g. %play_count%), but you can write additional custom tags with `FbMetadbHandleList.UpdateFileInfoFromJSON()` (you can read more about the method and it's usage in the documentation included with component: `Configure Panel` dialog > menu > Help > View Help).Thank you, adding custom tags is the only thing I want.
Re: Spider Monkey Panel (foo_spider_monkey_panel) Reply #68 – 2019-01-21 14:43:01 Version: 1.1.5Link: https://github.com/TheQwertiest/foo_spider_monkey_panel/releases/tag/v1.1.5ChangelogHotfix II for v1.1.3 (see changelog above)ChangedPanel Properties dialog now uses JSON format by default for export.FixedFixed incorrect parsing of UCS-2 LE encoded files.
Re: Spider Monkey Panel (foo_spider_monkey_panel) Reply #69 – 2019-01-23 03:10:19 I want to find meta value(first value) by name.According to the documentation.I need to...1. Check if there are matched name in the meta. if yes, go to step 2.2. Find out how many meta in it.3. Loop through the meta(s) to find the idx numbers for the name4. Use the idx to get the Value out.Is there any better way to doing this?
Re: Spider Monkey Panel (foo_spider_monkey_panel) Reply #70 – 2019-01-23 09:06:46 Quote from: hlhp on 2019-01-23 03:10:19I want to find meta value(first value) by name.According to the documentation.I need to...1. Check if there are matched name in the meta. if yes, go to step 2.2. Find out how many meta in it.3. Loop through the meta(s) to find the idx numbers for the name4. Use the idx to get the Value out.Is there any better way to doing this?There is also a MetaFind method, which returns the index of the meta field (or -1 if not found) =) Last Edit: 2019-01-23 09:48:16 by TheQwertiest
Re: Spider Monkey Panel (foo_spider_monkey_panel) Reply #71 – 2019-01-24 14:58:14 Quote from: TheQwertiest on 2019-01-23 09:06:46There is also a MetaFind method, which returns the index of the meta field (or -1 if not found) =)Thank you it works.I thought it only return like Boolean, I should read the documentation more carefully.
Re: Spider Monkey Panel (foo_spider_monkey_panel) Reply #72 – 2019-02-06 16:53:34 First of all, a big thank you to @TheQwertiest for this component. I've been away from the forum for sometime and this is really a great surprise. It's good to have a jscript component back with official support and with the developer active in the forum. I'm following the migration instructions from JScript panel 2 and so far no problem. The only issue I found which was not mentioned in the official docs, nor in the forum, is that I can no more include both JScommon and Helpers in the preprocessor because some constants and variables are declared on both scripts.I solved the problem by copying the few functions I actually needed, from JScommon to a new script, which replaced JScommon in the preprocessors where Helpers is also included. I like it better this way, it is definitely cleaner, but I just wanted to make sure that it is an intended behavior and I did not mess anything up.
Re: Spider Monkey Panel (foo_spider_monkey_panel) Reply #73 – 2019-02-07 13:20:50 Quote from: davideleo on 2019-02-06 16:53:34First of all, a big thank you to @TheQwertiest for this component.You are very welcome Quote from: davideleo on 2019-02-06 16:53:34The only issue I found which was not mentioned in the official docs, nor in the forum, is that I can no more include both JScommon and Helpers in the preprocessor because some constants and variables are declared on both scripts.Well, it was probably intended that way (that is for Br3tt's scripts to be self-sufficient). I wouldn't know anyway, since I've never actually delved into them - it's only thanks to marc2003 that Br3tt's scripts were even included in SMP =)
Re: Spider Monkey Panel (foo_spider_monkey_panel) Reply #74 – 2019-02-08 05:00:59 I too, would like to heap many thanks upon TheQwertiest one for this component. I do believe it will be quite fun once I figure out how to write scripts. For now though I just have a minor, issue / question / request. (An issquesest?) If one (me) did not want to see the SMP Playback Statistics in track properties, how could one (I) turn display of them off? Might it please be possible? (We looked for options)The thing is with 'Selection Properties' (DUI) element, all stats are lumped / jumbled together under 'Other' along with official Playback Statistics (foo_playcount) component. So I guess that is limitation of the element. However the original PS 'Rating' (displayed as stars) is gone altogether, replaced by SMP 'Rating' (with no stars, because not using it) - not very complementary. I'd prefer to see my original ratings.Not sure what / if you can do anything about this, but mentioning just in case.(Of course, one could design a far superior 'Selection Properties' element with this very fine component. Even so... Edit: and I just found the 'properties.txt' sample after posting, typical!)Cheers Last Edit: 2019-02-08 05:39:04 by anamorphic