[Logo] Jaikoz and SongKong Forums
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Assistance Request for Metadata and File Rename Masks.  XML
Forum Index -> Jaikoz Questions
Author Message
spinnerthrow

Enthusiast

Joined: 06/02/2016 10:19:41
Messages: 12
Offline

Hello ? I don?t understand javascript and probably never will. I?ve spent some time reading the dozens of posts asking for help with file, folder, and metadata renaming masks and second the idea of creating a ?mask bank? or something along those lines so that noobs like me, who have paid for the software and just want it to work without an understanding of javascript, can simply cut and paste the code that they need to do what they want.

With that out of the way, I have possibly the most simple of questions regarding:

1. File Rename from Metadata, and

2. Metadata Renaming from File.


Question 1 ? Changing Filename to Match Metadata

If I have metadata on two files that read:

01 I Will Follow
02 Twilight

and the file names are:

U2 ? Boy ? 01 ? I Will Follow
U2 ? Boy ? 02 ? Twilight

Could you please advise me on the mask that I need to use to get it to rename the file names so that they match the metadata? So, that both the metadata and the file read:

01 I Will Follow
02 Twilight

Telling me to put a comma here and a parens there does not work for me. I?ve tried it all different ways and keep getting ?undefined parameters? and all sorts of errors. I would be grateful to anyone who can simply cut and paste what I need into a response.

Question 2 ? Changing Metadata to Match Filename

If I have filenames that are:

Radiohead ? New Album - 01 ? Fix Metadata
Radiohead ? New Album - 02 ? Help Me Please

And the metadata does not match the file name, what mask do I use to get the metadata to read:

01 Fix Metadata
02 Help Me Please

No artist, no album name, no album artist, no hyphen between the track number and the track title.

I assure you I have spent #$%^ hours on this. It can?t be that difficult, but it is escaping me, so if you could paste a couple of masks that I can copy into my program, I would be eternally grateful.

Thanks for your help.



paultaylor

Pro
[Avatar]

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

Hi, yes we already have predefined masks in SongKong and want to add the same solution to Jaikoz, I realize it can seem a bit tricky

1. So this just seems a filename mask of TrackNo SongTitle, paste the following into your rename mask replacing everything that is currently there.
Code:
 trackno + ' ' + title
 


2. but now here I think you are asking the filename to indicate when the metadata is missing. You only have two renames masks available, one for albums and one for compilations albums so we have to build on the first one so it will work for both cases. This is fine except you seem to now want the mask to now display that there is no album yet in 1. you were only interested in displaying trackno and song title, so im a little confused can you please clarify.

The existing filename is irrelevant you only need to decide what you want the rename mask to be, what it should do if the metadata is available and what it should do if it isnt.


thanks Paul (Administrator)
spinnerthrow

Enthusiast

Joined: 06/02/2016 10:19:41
Messages: 12
Offline

paultaylor wrote:
Hi, yes we already have predefined masks in SongKong and want to add the same solution to Jaikoz, I realize it can seem a bit tricky

1. So this just seems a filename mask of TrackNo SongTitle, paste the following into your rename mask replacing everything that is currently there.
Code:
 trackno + ' ' + title
 


2. but now here I think you are asking the filename to indicate when the metadata is missing. You only have two renames masks available, one for albums and one for compilations albums so we have to build on the first one so it will work for both cases. This is fine except you seem to now want the mask to now display that there is no album yet in 1. you were only interested in displaying trackno and song title, so im a little confused can you please clarify.

The existing filename is irrelevant you only need to decide what you want the rename mask to be, what it should do if the metadata is available and what it should do if it isnt.

 


First, thanks for taking the time to respond to my question.

When I ran the mask on some files, I actually ended up with

Track no - File Name

I don't know where the hyphen came from, as there doesn't seem to be one in the mask you sent me, but it is there.


My question is simpler than I wrote it to be. My apologies. It is, how can I get the metadata to be

Track No Filename

with a space between the 2-digit Track No and the Title when the filename is something different than that?

For example, if I have files that is named

Radiohead - 01 - The Bends
Radiohead - 02 - High and Dry

and all of the metadata fields for each file are empty, how would I take those file names and convert them to metadata that reads

01 The Bends
02 High and Dry

I work with a lot of non-standard files that have not been tagged at all and cannot be automatically tagged.

Hope this makes sense. Thanks for your help on my second question and if you can tell me why I am getting a hyphen in the file name for the mask you gave me earlier, I'd appreciate it.
paultaylor

Pro
[Avatar]

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

spinnerthrow wrote:

First, thanks for taking the time to respond to my question.

When I ran the mask on some files, I actually ended up with

Track no - File Name

I don't know where the hyphen came from, as there doesn't seem to be one in the mask you sent me, but it is there.
 

Okay I think this could only happen if either

1. You only changed the rename mask, and this file is part of a compilation and hence uses the compilation rename mask (and this has a hyphen in it)
2. The artist and title field are empty there renaming based on this
would give .mp3 so Jaikoz doesnt actually do the rename.

Where are you seeing this incorrect filename, within Jaikoz itself or somewhere else, if somewhere else please check within Jaikoz itself. You can show the path in the main edit window by ensuring the Base Folder, Sub Folder and Filename columns are enabled.

spinnerthrow wrote:

My question is simpler than I wrote it to be. My apologies. It is, how can I get the metadata to be

Track No Filename

with a space between the 2-digit Track No and the Title when the filename is something different than that?

For example, if I have files that is named

Radiohead - 01 - The Bends
Radiohead - 02 - High and Dry

and all of the metadata fields for each file are empty, how would I take those file names and convert them to metadata that reads
 

Sorry I still dont follow you, are you asking how to use the filename to extract data into the metadata fields, or are you asking how to extend the filename mask to cope with when you dont have the metadata to create the filename mask.


thanks Paul (Administrator)
 
Forum Index -> Jaikoz Questions
Go to:   
Powered by JForum 2.1.6 © JForum Team