Git Product home page Git Product logo

prefetcharr's People

Contributors

p-hueber avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

prefetcharr's Issues

Building not working

Debian 12

root@server:/home/prefetcharr# ls
Cargo.lock  Cargo.toml  CHANGELOG.md  deny.toml  Dockerfile  README.md  src
root@tjaards-rundfunk:/home/prefetcharr# cargo install --lock --path .
error: unexpected argument '--lock' found

  tip: a similar argument exists: '--locked'

Usage: cargo install --locked [CRATE[@<VER>]]...

For more information, try '--help'.
root@server:/home/prefetcharr# cargo install --locked --path .
  Installing prefetcharr v0.3.0 (/home/prefetcharr)
    Updating crates.io index
  Downloaded serde_derive v1.0.195
  Downloaded thiserror-impl v1.0.56
  Downloaded thiserror v1.0.56
  Downloaded serde v1.0.195
  Downloaded memchr v2.7.1
  Downloaded serde_json v1.0.111
  Downloaded clap v4.4.13
  Downloaded clap_builder v4.4.12
  Downloaded syn v2.0.48
  Downloaded quote v1.0.35
  Downloaded proc-macro2 v1.0.76
  Downloaded anyhow v1.0.79
  Downloaded deranged v0.3.11
  Downloaded 13 crates (1017.2 KB) in 0.39s
   Compiling proc-macro2 v1.0.76
   Compiling unicode-ident v1.0.12
   Compiling libc v0.2.151
   Compiling once_cell v1.19.0
   Compiling cfg-if v1.0.0
error: linker `cc` not found
  |
  = note: No such file or directory (os error 2)

error: could not compile `proc-macro2` (build script) due to previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile `libc` (build script) due to previous error
error: could not compile `libc` (build script) due to previous error
error: failed to compile `prefetcharr v0.3.0 (/home/prefetcharr)`, intermediate artifacts can be found at `/home/prefetcharr/target`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
root@tjaards-rundfunk:/home/prefetcharr# 

plex/tautulli support?

What's the chances of adding in plex support or tautulli for tracking watched episodes?

Supply prebuilt docker image

Hi,

while building works fine, it is kind of bothersome and doesn't allow a compose-file with other services to just be pulled.
I'm not familiar with specifics and how much work the setup is, but I would greatly appreciate you supplying a prebuilt image via Docker Hub or GHCR.

Thanks for considering!

Next season gets monitored but searching fails because of API error.

Hi,

since the last update, next seasons only get monitored, not searched.

2024-04-16T22:55:42.171074Z  INFO prefetcharr: prefetcharr 0.7.0
2024-04-16T22:55:42.235646Z  INFO prefetcharr: Start watching Jellyfin sessions
2024-04-16T23:00:43.391992Z  INFO prefetcharr::process: title="The Simpsons" now_playing=NowPlaying { series: Tvdb(71663), episode: 22, season: 4 }
2024-04-16T23:00:43.393070Z  INFO prefetcharr::process: Searching next season num=5
2024-04-16T23:00:43.533372Z ERROR prefetcharr::process: Failed to process err=HTTP status client error (401 Unauthorized) for url (http://localhost:8989/api/v3/command)

Sonarr log says [Info] Sonarr.Http.Authentication.ApiKeyAuthenticationHandler: AuthenticationScheme: API was challenged.
API key is correct and remained unchanged between versions.

Logging to stdout

Hi,

I would like to propose an optional logging to stdout so logs show up in docker logs and in extension in apps like Portainer.

Thanks for considering!

Actually check if the season is missing and just not unmonitored

I currently have some shows/seasons where I already have imported the season, but the season itself is unmonitored so that Sonarr won't upgrade it.

It seems like this tool only checks for weather or not the next season is monitored - so in this case, it will start monitoring season 2 even though it is already downloaded:
grafik

A possible quick workaround would be to check if the current season is unmonitored, and if it is then the next one won't be set to monitored. Could be an optional setting of course.

Error Parsing Response for Current Streams

I am getting the following error in the prefetcharr logs when shows are being watched on Jellyfin:

Error:
2024-04-12T02:35:06.963994Z ERROR prefetcharr::process: Failed to process err=error decoding response body
Caused by:
EOF while parsing a value at line 1 column 0

Jellyfin version 10.8.13 (served through docker [latest tag])
Prefetcharr version 0.6.0 (served through docker)

The error seems to appear when any show is being watched, and appears during the scheduled scan process. If no show is being watched, the error does not appear. Does not seem to matter whether it is within the 'remaining episodes' amount or not. Please let me know if there's any other info I can add!

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.