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 - Zafar Iqbal

Pages: 1
1
Plugins / Re: Additional Tagging & Reporting Tools
« on: December 01, 2024, 05:26:39 PM »
I had completely overlooked/forgotten, that my main MusicBee installation is v3.6 from the forum. The portable I've lately also been testing with was 3.5 from official download page.

On portable 3.5
Standard rating always resets to 2,5 - even if I change nothing else
Using "Auto calculate threshold on startup" causes % fields to reset to 10% each
Overall more stable and predictable, with the exception of those 2 settings
No errors

Both of these settings appear to work fine, are remembered and I can change them and get the effect of it, for as long as the program is running. But resets after program restart.

On 3.6 however, Auto-Rate breaks and from then won't rate properly.

I'll see if I can get my library into v3.5. I actually don't use beta versions, but apparently managed to do it anyways.

Edit: I opened my main library in 3.5 (I made backups first!) and now, Auto-Rate is behaving like I described for 3.6 earlier. I feel like my library may have junk or something. Is there a guide for how to start over with a new library, while maintaining as much metadata as possible?

2
Plugins / Re: Additional Tagging & Reporting Tools
« on: December 01, 2024, 04:03:48 AM »
I agree. With v7, they got populated automatically with various (very small) values when I clicked on Calculate Threshold Now. But not in newer versions. If I set something manually (only whole numbers work) and then click Calculate Threshold Now, then they get cleared again.

I gave final release a try and in short, it's working worse for me compared to previous prerelease.
Settings are resetting more frequently.
Calculate auto-rate threshold on startup also breaks it now.
I get the error below when auto-rate threshold on startup is enabled

I downloaded portable and added few music files to a new library and it was as usual at first. After a while, I reset play count etc. and then it completely stopped working - till I made sure everything had a play count. But surely, not everything can always have play count (new stuff).
With the portable, both columns gets populated with numbers.

I get error in status bar during startup when auto calculate threshold on startup is enabled - this is from the log:

Quote
01-12-2024 03:54:22 - 10.0.19045.0 - 3.5.8698.34385P - System.ArgumentNullException: Value cannot be null.
   at System.Threading.Monitor.ReliableEnter(Object obj, Boolean& lockTaken)
   at MusicBeePlugin.PluginWindowTemplate.serializedOperation()
   at #=zu4Zx8AwXW_Fbz0RgnA==.#=zgqHaG_kL5IRH(Object #=zstMq00w=)

3
Plugins / Re: Additional Tagging & Reporting Tools
« on: November 30, 2024, 08:13:54 PM »
I've been testing some more and did some new findings:

Auto-rate when music is played works after I deleted settings file and reconfigured. This explains why it initially also seemed to work on the smaller audio files but then suddenly not on the proper ones (by then I had probably done some auto-rate on selected file, but can't remember).

I'm pretty confident but can't seem to find a precise pattern, but I think it's somewhat like before: if I manually auto-rate selected files (and I bet during startup as well), it will break. I'd then have to delete the settings file and reconfigure. If I just configure and leave it, it works.

Overall, it's better than v9.1 and I don't feel I need to revert to the old v7x. I would like to be able to auto-rate selected files though.

4
Plugins / Re: Additional Tagging & Reporting Tools
« on: November 30, 2024, 06:04:32 PM »
Thank you very much for your continuous dedication!

2,5 rating is probably because it resets and my library is at least 5 yeas old, so I don't know why it would say I have no play counts. Music Explorer tells me I have 34.7k plays.

The latest pre-release does not give me any error pop ups. Hurray!
And with the exception of the very first time I checked, it has so far not reset settings. Double hurray!!

I first tried having a look using some few secs long audio files. Ranking appeared to behave as expected. I spend a good amount of time with just testing.
I then shifted to proper audio files but suddenly it doesn't. I deleted the settings file and reconfigured but behavior is still he same:

If I enter only percentages for threshold, I immediately get 5 stars on everything.
If I enter values under the "Set the threshold for rating" fields, I get bomb.

I then tried to clear skip and play count, and also cleared rating and auto-rate values, from the shorter files. My thinking was, perhaps something wasn't allowing auto-rate to work properly. But it's still doing the same. "Set the threshold..." = bomb. Procentages = 5 stars.

Not sure if it's of any help, but here's a screenshot of how I've configured Auto-Rate.



Ps. I've looked but couldn't find information. Can both columns be configured simultaneously? If I enter values under "Set the thresshold..." and click on "Calculate threshold now", the fields gets cleared.

5
Plugins / Re: Additional Tagging & Reporting Tools
« on: November 29, 2024, 11:07:58 PM »
Something si off with my MusicBee and I can't say what. I've been trying to find/solve the issue for almost a week.

I use v7.something of Additional Tagging and Reporting Tools plugin. I don't really use anything else than Auto-Rate. When MusicBee had an update not too long ago, I updated the plugin as well to v9.1. I had issues with the new one. It resets settings and ranking was either bomb or 5 stars. Overall I didn't t spent too much time with it and reverted to older version of the plugin.

With v7.x the ranking behaves as expected. However, it tends to stop working after a while. I used to think it would be after auto-rating during startup or triggering auto-rate on selected files manually, but I no longer think that's the case.

The problem is noticeable in two ways (v7.x):
1. Standard rating for never played tracks gets reset to 2,5 - No other setting changes.
2. Once that setting shows as being reset, I can no longer manually trigger auto-rate on selected files. If I do, I get a popup with an error.

I went on here to write about it, saw there's a new pre-release and just tried it. It didn't help.

I disabled and uninstalled old plugin.
I checked the folder for residue files (in Roaming\MusicBee. I don't know if there is something somewhere else as well).
Restarted MusicBee
Installed latest prerelease
Restarted MusicBee
Configured Auto-Rate
Restarted MusicBee
Went into Auto-Rate and Standard rating is reset and all % fields have been set to 10%, which is not how I configured it.
Played with it some more and eventually got it to save and rank, but ranking is like earlier latest version: either bomb or 5 stars. At one point, I could get it to give a file 4 stars when I set 100% on only 4 stars. But it broke soon after with error message pop up.

v9.1
MusicBee v3.6.9065.26432D  (Win10.0), 29 nov 2024 23:30:

System.NullReferenceException: Object reference not set to an instance of an object.
   at MusicBeePlugin.PluginWindowTemplate.switchOperation(ThreadStart operation, Button clickedButtonParam, Button okButtonParam, Button previewButtonParam, Button closeButtonParam, Boolean backgroundTaskIsNativeMbParam, PrepareOperation prepareOperation)
   at MusicBeePlugin.AutoRateCommand.buttonOK_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


v9.2 pre-release
MusicBee v3.6.9065.26432D  (Win10.0), 29 nov 2024 23:58:

System.DivideByZeroException: Attempted to divide by zero.
   at System.Decimal.FCallDivide(Decimal& d1, Decimal& d2)
   at System.Decimal.op_Division(Decimal d1, Decimal d2)
   at MusicBeePlugin.AutoRate.buttonNormalizePercentages_Click(Object sender, EventArgs e) in D:\Source\Repos\Additional-Tagging-Tools\Plugin\AutoRate.cs:line 1242
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

6
Plugins / Re: Additional Tagging and Reporting Tools
« on: August 07, 2019, 09:26:01 PM »
How is auto rating supposed to work? It writes to the costum fields, but I can't get it to rate.
select all files in your library (ctrl+a), define what percentage of your library must have desired rating, setup tag to store autorating (it may be 'rating' tag or custom tag) , then click 'set ratings of selected files' button.

It's working now. Thanks!

The problem was auto ratings being set to be stored in Custom9. I must have changed it early on and not realizing rating wouldn't show up normally.

7
Plugins / Re: Additional Tagging and Reporting Tools
« on: August 01, 2019, 04:45:57 AM »
How is auto rating supposed to work? It writes to the costum fields, but I can't get it to rate.

Pages: 1