[Logo] Jaikoz and SongKong Forums
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Folder Mask for Splitting Albums and Singles....  XML
Forum Index -> SongKong Questions
Author Message
n1ete

Enthusiast

Joined: 17/02/2016 16:53:34
Messages: 11
Offline

after failing some time ago to use Songkong with an itunes library on my NAS i decided to give SongKong another run...this time without the itunes option enabled and some changes in my structure how i wanna organize my collection.

i played with several options so far and i am now on a starting point from where it does pretty much that what i want(except for the unmatched of course).
so my matching folder and filename masks (use the same for compilation and rename) looks actually like this=

Code:
ifnotempty(albumartist,'/')
    + '' + (year.length>4 ? year.substring(0,4):year) +' '
    + ifnotempty(album,'')
    + ifnotempty(discsubtitle,'')
    + '/'
    + ifnotempty(discno,' - ')
   + ifnotempty(pad(trackno,2),' - ')
   + ifnotempty(artist,' - ')
   + ifnotempty(title,'')


and gets me an output like this

U2/1980 Boy/1 - 02 - U2 - Twilight

this is ok except for my Various Artist Artist and/or Compilations i guess this is just a simple thing can be done with some java knowledge

in the end i would love to have a folder structure like this for Albums=
/FullAlbums/U2/1980 Boy/1 - 02 - U2 -Twilight

like this for singles=
/Singles/U2/1980 Boy/1 - 02 - U2 -Twilight

and another one for compilations but sortet by Label=
/Various/KilleKill/2012 Killekill Megahits/1 - 03 - J.T.C. - Crush Arbor

how can i archive this.... i try to figure out some good workflows with the unmatched folder and will report them soon here.... so far i got nearly 10k unmatched files
some are simple does not exists in the databases but some do and i need to figure out why they are not renamed yet....
sometimes it helps to choose a smaller folder by folder approach and what i noticed it that u have to run several times over the same folder and it matched more and more...

thanks for any helping so far and this awesome piece of software ;)
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7208
Offline

Hi

So click on the Add button to add a new rename mask, give it a name and add this as the mask

Code:
 if((mbreleasetype=='Album'))
 {    
     'Album' + "/" + 
     ifnotempty(albumartist,'/')
     + '' + (year.length>4 ? year.substring(0,4):year) +' '
     + ifnotempty(album,'')
     + ifnotempty(discsubtitle,'')
     + '/'
     + ifnotempty(discno,' - ')
    + ifnotempty(pad(trackno,2),' - ')
    + ifnotempty(artist,' - ')
    + ifnotempty(title,'')
 }
 else if((mbreleasetype=='Single')||(mbreleasetype=='EP')) 
 {
     'Single' + "/" + 
     ifnotempty(albumartist,'/')
     + '' + (year.length>4 ? year.substring(0,4):year) +' '
     + ifnotempty(album,'')
     + ifnotempty(discsubtitle,'')
     + '/'
     + ifnotempty(discno,' - ')
    + ifnotempty(pad(trackno,2),' - ')
    + ifnotempty(artist,' - ')
    + ifnotempty(title,'')
 }
 else
 {
     'Other' + "/" + 
     ifnotempty(albumartist,'/')
     + '' + (year.length>4 ? year.substring(0,4):year) +' '
     + ifnotempty(album,'')
     + ifnotempty(discsubtitle,'')
     + '/'
     + ifnotempty(discno,' - ')
    + ifnotempty(pad(trackno,2),' - ')
    + ifnotempty(artist,' - ')
    + ifnotempty(title,'')
 }
 


then select ok and set as the Rename Mask

Select Add again to create another new mask, give it a name and paste the following into the mask field

Code:
     'various' +'/'
     + ifnotempty(recordlabel,'/')
     + '' + (year.length>4 ? year.substring(0,4):year) +' '
     + ifnotempty(album,'')
     + ifnotempty(discsubtitle,'')
     + '/'
     + ifnotempty(discno,' - ')
    + ifnotempty(pad(trackno,2),' - ')
    + ifnotempty(artist,' - ')
    + ifnotempty(title,'')
 


and use this for the Compilation rename mask

thanks Paul (Administrator)
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7208
Offline

Regarding unmatched songs, its worth noting that by default SongKong trys to recognize groups of songs and match the whole grouping to album.

Sometimes it can identify individual songs but is unable to match the whole group of songs to one album. In this case only the song specific information is updated i.e songtitle but not album specific detail such as albumtitle or trackno. Such songs appear in the Songs Only part of the report and because not matched to a release they would be treated as unmatched as far as the Move to Unmatched/Unmatched options are concerned. so how many of your 10,000 songs have been matched song only.

These songs may get fully matched on a subsequent run because they now have more metadata allowing more matches.

Now if a song can be matched to song only this means it can be matched to a release but not to a release that would allow all the songs in the grouping to be matched to the same release. So either the correct release is not in MusicBrainz/Discogs or your folder structure is confusing Songkong into thinking these songs are grouped in a folder that represents a real album when it doesnt.

If the latter you can let SongKong match songs to a release without having to match all songs in grouping to the same release by disabling the Only Allow match if all songs in grouping match to one album option.

Hope this all helps.

thanks Paul (Administrator)
n1ete

Enthusiast

Joined: 17/02/2016 16:53:34
Messages: 11
Offline

Hey Paul,
thanks for the advice and your java experience....
it worked out pretty well, except that i have not only /album /single and /various in music folder...also i got one called /others....?


i started to pick a few of the unmatched to fill songkong with it...example=

https://www.discogs.com/Traumprinz-Paradise-With-A-Lobotomy/master/806973

got the 3 songs in a Single folder ands songkong doesnt match anything...?
there already named and tagged....
so whats the problem with me or songkong on this one?
thanks for your advice


edit:
wanted to add that there seems also some inconsistency about the release years...some of them are simply not right....
i didnt have the "use original release date" option enabled though and could be related with that option....?
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7208
Offline

HI, I cannot say without your support files

So please run Help:Create Support Files to support. They can be large so if that is the case and you don't need to keep your reports you can do the following:

1. Help:Delete Reports
2. Help:Empty Log Files
3. Try and match the problem single again
4. Help:Create Support Files
5. Send me the support files


thanks Paul (Administrator)
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7208
Offline

Thanks for the info and files. The songs are not in MusicBrainz but are in Discogs so should be matched to Discogs but looking at the log no attempt seem to be matched to Discogs even though you had the option enabled.

But if I disabled Search for MusicBrainz Match on the Match tab it did work, so that is the workaround.

I will raise a bug and fix for next release.

thanks Paul (Administrator)
n1ete

Enthusiast

Joined: 17/02/2016 16:53:34
Messages: 11
Offline

Awesome! seems to work so far....
will report soon back for that "year problem"

but whats with this /others folder?

i would love to have these three folders /various /albums /singles

why is it created?
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7208
Offline

n1ete wrote:

but whats with this /others folder?
i would love to have these three folders /various /albums /singles
why is it created? 

Oh right 'other' was just a catch all for releases that arent categorised as albums or Singles. Either because they fall into another category (such as AudioBook) or they havent been categorised at all

thanks Paul (Administrator)
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7208
Offline

The Discogs not matching problem was due to to an unnecessary limitation in MusicBrainz code to only attempt match to Discogs release if have grouping of more than 3 songs, so would see most impact if trying to match singles.

Fixed for next release.

thanks Paul (Administrator)
n1ete

Enthusiast

Joined: 17/02/2016 16:53:34
Messages: 11
Offline

Good to Hear that Paul and thanks for the reply!
i came to the conclusion that splitting up the singles and albums is a good choice but i prefer now a bit different sorting:

i would like to have 2 folders in my main directory /artists and /various

the artists folder should look like this:

/artists/u2/ and then /singles and /albums in it.... how do i change my masks?

 
Forum Index -> SongKong Questions
Go to:   
Powered by JForum 2.1.6 © JForum Team