Roon:SongKong not recognizing boxset folder structure

Description

Hi, okay the main problem is that SongKong is not recognizing the box set folder structure and hence treating each sub folder as a separate album. SongKong does recognize your classic double album type structure where you might have AlbumName, AlbumName/ Disc 1, AlbumName/Disc 2 but it doesnt recognize BoxSetName, BoxSetName/Album 1, BoxSetName/Album 2.

See https://community.roonlabs.com/t/info-songkong-pro-music-tagger-20-discount-for-roon-users/68995/131

Activity

Show:
IJabz
February 2, 2021, 4:28 AM

Problem code is in LoadFolderWorker

IJabz
February 3, 2021, 12:39 AM
Edited

Remember SongKong processes folders, it has no idea how many folders have to be processed in total so essentially submits each folder independently, however we try and be clever and bundle up folders that appears to be part of same album.

Made improvements so that logic is:

A leaf is a folder without any subfolders, or if has one layer of subfolders (to contin images pdf) but no audio files.
Multiple leaf folders can be considered as Boxset/MultiDisc and submitted as such if:
Folder names begin Disc x (or variation)
Folder names just numbers
Metadata for files show all songs have same value for album
Metadata for files show discno metadata matches number of subfolders
Metadata for foldername has common root.

The logic is also useful for putting together single folder albums that have been split into a number of subfolders at the same level

Note:Submitting as Boxset doesn't mean that it definently is a boxset, it just means we try to match the group of subfolders as one album first. If that fails we can then still try processing each subfolder independently.

IJabz
February 3, 2021, 4:42 AM

Fixed.

Fixed

Reporter

IJabz

Labels

None

Forum Username

ijabz

os

None

Fix versions

Affects versions

Priority

Blocker