2022-01-04, 13:17
Hi again and happy new year! Do you expect this is something which can get fixed? Or is it still unclear what exactly is going wrong?
Quote:I assume you run Kodi on a Mac?Kodi server is running under Linux, but the App which sends/receives the JSON commands is running on iOS or an iOS simulator on OS X. All commands are trying to insert, queue or play the same recording.
(2022-01-04, 23:28)howie-f Wrote: @phunkyfish iirc he‘s running kodi on linux mint. is there a jenkins .deb artifact to test?
(2022-01-05, 00:55)howie-f Wrote: ok, built PR 20796 and had a successful test:I just encapsulated it a bit more but I think we are good. The important thing is that after it playing to the end of the video doesn't the playcount returned from the API get incremented?
- {"jsonrpc":"2.0","method":"Playlist.Clear","id":1,"params":{"playlistid":1}} ----- result OK
- {"jsonrpc":"2.0","method":"Playlist.Insert","id":1,"params":{"playlistid":1,"position":0,"item":{"recordingid":2}}} -------- result OK
- {"jsonrpc":"2.0","method":"Player.Open","id":1,"params":{"options":{"shuffled":false},"item":{"playlistid":1,"position":0}}} -------- result OK ----- recording starts playing.
so even if it's hackish, seems to work ok. @Buschel let me know if further tests are desired, i'll keep that build for now
(2022-01-05, 01:30)howie-f Wrote: query playcount with : {"jsonrpc":"2.0","method":"PVR.GetRecordings","id":1,"params":{"properties":["title","playcount"]}}
it increased from 2 to 3 in my case, tested with the latest commit now
(2022-01-05, 01:37)Buschel Wrote: Sorry, for the initial misleading info. I confirm playcount increase also works for me with your changes.
(2022-01-05, 15:45)phunkyfish Wrote: No worries, this should go into master soon-ish. Unfortunately as APIs for Matrix/Nexus have diverged it cannot be backported.Great, sounds good. Can you share with me from which API version on the changes will be in? I can then prepare the changes on the App side.