INTERACT FORUM
More => Old Versions => JRiver Media Center 20 for Windows => Topic started by: yonkiman on July 14, 2015, 06:21:01 pm
-
Trying to clean up some flacs using Fill Properties from Filename. I like the new preview feature - very helpful.
Artist and Album were no problem, but I couldn't extract the track number, and it loses the Title Case MC20 fixed when it initially imported them.
For example, the incoming filename was "04 dechirico street.flac". MC20's auto import thought the Name was "04 Dechirico Street". So I tried a manual Fill Properties from Filename but I couldn't get it to pull the track number out of the name (see attached image).
To clean it up, I had to import the tracks, sort them by filename to get them in order, fill the track number from list order, do the manual import described above to strip the track number, then do a Clean File Properties to clean up the capitalization.
Would be nice if I could do all of that (or at least most) from within Fill Properties from Filename - I imagine that's what the intention of the function is, and I seem to remember it working reliably in earlier versions of MC. This is with MC 20.0.124.
-Fred
P.S. Is there any way I could have inserted the image in-line? I just got the img html tags but didn't see how to link it to my attachment.
-
You've got a little syntax problem in your Filename expression. You used:
[Track] [Name]
Track isn't a valid MC field. What you're looking for is Track #. Very close. Easy to get it mixed up. So:
[Track #] [Name]
Should do the trick. I'm not 100% sure about capitalization, but the "fix" library tool will certainly take care of that for you in one step for all files that you're working on. So it's not much extra work.
Good luck.
Brian.
-
The format in your Template was incorrect, which caused the problem.
[Track] isn't a valid Field, so it threw that away. [Track #], which is the right field name, works fine with your example:
(http://glynor.com/img/screenshots/MC20/Fill_Properties-yonkiman_Example.png)
I don't think the Fill Properties from Filename tool ever automatically did a Clean on the results. But, that isn't a huge deal as you can just right-click on the files again and do it in a second pass. Still, that's a good idea, and I think I'll add it to the new Too Easy thread.
-
Doh. Brian ninja-ed me while I was messing about with my screenshot. I put in more effort, though, Brian. ;) :P
-
Thanks guys. I tried [Track] and [Track#] - I should have kept trying! Though while we're on the topic of the Too Easy list for the future...is interpreting [Track] and [Track#] as [Track #] a good idea?
Thanks to glynor, I now KNOW you can do inline images. What am I missing?
-
Though while we're on the topic of the Too Easy list for the future...is interpreting [Track] and [Track#] as [Track #] a good idea?
No. Square bracket notation always uses the true name of the field, as is shown in the Library Field (http://wiki.jriver.com/index.php/Library_Fields) Editor under:
Tools > Options > Library & Folders > Manage Library Fields
The spot labeled #1 in the following screenshot:
(http://wiki.jriver.com/images/5/58/Library_Fields.png)
Thanks to glynor, I now KNOW you can do inline images. What am I missing?
You need to use an image hosted on a web server somewhere. Then you paste the link into the forum post editor, and surround it with IMG tags. The one above looks like (in my editor):
[img]http://wiki.jriver.com/images/5/58/Library_Fields.png[/img]
The one in my previous post looks like:
[img]http://glynor.com/img/screenshots/MC20/Fill_Properties-yonkiman_Example.png[/img]
I uploaded the screenshot to my own, personal, web server. You could also use a free image hosting service, though those often expire after some period of time.
You can add the IMG tags by selecting the text in question and clicking the Image button in the editor (below the Italics button), or type them manually. More about BBCode:
https://en.wikipedia.org/wiki/BBCode
-
Thanks for the quick response.
[Track] - was just trying to make it more foolproof for fools like me.
[img] - I've actually done the image on my web server before, I just thought that sense I could upload it to the forum I might be able to link to to - it's a bit easier.
Cheers,
Fred
-
FYI you can right-click in the editor and select fields from a list.
-
If [Track] or [Track#] is not a legal field, shouldn't any attempt to insert or use such a field generate an error rather than throwing it away?
-
If [Track] or [Track#] is not a legal field, shouldn't any attempt to use such a field generate an error rather than throwing it away?
It is actually a feature.
If you need to skip a particular section in a Filename Template, you can use [] to do it, separated by delimiters. So, if your filename was:
183u45893459 Something Useful Here.flac
You could use this filename template to extract it, and ignore the first part:
[] [Field Name]
Or if you want the 183, but not the rest of the number, you do:
[Track #]u[] [Field Name]
Now, I didn't actually know it would ignore anything other than a blank bracket, but it makes sense in a way, I suppose. The preview shows you what it is going to do right there, so that is an error in a way.
-
[Track] - was just trying to make it more foolproof for fools like me.
The problems there are:
1. Where does it end?
The parser uses a system, and the system has to have rules you can understand. The square brackets denote, throughout the application, field names.* There are, of course, plenty of places where you might not "know" the field name exactly. Is it [Bit Rate] or [Bitrate]? Is it [Bit Depth] or [Bitdepth]? (Latter, and then former.)
Or, what about ambiguous names? Does [Remark] (which is invalid by default) mean [Comment], [Description], [Caption], or nothing?
2. Conflicts.
What if I made my own, real, [Track] field? Perhaps I use it as a checkbox field to decide whether to "keep track of" a file in a system or not? What if they decide that [Remark] equals [Comment] but I want to make my own [Remark] field (or already have)? If they implement these arbitrary rules, there won't be a way to "look it up", you'll just have to memorize them. And how could they not conflict with someone's custom fields somewhere?
Remember:
(https://imgs.xkcd.com/comics/workflow.png) (https://xkcd.com/1172/)
You can always look up the current names in the Library Field Manager, as described above, or use the drop-down selector as mentioned by 6233638. In any case, I doubt you'll make this particular mistake again! ;D
* With one irritating exception (http://yabb.jriver.com/interact/index.php?topic=97418.msg682506#msg682506).
-
Yeah, my request was just as inane as that xkcd example.
Anyway, I get it. You're not going to change it and there are several less intuitive ways to do it that other users who run into this problem will eventually figure out.
-
Yeah, my request was just as inane as that xkcd example.
No. Certainly not. But then, it is intended as a metaphor, obviously. But if they did change it and then people come here screaming that it broke their [Track] field they've used for 15 years...?
You're not going to change it
For the record, I don't work for JRiver and have never contributed a single line of code to MC (I just help on the forum). So, I can't change it. It's, like, just my opinion, man (https://www.youtube.com/watch?v=pWdd6_ZxX8c).
-
You want a tag? I can get you a tag, believe me. There are ways, Dude. You don't wanna know about it, believe me. 8)
Appreciate the explanation and suggestions.
-
You want a tag? I can get you a tag, believe me. There are ways, Dude. You don't wanna know about it, believe me. 8)
:) :) :) :)
I just can't see girls with light green nail polish on their toes anymore without thinking about this. Very few of them seem to get the joke either. Oh well. :)
Brian.