mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-17 21:56:13 +00:00
moved videonodes code to seperate class
This commit is contained in:
parent
e76bf71591
commit
d4e44122ba
4 changed files with 326 additions and 309 deletions
|
@ -273,7 +273,6 @@ def getNextUpEpisodes(tagname,limit):
|
|||
xbmcplugin.setContent(int(sys.argv[1]), 'episodes')
|
||||
# First we get a list of all the in-progress TV shows - filtered by tag
|
||||
json_query_string = xbmc.executeJSONRPC('{"jsonrpc": "2.0", "method": "VideoLibrary.GetTVShows", "params": { "sort": { "order": "descending", "method": "lastplayed" }, "filter": {"and": [{"operator":"true", "field":"inprogress", "value":""}, {"operator": "contains", "field": "tag", "value": "%s"}]}, "properties": [ "title", "studio", "mpaa", "file", "art" ] }, "id": "libTvShows"}' %tagname)
|
||||
print json_query_string
|
||||
|
||||
json_result = json.loads(json_query_string)
|
||||
# If we found any, find the oldest unwatched show for each one.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue