Resume of the post: Kodi in OSMC for RPi2 play’s from library in some situations a low FSP (like a succecion of photos) and when I show the information menu (current time, duration…) the reproduction goes well (fluid), when I hidde again the information it goes again like photos
I detected a strange behavior in my updated OSMC on Raspberry Pi 2 and reproduction of some addon-provided multimedia.
In Kodi 16 doesn’t happened. I can’t reproduce the same behavior in PC (because is powerful?) and I have to check if it happens in previous versions of OSMC and in competence to see if this is a OSMC problem or Kodi problem (I think that is a Kodi problem, but I’m not sure).
I have a addon that scrapes some webs to extract TV Show streams and play (some users here Slow Python scripts in Krypton asked for the previous problem in that addon: it start working slow in menus with Kodi 17).
It has Kodi library support creating “.strm” files that points to the addon with some parameters, it creates the structure:
TVSHOWS/Some Show/1x1.strm (for example)
Kodi scrapes well all this folders and shows the TV Show in your library.
When you click in a TV Show episode (http://imgur.com/HPeBQmz) Kodi launch the URL stored in the strm that ponits to the addon. It has 2 methods to work (configurable):
- Display links in a new menu window. It does:
xbmc.executebuiltin("Container.Update(Addon's URI that launch the addon in some point)")
Trying that it will be like open the addon search the episode and click on it, so the next window is the same opened in both cases http://imgur.com/61MdeNf:
open addon → open tv show → open season → open episode → [links for this episode: http://imgur.com/61MdeNf]
Kodi library → tv show → season → episode → [links for this episode: http://imgur.com/61MdeNf]
The problem is here, when I go through the Kodi Library in a current installation of OSMC (I tried a clean install too), select a link and start playing, the reproduction goes like a stop motion / very low FPS (only in video, audio is OK and sync, so reproduction is skipping frames). If I show the reproduction information reproduction starts go fluid / OK, but when I hide the information it goes bad again
If I go through the addon this behavior doesn’t happens. If I go to the addon through favorites (for example, add to favorites the addon season, or the addon episode) it goes OK too.
The addon has a 2nd method to work: after click the episode it extracts the links and, instead of do a ContainerUpdate, it does a Dialog selection popup and, then, it does a Play(URL) from the selected URL http://imgur.com/LYv1ijF.
If I configure this mode (doesn’t do the containerUpdate, doesn’t jump to the addon window) it reproduces the video without problems.
Is a very curious this problem:
It happens when i go throught the Kodi library, only when if perform the “ContainerUpdate” (to go to other window and display the list) and if I show the video information it reproduces OK, until I hide again this info