Search found 23 matches

by marciton
17 Jun 2024, 13:24
Forum: Help and Support
Topic: need help for wrong identification (when using a custom --q parameter)
Replies: 1
Views: 6832

need help for wrong identification (when using a custom --q parameter)

Hello,
I run a script for year and first time it failed to identify the proper show, probably a flow on my logic but I'm not finding it...

My "Evil 2019" is indemnified as Evil Genius (2017) .. if I manually search on the site TheTVDB it is ok
Any idea:



Debug Mode On
Source is: TheTVDB ...
by marciton
24 Nov 2021, 09:48
Forum: Feature Requests and Bug Reports
Topic: SyntaxError: expecting EOF, found '8'
Replies: 2
Views: 8284

Re: SyntaxError: expecting EOF, found '8'

Thanks, I will modify my script to take care of it...
by marciton
23 Nov 2021, 18:53
Forum: Feature Requests and Bug Reports
Topic: SyntaxError: expecting EOF, found '8'
Replies: 2
Views: 8284

SyntaxError: expecting EOF, found '8'

Hello,
I'm using the same command since years and now I have a strange error. Any idea how to push the troubleshouting?:

usr/local/bin/filebot -rename --log ALL --format @/var/services/homes/toto/format.txt --lang en --db TheTVDB --q @title.txt --filter "s==08" *.mkv
* Consider using --apply ...
by marciton
10 Aug 2021, 12:41
Forum: Feature Requests and Bug Reports
Topic: refresh file services and media library
Replies: 6
Views: 13154

Re: refresh file services and media library

Thanks, that's clear.
I'm not sure that displaying the message all the time I running the command is good, but it's not bothering me in my logs.
by marciton
09 Aug 2021, 17:30
Forum: Feature Requests and Bug Reports
Topic: refresh file services and media library
Replies: 6
Views: 13154

Re: refresh file services and media library

ok, I understand,and as I'm running this directly on a Synology folder ... it's not useful on my case. Thanks for the clarification.
by marciton
09 Aug 2021, 13:34
Forum: Feature Requests and Bug Reports
Topic: refresh file services and media library
Replies: 6
Views: 13154

refresh file services and media library

I'm using scripts with filbot command on it to properly named my files since a while now but I'm noticing this recommendation :


* Consider using --apply refresh to refresh file services and media library

I'm not sure for what it is.

this is an example of the commands I run:

runNS="/usr ...
by marciton
23 Apr 2021, 09:18
Forum: Synology NAS & Embedded Linux
Topic: Failed to identify or process any files (in Strict Mode)
Replies: 6
Views: 7430

Re: Failed to identify or process any files (in Strict Mode)

"you can always write a script that calls -rename first and then checks the exit code or output, and then follow things up with other commands depending on the situation."
--> I did that and it's working ... Thanks
by marciton
22 Apr 2021, 08:44
Forum: Synology NAS & Embedded Linux
Topic: Failed to identify or process any files (in Strict Mode)
Replies: 6
Views: 7430

Re: Failed to identify or process any files (in Strict Mode)

ok, I will update my script to have the non-strict option there ... I guess I would love an option to use non-strict only if "strict" is not working & maybe the message "Failed to identify or process any files" could be "Failed to identify or process any files, Have you tried with -non-strict ...
by marciton
21 Apr 2021, 14:54
Forum: Synology NAS & Embedded Linux
Topic: Failed to identify or process any files (in Strict Mode)
Replies: 6
Views: 7430

Re: Failed to identify or process any files (in Strict Mode)

Ok -non-strict is working but not sure why strict mode was not working the initial name seems ok :

/usr/local/bin/filebot -rename -non-strict --format @/var/services/homes/bob/format.txt --lang fr --db TheTVDB --q @title.txt --filter s==02 *.mkv
* Consider using --apply refresh to refresh file ...
by marciton
21 Apr 2021, 09:20
Forum: Synology NAS & Embedded Linux
Topic: Failed to identify or process any files (in Strict Mode)
Replies: 6
Views: 7430

Failed to identify or process any files (in Strict Mode)

I have a filebot command embed in a script since months now, working perfectly ... except for a new show... and I don't know how to troubleshoot the issue:

/volume2/Downloads/_series/Astrid et Raphaëlle$ /usr/local/bin/filebot -rename --format @/var/services/homes/bob/format.txt --lang fr --db ...
by marciton
25 Apr 2020, 22:18
Forum: Scripting and Automation
Topic: 4.9.1 Failed to identify or process any file
Replies: 5
Views: 4679

Re: 4.9.1 Failed to identify or process any file

Thanks ... That's a really stupid mistake ...
by marciton
25 Apr 2020, 16:52
Forum: Scripting and Automation
Topic: 4.9.1 Failed to identify or process any file
Replies: 5
Views: 4679

Re: 4.9.1 Failed to identify or process any file

https://ibb.co/rdTZ9Lf
Of course I tried manually out of the script and it’s the same...
by marciton
25 Apr 2020, 16:37
Forum: Scripting and Automation
Topic: 4.9.1 Failed to identify or process any file
Replies: 5
Views: 4679

4.9.1 Failed to identify or process any file

I just updated filebot to 4.9.1 on my Synology and my script seams to not work anymore and always return a Failed to identify or process any file ...

1/Anything I missed who need to change with this version?
2/any easy way to move back to 4.9.0 to test if it’s really the new version who broke my ...
by marciton
10 Apr 2020, 14:37
Forum: Scripting and Automation
Topic: log the command executed
Replies: 6
Views: 5486

Re: log the command executed

Ok, I tried hard ... without success ... I have reduce to 6 lines of code to debug ... what I'm missing there...?

I tired all previous syntax. it's working out of the script but not inside bash script...


#!/bin/bash
export PATH="/usr/local/bin:$PATH"

MD="/usr/local/bin/filebot -script fn:sysenv ...
by marciton
07 Apr 2020, 22:24
Forum: Scripting and Automation
Topic: log the command executed
Replies: 6
Views: 5486

Re: log the command executed

Thanks so it's could be related to the path..
how to you escape the space in the variable if it's not \

if I do:

MD="/usr/local/bin/filebot -script fn:sysenv -rename /volume2/Downloads/_series/HelloW/season\ 3/*.mkv"
$MD

it's doing:
File does not exist: /volume2/Downloads/_series/HelloW/season ...
by marciton
06 Apr 2020, 08:28
Forum: Scripting and Automation
Topic: log the command executed
Replies: 6
Views: 5486

Re: log the command executed

correct ... unfortunately for me, just a copy past error here ... the space is there in the script ...
by marciton
05 Apr 2020, 22:37
Forum: Scripting and Automation
Topic: log the command executed
Replies: 6
Views: 5486

log the command executed

Hi
in a bash script, I have:

echo $run $new_directory2
$run $new_directory2

the result of the echo is:
/usr/local/bin/filebot -rename --log all --log-file /var/services/homes/admin/log.txt --format "{n} - {s00e00} - {t}" --lang fr --db TheTVDB --q 'Miracle Workers (2019) 2019' -list --filter s ...
by marciton
02 Apr 2020, 09:38
Forum: Scripting and Automation
Topic: Run a script over SSH on Shortcut app in iOS13
Replies: 6
Views: 9133

Re: Run a script over SSH on Shortcut app in iOS13

Now that I have a "simple" version working I'm doing the real scripting part with variable and menu ... and like always it's working from the SSH console but not from the shortcut app.
I creating a log to see what happening but I don't have the "exact" command who it build ... any idea how to have ...
by marciton
01 Apr 2020, 09:45
Forum: Scripting and Automation
Topic: Run a script over SSH on Shortcut app in iOS13
Replies: 6
Views: 9133

Re: Run a script over SSH on Shortcut app in iOS13

Thanks that's worked perfectly!

Shortcut is from Apple, a built-in App so asking Apple ... is like not asking.
by marciton
31 Mar 2020, 12:05
Forum: Scripting and Automation
Topic: Run a script over SSH on Shortcut app in iOS13
Replies: 6
Views: 9133

Re: Run a script over SSH on Shortcut app in iOS13

ok the issue could be with the path:

on SSH from the Mac:

admin@netshare7:~$ printenv
TERM=xterm-256color
SHELL=/bin/sh
SSH_CLIENT=192.168.10.173 62225 22
SSH_TTY=/dev/pts/4
LC_ALL=en_US.utf8
USER=admin
PAGER=more
MAIL=/var/mail/admin
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno ...
by marciton
30 Mar 2020, 23:42
Forum: Scripting and Automation
Topic: Run a script over SSH on Shortcut app in iOS13
Replies: 6
Views: 9133

Run a script over SSH on Shortcut app in iOS13

hello
On my Synology I have a simple script called Upt_Wesworld.sh :

#!/bin/bash
/usr/local/bin/filebot -rename --format "{n} - {s00e00} - {t}" --lang fr --db TheTVDB --q 'Westworld' --filter "s==03" /volume2/Downloads/_series/Westworld/season\ 3/*.mkv

When I'm running it from ssh on the ...
by marciton
17 Mar 2020, 08:49
Forum: Scripting and Automation
Topic: force a season
Replies: 2
Views: 3326

Re: force a season

Thanks, worked perfectly!

the GUI is not working on my Synology ... but it's ok with command line ... more option :->
I guess I would love a tool who build my command line that I can use later :->
by marciton
11 Mar 2020, 23:43
Forum: Scripting and Automation
Topic: force a season
Replies: 2
Views: 3326

force a season

Hello,
I have a command line who is usually working correctly who look like:

filebot -rename --lang fr --db TheTVDB --q 'myshow' -list -r /mypath

where myShow is the name of the show and mypath the path of the files. but when I run it on a specific show its returning Season 01 instead of Season ...