FormatEditor: path to media file has not been set

Support for Windows users
Post Reply
naggert
Posts: 3
Joined: 23 Sep 2015, 23:27

FormatEditor: path to media file has not been set

Post 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
User avatar
rednoah
The Source
Posts: 23928
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Help with renaming script

Post by rednoah »

Where does the value of {hpi} come from? Have you set a sample file yet?
:idea: Please read the FAQ and How to Request Help.
naggert
Posts: 3
Joined: 23 Sep 2015, 23:27

Re: Help with renaming script

Post 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
User avatar
rednoah
The Source
Posts: 23928
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Help with renaming script

Post 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.
:idea: Please read the FAQ and How to Request Help.
naggert
Posts: 3
Joined: 23 Sep 2015, 23:27

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

Post 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?
User avatar
rednoah
The Source
Posts: 23928
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post 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.
:idea: Please read the FAQ and How to Request Help.
Post Reply