Project

General

Profile

Bug #4916

Bug in REST API /entry/grid*?

Added by Al Bundy almost 7 years ago. Updated almost 7 years ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2018-02-03
Due date:
% Done:

0%

Estimated time:
Found in version:
latest
Affected Versions:

Description

Hi,

I have multiple finished recordings that are visible in the webgui but some of them are not returned from this REST-calls

http://rpi:9981/api/dvr/entry/grid
http://rpi:9981/api/dvr/entry/grid_finished

This one isn't shown: /home/hts/recordings/Der Lehrer/Der Lehrer-Gangsta, Gangsta!-RTL Television-2018-01-27-15-45.mkv
But this is: /home/hts/recordings/Der Lehrer/Der Lehrer-Pikante Details kosten extra-RTL Television-2018-02-01-20-15.mkv

Has someone an idea why there are some entries missing?

Al

History

#1

Updated by Jaroslav Kysela almost 7 years ago

Describe your problem in detail. Also, you may use the debugger in your browser to see what parameters are required to get the required data.

#2

Updated by Al Bundy almost 7 years ago

The problem is, that the api doesn't return all die existing recordings.
If I open the mentioned URLs in browser I get a lot of data back but some recordings are missing.

What debugger do you mean?

#3

Updated by Jaroslav Kysela almost 7 years ago

There are development tools in all browsers, so you can watch what's being sent through the network. It might be also an ACL (permissions) issue.

#4

Updated by Dave Pickles almost 7 years ago

By default the API only returns the first 50 entries for functions ending in "/grid" (epg/event/grid is an exception). Maybe you have exceeded the limit? See my unofficial documentation at https://github.com/dave-p/TVH-API-docs/wiki

#5

Updated by Al Bundy almost 7 years ago

Thank you Dave - limit was really the issue.
Is there a value to always get all?
0, 1, all and ALL didn't work.
Currently I'm using 10000 which should work in most cases. :
)

#6

Updated by Al Bundy almost 7 years ago

Thank you Dave - limit was really the issue.
Is there a value to always get all?
0, - 1, all and ALL didn't work.
Currently I'm using 10000 which should work in most cases. :-)

#7

Updated by Jaroslav Kysela almost 7 years ago

  • Status changed from New to Invalid
#8

Updated by Al Bundy almost 7 years ago

I checked the headers with developer-tools - webui uses 999999999 as limit to show all recordings. :-)

So thanks at all - now I could modify the TvplexendAgent a little bit to have all my recordings with descriptions in plex. :-)
https://github.com/AlBundy33/TvplexendAgent.bundle

Also available in: Atom PDF