2016-07-28, 18:23
(2016-07-28, 15:33)BasJaspers Wrote: Is there a way to get the audio languages and subtitles that are available for a movieID. I can get the information while playing the movie, but not before.
Code:{"jsonrpc":"2.0","method":"Player.GetProperties","params":{"playerid":1,"properties":["subtitles","audiostreams"]},"id":122}
(2016-07-28, 18:21)Milhouse Wrote:(2016-07-28, 15:33)BasJaspers Wrote: Is there a way to get the audio languages and subtitles that are available for a movieID. I can get the information while playing the movie, but not before.No, this needs to be in an NFO (so that stream details are added to the library during scanning) or the stream details will be added to the library only when the item is first played.
Code:{"jsonrpc":"2.0","method":"Player.GetProperties","params":{"playerid":1,"properties":["subtitles","audiostreams"]},"id":122}
Depends what type of file. If it's an ISO you'll need to play it at least once. For any other file going to the Kodi library view triggers a background scan to get this data from the files. Best would be that some one adds a lazy loading trigger that once update library it done it will also trigger the background scan.