Git Product home page Git Product logo

Comments (6)

arabcoders avatar arabcoders commented on September 6, 2024 2

The build is out. Please try it out and report back if you are facing any problems.

Thanks for your suggestions.

from watchstate.

TechPerplexed avatar TechPerplexed commented on September 6, 2024 1

Wow :) I came here to create a similar ticket, and here you are and said it better than I ever could. I absolutely second this request, I would like stuff that I mark unwatched on one to be marked unwatched on all services. Thanks for (hopefully) considering this, @arabcoders 😄

from watchstate.

arabcoders avatar arabcoders commented on September 6, 2024 1

Hi, lets try to clear things up a bit, the behavior depends on if you are using webhooks or not.

For webhook enabled servers > jellyfin, marking item as watch/unwatched does trigger webhook event, sadly thats not true for plex, Plex does not trigger an event, i even opened feature request here, it just seems poeple are not interested.

On the Task scheduler side, right now tasks does not sync marked as unwatched items, as the flag is missing in the task definition, i have to come up with a way to allow it to be configured such that you can import unwatched episodes via tasks, and the export state does not override watch state unless the date on the object is older than what's recorded in the local database unless you use --ignore-date flag.

Anyway I'll come up with a environment variable to allow you to import unwatched.

if this not what you guys mean please give more details on the required behavior.

from watchstate.

TechPerplexed avatar TechPerplexed commented on September 6, 2024 1

Working like a charm! I just tested it with all three (marking stuff unwatched) and it synced back to all the others. Thank you so much for your prompt implementation!

from watchstate.

Jacob-Lasky avatar Jacob-Lasky commented on September 6, 2024

@arabcoders you're describing exactly what I want to see! I'm not using webhooks, so these are scheduled tasks.

and the export state does not override watch state unless the date on the object is older than what's recorded in the local database

That was my intuition on how it would work. Thanks for a fast response :) Absolutely loving this tool!

from watchstate.

arabcoders avatar arabcoders commented on September 6, 2024

In 30mins pull the new container and set env: WS_CRON_IMPORT_UNWATCHED to 1 it should trigger unwatched import. ofc, do not forget to restart the container though. also this ENV variable concerns only the tasks not the actual command, if you are running the command manually you still have to add the flag yourself e.g. --import-unwatched

also if you are manually running the command it really helpful to do console help [command] to see the avaliable flags on each command.

from watchstate.

Related Issues (20)

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.