tautulli2trakt icon indicating copy to clipboard operation
tautulli2trakt copied to clipboard

line 199: syntax error: unexpected "("

Open bbakermmc opened this issue 5 years ago • 6 comments

line 199: syntax error: unexpected "("

Using Unraid and this docker image:

image

bbakermmc avatar Nov 13 '19 01:11 bbakermmc

From container command line can try ./tautulli2trakt.sh -m episode -s "Chernobyl" -M "Chernobyl - 1:23:45" -y "2019" -t "360893" -i "tt7366338" -S 1 -E 1 -P 25 -a start
And see if it scrobbling on your Trakt.tv profile

./tautulli2trakt.sh -m episode -s "Chernobyl" -M "Chernobyl - 1:23:45" -y "2019" -t "360893" -i "tt7366338" -S 1 -E 1 -P 25 -a stop to stop scrobbling

Generator avatar Nov 13 '19 13:11 Generator

I try the script on WD MyCloud, which runs on a busybox, and I'm trying to arrange the script for it.

I got an error like this when I run the start command you wrote.

./tautulli2trakt.sh -m episode -s "Chernobyl" -M "Chernobyl - 1:23:45" - y "2019" -t "360893" -i "tt7366338" -S 1 -E 1 -P 25 -a start

date: invalid date 'Mon, 20 Apr 2020 15:33:50 +0300 +90 days' ./tautulli2trakt.sh: line 293: 619b5297ae3aea276116e49ec19adxxxxxxxxxxxxxxxxxxx: command not found

caglaraydin avatar Apr 20 '20 12:04 caglaraydin

@caglaraydin try the last develop

wget -O tautulli2trakt.sh https://raw.githubusercontent.com/Generator/tautulli2trakt/develop/tautulli2trakt.sh  
chmod +x tautulli2trakt.sh

Generator avatar Apr 20 '20 13:04 Generator

Gives the same error as before

I assume that's why others also mention it's not scrobbling.

caglaraydin avatar Apr 20 '20 14:04 caglaraydin

@caglaraydin try it again

wget -O tautulli2trakt.sh https://raw.githubusercontent.com/Generator/tautulli2trakt/develop/tautulli2trakt.sh  
chmod +x tautulli2trakt.sh

Generator avatar Apr 20 '20 21:04 Generator

This time it gives

date: invalid date '@' date: invalid date ' +90 days' ./tautulli2trakt.sh: line 293: TRAKT_TOKEN: command not found

caglaraydin avatar Apr 21 '20 06:04 caglaraydin