[Logo] Jaikoz and SongKong Forums
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Java Rename mask for Correct Metadata from Filename?  XML
Forum Index -> Jaikoz Questions
Author Message
999jaikoz

Pro

Joined: 30/06/2012 19:21:02
Messages: 34
Offline

My files come in only 2 naming conventions:
Title.mp3
Artist - title.mp3

When using Jaikoz to get the info into the metadata, using "Correct Metadata From Filename"...I'd like to escape digging deep into preferences every time the file naming style changes.

1. Can "File and Folder Correct>Correct Metadata from Filename>Rename mask" be a java function?

2. If so, What is the right way to code something like:
filename.indexOf("-") = -1 ? %title% : %artist% - %title%


thanks
paultaylor

Pro
[Avatar]

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

No it cant at the moment, this function did actually used to try and work out the format of the filename but was too inaccurate. This function has been a bit neglected, but mainly because for all songs that have acoustids linked to a recordingid the title and artist can be ascertained anyway.

thanks Paul (Administrator)
999jaikoz

Pro

Joined: 30/06/2012 19:21:02
Messages: 34
Offline

Based on how preferences are stored, would it work to have a BAT file or something that swapped two settings files...or would jaikoz need to be restarted?

I work with some very obscure and old material, and cannot begin to rely on web based titling. And I'd like to not have to fuss with deep drilling into the preferences every two minutes when the file titling is in fact purposefully quite careful.
paultaylor

Pro
[Avatar]

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

No sorry it woudn't work ( there is an issue open for allowing multiple preference configurations and if this was done it would be useful for you)

Let me suggest this:

Ensure Show View Pane is enabled, try Match Metadata from Musicbrainz and then just use Edit:Revert Changes to undo the ones done wrong. I think you'll find that although it would not match all, of the ones it did match very few would be wrong, if they are I would be interested in seeing some examples.

thanks Paul (Administrator)
999jaikoz

Pro

Joined: 30/06/2012 19:21:02
Messages: 34
Offline

I have never once tried musicbrainz and found it was worth my while; but I don't typically work with over the counter digital files.

Till the multi-pref-config shows up, Macro Express to the rescue.



Thanks
paultaylor

Pro
[Avatar]

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

Well its your choice but Musicbrainz supports a wide variety of music of all types Im sure at least some of your songs would be matched this way.

thanks Paul (Administrator)
999jaikoz

Pro

Joined: 30/06/2012 19:21:02
Messages: 34
Offline

There must be something Im not getting about musicbrainz. At least 75% efforts don't find matches. After your last tip above, I loaded a Bob Dylan album folder that came from unknown source. It found matches, but took 5 minutes...then labeled tracks "Track 1" etc. Little help. When the file name is in the file already, any 5 minutes wait is maddening.

I came up with a funny solution in Jaikoz, involving 4 buttons; "add to start: 'xxxx - ' " in highlighted filenames. Fill tags from filename. remove 'xxx - ' artist mask. Correct file name from tag.

Works ! but macro express gave me a speedy hotkey solution, so we're good.
paultaylor

Pro
[Avatar]

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

999jaikoz wrote:
There must be something Im not getting about musicbrainz. At least 75% efforts don't find matches. After your last tip above, I loaded a Bob Dylan album folder that came from unknown source. It found matches, but took 5 minutes
 

Jaikoz works better if applied to larger sets rather than one album a ta time, but will get alot dfaster soon when moved to using my own server instead of the Musicbrainz server.

999jaikoz wrote:

...then labeled tracks "Track 1" etc. Little help. When the file name is in the file already, any 5 minutes wait is maddening.
 

That doesnt make any sense, if you send me your support files (Advanced:Create Support Files) I can probably work out what has gone wrong.


999jaikoz wrote:

I came up with a funny solution in Jaikoz, involving 4 buttons; "add to start: 'xxxx - ' " in highlighted filenames. Fill tags from filename. remove 'xxx - ' artist mask. Correct file name from tag.

Works ! but macro express gave me a speedy hotkey solution, so we're good. 

Great, good lateral thinking !

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