#1
Hi Kev,

Not sure whether this is intended or a bug.

In NZBDrone 'Missed' tab it only seems to show missed episodes from previous days, not ones from today that have already aired. On the actual Drone webpage it does show missed episodes from today in missing.

This doesn't happen in Sickbeard.

Any chance you can take a look at fixing this?

Cheers
TTT
#2
Could you try to call the api yourself and see if the response contains the proper items? If it doesn't then the issue lies with nzbdrone, otherwise it's the app.
#3
Just checked and shows are added to the API return as soon as they reach their air time (based on the airDateUtc I believe).

Called API with :-

Code: Select all

http://<IP>:<PORT>/api/wanted/missing?page=-1&pageSize=1&sortKey=airDateUtc&sortDir=desc&apikey=<APIKEY>
Got this returned, which is a show that had just started airing in america a few minutes ago, but will not be shown on the app as missing until after midnight tonight.

Guess Kev must be doing some sort of filtering on the results of the API call.

Code: Select all

{
  "page": -1,
  "pageSize": 1,
  "sortKey": "airDateUtc",
  "sortDirection": "descending",
  "totalRecords": 120,
  "records": [
    {
      "seriesId": 322,
      "episodeFileId": 0,
      "seasonNumber": 1,
      "episodeNumber": 7,
      "title": "Young & Secret",
      "airDate": "2014-08-06",
      "airDateUtc": "2014-08-07T00:00:00Z",
      "overview": "Hoping to keep their relationship a secret, Gabi convinces Cooper to pretend he already has a girlfriend – Sofia. But when Caroline and Sofia click, and the fake couple becomes very real friends with Josh and Caroline – Gabi has to keep her jealousy in check. Meanwhile, Elliot and Yolanda decide to go on a juice fast together.",
      "hasFile": false,
      "monitored": true,
      "sceneEpisodeNumber": 0,
      "sceneSeasonNumber": 0,
      "tvDbEpisodeId": 0,
      "series": {
        "tvdbId": 277021,
        "tvRageId": 37401,
        "imdbId": "tt2084712",
        "title": "Young & Hungry",
        "cleanTitle": "younghungry",
        "sortTitle": "young  hungry",
        "status": "continuing",
        "overview": "In \"Young & Hungry,\" two worlds collide when Josh, a wealthy young tech entrepreneur, meets Gabi, a feisty young food blogger, looking to be his personal chef. Gabi is desperate for the job and must prove herself, mostly to Josh's aide, who prefers a famous chef for the job. When Josh enlists Gabi to prepare a romantic meal for him and his girlfriend, the dinner goes awry and Gabi finds herself in a very awkward position. With the help of her best friend Sofia and Josh's housekeeper, Gabi turns a difficult situation into an opportunity for employment and maybe even love.",
        "airTime": "8:00pm",
        "monitored": true,
        "qualityProfileId": 5,
        "seasonFolder": false,
        "lastInfoSync": "2014-08-06T15:46:09.635Z",
        "runtime": 30,
        "images": [
          {
            "coverType": "banner",
            "url": "http://slurm.trakt.us/images/banners/31193.jpg"
          },
          {
            "coverType": "poster",
            "url": "http://slurm.trakt.us/images/posters/31193-300.jpg"
          },
          {
            "coverType": "fanart",
            "url": "http://slurm.trakt.us/images/fanart/31193.jpg"
          }
        ],
        "seriesType": "standard",
        "network": "ABC Family",
        "useSceneNumbering": false,
        "titleSlug": "young-and-hungry",
        "path": "E:\\TV\\Young & Hungry",
        "year": 2014,
        "ratings": {
          "percentage": 76,
          "votes": 78,
          "loved": 68,
          "hated": 10
        },
        "genres": [
          "Comedy"
        ],
        "actors": [
          {
            "name": "Emily Osment",
            "character": "Gabi",
            "images": [
              {
                "coverType": "headshot",
                "url": "http://slurm.trakt.us/images/avatar-large.jpg"
              }
            ]
          },
          {
            "name": "Jonathan Sadowski",
            "character": "Josh",
            "images": [
              {
                "coverType": "headshot",
                "url": "http://slurm.trakt.us/images/avatar-large.jpg"
              }
            ]
          },
          {
            "name": "Rex Lee",
            "character": "",
            "images": [
              {
                "coverType": "headshot",
                "url": "http://slurm.trakt.us/images/avatar-large.jpg"
              }
            ]
          },
          {
            "name": "Aimee Carrero",
            "character": "Sofia",
            "images": [
              {
                "coverType": "headshot",
                "url": "http://slurm.trakt.us/images/avatar-large.jpg"
              }
            ]
          },
          {
            "name": "Kym Whitley",
            "character": "",
            "images": [
              {
                "coverType": "headshot",
                "url": "http://slurm.trakt.us/images/avatar-large.jpg"
              }
            ]
          }
        ],
        "certification": "",
        "firstAired": "2014-06-26T00:00:00Z",
        "qualityProfile": {
          "value": {
            "name": "720p WEB-DL",
            "cutoff": {
              "id": 5,
              "name": "WEBDL-720p"
            },
            "items": [
              {
                "quality": {
                  "id": 1,
                  "name": "SDTV"
                },
                "allowed": false
              },
              {
                "quality": {
                  "id": 8,
                  "name": "WEBDL-480p"
                },
                "allowed": false
              },
              {
                "quality": {
                  "id": 2,
                  "name": "DVD"
                },
                "allowed": false
              },
              {
                "quality": {
                  "id": 4,
                  "name": "HDTV-720p"
                },
                "allowed": false
              },
              {
                "quality": {
                  "id": 9,
                  "name": "HDTV-1080p"
                },
                "allowed": false
              },
              {
                "quality": {
                  "id": 10,
                  "name": "Raw-HD"
                },
                "allowed": false
              },
              {
                "quality": {
                  "id": 5,
                  "name": "WEBDL-720p"
                },
                "allowed": true
              },
              {
                "quality": {
                  "id": 6,
                  "name": "Bluray-720p"
                },
                "allowed": false
              },
              {
                "quality": {
                  "id": 3,
                  "name": "WEBDL-1080p"
                },
                "allowed": false
              },
              {
                "quality": {
                  "id": 7,
                  "name": "Bluray-1080p"
                },
                "allowed": false
              }
            ],
            "id": 5
          },
          "isLoaded": true
        },
        "seasons": [
          {
            "seasonNumber": 1,
            "monitored": true,
            "images": [
              {
                "coverType": "poster",
                "url": "http://slurm.trakt.us/images/seasons/31193-1.jpg"
              }
            ]
          }
        ],
        "id": 322
      },
      "id": 14357
    }
  ]
#4
I just ran that API command in a browser and I see one episode missing from last week which NZB 360 doesn't show as missing - the tab is blank.

NzbDrone has the episode in its Wanted tab.
#5
You can change the pageSize to show more if you like.

Now you've said that I have a feeling Kev is filtering it to remove anything older than x days, otherwise it would potentially have hundreds of shows in the backlog. Guess it's just a bug in the logic that excludes ones from today as well.
#6
I don't actually use the missing API from Drone, as the idea I had was to show relatively new missing episodes, not ALL missing episodes. Similar to what TTT mentioned.

I will be switching over to using the real API though soon, so it should fix these issues.
cron