Search found 49 matches

by UKenGB
12 Jan 2017, 13:43
Forum: Episode / Movie Naming Scheme
Topic: What is {n}?
Replies: 14
Views: 6469

Re: What is {n}?

But where does it come from? How does FileBot obtain this? Is it from the embedded tags, which one depending on media type?
by UKenGB
12 Jan 2017, 13:40
Forum: Scripting and Automation
Topic: Command line FileBot and tagging
Replies: 14
Views: 6882

Re: Command line FileBot and tagging

Aha, so if it will simply skip any already existing files (symlinks in my case), I don't need to worry about filtering. It can process every file in the folder to which I point it. Then I just need to delete any orphaned symlinks and everything will be completely in sync. Regarding {def x = "He...
by UKenGB
12 Jan 2017, 11:00
Forum: Episode / Movie Naming Scheme
Topic: What is {n}?
Replies: 14
Views: 6469

What is {n}?

I know it's name metadata associated with the file, but exactly what name and more importantly, where does it come from? I had thought it was the name as matched in some on-line db, but I have several small videos that will never match, yet {n} reliably returns the correct name of the video (and as ...
by UKenGB
12 Jan 2017, 09:01
Forum: Scripting and Automation
Topic: Command line FileBot and tagging
Replies: 14
Views: 6882

Re: Command line FileBot and tagging

Hard to know the best place to ask this, but it is concerned with what I want to do with the CLI, so here goes, here... When creating my symlinks with FileBot CLI, I don't want to re-create any that already exist and instead just skip those, not changing any modification/access dates or times. So:- ...
by UKenGB
12 Jan 2017, 08:50
Forum: Scripting and Automation
Topic: Command line FileBot and tagging
Replies: 14
Views: 6882

Re: Command line FileBot and tagging

That link is helpful, thanks. I hadn't found that before. I'll have a good loot at it. After much searching I've found that mp4v2, with it's mp4tags utility will write tags (including [category]) into an existing file. Perfect. Except iTunes shouldn't be treating this tag as read only in the first p...
by UKenGB
11 Jan 2017, 08:46
Forum: Scripting and Automation
Topic: Command line FileBot and tagging
Replies: 14
Views: 6882

Command line FileBot and tagging

Still working on several actual format strings to do what I want with the various media types and then I'll have to set up the command line version to use those in a single script to run. Is there any documentation about using that? I have installed it all, but no man page or anything. I could do wi...
by UKenGB
08 Jan 2017, 16:12
Forum: Episode / Movie Naming Scheme
Topic: {expression} help
Replies: 33
Views: 15693

{expression} help

I want to be able to add some text plus a tag's content, if the tag exists. Currently, this seems to work:-

Code: Select all

{media.Keyword == null ? "" : " - " + media.Keyword}
But is there a better/more succinct way to achieve this?
by UKenGB
08 Jan 2017, 16:07
Forum: Episode / Movie Naming Scheme
Topic: How to deal with special characters (e.g. colon) in filenames?
Replies: 1
Views: 4095

How to deal with special characters (e.g. colon) in filenames?

What does the Plex binding do with special characters?

There's only a few that cannot be used in the filename on a Mac (':' mainly), but how does it affect matching with the on-line databases? Are they just cut altogether, or replaced with a different character or what?
by UKenGB
08 Jan 2017, 14:35
Forum: Help and Support
Topic: Variables in formats
Replies: 6
Views: 3699

Re: Variables in formats

Yeah, got it 5 seconds after asking. Sorry.

I find posting a question is a sure fire way to ensure I then immediately figure it out for myself :-)

Thanks though.
by UKenGB
08 Jan 2017, 14:18
Forum: Help and Support
Topic: Variables in formats
Replies: 6
Views: 3699

Re: Variables in formats

Regarding this subject, how is one supposed to define a variable in the format string? I have {some code} that evaluates to what I want to use in 2 places. I have ascertained that a variable assignment appears to result in the value, so I could use such an assignment for the first instance (a folder...
by UKenGB
07 Jan 2017, 19:15
Forum: Episode / Movie Naming Scheme
Topic: Embedded tags
Replies: 16
Views: 8959

Re: Embedded tags

I understand that the Preset feature is just to store the tested code, for later re-use, but it seems to be the only way to test a format string on all the files using embedded tags. Just seeing the result on one is not enough as there's too great a chance of some variation in other files causing pr...
by UKenGB
07 Jan 2017, 18:32
Forum: Episode / Movie Naming Scheme
Topic: Plex and iTunes
Replies: 1
Views: 2030

Plex and iTunes

Since iTunes and Plex have very different ideas about file naming of TV series, it's going to be hard or impossible to share TV Show media between them. Unless I use links. So I could clone the iTunes' TV Shows folder, but using links for the actual media files, named suitable for Plex. So iTunes st...
by UKenGB
07 Jan 2017, 18:17
Forum: Help and Support
Topic: POSTBUCKET - where random posts in unrelated topics go
Replies: 1003
Views: 551413

Re: Conditional Structures (if-then-else)

Can either method be nested?

Any 'case' structures possible?
by UKenGB
07 Jan 2017, 11:48
Forum: Episode / Movie Naming Scheme
Topic: String replacement
Replies: 15
Views: 8712

Re: String replacement

Something has just come up. I wanted to rename a bunch of .m4b files to .m4a. Aha, Filebot I thought. But couldn't get it to work. Turning on Extension Override and just using {fn} unsurprisingly resulted in Missing extension errors, so {fn}.m4a ought to work. Except it didn't. It added .m4a twice. ...
by UKenGB
07 Jan 2017, 11:40
Forum: Episode / Movie Naming Scheme
Topic: String replacement
Replies: 15
Views: 8712

Re: String replacement

Brilliant. I'd figured out the use of slashes by looking at the examples, but using $1 as the back reference will really help. Does that work in the general sense of each pair of () can be referenced as $1, $2 etc as per normal regex using \1, \2 etc. Not previously even heard of Groovy. Just though...
by UKenGB
07 Jan 2017, 11:33
Forum: Episode / Movie Naming Scheme
Topic: Embedded tags
Replies: 16
Views: 8959

Re: Embedded tags

A couple of issues that have come to mind when trying to use Filebot with embedded tags. The Preset feature is great, but it actually is the only way to specify the source as 'Plain file'. The regular Fetch Data menu that you'd otherwise use to run the process does not have this option. So in order ...
by UKenGB
07 Jan 2017, 11:18
Forum: Episode / Movie Naming Scheme
Topic: Embedded tags
Replies: 16
Views: 8959

Re: Embedded tags

Here's a small movie file, with some additional (hopefully self explanatory) info in some otherwise empty tags:-

https://dl.dropboxusercontent.com/u/460 ... 04.mov.zip

This was set as a 'Home Video' in iTunes. If you need anything else, just ask.
by UKenGB
05 Jan 2017, 19:27
Forum: Episode / Movie Naming Scheme
Topic: Embedded tags
Replies: 16
Views: 8959

Re: Embedded tags

I'll dig out a movie file for you. May be tomorrow now.
by UKenGB
05 Jan 2017, 10:18
Forum: Episode / Movie Naming Scheme
Topic: String replacement
Replies: 15
Views: 8712

String replacement

I have a number of files whose names end in ' (B&W)' or ' (Colour)' which I want to replace with ' - B&W' and ' - Colour' respectively. Simple with sed etc, but I cannot make anything work in Filebot. I have 2 problems. It appears that one cannot use back references like '\1' and also I cann...
by UKenGB
04 Jan 2017, 16:25
Forum: Episode / Movie Naming Scheme
Topic: Embedded tags
Replies: 16
Views: 8959

Re: Embedded tags

Thanks for that, I'll have a go. I only wish that Plex was as flexible.
by UKenGB
04 Jan 2017, 14:08
Forum: Episode / Movie Naming Scheme
Topic: Embedded tags
Replies: 16
Views: 8959

Re: Embedded tags

BTW, I usually use Subler to tag any video files missing them. This can attach any required metadata, including artwork, all of which is then read and used by iTunes - in place. iTunes doesn't play around with it as both apps are using the exact same tags. MediaInfo of course reads the same tags. It...
by UKenGB
04 Jan 2017, 13:58
Forum: Episode / Movie Naming Scheme
Topic: Embedded tags
Replies: 16
Views: 8959

Re: Embedded tags

Be that as it may with ID3 tags actually being 'invented' for MP3 files (and of course with many different iterations for improvements over the years), but similar tagging schemes for (some) other music and video file formats have become essentially standard. I have never come across any media softw...
by UKenGB
04 Jan 2017, 12:15
Forum: Episode / Movie Naming Scheme
Topic: Embedded tags
Replies: 16
Views: 8959

Re: Embedded tags

It is a complete misconception that iTunes uses some proprietary tagging scheme. It mostly uses standard ID3 tags embedded in the files that anything else can read, edit or make use of in any way it sees fit. Any other trivial data that doesn't have a defined ID3 tag (like 'loved' and 'disliked' and...
by UKenGB
04 Jan 2017, 10:02
Forum: Episode / Movie Naming Scheme
Topic: Embedded tags
Replies: 16
Views: 8959

Embedded tags

I'm trying to share media between an existing iTunes system and Plex that I want to be able to use. I'm having trouble with this as iTunes maintains the files' tags in sync with its own database and creates logical and appropriate folder and file names for all the media. It does a very good job of t...