Sorry for asking such a simple question, but how can I enable "Find more from Album Artist" in the song context menu?
I searched for an hour but could'nt find something.
As a shortcut it is working but I would like to have it in the context menu.
Can it only by done using a script (window.actions.findMoreFromSameAlbumArtist)?
Find more from Album Artist
Moderators: jiri, drakinite, Addon Administrators
-
- Posts: 2149
- Joined: Fri Jan 14, 2005 1:45 am
- Location: Germany
- Contact:
Find more from Album Artist
SansaMonkey - for SanDisk Sansa and Rockbox Users
Please no PMs for Questions which should be asked in the Forum. Thx
Please no PMs for Questions which should be asked in the Forum. Thx
Re: Find more from Album Artist
As far as I can tell this isn't available in MediaMonkey 5.
Download MediaMonkey | License
Help: Knowledge Base | MediaMonkey for Windows 5 | MediaMonkey for Android
Lowlander (MediaMonkey user since 2003)
Help: Knowledge Base | MediaMonkey for Windows 5 | MediaMonkey for Android
Lowlander (MediaMonkey user since 2003)
-
- Posts: 2149
- Joined: Fri Jan 14, 2005 1:45 am
- Location: Germany
- Contact:
Re: Find more from Album Artist
Ok, Thanks.
Adding this to a actions_add.js replaces the "Find more from" context menu. How can I ADD the entry to window.uitools.findMoreMenuActions?
Maybe this topic can be moved to the scripts forum.
Adding this to a actions_add.js replaces the "Find more from" context menu. How can I ADD the entry to window.uitools.findMoreMenuActions?
Code: Select all
(() => {
window.uitools.findMoreMenuActions = {
albumartist: {
getMenuItems: function (track, collection) {
var type;
if (collection)
type = collection.getType();
var sA = track.albumArtist.split(';').map((a) => (a.trim()));
var retval = [];
sA.forEach(function (a) {
retval.push({
title: function () {
if (inArray(type, ['video', 'tv']))
return _('Director') + ': ' + a;
else
return _('Album Artist') + ': ' + a;
},
noAccessKey: true,
visible: function () {
return (!!a);
},
icon: 'artist',
execute: function () {
uitools.globalSettings.showingOnline = (track.id === -2); // online mode only for online source track
if (inArray(type, ['video', 'tv']))
navigationHandlers['director'].navigate(a, collection);
else
navigationHandlers['albumartist'].navigate(a, collection);
},
order: 21
})
});
return retval;
}
}
};
})();
SansaMonkey - for SanDisk Sansa and Rockbox Users
Please no PMs for Questions which should be asked in the Forum. Thx
Please no PMs for Questions which should be asked in the Forum. Thx
Re: Find more from Album Artist
Instead ofonkel_enno wrote: ↑Tue Apr 05, 2022 11:24 pm How can I ADD the entry to window.uitools.findMoreMenuActions?
Code: Select all
window.uitools.findMoreMenuActions = {
albumartist: {
// ...
}
};
Code: Select all
window.uitools.findMoreMenuActions.albumartist = {
// ...
}
-
- Posts: 2149
- Joined: Fri Jan 14, 2005 1:45 am
- Location: Germany
- Contact:
Re: Find more from Album Artist
Thanks alot 

SansaMonkey - for SanDisk Sansa and Rockbox Users
Please no PMs for Questions which should be asked in the Forum. Thx
Please no PMs for Questions which should be asked in the Forum. Thx