INTERACT FORUM
More => Old Versions => JRiver Media Center 18 for Windows => Topic started by: xplod on November 09, 2012, 11:44:50 am
-
Hallo,
the imported filename is different to the filename on the drive.
I.e. >(K)ein bisschen schwanger.mpg< will be imported as "(".
In MediaCenter 16 I don't have this issue. It seems that MediaCenter higher as 16 have this issue.
Xplod
-
Try to explain yourself better, because this doesn't make a whole bunch of sense.
Between MC16 and MC18, some of the expression processing got more strict, which can cause expressions that had syntax errors (but which used to work correctly) to now fail. Maybe this is related to that? Not sure... But explain in more detail, and maybe post a screenshot or two as illustrations.
-
Hallo,
the imported Name is not the same as the filename. See the screenshot.
Xplod
-
Yep. That's because of an (otherwise tremendous) new feature called Carnac. It parses the incoming filenames (for some file types) to try to auto-determine metadata about them, and fill the different fields automatically. Then, if it can figure out enough information, it will do an automated lookup on tmdb or thetvdb.org. In your case, it has parsed away Sisi (not sure where), 2009 (Year), ZFD (not sure where), and 17-12-2009 (Date), and it dumps the "rest" in the [Name] field.
Search the forums for Carnac, and you'll find all sorts of info. It was added last year to MC17. It completely automatically parses many common filenaming patterns and will automatically look up additional metadata online. It's pretty darn neat.
It failed with your filenaming scheme. Perhaps Matt can take a look at this, as they've made numerous improvements to it to handle common naming schemes. He'll need you to explain your naming pattern in more detail, though.
However, along with Carnac, they added another new feature to MC which allows you to define your OWN parsing rules, which I call Tag On Import. Under the Auto-Import settings, you can set your own rules with as much complexity as you want, on a per-watched-folder basis.
So, for example, if you just want it to always set your [Name] field to match the filename exactly (the old way) you can add a rule like this:
(http://glynor.com/img/screenshots/MC18-TagOnImport-FilenameToName.png)
But, you actually have much more power to do advanced parsing using expressions and multiple rules. I covered some of this in this old thread:
http://yabb.jriver.com/interact/index.php?topic=68462.0
-
Hallo,
thanks for the info. It is now working for me.
Just one more question.
I have a filename like this
MovieName (Chanelname)(26-12-2012)(13_01).mpg
I wourld like to only to get the [Name] = "MovieName" and dump all the things wich are in "()".
-
Is MovieName always the first component (either before an opening paren, or there will be no parens)?
-
Hallo,
yes the MovieName is always in the front.
-
Easiest to use:
ListItem([Filename (name)], 0, / ()
or a more flexible:
Regex([Filename (name)], /#^([^(]+)(\s*\()?#/, 1)
-
Thanks,
where can i find the description of regex?
-
http://wiki.jriver.com/index.php/Media_Center_expression_language#Regex.28....29:_Regular_expression_pattern_matching_and_capture (http://wiki.jriver.com/index.php/Media_Center_expression_language#Regex.28....29:_Regular_expression_pattern_matching_and_capture)
-
Thanks again!!
if there is no blank in the filename
ListItem([Filename (name)], 0, / ()
Regex([Filename (name)], /#^([^(]+)(\s*\()?#/, 1)
are not working.
-
The regex() works (and that's why I suggested it as more flexible - see attached).
The listitem() requires removing the "/ " if the filename does not have space after the movie name before the opening paren.