Installation Packages [MM3]

This forum is for questions / discussions regarding development of addons / tweaks for MediaMonkey for Windows 4.

Moderators: Gurus, Addon Administrators

Peke
Posts: 18526
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Re: Installation Packages [MM3]

Post by Peke »

trixmoto wrote:However, when my update URL points to a dynamically built file...
http://trixmoto.net/mm/check.php?f=backup
This is already fixed and will be included in 3.1 Beta.
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
Image
How to attach PICTURE/SCREENSHOTS to forum posts
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Re: Installation Packages [MM3]

Post by trixmoto »

Ok, thanks for letting me know Peke. :)
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Peke
Posts: 18526
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Re: Installation Packages [MM3]

Post by Peke »

Just to let you know that I have updated Installation Packages WIKI to include current description/functionality for Options button in Extensions Dialog.

Hint: Options form needs to be created within script as MM do not Create it automatically.
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
Image
How to attach PICTURE/SCREENSHOTS to forum posts
gege
Posts: 866
Joined: Tue Sep 05, 2006 2:10 pm
Location: Brazil

Re: Installation Packages [MM3]

Post by gege »

Peke wrote:... I have updated Installation Packages WIKI to include current description/functionality for Options button in Extensions Dialog.
Did you? I couldn't find anything regarding this in that page :-(

"Recent changes" link shows that only rovingcowboy has messed with the wiki recently...
ZvezdanD
Posts: 3270
Joined: Thu Jun 08, 2006 7:40 pm

Re: Installation Packages [MM3]

Post by ZvezdanD »

I couldn't find anything either.
Magic Nodes 4.3.3 / 5.2 RegExp Find & Replace 4.4.9 / 5.2  Invert Selection/Select None 1.5.1  Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1  Expand Child Nodes/Expand All 1.1.2  Event Logger 2.7  Filtered Statistics Report 1.6  Track Redirection & Synchronization 3.4.2  Restore/Synchronize Database 3.1.8 / 4.0.1  Find Currently Playing Track 1.3.2  Queue List 1.2.1  Add to Library on Play 1.0.1  Tree Report for Child Nodes 1.1.1  Update Location of Files in Database 1.4.5 / 2.3  Inherit Child Playlists 1.0.3  Add Currently Playing/Selected Track(s) to Playlist 1.2
Peke
Posts: 18526
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Re: Installation Packages [MM3]

Post by Peke »

I added some description in [HEADER] section of install.ini.
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
Image
How to attach PICTURE/SCREENSHOTS to forum posts
ZvezdanD
Posts: 3270
Joined: Thu Jun 08, 2006 7:40 pm

Re: Installation Packages [MM3]

Post by ZvezdanD »

It is not working for me. The Options button is enabled when I click on the name of my script in the Extensions dialog, but when I click on the Options button nothing is happening. And, by the way, it seem to me that ConfigurationProcedure is not optional as you stated, since the Options button is not enabled when I not specify this key. Tried 3.0.6.1190 and 3.1.0.1196.
Magic Nodes 4.3.3 / 5.2 RegExp Find & Replace 4.4.9 / 5.2  Invert Selection/Select None 1.5.1  Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1  Expand Child Nodes/Expand All 1.1.2  Event Logger 2.7  Filtered Statistics Report 1.6  Track Redirection & Synchronization 3.4.2  Restore/Synchronize Database 3.1.8 / 4.0.1  Find Currently Playing Track 1.3.2  Queue List 1.2.1  Add to Library on Play 1.0.1  Tree Report for Child Nodes 1.1.1  Update Location of Files in Database 1.4.5 / 2.3  Inherit Child Playlists 1.0.3  Add Currently Playing/Selected Track(s) to Playlist 1.2
Peke
Posts: 18526
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Re: Installation Packages [MM3]

Post by Peke »

You are right :( Something is not OK There I have managed to make use of it when making New UI Form each time.

I've added Mantis BUG to track this issue I would like to hear your suggestions.
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
Image
How to attach PICTURE/SCREENSHOTS to forum posts
ZvezdanD
Posts: 3270
Joined: Thu Jun 08, 2006 7:40 pm

Re: Installation Packages [MM3]

Post by ZvezdanD »

Peke wrote:Something is not OK

I've added Mantis BUG to track this issue I would like to hear your suggestions.
3.1.0.1207 and still nothing... :( What kind of suggestion do you want? You just need to implement that button.
Magic Nodes 4.3.3 / 5.2 RegExp Find & Replace 4.4.9 / 5.2  Invert Selection/Select None 1.5.1  Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1  Expand Child Nodes/Expand All 1.1.2  Event Logger 2.7  Filtered Statistics Report 1.6  Track Redirection & Synchronization 3.4.2  Restore/Synchronize Database 3.1.8 / 4.0.1  Find Currently Playing Track 1.3.2  Queue List 1.2.1  Add to Library on Play 1.0.1  Tree Report for Child Nodes 1.1.1  Update Location of Files in Database 1.4.5 / 2.3  Inherit Child Playlists 1.0.3  Add Currently Playing/Selected Track(s) to Playlist 1.2
Peke
Posts: 18526
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Re: Installation Packages [MM3]

Post by Peke »

Button is already there

Code: Select all

[Header]
ConfigurationScript=<ConfigurationScript>
ConfigurationProcedure=<ConfigurationProcedure>
but Scripter needs to Use NewForm to create Config Dialog inside ConfigurationProcedure

The suggestion I need is that respectable Scripters like you ZvezdanD comment on Suggestions made/proposed in BUG and that dev team can make it more functional to Scripters. Which means that priority rises to Urgent (post 3.1) or even immediate if there is time to squeeze in 3.1.

P.S. Nadam se da sam bio bolji u opisu? (Translated: I hope I have elaborated things a little?)
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
Image
How to attach PICTURE/SCREENSHOTS to forum posts
ZvezdanD
Posts: 3270
Joined: Thu Jun 08, 2006 7:40 pm

Re: Installation Packages [MM3]

Post by ZvezdanD »

Peke wrote:P.S. Nadam se da sam bio bolji u opisu? (Translated: I hope I have elaborated things a little?)
Hey, my country-fellow, thank you for you description. However, I already know that what you are saying and already implemented exactly what you described. Please take a look on my Magic Nodes script. It has this implemented immediately after you posted information about .ini file and those Configuration keys. But, as I said, it doesn't work. The Options button is enabled when I click on my script in list, but when I click on that button nothing is happening. I added new dialog procedure stated in ConfigurationProcedure, I added new form with Set oForm = SDB.UI.NewForm, ... What else, I should do?

Speaking about suggestions, I already told you what I am expecting from this through PM. Let me tell you again. Simplest thing for us, script developers is if your program automatically detect out options sheet and display it together with the already known Options dialog without a need to create some new dialog box. Our scripts already have registered InitProcedure and SaveProcedure for options sheet, you just need to open the Options dialog with displayed this specific option sheet when some user click on that button.

But, I am not lazy and I implemented your suggestion, I added new dialog box, modified .ini... Without success. :(
Magic Nodes 4.3.3 / 5.2 RegExp Find & Replace 4.4.9 / 5.2  Invert Selection/Select None 1.5.1  Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1  Expand Child Nodes/Expand All 1.1.2  Event Logger 2.7  Filtered Statistics Report 1.6  Track Redirection & Synchronization 3.4.2  Restore/Synchronize Database 3.1.8 / 4.0.1  Find Currently Playing Track 1.3.2  Queue List 1.2.1  Add to Library on Play 1.0.1  Tree Report for Child Nodes 1.1.1  Update Location of Files in Database 1.4.5 / 2.3  Inherit Child Playlists 1.0.3  Add Currently Playing/Selected Track(s) to Playlist 1.2
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Re: Installation Packages [MM3]

Post by trixmoto »

I've not tried implementing one yet, but I disagree that they should automatically be the same as the full options sheet. There are many situations in my scripts where I would a different options sheet initially than in the main options, especially with AutoDJ scripts or scripts with more than one option sheet (ie: MonkeyRok). Although the possibility to use the same sheet for this button and the options menu would be useful.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
ZvezdanD
Posts: 3270
Joined: Thu Jun 08, 2006 7:40 pm

Re: Installation Packages [MM3]

Post by ZvezdanD »

trixmoto wrote:or scripts with more than one option sheet
Actually, I think that for such cases with multiple sheets, it is even better to display the built-in Options dialog then a script created dialog, at least until MM developers don't add new Tab Panel control as I already suggested before.
trixmoto wrote:Although the possibility to use the same sheet for this button and the options menu would be useful.
Well, my Magic Nodes script works exactly like that - it use same part of the code with same controls for the options sheet and for the new dialog. Just take a look on the fourth screenshot: http://www.mediamonkey.com/forum/viewto ... 31#p179531.

By the way, the solution could be very simple for both of us. You have a possibility to specify your Options dialog in the .ini file. MM program should check if you really specified it with ConfigurationScript and ConfigurationProcedure and if it found it, it should execute your dialog procedure. But if you don't specify ConfigurationScript and ConfigurationProcedure, MM should open its built-in Options dialog with displayed the particular option sheet.
Magic Nodes 4.3.3 / 5.2 RegExp Find & Replace 4.4.9 / 5.2  Invert Selection/Select None 1.5.1  Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1  Expand Child Nodes/Expand All 1.1.2  Event Logger 2.7  Filtered Statistics Report 1.6  Track Redirection & Synchronization 3.4.2  Restore/Synchronize Database 3.1.8 / 4.0.1  Find Currently Playing Track 1.3.2  Queue List 1.2.1  Add to Library on Play 1.0.1  Tree Report for Child Nodes 1.1.1  Update Location of Files in Database 1.4.5 / 2.3  Inherit Child Playlists 1.0.3  Add Currently Playing/Selected Track(s) to Playlist 1.2
Peke
Posts: 18526
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Re: BUG#4972 Installation Packages [MM3]

Post by Peke »

I see thx Zvezdan :( It looks that I need to create new example script to test this as last time I have tested it it worked.
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
Image
How to attach PICTURE/SCREENSHOTS to forum posts
ZvezdanD
Posts: 3270
Joined: Thu Jun 08, 2006 7:40 pm

Re: BUG#4972 Installation Packages [MM3]

Post by ZvezdanD »

1211 and still nothing :(

Why don't you remove this button when it is not working at all? For almost two years you have a fake control.
Magic Nodes 4.3.3 / 5.2 RegExp Find & Replace 4.4.9 / 5.2  Invert Selection/Select None 1.5.1  Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1  Expand Child Nodes/Expand All 1.1.2  Event Logger 2.7  Filtered Statistics Report 1.6  Track Redirection & Synchronization 3.4.2  Restore/Synchronize Database 3.1.8 / 4.0.1  Find Currently Playing Track 1.3.2  Queue List 1.2.1  Add to Library on Play 1.0.1  Tree Report for Child Nodes 1.1.1  Update Location of Files in Database 1.4.5 / 2.3  Inherit Child Playlists 1.0.3  Add Currently Playing/Selected Track(s) to Playlist 1.2
Post Reply