Search found 101 matches

by TIV73
Tue Aug 04, 2020 1:20 am
Forum: MediaMonkey 5 developer forum
Topic: Extension versioning requirements
Replies: 2
Views: 64

Re: Extension versioning requirements

Excellent, thanks for the clarification!
by TIV73
Mon Aug 03, 2020 12:49 pm
Forum: Beta testing, bugs, and feature requests (MM5)
Topic: Right Click Pop-Ups Missing Right Hand and Lower Margin
Replies: 13
Views: 208

Re: Right Click Pop-Ups Missing Right Hand and Lower Margin

I'd like to add that I'm experiencing the same issue in 2262 as well, but without having to move the application between screens. The issue just randomly occurs right after starting mediamonkey, about once out of 15 times I start it. Restarting mediamonkey or reloading the skin fixes the issue for a...
by TIV73
Sun Aug 02, 2020 2:58 pm
Forum: MediaMonkey 5 developer forum
Topic: ShowAllNodes add nodes
Replies: 2
Views: 80

Re: ShowAllNodes add nodes

Hey morrigan, I recently wanted to do something similar a while ago, so I wrote a quick extension for it. It's not exactly the same thing that you want to do, but it might give you some hints. The extension checks for the existence of a collection called NewColl, and if found, modifies its albums no...
by TIV73
Sun Aug 02, 2020 1:51 pm
Forum: MediaMonkey 5 developer forum
Topic: Extension versioning requirements
Replies: 2
Views: 64

Extension versioning requirements

Hi there, is there any documentation available on how versioning is handled for extension? I understand info.json should contain a version attribute, and if the version of an extension is higher than the version of an already installed extension with the same id, mediamonkey will upgrade it. What I'...
by TIV73
Sat Jun 27, 2020 3:28 am
Forum: MediaMonkey 5 developer forum
Topic: getURLContentAsync throwing exception on non-200 success response [#16757]
Replies: 1
Views: 248

getURLContentAsync throwing exception on non-200 success response [#16757]

Hi, I have a local webservice. If the webservice is queried via get request and doesn't have any content for the request, it responds with http 204 - No Content (and no content). For reference, if I'm using invoke-webrequest to access the service, I get this: Invoke-WebRequest -Uri $url StatusCode :...
by TIV73
Sun Nov 24, 2019 4:24 am
Forum: MediaMonkey 5 developer forum
Topic: Porting MM4 scripts
Replies: 57
Views: 60895

Re: Porting MM4 scripts

The tl;dr version - MM up to version 4 is built on a framework that uses outdated and/or deprecated technologies. They still work, and probably will do so for quite a while, but at some point something will break, and when it does, you don't want your application to depend on it. Issue is that you c...
by TIV73
Fri Jun 21, 2019 3:45 pm
Forum: MediaMonkey 5 developer forum
Topic: window object inaccessible from an extension context
Replies: 2
Views: 6365

Re: window object inaccessible from an extension context

Holy cow, that worked! Thanks a lot, that was literally the last (known) bug I wanted to get rid of in the extension for the current version.
by TIV73
Sat Jun 15, 2019 11:14 am
Forum: MediaMonkey 5 developer forum
Topic: window object inaccessible from an extension context
Replies: 2
Views: 6365

window object inaccessible from an extension context

Hi, it seems like the (supposedly) global window object is not available fron the config menu of an addon. Well, a window object is available, but it's not the same object as the one from the main player. To verify, open the config menu of an application via Tools > Extensions. Inside the config men...
by TIV73
Sun Jun 09, 2019 2:34 am
Forum: Beta testing, bugs, and feature requests (MM5)
Topic: localRequirejs tries to load incorrect path
Replies: 1
Views: 597

localRequirejs tries to load incorrect path

Hi, I recently added a configuration screen to an extension, the (simplified) layout looks like this: myAddon/myAddon.js: myAddon = { someFunction: function(){ alert('some function') } } myAddon/info.json: { "config": "config.js", ... } myAddon/config.js: localRequirejs('myAddon') window.configInfo ...
by TIV73
Sun Jun 02, 2019 4:40 pm
Forum: MediaMonkey 5 developer forum
Topic: Missing property in window.mainMenuItems
Replies: 1
Views: 4528

Missing property in window.mainMenuItems

Hi, I'm currently working on an extension that adds a new menu item which allows for easy access to extension actions. For that I'm creating a new menu with some submenus, add it to the mainMenuItems array, sort the array and force a refresh: let newMenu = { action: { title: function () { return _('...
by TIV73
Sat Jun 01, 2019 1:40 pm
Forum: Beta testing, bugs, and feature requests (MM5)
Topic: 2178: Exception when changing tracks too fast
Replies: 1
Views: 490

2178: Exception when changing tracks too fast

Hey everyone, when sequentially editing the same property of multiple tracks in fast succession while the property that's being changed is used for auto-sorting, it's possible to trigger a null reference exception. I haven't yet figured out the exact steps to reproduce the issue, but from the looks ...
by TIV73
Sat Jun 01, 2019 12:06 pm
Forum: Beta testing, bugs, and feature requests (MM5)
Topic: Wrong column is selected when clicking too close to the line border [#15720]
Replies: 1
Views: 798

Wrong column is selected when clicking too close to the line border [#15720]

Hey there, when trying to change the track properties by clicking on a track in the track list and pressing F2, it can happen that the wrong column is selected when clicking too close to the border of the respective line in the browser. Steps to reproduce: - Select a track in the track list - Press ...
by TIV73
Sun May 26, 2019 2:26 am
Forum: Beta testing, bugs, and feature requests (MM5)
Topic: 2178: Exception when calling getArrayBuffer()
Replies: 4
Views: 695

Re: 2178: Exception when calling getArrayBuffer()

Small update: I wanted to make sure that it's not just a handling issue related to async/await and tried it with promises: function WriteFile(fileName){ var exportObj = { "property1": "value1", "property2": "value2" } app.filesystem.saveTextToFileAsync(fileName, JSON.stringify(exportObj), 'UTF-8'); ...
by TIV73
Sat May 25, 2019 3:37 pm
Forum: Beta testing, bugs, and feature requests (MM5)
Topic: 2178: Exception when calling getArrayBuffer()
Replies: 4
Views: 695

Re: 2178: Exception when calling getArrayBuffer()

Isn't opening files for whatever reason kind of a common use case? It's not too far fetched to assume that after a file is read, it's modified by an external process and therefore needs to be loaded a second time. Besides, I'm not talking about reading the same file buffer twice in a row. What I mea...
by TIV73
Sat May 25, 2019 1:14 pm
Forum: Beta testing, bugs, and feature requests (MM5)
Topic: 2178: Exception when calling getArrayBuffer()
Replies: 4
Views: 695

2178: Exception when calling getArrayBuffer()

Hi there, I discovered some weird behavior when calling getArrayBuffer() on a file buffer. To reproduce run the following function: async function FileTest(){ var fileName = '[somefilename]' var exportObj = { "property1": "value1", "property2": "value2" } await app.filesystem.saveTextToFileAsync(fil...