Search found 21 matches

by Crankrune
21 Oct 2016, 22:30
Forum: Help and Support
Topic: Any quick/easy way to run multiple formats on just a few files?
Replies: 1
Views: 1753

Any quick/easy way to run multiple formats on just a few files?

Basically, I sort my movies (via hardlinking) into various other folders after the initial rename. I just use the GUI with xattr and manually do one after another each format. I was wondering if there is a simpler way to hardlink a file multiple times, with different formats, without dragging it int...
by Crankrune
21 Oct 2016, 20:47
Forum: Episode / Movie Naming Scheme
Topic: [HELP] Missing information leaving blank spaces in filename.
Replies: 13
Views: 9203

Re: [HELP] Missing information leaving blank spaces in filename.

Tuned into this thread a bit late, but I have some advice. For the group binding, another fix is to just move the brackets inside and it'll only use them if group is defined. Old way: [{n.findMatch(group) ? null : group}] New way: {[n.findMatch(group) ? null : group]} Another workaround for the whol...
by Crankrune
11 Oct 2016, 18:53
Forum: Episode / Movie Naming Scheme
Topic: Use file date instead of episode/movie date?
Replies: 4
Views: 2856

Re: Use file date instead of episode/movie date?

Thanks for that. Is there any way to prevent FileBot from changing the modified date on a file when hardlinking? I hardlinked several of the movies and it changed there modified date, which is kind of annoying since I was moving them based on that date.
by Crankrune
11 Oct 2016, 02:10
Forum: Episode / Movie Naming Scheme
Topic: Use file date instead of episode/movie date?
Replies: 4
Views: 2856

Re: Use file date instead of episode/movie date?

I've figured it out. I totally wasn't aware of the {media} variable. Here's how to do it.

Code: Select all

{media.File_Modified_Date} = UTC 2016-09-15 11:30:41.242
{media.File_Modified_Date_Local} = 2016-09-15 11:30:41.242
by Crankrune
11 Oct 2016, 00:51
Forum: Episode / Movie Naming Scheme
Topic: Use file date instead of episode/movie date?
Replies: 4
Views: 2856

Use file date instead of episode/movie date?

I'm trying to organize some of my movies based on when I downloaded them. I made sure I had them all loaded as files and not movies, but some of them still matched and used the movies date. I was using the 'd' variable, which seems to load either the movie's date or the file's date. How can I force ...
by Crankrune
06 Oct 2016, 16:58
Forum: Scripting and Automation
Topic: New to CLI/Scripts, need some help.
Replies: 7
Views: 3890

Re: New to CLI/Scripts, need some help.

I ran this command. No script, no -r , and it searched in the subfolders, which I didn't want it to do. How can I change that? Also, how do I revert just the last thing in the command line? I used the revert command, it asked me to specify a folder, so I did, and it reverted things I renamed months ...
by Crankrune
06 Oct 2016, 05:00
Forum: Scripting and Automation
Topic: New to CLI/Scripts, need some help.
Replies: 7
Views: 3890

Re: New to CLI/Scripts, need some help.

Thanks again, I only used --def because that's what I saw in the post about @files, I see now that's not necessary. I also added the db to it, I had just forgot. Where do I get the "r4347" file? The sourceforge page didn't have that one yet. Also, is there inverse to -r to make sure someth...
by Crankrune
06 Oct 2016, 04:23
Forum: Scripting and Automation
Topic: New to CLI/Scripts, need some help.
Replies: 7
Views: 3890

Re: New to CLI/Scripts, need some help.

Thanks, I've starting to figure out the command line, though I've had a problem with my first script/command. It won't look in subfolders, which is annoying since that's where most things download to. I know you mention the AMC script, but I already have my preferred format. Here's the command in qu...
by Crankrune
05 Oct 2016, 03:09
Forum: Scripting and Automation
Topic: New to CLI/Scripts, need some help.
Replies: 7
Views: 3890

New to CLI/Scripts, need some help.

I have a few questions about this, I've searched and not found what I need. 1. Basic question, does the command line look in subfolders? As in if I direct it to "H:\TV\Unsorted\" will it look in and rename in "H:\TV\Unsorted\TV Show Download Folder\"? 2. I'm having issues with a ...
by Crankrune
28 Sep 2016, 20:11
Forum: Episode / Movie Naming Scheme
Topic: Can't write to file,access denied.
Replies: 4
Views: 3039

Re: Can't write to file,access denied.

Honestly just screwing around with different things filebot can do, and this seems like something that could be useful.
by Crankrune
28 Sep 2016, 10:22
Forum: Episode / Movie Naming Scheme
Topic: Can't write to file,access denied.
Replies: 4
Views: 3039

Can't write to file,access denied.

I'm trying to write stuff to a text file, and when I do I get an error. Any way to fix this?

ExpressionException: access denied "java.io.FilePermission"
by Crankrune
15 Sep 2016, 16:03
Forum: Episode / Movie Naming Scheme
Topic: Batman TV Show Villan Name
Replies: 4
Views: 3052

Re: Batman TV Show Villan Name

You could try something like this. It'll match to words that are likely associated with the villain. You'll have to write in all possible phrases in this.

Code: Select all

{t.match(/Riddle|Joke/).replaceAll(/(?i)riddle/,'Riddler').replaceAll(/(?i)joke/,'Joker')}
by Crankrune
03 Sep 2016, 23:44
Forum: Episode / Movie Naming Scheme
Topic: How to add 10bit
Replies: 7
Views: 3969

Re: How to add 10bit

This should work, you can replace "match" with "contains, find, or findAll", should work the same. Though there isn't much reason to. Also, depending on the video, "{video[0].codecprofile}" might return something different, but it my case it was "High 10@L5.1"...
by Crankrune
03 Sep 2016, 01:33
Forum: Episode / Movie Naming Scheme
Topic: [END] on the last episode of the season
Replies: 6
Views: 4664

Re: [END] on the last episode of the season

No problem. The work around for specials is just because with the first two formats, if the last episode in a season was a special, it wouldn't work.
by Crankrune
02 Sep 2016, 20:40
Forum: Episode / Movie Naming Scheme
Topic: [END] on the last episode of the season
Replies: 6
Views: 4664

Re: [END] on the last episode of the season

Try this. If the last episode is a special, this won't work, but I'll keep messing with it. {episodelist.findAll{it.season == s}[-1].toString().after('x').before(' ') == e ? '[END]' : ''} Edit: Still haven't found a workaround for the specials, but here is a shorts version of this. Not sure why I ma...
by Crankrune
20 Aug 2016, 06:08
Forum: Episode / Movie Naming Scheme
Topic: [Help] Parts not working with TheTVDB
Replies: 24
Views: 10344

Re: [Help] Parts not working with TheTVDB

Update: Parts still not working with TheTVDB, whipped this up as a workaround for now.

Code: Select all

{' [Part '+episode.toString().match(/\([0-9]+\)$/)[1]+']'}
by Crankrune
20 Aug 2016, 02:44
Forum: Episode / Movie Naming Scheme
Topic: [Help] Parts not working with TheTVDB
Replies: 24
Views: 10344

Re: [Help] Parts not working with TheTVDB

1.
DC's Legend of Tomorrow, Season 1 Episode 1
Star Trek - Enterprise, Season 4 Episodes 1&2 (separate files)

2.
Thanks for that. I had this to use as a workaround. Just not sure how to have a variable in the part number.

Code: Select all

{episode.toString().match(/([0-9])/); ' [Part 1]'}
by Crankrune
20 Aug 2016, 01:22
Forum: Episode / Movie Naming Scheme
Topic: [Help] Parts not working with TheTVDB
Replies: 24
Views: 10344

Re: [Help] Parts not working with TheTVDB

I just used that test, and it worked. {t} isn't returning the (1) (2). However {episode} is and replacePart isn't working with that. Any ideas on how I can this part thing to work? I can't figure out how to use any .match or .replace to work with {episode}.
by Crankrune
19 Aug 2016, 22:42
Forum: Episode / Movie Naming Scheme
Topic: [Help] Parts not working with TheTVDB
Replies: 24
Views: 10344

[Help] Parts not working with TheTVDB

In my TV format I use this for parts. There's a lot more to it, but that's what I have regarding parts. {t.replacePart(' [Part $1]') When I match to TheTVDB, which I usually use, it does not append the Part #. Even if I just use {t}. However when I match to TVmaze, the parts work just fine. I also t...
by Crankrune
20 Jul 2016, 13:11
Forum: Episode / Movie Naming Scheme
Topic: Need help understand if/else,
Replies: 4
Views: 4146

Re: Need help understand if/else,

Thanks for the help. Here's my whole expression. {file.path[0]}:\TV\{csv('H:/TV/Names.csv').get(n.replaceTrailingBrackets(replacement = "").replace(':', " -")) ?: n.replaceTrailingBrackets(replacement = "").replace(':', " -")}\{episode.special ? 'Specials/' : ...
by Crankrune
20 Jul 2016, 11:56
Forum: Episode / Movie Naming Scheme
Topic: Need help understand if/else,
Replies: 4
Views: 4146

Need help understand if/else,

I've been using FileBot for while, using Google and these forums to figure out how to do what I've wanted to do. And so far that's worked most of the time. Except with if/else statements. I have a basic understanding of them, but haven't really figured out how they work. The only thing I've really f...