Search found 417 matches

by devster
05 Aug 2017, 20:09
Forum: Scripting and Automation
Topic: Map regex replace on folders only
Replies: 3
Views: 2562

Re: Map regex replace on folders only

I'm trying to do what you suggested, however there are a couple of quirks. The first one is that the folder to be renamed might contain additional folders, therefore the following 2 commands have different outputs: filebot --action test -rename $folder_name --format $format --output $media_output Th...
by devster
27 Jul 2017, 23:15
Forum: Scripting and Automation
Topic: Map regex replace on folders only
Replies: 3
Views: 2562

Map regex replace on folders only

What would be the best way to replace a series of strings in folder names with others but otherwise leave the file untouched? I was thinking of a csv file with a map of replacements, for example: [rarbg]; [ettv];ETTV ... And such but I'm struggling to find the correct mix of logic and bindings to ma...
by devster
25 Jul 2017, 17:47
Forum: Scripting and Automation
Topic: Skip processing types of files
Replies: 3
Views: 2580

Re: Skip processing types of files

Thanks, that sounds easy enough, didn't think about that. This seems to work, sharing for posterity (transmission is the client). ARG_PATH="$TR_TORRENT_DIR/$TR_TORRENT_NAME" ... LINKS=$(find $ARG_PATH -type l) if [[ ${#LINKS} -gt 0 ]] then exit 0 fi As a related question, does filebot -rev...
by devster
24 Jul 2017, 21:46
Forum: Scripting and Automation
Topic: Skip processing types of files
Replies: 3
Views: 2580

Skip processing types of files

I'm using the KEEPLINK option in filebot, since this allows me to move the file to another disk but keep seeding. However it might happen that I add again the torrent that would use that symlink to seed, and in this case transmission considers the verification of files as another complete download, ...
by devster
24 Jul 2017, 18:53
Forum: Feature Requests and Bug Reports
Topic: video source missing
Replies: 13
Views: 8759

Re: video source missing

I'd be in favor of this addition, as already said it denotes a significantly different file, and, notably, usually affects subtitle sync and matching.
by devster
04 Jul 2017, 14:14
Forum: Synology NAS & Embedded Linux
Topic: Raspberry Pi 3 - Updating script error
Replies: 7
Views: 4828

Re: Raspberry Pi 3 - Updating script error

My Raspberry Pi 3 runs the very standard raspbian (Debian derivative) which should support PPA. I'm not able to make one though. I haven't tested snap on the Pi3 yet but since there is a version of Ubuntu Core for the Raspberry I presume it works. https://developer.ubuntu.com/core/get-started/raspbe...
by devster
04 Jul 2017, 06:32
Forum: Synology NAS & Embedded Linux
Topic: Raspberry Pi 3 - Updating script error
Replies: 7
Views: 4828

Re: Raspberry Pi 3 - Updating script error

Yes, it was an error page.
Is it allowed to build and share the .jar or .deb package?
by devster
03 Jul 2017, 21:53
Forum: Synology NAS & Embedded Linux
Topic: Raspberry Pi 3 - Updating script error
Replies: 7
Views: 4828

Re: Raspberry Pi 3 - Updating script error

Thank you, but it still seems to fail: sh -xu <<< "$(curl -fsSL https://raw.githubusercontent.com/filebot/plugins/e9e5a71a62de9239ea5518cb6db3036ad5aa560f/installer/portable.sh)" + FILEBOT_VERSION=4.7.9 + FILEBOT_SHA256=2531bc67d3522b1db05870da2b72fff580ebfa5969655e75382ffe2c8dec6867 + FIL...
by devster
03 Jul 2017, 16:36
Forum: Synology NAS & Embedded Linux
Topic: Raspberry Pi 3 - Updating script error
Replies: 7
Views: 4828

Raspberry Pi 3 - Updating script error

I recently tried to update FileBot on my Raspberry Pi 3 using the following command: sh -xu <<< "$(curl -fsSL https://raw.githubusercontent.com/filebot/plugins/master/installer/portable.sh)" This however failed with: + FILEBOT_VERSION=4.7.10 + FILEBOT_SHA256=8ade6995e33db309a9aead54bf0f06f...
by devster
02 Jul 2017, 23:31
Forum: Help and Support
Topic: Subtitles Upload
Replies: 1
Views: 2733

Subtitles Upload

I've seen mentioned a few times the possibility to upload subtitles using FIleBot, but I'm currently unable to find it on the application. I'm using FileBot from the AppStore on macOS, version 4.7.11 (5154). https://snag.gy/N9HbPo.jpg I also tried to find something similar for the command line, it w...
by devster
21 Jun 2017, 19:09
Forum: Scripting and Automation
Topic: Download subtitles depending on audio language
Replies: 1
Views: 3160

Download subtitles depending on audio language

The objective is to be able to download one or more subtitles depending on the language spoken in the file. Examples: The Mummy (1999) - file contains a single audio stream in English -> subtitles downloaded .eng La dame dans l'auto avec des lunettes et un fusil (2015) - file contains single audio s...
by devster
20 Jun 2017, 22:46
Forum: Episode / Movie Naming Scheme
Topic: Reuse def
Replies: 8
Views: 4656

Re: Reuse def

1. No, but you could write your entire format in a single {...} block. What is the difference between: { superu = { it.upper() } } { superu(ny)} (stupid example, but works) and something like: { def a = audioLanguages; a.size() > 1 ? a.ISO3.join(", ").upperInitial() : a.name.first() } In ...
by devster
20 Jun 2017, 22:37
Forum: Episode / Movie Naming Scheme
Topic: How about sharing our format expressions?
Replies: 33
Views: 493066

Re: How about sharing our format expressions?

I'll try joining the big ones with my formats. First of all the command I use: filebot -script fn:amc --action test --output "/<disk>/Media" --conflict --def clean=y unsorted=y subtitles=en artwork=y excludeList=".excludes" ut_dir="$ARG_PATH" ut_kind="multi" u...
by devster
12 Jun 2017, 19:47
Forum: Episode / Movie Naming Scheme
Topic: Language inner workings
Replies: 1
Views: 2709

Language inner workings

I'm trying to understand a bit better how audio languages are detected and processed. The objective is to have "English" or "Eng, Ita" in case of single language or multi-language movies. Which of the following is the preferred way to do things: { audioLanguages.size() > 1 ? audi...
by devster
09 Jun 2017, 20:36
Forum: Ubuntu & Desktop Linux
Topic: File MOVE fails at the end (NTFS/exFAT)
Replies: 5
Views: 3995

Re: File MOVE fails at the end (NTFS/exFAT)

I'm convinced it's something related to the origin, COPY works but MOVE doesn't.
Oh well, I can live with this.
Thank you for the help.
by devster
07 Jun 2017, 17:38
Forum: Ubuntu & Desktop Linux
Topic: File MOVE fails at the end (NTFS/exFAT)
Replies: 5
Views: 3995

Re: File MOVE fails at the end (NTFS/exFAT)

Below are the default permissions for a directory: devster@rpi3:/mnt/bellatrix $ mkdir test && lh total 0 drwxrwsr-x 1 devster devster 0 Jun 7 19:27 test And the default file permissions are: devster@rpi3:/mnt/bellatrix $ cd test && touch test.txt && lh total 0 -rw-rw-r-- 1 d...
by devster
06 Jun 2017, 23:11
Forum: Ubuntu & Desktop Linux
Topic: File MOVE fails at the end (NTFS/exFAT)
Replies: 5
Views: 3995

File MOVE fails at the end (NTFS/exFAT)

Hello, I'm having an issue that I have trouble understanding, I have one disk on which I have the files and another on which i have the library, the first is formatted in exFAT, the second is an NTFS drive mounted with ntfs-3g, with permissions and a UserMapping file. I'm running the following comma...