Page 1 of 2

Disable right panel?

Posted: Thu Sep 23, 2021 10:21 pm
by Robbieboy65
Hi everyone, I upgraded to MM 5 just recently and I'm enjoying it very much, despite a few differences to get used to.

One difference I have encountered occurs when I am creating playlists: the right panel pops up when I am creating playlists, as well as when I am making a 'child' playlist from a 'parent' one. As I don't particularly want this right panel appearing when creating playlists, I am just wondering if there is a setting available that will disable the right panel. Thanks in advance to anyone who can help.

Re: Disable right panel?

Posted: Thu Sep 23, 2021 10:37 pm
by Lowlander
No, there is no setting for this.

Re: Disable right panel?

Posted: Thu Sep 23, 2021 10:38 pm
by Robbieboy65
Thank you.

Re: Disable right panel?

Posted: Fri Sep 24, 2021 2:26 pm
by Ludek
There actually is addon for this, just copy /sampleScripts/sendToPlaylistInBackground/ to /scripts/sendToPlaylistInBackground/ and it should do the trick.

EDIT: Sorry, this probably works only when sending tracks to existing playlist, not when creating new playlist, the addon would need to be tweaked a little.

Namely editing its actions_add.js and replace the current code

Code: Select all

(() => {
    if (!window.uitools._origShowPlaylistEditor)
        window.uitools._origShowPlaylistEditor = window.uitools.showPlaylistEditor;

    window.uitools.showPlaylistEditor = function (plst, isNew, origin) {
        if (!plst.isAutoPlaylist && window.uitools.getCanEdit()) {
            if (origin == 'sendToMenu' && !isNew) {
                //if called from sent to menu then do not show the editor and just show a toast message that an operation was performed in the background.
                //	Cannot include "Undo", because the actual playlist editing operation is done elsewhere in the code
                uitools.toastMessage.show('Playlist edited in the background.', {
                    disableUndo: true,
                    disableClose: true,
                    delay: 3000
                });
            } else {
                window.uitools._origShowPlaylistEditor.apply(this, arguments);
            }
        }
    }
})();
just by:

Code: Select all

    window.uitools.showPlaylistEditor = function (plst, isNew, origin) {
	// nothing
    }    
This will silent the showPlaylistEditor funtion and the panel won't be shown anymore.

Re: Disable right panel?

Posted: Fri Sep 24, 2021 4:23 pm
by Robbieboy65
Thanks for your time and trouble, Ludek. I’m afraid that this is well beyond my level of knowledge and I don’t have a clue how to do this. Is it possible to simplify this into short, simple steps? Again, thanks for your assistance.

Re: Disable right panel?

Posted: Mon Sep 27, 2021 1:14 pm
by Ludek
Installing this addon will do the trick: https://www.dropbox.com/s/lfcfiya1zo86y ... .mmip?dl=0

Re: Disable right panel?

Posted: Tue Sep 28, 2021 2:45 am
by Robbieboy65
Thank you, Ludek. I downloaded this addon and saved it to my desktop (as a .mmip file). I tried double-clicking it on the desktop and I also tried to add it via tools> addons. Both times I got the same error message:

"Invalid addon! Error reading zip file"

Could you please let me know where I am going wrong with this?

Many thanks.

Re: Disable right panel?

Posted: Tue Sep 28, 2021 9:34 am
by Lowlander
Does the file have a .zip extension? If so change it to a .mmip extension: https://www.mediamonkey.com/support/kno ... ns-addons/

Re: Disable right panel?

Posted: Tue Sep 28, 2021 1:47 pm
by Robbieboy65
Hi, no it doesn’t. It has a .mmip extension.

Re: Disable right panel?

Posted: Tue Sep 28, 2021 1:49 pm
by Lowlander
I can confirm it doesn't work.

Re: Disable right panel?

Posted: Tue Sep 28, 2021 4:24 pm
by Peke
Hi,
Looks like it is not ZIP, but RAR file it can happen occasionally :)

Try this one disablePlaylistPanel.mmip

Re: Disable right panel?

Posted: Tue Sep 28, 2021 7:39 pm
by Robbieboy65
Thanks Peke, that one worked! I really appreciate it. Thanks to everyone who helped, too!

Re: Disable right panel?

Posted: Tue Apr 25, 2023 10:20 am
by junayo
It looks like I came a little late. I tried to download the addon mentioned by Pete. However, the link is to a site that is no longer active. Any chance of posting this addon to the official MediaMonkey addons site? Thanks.

Re: Disable right panel?

Posted: Tue Apr 25, 2023 10:20 am
by junayo
Oops! I meant Peke, not Pete.

Re: Disable right panel?

Posted: Tue Apr 25, 2023 1:03 pm
by Peke