Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Mayibongwe

Pages: 12 3 ... 76
Questions / Re: Disc Duration
« on: June 12, 2024, 06:28:24 PM »
is there a way to get the results in the format of 56:09 for discs that are less than an hour and 1:15: 00 for above an hour or even in the format of 00:00:00 (hour, minute, seconds)
It is possible, but to be honest, I'm not up for that task this evening - sorry.
See if you can play around with this formula below to get it to do what you want. You just need to insert the seconds in v3 in here:

Just wondering if it's possible to also split hours and days? Or I guess just hours would make the most sense, no need for days.
I think I finally got it!

$Split($Div($Mul($Add($Mul($Pad($Split(<Time>,:,1),2),60),$Split(<Time>,:,2)),<Play Count>),3600),.,1) hours $Mod($Split($Div($Mul($Add($Mul($Pad($Split(<Time>,:,1),2),60),$Split(<Time>,:,2)),<Play Count>),60),.,1),60) minutes $Mod($Mul($Add($Mul($Pad($Split(<Time>,:,1),2),60),$Split(<Time>,:,2)),<Play Count>),60) seconds

Plugins / Re: Crossfade Toggle (hotkey)
« on: June 12, 2024, 06:06:51 PM »
can you make plugin for show/hide hotkey top track panel?
That won't be possible, I'm afraid.
The current API does not support any modifications to MusicBee's internal panels.

You will unfortunately just have to hope your wishlist request gets fulfilled some day.
Is there a reason why you have to constantly enable and disable it?

A button or aa hot key option in music explorer to make appear and disappear Top Tracks Panel.
This is an excellent option. What about hotkey for show/hide top track panel?

Questions / Re: Continuous Playback Help
« on: June 12, 2024, 05:47:29 PM »
This plugin will help:

For some unknown reason, that topic is locked too🤔

Questions / Re: Disc Duration
« on: June 12, 2024, 05:40:20 PM »
Someone else might know of a condensed formula, but here it is in four virtual tags:

v1 Duration converted to seconds   =   $Add($Mul($Split(<Time>,:,1),60),$Split(<Time>,:,2))
v2 Unique Album Disc   =   <Disc#><Album><Album Artist>
v3 Total Duration per Disc   =   $Sum(<v1>,<v2>)
v4 Combined Disc Duration   =   $Split($Div(<v3>,60),",",1):$Sub(<v3>,$Mul($Split($Div(<v3>,60),",",1),60))

General Discussions / Re: MusicBee and OpenAI (ChatGPT)
« on: June 12, 2024, 12:25:50 PM »
...these text predictors are not artificial intelligence.
Artificial Intelligence, in and of itself, is a broad concept. However, I think Alan Turing* defined it best.
In his Turing Test**, he basically said that a machine passes as AI if the human assessing it cannot tell that they are interacting with a machine.

The first screenshot in my previous post: that reply from the spambot is astonishingly comprehensible and precise.
I think that's levels above ordinary text prediction algorithms - it didn't just spit out random phrases aimed at addressing the topic at a broad category.

Were it not for hiccup and his brilliant brains (which thankfully supersede that of the spambot for now :-), I wouldn't have known that it wasn't a legitimate person behind that reply.
Other than the spam links and the fact that it was a newly registered account, I'm wondering how else any one of us would have confidently*** determined it was a fake account.

Interesting question: if I create a new account tomorrow and use it to reply to this thread while advertising the company I work for, will I pass as a spambot?
It's getting to a point where it's improbable to tell machine from human - that's Turing's Test in full display.

Excuse the language, that's a clip from the same film mentioned below.


* hiccup mentioned him a couple of posts above
** There's an interesting movie about it for anyone who cares to watch: Ex Machina (2014)
*** Even at that, pay attention to hiccup's careful use of "I think this is just a spambot", haha.

Don't mind me, I'm just geeking out.

General Discussions / Re: MusicBee and OpenAI (ChatGPT)
« on: June 12, 2024, 08:09:56 AM »
I fear we are going to get involved in lengthy discussions with GPT spambots on the forum in the very near future.
Or perhaps it's all just for the better...
You know the old adage that says things first have to get worse before they can get better? Here's a classic case from the "very near future":

I think this is just a spambot that adds commercial links to older quotes.

Great pickup hiccup, I hadn't even noticed the hidden links at first. I must say: it's pretty genius what they're doing (amending old quotes).
Have you come across something like this before, or is this the first of its kind on this forum (that we've noticed)?

Up to now, I've only ever seen two techniques:
(1) them inserting a small-sized link at the very end of their posts.
(2) them editing their posts at a later date to insert the links for future readers.


Lots of emphasis on "fiction", but don't be fooled boys. Skynet has become self-aware!!

MusicBee Wishlist / Re: "Toggle Crossfade" hotkey and panel button
« on: June 11, 2024, 09:10:21 PM »
All the functions needed to set up the hotkey as a plugin were already available, so I have created one here:

I just would like to bring up this topic again - especially the wish for an additional "Crossfade Toggle Button" in the player controls bar.
The current API does not provide access to the player controls bar, but you can link the above hotkey to some toolbar button which you can dock somewhere in the top panel.

Plugins / Crossfade Toggle (hotkey)
« on: June 11, 2024, 09:06:32 PM »
Download it from the add-on link here

In the future, I will convert this plugin to a generalized hotkey provider, as and when the requests come up.
The crossfade hotkey was requested a while back - I found this link from a recent wishlist request from another separate topic which I haven't linked here.

Maybe I'm missing something, but I couldn't find the Toggle Crossfade hotkey in the list.

The entire code for anyone interested in taking a peak.
using System;

namespace MusicBeePlugin
    public partial class Plugin
        private MusicBeeApiInterface mbApiInterface;
        private PluginInfo about = new PluginInfo();

        public PluginInfo Initialise(IntPtr apiInterfacePtr)
            mbApiInterface = new MusicBeeApiInterface();
            about.PluginInfoVersion = PluginInfoVersion;
            about.Name = "Crossfade Hotkey Toggle";
            about.Description = "Toggles the on and off state of the crossfade sound effect";
            about.Author = "Mayibongwe";
            about.TargetApplication = "";
            about.Type = PluginType.General;
            about.VersionMajor = 1;
            about.VersionMinor = 0;
            about.Revision = 0;
            about.MinInterfaceVersion = MinInterfaceVersion;
            about.MinApiRevision = MinApiRevision;
            about.ReceiveNotifications = ReceiveNotificationFlags.StartupOnly;
            about.ConfigurationPanelHeight = -1;

            return about;

        public void ReceiveNotification(string sourceFileUrl, NotificationType type)
            switch (type)
                case NotificationType.PluginStartup:
                mbApiInterface.MB_AddMenuItem(null, "Player: Toggle Crossfade On/Off", hotkeyHandler);

        public void hotkeyHandler(object sender, EventArgs e)
            bool isCrossfadeOn = mbApiInterface.Player_GetCrossfade();
            switch (isCrossfadeOn)
               case true:

               case false:

        public bool Configure(IntPtr panelHandle)
            return false;

Questions / Re: shuffling tracks
« on: June 11, 2024, 08:38:30 PM »
Thank you for unlocking the topic psychoadept.
It was very strange and rude of the OP to lock the topic having gotten a response and not saying anything back.
If it was indeed locked intentionally, then I shall keep a mental note not to bother replying to any of his future posts.

MusicBee Wishlist / Re: Artist Artwork PopUp-Window on Doublecklick
« on: June 11, 2024, 07:20:03 PM »
In which tab/layout/panel would you be double-clicking these artist thumbnails from?
If I'm not mistaken, double-clicking on artist thumbs anywhere in MusicBee only serves one purpose. i.e. playing all the selected artist's songs.

More often than not, and unless you retrieve your own thumbnails, the ones retrieved by default are low-res and undeserving of a full-screen view, in my opinion.

Questions / Re: shuffling tracks
« on: June 11, 2024, 07:11:54 PM »
Is it an autoPlaylist? Please share a screenshot of your:

(1) playlist settings
(2) Edit > Preferences > Now Playing

When you repeat the same process, does it still shuffle the first album only?
(try it with the same albums and playlist from above, and then with different ones)

Tips and Tricks / Re: MusicBee's "hidden" features
« on: June 10, 2024, 06:07:13 PM »
But if the tags in the music files themselves are now wrong, what use is having the previous values saved in MusicBee's database?
How do you use that to save the correct values back in the files?  :-\
@Joe King, if you succeed, then you will have to re-write tags in tracks by database tags (select all tracks (ctrl+A), tools> advanced> synchonise tags).
This function forces the data stored in fields in the MusicBee database to be written to the files (where applicable).
This is probably not something most people will ever have to use, but I believe it deserves a shout-out here.

This should help; follow the link below and report back.

It sounds easy, but if it's what I think it is, then this is actually one of the hardest MusicBee puzzles I've personally had to solve thus far.
A link to an identical problem from the past:
What makes this kind of puzzle particularly hard to solve is that what the template editor shows is not what goes on behind the scenes.

Edit: I was just about to reference the same link as karbock.

Questions / Re: How can I edit a skin?
« on: June 09, 2024, 07:51:19 PM »
Is there an alternative way?  If so, it's not mentioned anywhere in that tutorial.  I get the impression that I will not be able to edit the color as shown in my posted screenshot.
It is possible, but the only way to do that is with access to the original source files.
You will have to provide your own dark shaded image for the player panel, and then recompile the skin.

The source files have been made available for download here:

The background.png file is the one you have to edit.

Plugins / Re: LyricsReloaded (Latest)
« on: June 09, 2024, 02:45:31 AM »
Somehow I am assuming you are the kind of guy who is up for a challenge.
Here's a challenge. (or probably more some sort of consideration about the near future of lyrics plugins)
I happen to be such a guy indeed :-)
That's an interesting prospect I've thought about in the past too.
It had occurred to me a couple of years back when I'd seen MusicBee's auto tag > Identify Track (by analyzing sound signature) feature.

It would be something identical to Google's voice searching technique which appears to have been introduced back in 2010.
With speech recognition algorithms having been around for a while, I've been surprised myself that I haven't came across any lyrics generating sites making use of them.
I guess it must be easier said than done, or available in paid versions as boroda mentioned, or just largely unreliable maybe, as far as accuracy goes). Worth a look indeed.

Pages: 12 3 ... 76