Giter Site home page Giter Site logo

Comments (14)

Generator avatar Generator commented on May 30, 2024

What system are you running, is it on Docker or on host?

from tautulli2trakt.

Tharic99 avatar Tharic99 commented on May 30, 2024

Tautulli itself is on Docker, the script itself is sitting on the host via the path mapping.

from tautulli2trakt.

Generator avatar Generator commented on May 30, 2024

Docker tautulli/tautulli doesn't support -P, --perl-regexp PATTERNS are Perl regular expressions.

I will try to find a different way to do it.

from tautulli2trakt.

Tharic99 avatar Tharic99 commented on May 30, 2024

I'm on the linuxserver/tautulli if that helps but it may very well be the same way.

from tautulli2trakt.

Generator avatar Generator commented on May 30, 2024

Basically the same thing, both uses grep from busybox (1.30.1) and doesn't support perl regex expressions

from tautulli2trakt.

Generator avatar Generator commented on May 30, 2024

@Tharic99 test the develop version

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

You'll need to run setup again, the previous didn't create a proper data file.
First: tautulli2trakt.sh --reset
Then: tautulli2trakt.sh --setup

If it's working you should see the watch progress on your trakt.tv profile https://trakt.tv/users/<your username>

from tautulli2trakt.

Tharic99 avatar Tharic99 commented on May 30, 2024

Did it all. Still not seeing anything though.

  1. I noticed that my tautulli2trakt.data is 0 bytes. Even after multiple starts, pauses, etc.

  2. I'm not seeing errors per say in the Tautulli logs though.


2019-10-04 17:33:27 | 12 | scripts | on_pause | -m episode -s "Chernobyl" -M "Chernobyl - 1:23:45" -y "2019" -t "360893" -i "tt7366338" -S 1 -E 1 -P 25 -a pause
-- | -- | -- | -- | --

But i'm not seeing anything new show up on my trakt.tv history.
Feel free to check it yourself, it should be open to anyone.
https://trakt.tv/users/rs5050/history

from tautulli2trakt.

Generator avatar Generator commented on May 30, 2024

I noticed that my tautulli2trakt.data is 0 bytes

The file is probably empty, original file is 9k

try instead
curl https://raw.githubusercontent.com/Generator/tautulli2trakt/develop/tautulli2trakt.sh -o tautulli2trakt.sh chmod +x tautulli2trakt.sh

from tautulli2trakt.

Tharic99 avatar Tharic99 commented on May 30, 2024

Same thing, 0 byte data file.

I even did the --reset and --setup again as well, still 0 bytes.

from tautulli2trakt.

Generator avatar Generator commented on May 30, 2024

Sorry, misread the filename.
do cat tautulli2trakt.data, you should see something like this:
{"access_token":"dbaf9757982a9e738f05d249b7b5b4a266b3a139049317c4909f2f263572c781","token_type":"bearer","expires_in":7200,"refresh_token":"76ba4c5c75c96f6087f58a4de10be6c00b29ea1ddc3b2022ee2016d1363e3a7c","scope":"public","created_at":1487889741}

but dot not post here, is just to check is the data is there

Tf there's any data you can try to run the command manualy and check 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 start

Stop action
./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

from tautulli2trakt.

Tharic99 avatar Tharic99 commented on May 30, 2024

The tautulli2trakt.data is a zero byte file, so a cat tautulli2trakt.data doesn't return anything.

When I run the command manually, I get a date: invalid date ‘@’

./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 ‘@’

from tautulli2trakt.

Generator avatar Generator commented on May 30, 2024

OK, some is wrong, will fix and do a proper testing. I'll try to fix this soon as possible

from tautulli2trakt.

Generator avatar Generator commented on May 30, 2024

@Tharic99 Try it now. Found the issue, was just a typo.

curl https://raw.githubusercontent.com/Generator/tautulli2trakt/develop/tautulli2trakt.sh -o tautulli2trakt.sh  
chmod +x tautulli2trakt.sh

then run again tautulli2trakt.sh --setup

from tautulli2trakt.

Generator avatar Generator commented on May 30, 2024

New version release, you can try it
wget -O tautulli2trakt.sh https://raw.githubusercontent.com/Generator/tautulli2trakt/master/tautulli2trakt.sh chmod +x tautulli2trakt.sh

And run tautulli2trakt.sh --setup

from tautulli2trakt.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.