SongKong Jaikoz

SongKong and Jaikoz Music Tagger Community Forum

SongKong Pro 4.3 hangs?

Today, I installed SongKong Pro 4.3, and let it Fix Songs.

Before I went out the door, I saw it wasnt making any progress further.
I thought, I’ll just let it run, and see how it turns out, when I’m back at the pc.

3 hours later it was still at that point.

So I did a reboot, let ccleaner run to clean up files and fix errors, tried it again, but at a sudden moment it looks like it still hangs.

Although, its not really hanging, cause the program responds, when I click Stop, or Pause/Continue button.

It just doesnt show its making progress.
I didnt had this issue with SongKong Pro 4.2, trial-version, 2 days ago.
Is this just coincidence?

My internet-connection is just acting normal with, 20ms ping, down/up 5mbps/1mbps.

I’ve uploaded the reports from my 3 attempts here (since when I try to attach the zip-files to this message, I get some database error of the forum):

I can confirm, I don’t have this issue with SongKong Pro 4.2.

It just finished, with same settings:

I uploaded the report here, maybe you can see the difference between the failed attempts report-wise of 4.3 vs. 4.2:

Hi, thanks for the files. Im sure you are correct that there is some issue in 4.3, there was alot of changes in 4.3 and it looks like I have introduced a bug. But I need your support files to find the error and unfortunately the reports you uploaded don’t include this information, could you please run Help:Create Support Files and upload the zip file it creates.

Support-files uploaded.

version 4.2:

and of version 4.3 here:

Hi,

So Ive looked at the logs and SongKong seems to be having a problem acquiring database connections to the internal database that SongKong uses.

One reason this can happen is if there are two versions of SongKong running at the same time. To totally rule this out can you please reboot your PC (thus ensuring SongKong not running) and run SongKong again.

Let me know either way, and if it still fails, resend the support files

There may be a coding error but at the moment it is not clear at all because nothing specific has changed in this area. My only thought is that something has changed requiring more connections to be requested that can be handled. But its weird because on my base test of running against 20,000 filers Ive had no such error.

I may have found the issue, some new code added in 4.3 is creating db connections but not closing them, I expect will have a new release out tomorrow.

[quote=snowseals]
So I did a reboot, let ccleaner run to clean up files and fix errors, tried it again, but at a sudden moment it looks like it still hangs.
[/quote] 8)

Thank you for doing that. I now thing it is the dbconnection issue noted in my lst post and I will do a new release for this tomorrow

SongKong 4.4 released, fingers crossed this will solve your issue, please let me know as soon as possible

I will run it in about an hour, I’ll let u know today, how it went.

But before, I do have to mention you the following:
Since I want to compare SK’s results Mood-wise with beaTunes,
I’ve changed the setting of SK under Save, MP3 Metatag version to ‘Same as or v24’.

According to the creator of beaTunes that’s needed so it can write in the Mood-tag. link here: http://help.beatunes.com/discussions/questions/5013-mood-tag#comment_40976017
I believe SK already could write Moods with the default setting (which is ‘Same as or v23’ right?) but alas.

Anyhow, I’ve let SK run again, with this only setting changed, and after 3 hours (blazingly fast! compared to beaTunes) it finished.
When I went into Mp3tag to view the Mood-tag/field, they’re showing. Yay!

But… I also notice some of the Genre-tags are changed to numbers…?
Like genre ‘House’ changed into the number ‘35’, genre ‘Jungle’ changed into ‘11’.
Not all tracks have been changed Genre-wise though.

I do have some Jungle tracks made by a friend of mine, for fun, so no official releases, and they havent changed in the Genre-tag.
So my bet, only the one that were found, got changed.

I know for sure, this has to do with that Setting I mentioned earlier.
Because right before I started to decide to let SK run again (with ‘Same as or v24’ setting), I was making playlists in beaTunes, based on Genre, to get an overview how many were Mood-tagged. At that moment all the Genres were still showing normal, atleast in beaTunes.
Luckily, the numbers weren’t random, so I could easily rename the tag Genre to the right genre again, based on their directory (which I have divided in Genres 8)) .

Now the question remains though,
Was beaTunes responsible for changing the Genre to Numbers while I was creating Playlists of them?
Or was it SongKong, by changing that Save setting to ‘Same or v24’ MP3 Tag version-wise?

I mean, the times I’d let SongKong run using the default setting, ‘Same as or v23’ I think(?), This error didn’t occur.

NOTE:
The only setting checked was ‘Update Mood and other acoustic attributes such as BPM (SK Pro only)’
The setting ‘Update Genres’ was disabled for ex.

Used version: SongKong 4.2 (Pro)

I’ll let the new SongKong 4.4 run in a few (with that ‘Same as or v24-setting’ and Genres renamed back to their original Genre-tag) and check what the outcome is/if they change back to Numbers.

Hi, Beatunes is correct that ID3v23 does not have a standard field for MOOD . SongKong can store the MOOD for ID3v23 but it is stored in a custom TXXX:MOOD field, whereas if you use ID3v24 then it is added to the better supported TMOO field.

Now Genres should not be actually updated or added (because they are somewhat subjective) unless the Update Genres is enabled. However if you are asking SongKong to convert the tag from ID3v23 to ID3v24 then it has to convert all existing values and this includes existing genres, and it is valid for the genre to either be text or a number representing the original ID3v1 Genre list if the text mapped to such a value.

But you can force SongKong to always write text by enabling Save Songs so they work on iTunes on the Save tab but Im not sure if this this only has affect when SongKong is actually adding new data (rather than converting data from V23 to V24). But if the files have now already been converted to V24 format and you have fixed the genre then the problem wont reoccur for these files, it could occur for new files that were not matched in SongKong 4.2 but were matched in SongKong 4.4 though if the Save Songs so they work on iTunes option does not have the desired effect.

v4.4 Finished / Works!

Numbers are back in Genre :confused:
I’ll rename them and put them thru SK 4.4 again, with that Itunes option Enabled u talk about, to see what happens…

Glad that it works. I’m a bit surprised in numbers are back for files that were matched previously, is that the case or it just newly matched files ?

I really dont know, I haven’t looked that in-depth to the tracks itself, that got their Genre-tag changed to Nr.tag, so to speak.
I just used the same Track-collection, once again.

Mind you, before I started processing these files with SongKong (and beaTunes) I’ve converted all tags with Mp3tag to ID3v2.4 already:

I just changed the option in the Save-tab of SongKong, to make sure it wouldn’t change it back to ID3v2.3.

Within 1,5 hour from now on, SongKong 4.4 Pro should be done.
I’ll let u know if their Genres changed this time or no.

No more numbers in Genre-field :smiley:

But…
As u described above, this could be because I already matched them with the database.

I’ll try it out on the backup-folder, which is a direct copy of my track-collection, before starting to use beaTunes and SongKong in search of Mood.

Finished on a copy of the backup-folder; no numbers in Genres tag, just Genres :smiley:

Mind you,
Those weren’t converted from ID3v2.3 to ID3v2.4 before with Mp3tag.

Options checked in SongKong:

  • Rematch
  • Update Mood
  • Same as or v24
  • Save songs so they work best with iTunes

I’ll delete this folder, make a new copy of the backup-folder, convert them to ID3v2.4, before I run SongKong to be sure.

I can confirm, Enabling the option of ‘Save songs so they work best with iTunes’ has the desired effect.

No more Genre-numbers, just text, whether the ID3-tags are converted from ID3v23 to ID3v24 before, or not 8)

Great, thanks for checking this out so thoroughly