Search found 11 matches

by Pab
04 Nov 2015, 01:35
Forum: Episode / Movie Naming Scheme
Topic: Add year when not present
Replies: 7
Views: 7980

Re: Add year when not present

I think I tried that or something similar but it still isn't working. I tried on both mac and windows as well. Maybe some other part of the naming is interfering. Are there any other problems in this: D:/Tv/{genres.contains('Documentary') ? 'Docs - Series' : 'Shows'}/{info.status == 'Ended' ? 'Ended ...
by Pab
04 Nov 2015, 00:56
Forum: Episode / Movie Naming Scheme
Topic: Avi audio.language property
Replies: 5
Views: 7469

Re: Avi audio.language property

I did find out that there is a language tag in the avi container but trying to set that seemed like too much messing about as I couldn't find a simple way to do it. I just ended up changing the container to mkv as this seemed easier than delving into the avi documentation
by Pab
04 Nov 2015, 00:52
Forum: Episode / Movie Naming Scheme
Topic: Add year when not present
Replies: 7
Views: 7980

Add year when not present

Is it possible to add the year in brackets only if the year is not present, whilst also preserving other types of trailing brackets, such as (US) or (UK)? For example Firefly -> Firefly (2002) The Newsroom (2012) -> The Newsroom (2012) Wilfred (US) -> Wilfred (US) (2011) I've tried writing if ...
by Pab
31 Oct 2015, 00:46
Forum: Episode / Movie Naming Scheme
Topic: Help with Collections
Replies: 5
Views: 6889

Re: Help with Collections

Is it something like this you are after?

Code: Select all

Movies/{collection ? collection : n (y)}/{n} ({y}){' CD'+pi}
The brackets statement gives the collection if its in a collection, otherwise the name and year
by Pab
30 Oct 2015, 23:57
Forum: Episode / Movie Naming Scheme
Topic: Avi audio.language property
Replies: 5
Views: 7469

Re: Avi audio.language property

So I don't think mediainfo currently supports avi audio language as shown in this table: https://mediaarea.net/en/MediaInfo/Support/Formats
by Pab
30 Oct 2015, 23:27
Forum: Episode / Movie Naming Scheme
Topic: Avi audio.language property
Replies: 5
Views: 7469

Re: Avi audio.language property

Thanks for pointing me in the right direction!
:)
by Pab
30 Oct 2015, 22:54
Forum: Episode / Movie Naming Scheme
Topic: Avi audio.language property
Replies: 5
Views: 7469

Avi audio.language property

Some of my movies don't have the audio language set so I have written a script using python and ffmpeg to add the eng language metadata to the audio stream of the files. This seems to be working for mp4 and mkv files, however for avi files it doesn't seem to be adding the correct properties. I ...
by Pab
30 Oct 2015, 22:50
Forum: Episode / Movie Naming Scheme
Topic: Series ID
Replies: 5
Views: 6911

Re: Series ID

Thank you, it's all updated
:)
by Pab
27 Oct 2015, 21:01
Forum: Episode / Movie Naming Scheme
Topic: Series ID
Replies: 5
Views: 6911

Re: Series ID

Ah that's great! I didn't notice that property. Thank you! I also have another question. Thetvdb didn't have an episode for a BBC documentary, so I updated it. I was wondering how long it takes to go through to the database or if there is some way I can force an update of the local database. Or is ...
by Pab
18 Oct 2015, 22:12
Forum: Episode / Movie Naming Scheme
Topic: Series ID
Replies: 5
Views: 6911

Re: The series expression

I found the toString() expression and I think I can get it from there.

series.toString()
by Pab
18 Oct 2015, 22:01
Forum: Episode / Movie Naming Scheme
Topic: Series ID
Replies: 5
Views: 6911

Series ID

I'm looking for some help using the series expression. I don't seem to be able to use any functions on this. Is this an object rather than a string and hence the standard methods are unavailable? This is what I have so far: {n.replaceAll(/:/,/-/)} ({certification} {y}) [{series}]/Season {s.pad(2 ...