How do I pack an .mmip Extension?

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

Moderator: jiri

drakinite
Posts: 118
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?
Peke
Posts: 13461
Joined: Tue Jun 10, 2003 7:21 pm
Location: Serbia
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,
Pavle
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
How to add SCREENSHOTS to forum
drakinite
Posts: 118
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.
Ludek
Posts: 3421
Joined: Fri Mar 09, 2007 9:00 am
Contact:

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