SongKong Jaikoz

SongKong and Jaikoz Music Tagger Community Forum

Noob help: Can i achieve my goals with SongKong and if so how?

Hi, now added this feature in SongKong 11.8

1 Like

i missed your message. i AM using the songkong docker container version.

i’ve realised I’m having an issue with the mask. when using the rename files function and it has to create the first letter of the artist for a folder to file it under, for example “deadmaus”, it doesn’t make sure that the letter is a capital so i am seeing folders such as:

B
C
d
D
E
f
F
etc

My files are stored on a Btrfs, Synology (linux based) system, so it respects capital/non-capital letters and creates both.

how can i modify the artist mask to always create capitals for the first letter, Paul?

I’m also seeing this error, at least when using SK container version:
Invalid Javascript Mask Eval …
i’ve created support files

I have experienced another issue. (i’ve created support files)
so i processed some soundtracks but SK gave me the japanese title for the album for my ‘Tenchu 1 - Stealth Assassins’ album. when i went to the musicbrainz page, for the title, it said Tenchu (translated). is it possible to tell SK to always use translated/english data/titles?

i also have Titanfall 2 (2016) (FLAC) and Titanfall 2 (Bonus Tracks) (MP3) folders but SK didn’t match them. looking at the metadata in the songs there isn’t much to go on, but can SK utilise the folder names and search for a match that way?

Simply use the Javascript function toUpperCase(), so in !Ste - Artists mask modify the writeArtist() function from

function writeArtist(type)
{
   return r(type
    + "/"
    + ifnotempty2(ignoreThe(albumartist).substring(0,1),ignoreThe(artist).substring(0,1),'/')
    + ifnotempty2(albumartist,artist,'/')
    + formatReleaseType()
    + ifnotempty(album + ' ' + brackets(yearOnly(year)),'/')
    + ifmultidisc(squareBrackets('CD' + pad(discno,2) +  formatSubtitle(subtitle)) + ' ')
    + ifnotempty(pad(trackno,2),' - ')
    + ifnotempty(title,' ') 
    + squareBrackets(formatTrackArtist()))
}

to

function writeArtist(type)
{
   return r(type
    + "/"
    + ifnotempty2(ignoreThe(albumartist).substring(0,1).toUpperCase(),ignoreThe(artist).substring(0,1).toUpperCase(),'/')
    + ifnotempty2(albumartist,artist,'/')
    + formatReleaseType()
    + ifnotempty(album + ' ' + brackets(yearOnly(year)),'/')
    + ifmultidisc(squareBrackets('CD' + pad(discno,2) +  formatSubtitle(subtitle)) + ' ')
    + ifnotempty(pad(trackno,2),' - ')
    + ifnotempty(title,' ') 
    + squareBrackets(formatTrackArtist()))
}

So I thought you were using on the mac. So you if you are using SongKong directly on the Synology and the files are also on the Synology then Samba does not matter but I dont know what the issue is.

1 Like

Hi, it failed processing this file

/music/Audio Library/!To Organise/!SORTED Library Workflow/4 SORTED LIBRARY/(2) 01 Outta My Life (Touch Mix).mp3

but I cant work out why the mask is just failing for this file, could you please email support@jthink.net this file so I can try to reproduce issue.

1 Like

Not currently, transliteration of titles is a relatively new and unused feature within MusicBrainz so unlike artist names we don’t currently offer an option for this in Fix Songs

But you can use Match to One Album and specify the MusicBrainz Id in the Enter MusicBrainz Url or Discogs Url… field

1 Like

Hi, are you able to send me this file please so I can resolve this issue for you.

1 Like

i’ve sent the file now

i’ve also had issues with another run. i’ve created support files. they are under “not loaded”. for example "/music/Audio Library/!To Organise/!SORTED Library Workflow/4 SORTED LIBRARY/06 Pain_m4a6058061314608407817.m4a

Cannot invoke “java.util.List.size()” because “this.numbers” is null"

Found the issue, in the !Ste - Compilations mask we have the formatTrackArtist() function and the first line of this is

mainartist=artists_index[0]

but his assumes you have at least one value for the artists tag, you dont have an artists tag for this song, probably because it was matched to MusicBrainz by MusicBrainz Picard rather than SongKong

Changing first line to

mainartist=indexValue(artists_index,0);

fixes the issue.

1 Like

Raised an issue, seems to be something it doesn’t like about discno field, if you could send me the m4a file please that would be useful.

1 Like

Hi, can you send me the file please - would make fixing and testing this alot easier.

1 Like

i’ve just sent it Paul

Thanks, issue was the discNo field in this example file is stored as type text but it is normally stored as a number, raised issue https://jthink.atlassian.net/browse/SONGKONG-2796 and fixed for next release.