SongKong Jaikoz

SongKong and Jaikoz Music Tagger Community Forum

1 song folders instead of albums or compilations grouping

New version installed and ran with no much improvement in the result…
Still got whole albums in “singles” folder.
Still got 1 file album/compilation folders
Also got duplicated folders (album name+(1)) that could be merged in one

new support file sent.

  1. It has run better, the checked against MusicBrainz and Discogs before task cancelled by SongKong because of unreported error should be ignored, this should have been fixed by [SONGKONG-1894] - Unexpected Error because songs loaded greater than song sent to StartMatcher, but I made a mistake in the fix.

  2. The remaining Duplicate Path errors can be ignored but confusingly for me they are occurring because trying to rename files to a new filename that is the same except for case i.e using ‘of’ instead of ‘Of’. Windows is case-insensitive so prevents this but you are running on MacOS which treats as different so problem should not occur. Can you help me with this, is it a Windows formatted disk or something ?

  3. Okay I think I have found the problem with albums not being moved to albums folder, in your mask you have

 if((mbreleasetype=='Album'))

but mbreleasetype can contain multiple values, primary types like Album and secondary types like Soundtrack so you need to use

if(mbreleasetype.indexOf('Album')>-1)

more info at http://www.jthink.net/jaikozforum/posts/list/20976.page

So please fix the rename masks and rerun and we can take it from there.

Actually I have realized that because this fails SongKong then trys to rename the subfolder part by adding a (1) to folder name and this is causing the unnecessary (1) folders. So I need to fix this but first I need to understand MacOS complaining about writing new filename that only differs in case, so waiting for info from yourself.

Although I am running SongKong from an OSX plateforme, the files are located on to a QNAP nas, would that be the cause?

ok, will try that when back home later on today.

Although I am running SongKong from an OSX plateform, the files are located on to a QNAP nas, would that be the cause?

[/quote]
I would have thought that being a linux based system Qnap would treat the name in different case as different, but maybe they have modified something. Maybe it is related to Samba or similar if that is what is used to access the Nas files, https://forum1.qnap.com/viewtopic.php?p=145275&sid=a198308827f22825491f44bf847263ce

What Qnap nas do you have, and are you aware you can install SongKong on many of their nas drives - http://www.jthink.net/songkong/en/install_docker_qnap.jsp

yes I’m aware I can install songkong on the qnap http://www.jthink.net/jaikozforum/posts/list/20105.page :wink:

It’s a TVS471

Okay, well I would like to continue with solving your issues on macOS regardless but I think the issue you originally had on Qnap is now solved because now songkong runs on Qnap as if root.

ok, but I guess I’ll find similar issues on QNAP than desktop version in terms of renaming and matching, correct?

Please don’t use Qnap yet because I want to resolve on MacOS with another bug fix release using your data to test.

With Qnap you wouldn’t have the filenaming sensitive issue and also fixing files should be quicker because working locally, but yes you may still have some matching issues.

ok, rewriting my scripts in order to separate Albums from Comilations from Single files according to the forum question your mention above but would like your confirmation that they’ll work as expected:

COMPILATIONS:

if(mbreleasetype.indexOf('Compilation')>-1)
{
"00 - Compilations"
+"/"
+ '' + (year.length>4 ? year.substring(0,4):year)
+"/"
+ ifnotempty(album,' ')
+"/"
+ ifmultidisc('Disc ' + ifnotempty(pad(discno,2),'/'))
+ ifnotempty(pad(trackno,2),' - ')
+ ifnotempty(artist,' - ')
+ title
}
else
 {
     '00 - Singles'
     + '/'
    + ifnotempty(artist,' - ')
    + ifnotempty(title,'')
+ '('
    + genre
+ ')'
 } 

ALBUMS:

 {    
     '00 - Albums' + "/" + 
     ifnotempty2(albumartist,artist,'/')
     + '' + (year.length>4 ? year.substring(0,4):year) +" - "
     + ifnotempty(album,'')
     + ifnotempty(discsubtitle,'')
     + '/'
     + ifmultidisc('Disc ' + ifnotempty(pad(discno,2),'/'))
    + ifnotempty(pad(trackno,2),' - ')
    + ifnotempty(artist,' - ')
    + ifnotempty(title,'')
 }
 else
 {
     '00 - Singles'
     + '/'
    + ifnotempty(artist,' - ')
    + ifnotempty(title,'')
+ '('
    + genre
+ ')'
 } 

Will that work?

re-ran with above scripts.

Support file resent

It seems to have worked, but not made major difference. I should have a new version within a couple of days that you can try.

Hi, new version 6.6.2 with the fix now available, please install and retry.

not sure of the result but still got loads of albums in single folders…

new support file sent

It does seem to have removed most of the unnecessary (1) folders and more songs are now in albums rather than singles.

But yes, you do seem to have many single song albums but Im not clear what the original albums were (examples ?) , if you now have various artist albums split over multiple folders when you changed the options to allow single song matching you will probably have to manually put them back in a single folder as it is not possible for SongKong to work this out.

If you have single artist albums split into multiple folders you could just put them back into an artist folder and SongKong should be able to group into minimal amount of albums.

Buddha Cafe
Groove Armada - the best of
Les Negresses Vertes - 10 remixes
Metaform ?? Standing On The Shoulders Of Giants
H�TEL COSTES 1
The conrad shop
Buddha Bar VII
Cafe del mar - Volume nueve

[quote=paultaylor]
if you now have various artist albums split over multiple folders when you changed the options to allow single song matching you will probably have to manually put them back in a single folder as it is not possible for SongKong to work this out.

If you have single artist albums split into multiple folders you could just put them back into an artist folder and SongKong should be able to group into minimal amount of albums.[/quote]

Will give that a try, but I don’t get why SongKong cannot re-work these automatically to be honest…

[quote=macdalor][quote=paultaylor]
But yes, you do seem to have many single song albums but Im not clear what the original albums were (examples ?)
[/quote]
Buddha Cafe
Groove Armada - the best of
Les Negresses Vertes - 10 remixes
Metaform ?? Standing On The Shoulders Of Giants
H�TEL COSTES 1
The conrad shop
Buddha Bar VII
Cafe del mar - Volume nueve

[/quote]
Okay, I will take a look at these tomorrow.

[quote]

[quote=paultaylor]
if you now have various artist albums split over multiple folders when you changed the options to allow single song matching you will probably have to manually put them back in a single folder as it is not possible for SongKong to work this out.

If you have single artist albums split into multiple folders you could just put them back into an artist folder and SongKong should be able to group into minimal amount of albums.[/quote]

Will give that a try, but I don’t get why SongKong cannot re-work these automatically to be honest…[/quote]

Simply because SongKong works on a folder by folder basis, this makes it scalalable for music collections of any size. If it had to load all the songs and process as a group it would clearly fall over if you had more than a few thousand songs. And remember most songs can be found on many releases so if you had the songs scattered about as you now do very difficult to work out what is the best release to associate them with.

tried to update my QNAP container with the latest version and still get the “New version 6.6.2 is available, now available from your Docker menu” message when executing it…

any idea Paul?

If you go to the About menu what version does it say you have installed ?

We already prioritise the best match for the existing metadata/folder, failing that we prefer albums but it wouldnt make sense for example to match songs to a normal album rather than a soundtrack if you clearly have a soundtrack album, nor would it make any sense to always try to match to soundtracks ignoring existing metadata. An option like this might make sense if you were just trying to match one album, but makes no sense over multiple albums.

So I have SongKong 6.6.6.2 installed on my qnap fine so I think the issue is you havent properly removed the existing version and actually downloaded the new version.