cmdline {plex} tag does not work as expected

Support for Ubuntu and other Desktop Linux distributions
Post Reply
elgallo
Posts: 40
Joined: 29 Apr 2014, 10:33

cmdline {plex} tag does not work as expected

Post by elgallo »

root@freeBSDbox ~# filebot -script fn:sysinfo


CALL

Code: Select all

filebot -rename --db TheTVDB --output "/zata/plex/series" --format {plex} --action hardlink -non-strict -r /zata/done/ser/Are*
OUTPUT

the issue is my "plex" TV Show folder only has 2 files

Code: Select all

root@freeBSDbox ~# ls /zata/plex/series/
plex.avi        plex.mkv
I have tried

Code: Select all

--format {Plex}, {plex.name}
Last edited by elgallo on 24 Jan 2019, 21:05, edited 1 time in total.
User avatar
rednoah
The Source
Posts: 22976
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: cmdline {plex} tag does not work as expected

Post by rednoah »

Unfortunately, I can't see your private pastebin. Can you PM me the logs?


The behaviour you describe, would indicate that you're passing in plex as format:

Code: Select all

--format plex
and not {plex} as we'd expect:

Code: Select all

--format {plex}

Are you perhaps not using bash? Are you perhaps making this call from non-bash shell or scripting language the interprets the {...} away?
:idea: Please read the FAQ and How to Request Help.
elgallo
Posts: 40
Joined: 29 Apr 2014, 10:33

Re: cmdline {plex} tag does not work as expected

Post by elgallo »

running from kitty shell on MacOS via ssh into BSD box via fish terminal.
I should switch to bash?

pastebin changed to unlisted (should be viewable)
elgallo
Posts: 40
Joined: 29 Apr 2014, 10:33

Re: cmdline {plex} tag does not work as expected

Post by elgallo »

I can get a script to run*

Code: Select all

#!/usr/ports/shells/bash
filebot -script fn:amc --db TheTVDB --output "/zata/plex/" --format {plex} --action hardlink -non-strict -r "/zata/done/ser" --log-file amc.log --def excludeList=amc.txt
however there is A LOT of repeating error output while running

Code: Select all

Failed to read xattr: IOException: UserDefinedFileAttributeView is not supported
Failed to read xattr: IOException: UserDefinedFileAttributeView is not supported
Failed to read xattr: IOException: UserDefinedFileAttributeView is not supported
Failed to read xattr: IOException: UserDefinedFileAttributeView is not supported
Failed to read xattr: IOException: UserDefinedFileAttributeView is not supported
Failed to read xattr: IOException: UserDefinedFileAttributeView is not supported
and eventually just hangs
User avatar
rednoah
The Source
Posts: 22976
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: cmdline {plex} tag does not work as expected

Post by rednoah »

1.
The second pastebin is still not viewable.


2.
I've never used any of these shells. Let's run some sanity checks:

Code: Select all

$ echo {plex}
{plex}

Code: Select all

$ echo '{plex}'
{plex}

3.
The xattr warning is just a warning. The latest beta has improved support for xattr on FreeBSD and should make these warnings go away:
viewtopic.php?f=6&t=9535


4.
I have no idea why it might hang. You seem to have plenty of memory. Please try to enable fine-grained logging, so we can find out exactly where it's hanging:
viewtopic.php?f=3&t=3913
:idea: Please read the FAQ and How to Request Help.
Post Reply