Kodi Community Forum
Getting date added for videos from the JSONRPC api - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+--- Thread: Getting date added for videos from the JSONRPC api (/showthread.php?tid=77258)



Getting date added for videos from the JSONRPC api - jbrennan - 2010-07-15

I can get the recently added movies but I can't seem to figure out how to get their added date. I've looked in the source code but I can't seem to find the parameter I need.

Does anyone know how to do this (either for RecentlyAddedMovies or just the videos/files in general)?

Thanks in advance!


- spiff - 2010-07-15

it's not stored anywhere.


- jbrennan - 2010-07-15

Aha. That is unfortunate. Do you know what the criteria for "Recently added" is then? (ie how many days or however it's decided)

Also, is there a way to get the Episode number for a TV show? I see in the source references to Season but now Episode...


- jmarshall - 2010-07-16

It's done purely on the id assigned to the item. That's why if you refresh an item suddenly it's deemed recently added.