Page 1 of 1

FormatEditor: path to media file has not been set

Posted: 23 Sep 2015, 23:35
by naggert
Hi

So I've been looking at these scripts for the past few hours - it's way past my bedtime but still not working.
I'm currently using drag and drop so no need to create additional folders

Preferably I'd like both file and folder to be renamed as such:
MovieName (Year) [Quality]

Example for Matrix would be:
The Matrix (1993) [1080p]

Last thing I found was something like: {n} ({y}) [{hpi}]
But I keep getting buggered about "path to media file has not been set" and it doesn't the the quality into account

Thanks in advance
Sincerely

Re: Help with renaming script

Posted: 24 Sep 2015, 05:27
by rednoah
Where does the value of {hpi} come from? Have you set a sample file yet?

Re: Help with renaming script

Posted: 24 Sep 2015, 09:45
by naggert
From what I thought was the right source:
http://www.filebot.net/naming.html

I have no idea what a sample file is

But it was 3 am when I went to bed yesterday and nothing worked. Hence this post

Re: Help with renaming script

Posted: 24 Sep 2015, 09:59
by rednoah
Option A.
You need to click (x)= and select a real video file if you want to test file-bindings in the Format Editor.

Option B.
Ignore the warning and confirm. It'll work once you have a match, i.e. file/movie pair.

Re: FormatEditor: path to media file has not been set

Posted: 24 Sep 2015, 14:58
by naggert
Option C
Finding the correct syntax, pop it into FileBot and use that for renaming files?
There's already a command in the default settings, but I'm no way near a programming geni, so I can't figure out the correct syntax for it to be working?

Re: FormatEditor: path to media file has not been set

Posted: 24 Sep 2015, 16:09
by rednoah
This is correct:

Code: Select all

{n} ({y}) [{hpi}]
Maybe this is more close to what you want:

Code: Select all

{n} ({y}) [{vf}]
In any case, coming up with a valid format doesn't seem to be a problem. But things like {file} {vf} {hpi} etc won't work until you set a sample file.