How do I pack an .mmip Extension?

To discuss development of addons / skins / customization of MediaMonkey.

Moderators: jiri, drakinite, Addon Administrators

drakinite
Posts: 965
Joined: Tue May 12, 2020 10:06 am
Contact:

How do I pack an .mmip Extension?

Post by drakinite »

Hello,
I found out that the existing mmip install files inside SampleScripts seem to be just zip files with a different extension. But whenever I try to pack my own extension and install it under Tools>Extensions>Add, it tells me "Invalid extension" without any additional information. I even tried unzipping one of the SampleScripts, re-zipping it into "test.mmip", and getting the same error. What am I doing wrong?
Image
Student electrical-computer engineer, web programmer, part-time MediaMonkey developer, full-time MediaMonkey enthusiast
I uploaded many addons to MM's addon page, but not all of those were created by me. "By drakinite, Submitted by drakinite" means I made it on my own time. "By Ventis Media, Inc., Submitted by drakinite" means it may have been made by me or another MediaMonkey developer, so instead of crediting/thanking me, please thank the team. You can still ask me for support on any of our addons.
Peke
Posts: 17446
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Re: How do I pack an .mmip Extension?

Post by Peke »

Hi,
What app you use to ZIP files?

I found that using Windows own Compress command to compress plugin files and then rename to MMIP worked.

Have you made sure that it is MM5 MMIP and not MMIP structure from MM4?
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
drakinite
Posts: 965
Joined: Tue May 12, 2020 10:06 am
Contact:

Re: How do I pack an .mmip Extension?

Post by drakinite »

At first I used Node.js's archiver package, which I believe uses zlib. But when that didn't work, I also tried using Window's built in archiver (right click > Send to... > Compressed/zipped folder), with no luck.

And yeah, I haven't had any MM4 extensions/plugins, I've only been using MM5 ones. I just attempted to unzip/re-zip one of the sample plugins with the exact same name and everything, but I still got the invalid extension error.
Image
Student electrical-computer engineer, web programmer, part-time MediaMonkey developer, full-time MediaMonkey enthusiast
I uploaded many addons to MM's addon page, but not all of those were created by me. "By drakinite, Submitted by drakinite" means I made it on my own time. "By Ventis Media, Inc., Submitted by drakinite" means it may have been made by me or another MediaMonkey developer, so instead of crediting/thanking me, please thank the team. You can still ask me for support on any of our addons.
Ludek
Posts: 4945
Joined: Fri Mar 09, 2007 9:00 am

Re: How do I pack an .mmip Extension?

Post by Ludek »

Isn't it that you have just one more folder level added?

e.g. https://1drv.ms/u/s!AqHzUrf30uprneJiMWL ... A?e=SjS1yN
is invalid package as it includes /Material Design (dark) Compact/info.json
i.e. remove the /Material Design (dark) Compact/ folder level to get info.json directly to root of the package
Post Reply