SongKong Jaikoz

SongKong and Jaikoz Music Tagger Community Forum

Folder renaming

I think the answer is in the name, Correct SubFolder from Metadata replaces whatever is on the subfolder part of your filepath with the songs metadata based on your rename mask, so CD1 is replaced by your mask which does not include a CD part.

The more confusing part is why your base folder part is wrong. Looking at this example it should just contain\CLOUD-2330\Volume_1 because the base folder should only contain the part of the path that doesnt contain music specific metadata.

When you load the files into Jaikoz it guesses how the split the pathname into base/folder parts, but if it get it wrong you can use the Shift commands as previously mentioned.

.

ifnotempty2(albumartist,artist,’ ‘) + ifnotempty(album,’ ') + (disctotal>1 ? discno + folderseparator : ‘’)

compilation:

ifnotempty2(albumartist,artist,’ ‘) + ifnotempty(album,’ ‘) + (disctotal>1 ? discno + folderseparator : ‘’) + ’ -’ + year

I presumed this syntax had this covered…

what my goal is to

Rename folder/ files Tag and move if matched

It appears so far this is working for a single artist disc release.Renaming is a problem with various artists and multi disc release and I cant work out why ! and am sure its possible to do

also I can only ‘save and move if matched’ successfully if its added as a manipulation otherwise the folder/files just disappear…

so near yet so far

Help !

Can anyone in the community please help this guy, I seem unable to explain it in a way that he can understand.

well ive rechecked the File and folder correct rename masks by the examples and they say what I want.

This syntax dosent work for various artists and multi disc releases and still can only save and move if matched as a manipulation.

So this throws up issues as it means im back to renaming folders manually and also wont be able to save releases which are not matched to a separate folder…

Paul can u answer please if what im asking is possible before I give up as I cant find any info/tutorial to tell me

I want to rename to a single disc relase to

Artist albumtitle : Blah - BlahBlah

file names as trackno - title : 01 - Blah

multi disc release

Artist albumtitle : Blah - BlahBlah

Disc : cd1 as a folder then

Files : 01 - Blah
02 - Blahblah

cd2 as a folder
01 - blah
02 - blahblah

Various

VA Albumtitle Year

VA - BlahBlah - 2014

if multi disc : cd1

file: 01 - title - Artist

also to move and copy if matched I can only get to work as a manipulation…??? Well I just found a link on my main drive C:\Cloud-2330\Vplime_1\muZika of the missing files that I had been saving atleast I know where they ended up

any pointers here would be greatly appreciated…!!! I hope this is explained so you can understand it
:shock: :frowning:

Its certainly possible and I do feel I’ve already given you the answer but your examples are still incomplete and unclear, you need to specify the whole path you want not just the filename since previously you were complaining that no folder was created for the discno. And whats the point of filling your example with Blah, Blah - that is of no help to anyone.

So give me a proper examples , something like:

I want files to be renamed to
Artist/Album/“Disc”+DiscNoIfMultiDisc/Artist - Title - TrackNo
i.e
U2/Best Of/Disc1/U2 - The Fly - 07.mp3

and note only two masks can be defined, one for non-compilations and one for compilations, so the masks have to account for both single disc and multidisc releases with logic such as ifmultidisc.

Hi

if single disc release :

Artist - Album Trackno Title.flac

multidisc:

Artist - Album -Discno(cd1/cd2/cd3/cd4 as a folder) Trackno Title

Various :

VA - Albumtitle - Year Disc(cd1/cd2/cd3/cd4 as a folder) trackno Artist - Title

just to make sure im explaining it correctly and you can see the folders for how the CD’s to be saved

thanks once again

Look you have specified this mask

VA - Albumtitle - Year Disc(cd1/cd2/cd3/cd4 as a folder) trackno Artist - Title

which reads to me as put all files in one folder unless they are multi-disc releases in which case create a disc folder, yet except for this detail all songs for all artists will be put in one folder.

But then you post a screenshot indicating you want songs stored in folders organized artist/album !

I’m sorry but I cannot help you if you can’t help yourself and specify a pseudo mask showing full path - not just the filename and then give an example of a an actual file showing how it is currently being named by Jaikoz and how you want it to be named as I requested in the previous post.

Hi
what I meant was if it is a multi disc release to create a disc folder ie: cd1 or cd2 etc

I know that but forgetting about multi disc releases I’m talking about what folder the file should be in

i.e

you have asked for

C:\Music\Artist - Album Trackno Title.flac

don’t you really want

C:\Music\Artist\Album\Artist - Album Trackno Title.flac

Please give me a real example with the full path included

[quote=paultaylor]I know that but forgetting about multi disc releases I’m talking about what folder the file should be in

i.e

you have asked for

C:\Music\Artist - Album Trackno Title.flac

don’t you really want

C:\Music\Artist\Album\Artist - Album Trackno Title.flac

Please give me a real example with the full path included[/quote]

Hi

for a artist with a single disc release I am looking for

Artist - Album Trackno - Title

so as I understand it that would be

U2 - Boy (as a folder)
01 - I Will Follow
02 - Twilight

Unfortunately that’s the problem you don’t seem to understand it at all, so when you say

Artist - Album Trackno - Title

do you want to artist and album to be in the filename or only as folders

Can you understand the difference between these two

C:\Music\Artist - Album Trackno Title.flac
C:\Music\Artist\Album\Artist - Album Trackno Title.flac

Why cant you provide me with a full path as you would see it on your computer like above (as I keep on requesting)

Hi

no im looking for trackno and title in the filename only on a single artist release…

C:\Music\Artist - Album Trackno Title.flac : this example seems to me as a single file

C:\Music\Artist\Album\Artist - Album Trackno Title.flac : this example tells me
C:\Music\ Artist\Album (as a folder) - Artist -Album -trackno-Title.flac (as a filename)

Okay, this should work for you then (although I wouldn’t personally advise storing all your files in a single folder)

Set File and Folder Correct:Rename file from Metadata:Rename mask

to rename the filename

function pad(number, length) {
      if (number == '') { return '';} 
      var str = '' + number; 
      while (str.length < length) {  
          str = '0' + str;
      }
      return str;
  }
 
 function ifnotempty(value,sep){
     return value.length > 0 ? value + sep : '';
 }

 
ifnotempty(artist,' - ') + ifnotempty(album,'  ') +ifnotempty(pad(trackno,2),'  ') + title

but then File and Folder Correct:Rename folder from Metadata:Rename mask should be set to blank.

Use as follows

  1. Ensure Base folder, SubFolder and Filename columns are visible using Preferences:Table:Columns
  2. Load your music files
  3. Check Basefolder is correct, this is the part of the filepath that will not be
    modified.
  4. If not correct use Action:File and Folder Correct:Shift base Folder to Subfolder or vice versa to correct this.
  5. Run Action:File and Correct:Correct SubFolder from Metadata to clear this column (because your mask is blank)
  6. Run Action:File and Correct:Correct Filename from Metadata to fix the filename.

(You can use the toolbar instead of the menus for most of these tasks)

Try this, and if you are happy with this we can move to the next stage, you giving me an example filepath for a multi-disc for single artist release