Page 3 of 5

Re: Receiving TV Data

Posted: 24 Apr 2014, 16:02
by rednoah
Image

Re: Receiving TV Data

Posted: 24 Apr 2014, 16:58
by Sheldon
Yes! It's "e <= 10" instead of "e<=10".
Thanks!
I guess "not equal" is "!=". Right?
It's ok! I tested "!=" and it worked.

And for strings it's like this t == /Titel/ . Right?
That's how I tested it positive. :)

Re: Receiving TV Data

Posted: 24 Apr 2014, 17:49
by rednoah

Re: Receiving TV Data

Posted: 24 Apr 2014, 18:37
by Sheldon
I see! Thanks!

Re: Receiving TV Data

Posted: 10 May 2014, 12:56
by Sheldon
Hi,

can I filter the data by episode release date?

Kind regards,

Sheldon

Re: Receiving TV Data

Posted: 10 May 2014, 14:00
by rednoah
Sure, same as in the Format Dialog. You have {startdate} and {airdate} and maybe some other stuff I can't recall now.

e.g.

Code: Select all

startdate.year >= 2000

Re: Receiving TV Data

Posted: 11 May 2014, 08:50
by Sheldon
Great thanks! :)
Do you have a list or collection of all parameters that can be used for filtering.
Maybe with samples, too!

Re: Receiving TV Data

Posted: 11 May 2014, 09:09
by rednoah
It's the same as in the Format Expression. So you have the Naming docs online lots of examples built into the Format Editor(click the (x)= button).

Re: Receiving TV Data

Posted: 11 May 2014, 20:34
by Sheldon
Ah! If I click the (x)-Button and one of the links that are shown in the list nothing happens.
I would expect an url to be opened in my Firefox.
Is there something missing in my enviroment and/or the cmd?

Re: Receiving TV Data

Posted: 12 May 2014, 06:30
by rednoah
In the Format Editor you can easily prototype any expression:
Image

In the Bindings dialog you can easily check what bindings are available and what values they may have:
Image

It's all self-documenting really, but if you want a link you can have one:
http://www.filebot.net/naming.html#bindings

(Linked all over the website AND from within the application if you click Syntax)

Re: Receiving TV Data

Posted: 12 May 2014, 08:12
by Sheldon
Thanks!
I just wanted to mention that I can't access any link from the "Rename Options" dialog.

Re: Receiving TV Data

Posted: 12 May 2014, 15:25
by rednoah
What links? Or rather, what do you think should be a link? If you click one of the preset formats it'll switch to that format.

Re: Receiving TV Data

Posted: 13 May 2014, 09:40
by Sheldon
I mean this:
Rename Options.jpg
Probably a misunderstanding from my side.

Re: Receiving TV Data

Posted: 13 May 2014, 09:58
by rednoah
Yes, that's Rename Options. Specifically what to do with Extensions and what Rename Action do use. If you don't know what a "hardlink" or a "symlink" is you probably won't need any of those. If you click it, you'll set the given option, do don't click it. :D

Re: Receiving TV Data

Posted: 31 May 2014, 16:29
by Sheldon
Currently I use

--filter "airdate.year == 2014 && airdate.month == 6 && airdate.day == 1"

to filter the airdate 2014-06-01.

This is a bit inconvinient. Is there another way like airdate."something" == 2014-06-01 ?

Re: Receiving TV Data

Posted: 31 May 2014, 16:38
by rednoah
Try something like this:

Code: Select all

{airdate.toString() == '2001-09-30'}

Re: Receiving TV Data

Posted: 31 May 2014, 16:51
by Sheldon
Yep! It works! Thanks!

Re: Receiving TV Data

Posted: 31 May 2014, 16:57
by Sheldon
Is there something simular for airdate >,>=,<,<= ?

Re: Receiving TV Data

Posted: 01 Jun 2014, 04:47
by rednoah
e.g.

Code: Select all

{airdate.timeStamp > 14e11}
@see
http://www.unixtimestamp.com/index.php

timeStamp => airdate in milliseconds
today's date in milliseconds => 14015808001000

PS: Newer revisions also support {age} which is the age (today - airdate) in days.

Re: Receiving TV Data

Posted: 01 Jun 2014, 08:12
by Sheldon
Thanks!

But it seems not to work properly.

I tried airdate.timestamp <= 1401613113 but received nothing what I should.
Is it Unix specific or do you use GregorianCalandar?

I work on Windows.

Re: Receiving TV Data

Posted: 01 Jun 2014, 20:30
by Sheldon
I tested it again. airdate.timestamp doesn't work. Wrong function?

Re: Receiving TV Data

Posted: 02 Jun 2014, 02:22
by rednoah
all code is case-sensitive

Re: Receiving TV Data

Posted: 02 Jun 2014, 11:40
by Sheldon
Ok! It works! Thanks! :)

Re: Receiving TV Data

Posted: 02 Jun 2014, 12:16
by Sheldon
I couldn't find a binding for the audio language.
Is there something like:

--format "{n} - {s.pad(2)} - {e.pad(2)} - {t} - {lang} - {airdate}"?

Re: Receiving TV Data

Posted: 02 Jun 2014, 12:59
by rednoah
Image

Obviously that's based on metadata embedded in the file, which may or may not be available.