Solved ListItem.PercentPlayed in video info not working
#16
I actually might have figured it out, see PR5792.
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#17
Before I forget: PercentPlayed is the amount of percent that has already been played so adding "remaining" after $INFO[ListItem.PercentPlayed] is wrong. You'd have to calculate the different from 100% and $INFO[ListItem.PercentPlayed] to get the remaining percent value.
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#18
(2014-11-23, 18:45)Montellese Wrote: I actually might have figured it out, see PR5792.
Awesome, thanks.

Any chance of a Windows test build?
(2014-11-23, 18:47)Montellese Wrote: Before I forget: PercentPlayed is the amount of percent that has already been played so adding "remaining" after $INFO[ListItem.PercentPlayed] is wrong. You'd have to calculate the different from 100% and $INFO[ListItem.PercentPlayed] to get the remaining percent value.
Yeah, I realised afterwards - it's because I was actually doing that with my Fire TV skin.
Reply
#19
@Hitcher: It has just been merged and should be in the next nightly build.
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#20
Many thanks for taking the time to look into this problem.
Reply
#21
No problem. Thanks for providing the patch to make it easy to reproduce.
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#22
Any thoughts to adding ListItem.TimePlayed (as per this thread) as well?

I've looked at the database and this is actually stored as resumeTimeInSeconds so, I assume, it would only be a matter of dividing by 60 to get the result in minutes.

Thanks.
Reply
#23
Certainly not for Helix as we are almost in RC phase but could be added for I*****.
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#24
Thanks, no rush then.
Reply

Logout Mark Read Team Forum Stats Members Help
ListItem.PercentPlayed in video info not working0