How to get the name of the currently playing chapter of an mkv? - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12) +--- Thread: How to get the name of the currently playing chapter of an mkv? (/showthread.php?tid=379888) |
How to get the name of the currently playing chapter of an mkv? - randallspicher - 2024-12-24 Player.Chapter returns the chapter number to the skin, but how do I get the Name of the currently playing chapter? (and perhaps the name of the next chapter if the infolabel supports an offset) I can see in the bookmarks dialog that it lists the chapters with the names, so Kodi is getting that info, but I'm stumped on how to get the name of the currently playing chapter so that I can display it in the OSD. That would be especially useful for things like music BDA rips or concert videos, etc. Any ideas? RE: How to get the name of the currently playing chapter of an mkv? - Hitcher - 2024-12-24 No such info label exists unfortunately. RE: How to get the name of the currently playing chapter of an mkv? - Karellen - 2024-12-24 (2024-12-24, 10:56)Hitcher Wrote: No such info label exists unfortunately.I don't think that is correct. Transparency! shows chapter titles... RE: How to get the name of the currently playing chapter of an mkv? - Hitcher - 2024-12-24 Interesting. BRB. EDIT: So it does exist but I can't find it mentioned anywhere in the skining thread or on the Info Label page! Player.ChapterName
RE: How to get the name of the currently playing chapter of an mkv? - roidy - 2024-12-24 (2024-12-24, 12:04)Hitcher Wrote: Interesting. BRB. Yep, the wiki is out of date. Use the Doxygen Docs, it's listed there:- https://xbmc.github.io/docs.kodi.tv/master/kodi-base/index.html RE: How to get the name of the currently playing chapter of an mkv? - Hitcher - 2024-12-24 Got a link please, I can't find it. RE: How to get the name of the currently playing chapter of an mkv? - roidy - 2024-12-24 You can't deep link to an item, but it's in:- General Development parts -> Infolabels and Boolean conditions -> List of Infolables and Boolean conditions -> Player Unfortunately the doxygen search function is pretty useless RE: How to get the name of the currently playing chapter of an mkv? - Hitcher - 2024-12-25 (2024-12-24, 21:15)roidy Wrote: Unfortunately the doxygen search function is pretty uselessSo it seems, thanks for pointing me in the right direction. |