5-star/plugin.video.last_played

Last Played doesn't report resume point correctly to Yatse remote

Closed this issue · 1 comments

Hi there, I'm using Last Played on Kodi 19 and it's great, but when loaded in Yatse remote it's impossible to resume a file, only to play from the start. Checking the logs it appears that LP isn't reporting the resume point correctly (see below snippet from log) - is this fixable at all, please?

2023-02-04 18:52:47.911 Verbose/KodiMatrix: --> [890] {"id":683,"jsonrpc":"2.0","method":"Files.GetDirectory","params":{"media":"files","sort":{"method":"label","order":"ascending"},"directory":"plugin://plugin.video.last_played","properties":["title","rating","genre","artist","track","season","episode","year","duration","album","showtitle","playcount","file","mimetype","size","lastmodified","resume","art","runtime","displayartist"]}}
2023-02-04 18:52:48.135 Verbose/KodiMatrix: <-- [890] 200 OK http://192.168.1.169:8080/jsonrpc (226ms, 652-byte body)
2023-02-04 18:52:48.145 Verbose/KodiMatrix: <-- [890] {"id":683,"jsonrpc":"2.0","result":{"files":[{"album":"","art":{},"artist":[],"episode":-1,"file":"/media/pi/Seagate Backup Plus Drive/Video/Youtube/Splattercat random/Season 1/S01E04 I Survived Hackathon 2022 AMA [v1685406935].mp4","filetype":"file","genre":[],"label":"Splattercat random 1x4 I Survived Hackathon 2022 AMA [v1685406935]","lastmodified":"","mimetype":"video/mp4","playcount":0,"rating":0.0,"resume":{"position":0.0,"total":0.0},"runtime":0,"season":-1,"showtitle":"","size":0,"title":"Splattercat random 1x4 I Survived Hackathon 2022 AMA [v1685406935]","track":-1,"type":"episode","year":1969}],"limits":{"end":1,"start":0,"total":1}}}

The resume point is handled by Kodi, Last Played just tells kodi to play it.