Giter VIP home page Giter VIP logo

Comments (32)

benphelps avatar benphelps commented on May 20, 2024

Alright, I'll take a look. What versions of Sonarr and Radarr are you running, and is there anything special or otherwise non-standard with your installs?

from homepage.

lukeeexd avatar lukeeexd commented on May 20, 2024

Alright, I'll take a look. What versions of Sonarr and Radarr are you running, and is there anything special or otherwise non-standard with your installs?

Radarr: 4.1.0.6175
Sonarr: 3.0.9.1555

Nothing unusual about the install, just bare metal debian

from homepage.

benphelps avatar benphelps commented on May 20, 2024

Radarr uses the isAvailable attribute for each movie as reported by the API to determine the wanted count. So if no movies are marked as being isAvailable = false, the count would be 0.

Sonarr uses the api/v3/wanted/missing API endpoint for it's wanted count, so that value comes directly from Sonarr.

I'm not sure what could be the issue, other than some custom availability rules or other such thing. I'm running nearly the same versions of both as you are.

from homepage.

lukeeexd avatar lukeeexd commented on May 20, 2024

If I go to api/v3/wanted/missing on sonarr it says

{
  "error": "Unauthorized"
}

from homepage.

lukeeexd avatar lukeeexd commented on May 20, 2024

It says I have 178 movies but I actually have 150 and 28 wanted so it seems to be combining wanted into total movies

from homepage.

benphelps avatar benphelps commented on May 20, 2024

Fixed movies count in e72efe7.

If you can go to /api/v3/wanted/missing?apikey=apikeyhere and show me the output, that would help.

from homepage.

lukeeexd avatar lukeeexd commented on May 20, 2024
{
  "page": 1,
  "pageSize": 10,
  "sortKey": "airDateUtc",
  "sortDirection": "descending",
  "totalRecords": 0,
  "records": []
}

I actually think Sonarr has none missing as all the shows are current ones so the episodes aren't released

from homepage.

lukeeexd avatar lukeeexd commented on May 20, 2024

So it seems it's including wanted movies in "movies" count and not wanted in wanted. I have 172 total which includes wanted but it should show 26 for wanted and 146 under "movies"

from homepage.

benphelps avatar benphelps commented on May 20, 2024

The check is simply done on the isAvailable flag, if isAvailable is false then I add it to a list of "wanted" movies, if it's true, I add it to a list of "have" movies. Queued count comes directly from the queue/status endpoint.

I'm not sure what could cause the differences you're seeing, but this is all of the information I get from the API for building the stats.

from homepage.

neildeadman avatar neildeadman commented on May 20, 2024

I am having this issue but only in Radarr. Sonarr is working correctly.

I am using Radarr v4.1.0.6175

from homepage.

C8opmBM avatar C8opmBM commented on May 20, 2024

Same here issue only on radarr.
Sonarr displays wanted correctly. Only radarr has issues, showing only Movies.
Wanted section is 0, which is false.

Version
4.1.0.6175

from homepage.

hflatoey avatar hflatoey commented on May 20, 2024

Same as C8opmBM here as well.

Version
4.1.0.6175

from homepage.

JazzFisch avatar JazzFisch commented on May 20, 2024

Can you try again on the latest release? Ben and I did some work to both clean this up as well as improve performance.

from homepage.

lukeeexd avatar lukeeexd commented on May 20, 2024

Can you try again on the latest release? Ben and I did some work to both clean this up as well as improve performance.

Mine still say 0 wanted

from homepage.

C8opmBM avatar C8opmBM commented on May 20, 2024

Same here. Sonarr works as it should, radarr still has 0 wanted.

Screenshot_20220919-133516~2

from homepage.

C8opmBM avatar C8opmBM commented on May 20, 2024

Forgot to mention, it seems on sonarr v4 also there's a bug as well.
As you can see in the above screen, Sonarr 4k (v4) displays Wanted for all series.
So for me, only Sonarr v3.xx works properly.

from homepage.

JazzFisch avatar JazzFisch commented on May 20, 2024

Just to make sure we can narrow this down, which version of which software is presenting display issues:
Radarr:

  • v3
  • v4

Sonarr:

  • v3
  • v4

from homepage.

C8opmBM avatar C8opmBM commented on May 20, 2024

In my case:

Sonarr v3 works ok (3.0.9.1549)
Sonarr v4 NOT ok (4.0.0.115)

Radarr v4 NOT ok (4.1.0.6175) - I don't use radarr v3, since v4 is in the :latest tag.

from homepage.

neildeadman avatar neildeadman commented on May 20, 2024

from homepage.

lukeeexd avatar lukeeexd commented on May 20, 2024

I'm on

Radarr 4.1.0.6175

Sonarr 3.0.9.1555

And both say 0 wanted

from homepage.

lukeeexd avatar lukeeexd commented on May 20, 2024

When something is downloading they say x wanted
image

from homepage.

C8opmBM avatar C8opmBM commented on May 20, 2024

I think it says "Queued" while downloading. Wanted is for missing.
Could be wrong though.

from homepage.

lukeeexd avatar lukeeexd commented on May 20, 2024

I think it says "Queued" while downloading. Wanted is for missing. Could be wrong though.

Well yeah, the whole point of this issue is that it doesn't show wanted. And I'm saying it shows wanted when it's downloading something which is obviously not meant to happen

from homepage.

benphelps avatar benphelps commented on May 20, 2024

Well, the values being shown are the values given back from Sonarr and Radarr.

The wanted count, comes from the endpoint wanted/missing.
The queued count, comes from the endpoint queue.

from homepage.

lukeeexd avatar lukeeexd commented on May 20, 2024

This is still happening

from homepage.

lukeeexd avatar lukeeexd commented on May 20, 2024

from homepage.

benphelps avatar benphelps commented on May 20, 2024

There isn't anything that we can do about this, these are the values given directly from the Sonarr and Radarr APIs.

If you think the values are incorrect, you need to open an issue with the Sonarr and Radarr projects.

from homepage.

benphelps avatar benphelps commented on May 20, 2024

For Sonarr:

We use the totalRecords value reported by this API to display the missing count: https://sonarr.tv/docs/api/#/Missing/get_api_v3_wanted_missing

We use the totalRecords value reported by this API to display the queue count: https://sonarr.tv/docs/api/#/Queue/get_api_v3_queue

For Radarr:

We use the isAvailable flags reported by this API to display the wanted and missing values (when isAvailable is false, it's counted as "missing"), https://radarr.video/docs/api/#/Movie/get_api_v3_movie

We use the totalRecords value reported by this API to display the queue count: https://radarr.video/docs/api/#/Queue/get_api_v3_queue

from homepage.

neildeadman avatar neildeadman commented on May 20, 2024

Sonarr for me seems to work, so I am just interested in Radarr.

You are using the isAvailable flag reported by the API. I ran a query from a terminal against my Radarr install and for movies I have in my collection, that is set to true and if they are missing then the value is false as you'd expect.

I'm therefore confused. From the sounds of it, the way you are counting the missing movies would seem to work, but the value of 0 is wrong and I don't understand how it is getting 0.

from homepage.

Magelo avatar Magelo commented on May 20, 2024

For radarr, @benphelps, I think you are misinterpreting the value "isAvailable: false"... It mean it's not in local Radarr library and not yet available, it simply mean it is not available at all, it's a futur movie not available period. So counting "isAvailable: false" will result in a partial Wanted/Missing totalRecords...

You should count "sizeOnDisk": 0 to determined Wanted/Missing movies in a local Radarr Library.

from homepage.

Magelo avatar Magelo commented on May 20, 2024

I have mixted result. Depending on certain combination with "Min availability" and "Status", the movie will be "isAvailable: false" or "isAvailable: true"...

Adding "Hancock 2" with min availability "Announced" status will be "Missing" and "isAvailable: true".
Adding "HAncock 2" with min availability "Released" status will be "Not available" and "isAvailable: false".

For Radarr widget, Wanted should be counted with "sizeOnDisk = 0" and Have (Movies) counted with "sizeOnDisk > 0".

Queued is working properly.

from homepage.

github-actions avatar github-actions commented on May 20, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion for related concerns.

from homepage.

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.