[Logo] Jaikoz and SongKong Forums
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
1 song folders instead of albums or compilations grouping  XML
Forum Index -> SongKong Questions Go to Page: 1, 2 Next 
Author Message
macdalor

Pro

Joined: 20/05/2014 04:42:37
Messages: 51
Offline

Songkong keeps creating 1 song folders instead of grouping albums songs together.
I would simply like songkong to:
- match and group as much album (artist/year/album name/artist name - title) or compilation (VA/Year/Album name/Artist name - Title) songs as possible
- group single (1) songs together into one folder (Others/Artist name - Title)

For additional info, I have added a multidisc (4) VA compil and songkong has separated it in Albums, singles & a few songs only VA compil folders (4)

Only allow match if all songs in grouping match to one album is enabled
Only allow match if all tracks in album were matched is enabled
Rename files based on Metadata is enabled

I have been testing many options for a while now and cannot get it to work...

Is there any ways I can sort this out?
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7967
Online

When you sent me your support files Only allow match if all songs in grouping match to one album was disabled and you have RenameMetadata from Files set to Yes for all files. Unfortunately this allowed SongKong to match individual songs to any album if it coud not match the grouping and then they would get renamed accordingly also even it did not match song it would get renamed based on existing data.

So its a bit of a mess now and subsequent runs wont hep much now because the starting point for SongKong is grouping songs by folders so it does not know where/if the rest of the files relating to an album are.

Are these albums Various Artist albums if so it is going to be very hard to recreate them, have you tried Undo Changes

thanks Paul (Administrator)
macdalor

Pro

Joined: 20/05/2014 04:42:37
Messages: 51
Offline

I understand...I did many tests thinking songkong would actually be able to eventually find a different solution based on new criteria...undo will be impossible now...

I have 2 types of library including collected music over many years:
- 1 with mainly single tracks (DJ library)
- 1 with a mix of albums, compilations & single tracks (Various Library)

The one I am working on at the moment with SongKong is the "Various library" and specifically with a single tracks folder which includes all sort of tracks which I am not sure whether they are coming from albums, compilations or just singles.

The aim is just to sort them so they have a minimum order instead of having a 700 files folder which could include albums or compilations I would easily be able to identify...However a 1 or 2 files album folder is just pointless and better be part of a compilation or single files folder

I intend to apply the same principals to various other folders in this library as I have some specifics to different genres (Various R&B single files folder, Various Funk&Soul single files folder, Various Reggae single files folder, Various 80' single files folder etc...)

Is there a way songkong could create compilations/albums (Groupings) from various single files it finds with same artists/titles as the original compilation/album/release? This would prevent having so many single file folders.
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7967
Online

Hi, the best thing to do would probably be move all the files in the one folder folder to a single folder, then SongKong will try to group the songs in the folder and hopefully get some improvement.

thanks Paul (Administrator)
macdalor

Pro

Joined: 20/05/2014 04:42:37
Messages: 51
Offline

hi Paul, done that yesterday and it still creates many 1 file folders...
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7967
Online

If there are songs from the same artist I would hope that it would find albums that contains all the songs (assuming you have renabled Only allow match if all songs in grouping match to one album). If the albums required are Various Artist compilations albums then unlikely to find the right one.

Do you want to resend support files.

thanks Paul (Administrator)
macdalor

Pro

Joined: 20/05/2014 04:42:37
Messages: 51
Offline

ok, I'll resend the report later today Paul. Thx
macdalor

Pro

Joined: 20/05/2014 04:42:37
Messages: 51
Offline

support resent
macdalor

Pro

Joined: 20/05/2014 04:42:37
Messages: 51
Offline

something must be wrong...getting some whole albums kept in the "singles" folder instead of album ones...

just sent another support for this last test.

I don't know what to do anymore for this to get to an acceptable result...
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7967
Online

I can see errors like this in the Errors and Warnings section of report

Code:
 Duplicate Path:/Volumes/Multimedia/Audio/Various/07 - Various Lounge/00 - Singles/Groove Armada - A Private Interlude (Kinobe remix)(Breakbeat).mp3 for /Volumes/Multimedia/Audio/Various/07 - Various Lounge/Various Singles/Groove Armada -A Private Interlude (Kinobe remix) (1).mp3 unable to rename
 


Do you have duplicate copies of these files ?

thanks Paul (Administrator)
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7967
Online

Sorry, just remembered I fixed this issue last week

https://jthink.atlassian.net/browse/SONGKONG-1899

should have a bug fix version (6.6.1) available for you later this week.

thanks Paul (Administrator)
macdalor

Pro

Joined: 20/05/2014 04:42:37
Messages: 51
Offline

Thx Paul. Is this the cause of the albums not being considered as album though?
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7967
Online

Not sure, but is a step towards solving the problem.

thanks Paul (Administrator)
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7967
Online

SongKong 6.6.1 now available, so please rerun and resend support files

thanks Paul (Administrator)
macdalor

Pro

Joined: 20/05/2014 04:42:37
Messages: 51
Offline

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.
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7967
Online

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
Code:
  if((mbreleasetype=='Album'))
 

but mbreleasetype can contain multiple values, primary types like Album and secondary types like Soundtrack so you need to use
Code:
 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.

thanks Paul (Administrator)
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7967
Online


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 ?
 

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.

thanks Paul (Administrator)
macdalor

Pro

Joined: 20/05/2014 04:42:37
Messages: 51
Offline

paultaylor wrote:
is it a Windows formatted disk or something ? 


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

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

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

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7967
Online

macdalor wrote:

paultaylor wrote:
is it a Windows formatted disk or something ? 


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

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

 

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

thanks Paul (Administrator)
macdalor

Pro

Joined: 20/05/2014 04:42:37
Messages: 51
Offline

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

It's a TVS471
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7967
Online

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.

thanks Paul (Administrator)
macdalor

Pro

Joined: 20/05/2014 04:42:37
Messages: 51
Offline

paultaylor wrote:
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?
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7967
Online

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.

thanks Paul (Administrator)
macdalor

Pro

Joined: 20/05/2014 04:42:37
Messages: 51
Offline

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:
Code:
 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:
Code:
 if(mbreleasetype.indexOf('Album')>-1)
  {    
      '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?
macdalor

Pro

Joined: 20/05/2014 04:42:37
Messages: 51
Offline

re-ran with above scripts.

Support file resent
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7967
Online

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.

thanks Paul (Administrator)
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7967
Online

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

thanks Paul (Administrator)
macdalor

Pro

Joined: 20/05/2014 04:42:37
Messages: 51
Offline

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

new support file sent
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7967
Online

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.

thanks Paul (Administrator)
macdalor

Pro

Joined: 20/05/2014 04:42:37
Messages: 51
Offline

paultaylor wrote:

But yes, you do seem to have many single song albums but Im not clear what the original albums were (examples ?)
 

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
...

paultaylor wrote:

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. 


Will give that a try, but I don't get why SongKong cannot re-work these automatically to be honest...
 
Forum Index -> SongKong Questions Go to Page: 1, 2 Next 
Go to:   
Powered by JForum 2.1.6 © JForum Team