Beiträge von crown08

    First, thanks for the reply,

    The problem really is in some addons that they don't return all the information. The script is work well, really Kodi return 0 because the addon don't inform the correct total length, but in this case, if KodiQuery can return the Label information when Kodi return 0 the Script can obtain the length with the Label value.

    Thanks for all.

    First of all sorry for write in English.... I don't speak German.

    I use your script with KodiQuery and Futaba 166a and it works perfect but sometimes the Length for some web video is 0 when the script obtains the Length value. I see that in this case is posible know the video duration with the Labels of Kodi, with this JSON request: {"jsonrpc":"2.0","method":"XBMC.GetInfoLabels","params":"labels":["Player.Time","Player.Duration"]},"id":""}

    I don't understand the id parameter because with empty value work.

    A response example is: {"id":"","jsonrpc":"2.0","result":{"Player.Duration":"02:00:47","Player.Time":"00:51:25"}}The Duration Label is the program duration in hh:mm:ss format and the Time Label is the current video position, if you call repeatedly you can obtain: "Player.Time":"00:51:25", "Player.Time":"00:51:26"...

    Can I ask you if is possible add GetInfoLabels in KodiQuery for use in the script???. I did try put the same message in LCDHype forum, but I could not register me.

    Thanks for all and for the script....