Closed andreas1974 closed 1 year ago
Thanks for reporting!
Will look into this, though it will have to wait a bit.
I miss the description on "Senaste/Latest programs" as can be seen below: and
I miss the description on "Senaste/Latest programs" as can be seen below: and
@dobbelina are you sure you are running v5.1.20?
Yes i am. kodi 20.2 Windows
This may not be the same issue as the one I described in this thread about differences when starting a program from the Kodi favourites list. But anyway @dobbelina is right. It's the same on my Raspberry. However, when selecting the title from a search, the long description is showing.
This is unfortunately how the API looks now for listings in sections like this one. What you are comparing with in one of the pictures is the details modal which is another API endpoint. The available information is what you see in Kodi and what can be seen in the background of your screenshot.
Regarding how it differs with search, that's because the API response is different there (you can this in the web app how listings differs between the two.)
Historically, this is how it's always been, data available in responses come and go depending on what they need in the web app. Can't do much about that. And in this specific case I don't want to do extra API calls to get the data as that would make the browsing experience much slower.
Hope this explains what you are experiencing.
To not slow down with extra api calls for recent on all the items listed, couldn't one make the api call individually when you hit the i(info) button? It would be similar as when you hoover over the program in the browser and get that terrible looking pop-up. (SVT webpage is terrible b.t.w) Having to go thru the hoop of doing a search to get this info is not optimal. Not even if i go thru categories=>Filmer do i get a proper listing.
To not slow down with extra api calls for recent on all the items listed, couldn't one make the api call individually when you hit the i button? It would be similar as when you hoover over the program in the browser and get that terrible looking pop-up. (SVT webpage is terrible b.t.w)
Good idea though that is not possible for a Kodi addon. An addon only supply list item data to Kodi that Kodi then uses to populate the UI.
@andreas1974 regarding the original issue
Starting a program from the Favourites menu results in missing information and resume does not work (the program starts from 00:00 even after selecting to resume at "20:35" (the question to resume shows up).
I looked into this and there is nothing I can do wrt this. I don't know why Kodi can resume a stream from the listing but not from favourites. Sorry!
Were you able to repeat the error in your environment?
I note that a year ago Scott967 wrote this: The problem appears to be that plugin items that are added to favorites, and launched from the favorites dialog, don't pass resume point or other item metadata to the player. https://forum.kodi.tv/showthread.php?tid=369537
He also has a link to Imugr that shows a video describing the exact same behaviour: https://imgur.com/a/bamXedL
The Kodi developers may not have taken notice?
Thanks anyway for trying!
Favorites is a native Kodi feature. The addon doesn't pass any data actively to Kodi for this, nor am I aware of any way of doing so. The issue you referred to seemed to speculate mostly about what could be the cause (?). I'd recommend you to post an issue in the Kodi forums as it might be a more general issue?
I'll may try that. But I'd like to know whether it's a repeatable error, that you also were able to reproduce.
I can reproduce it on my Windows machine with Kodi 19
Hi again!
I sent the question to the Kodi add-ons forum. Would you have a look at https://forum.kodi.tv/showthread.php?tid=374491&pid=3166838#pid3166838 (have a look at jepsizofye at 18:05)
I'm not sure if the ones who answer realize that the resume time is showing up correctly (I've pointed it out at least twice). Perhaps there is more to it.
I don't understand all of it.
Andreas
@andreas1974 thanks for digging into this. I still don't understand why an addon would need to go through all the trouble they are suggesting given that resume works when you play the item from within the addon. To me, that's a Kodi bug. I will look at the information again at later and try to understand if there is something indeed I can do or if I should file a Kodi issue for it. Thanks again!
[jepsizofye] added some sample code today. (https://forum.kodi.tv/member.php?action=profile&uid=477027) If it doesn't fully describe what's missing for "favourites resume" to work even though it works from within the plugin, I suggest you send him a question in that same thread. He seems to be a very helpful guy!
Found the issue. its a bug in Kodi I think
There is a workaround: https://forum.kodi.tv/showthread.php?tid=374491&pid=3167591#pid3167591
Found the issue. its a bug in Kodi I think
There is a workaround: https://forum.kodi.tv/showthread.php?tid=374491&pid=3167591#pid3167591
Thanks for letting me know! 🙏 I'll might look into the Kodi bug to see if I can do something to solve it there for real.
Problem description
Starting a program from the Favourites menu results in missing information and resume does not work (the program starts from 00:00 even after selecting to resume at "20:35" (the question to resume shows up).
Steps to reproduce
[image1]
[image2]
[image3]
[image4]
System information
Kodi version: 18.9
Platform: LibreElec 9.2.8
Plugin version: 5.1.20
Log