…ng the PVR manager. fixes missing EPG in some situations, like when stopping and restarting the manager
… before Without this additional logic/check the call to Refresh from CGUIMediaWindow::OnInitWindow() causes to only perform a refresh (i.e. only using the list of items from the latest GetDirectory() call and ignoring any member variables) because the path has already been set in m_vecItems. Therefore we only add the retrieved lsit of items to m_vecItems and ignore member variables like m_content, m_mapProperties etc. That resulted in bad behaviour (e.g. watched state didn't work anymore) for logic relying on m_vecItems->GetContent().
Final part in the egl refactor. This allows for each implementation to pick its native types based on defines. For example, a Wayland implementation would include <wayland-egl.h> and <EGL/egl.h> which would change the native types, but without affecting the other back-ends. Now,we can realistically build a binary that will support X, Wayland, KMS, and fbdev, chosen at runtime based on the environment we start under. We just need to write those back-ends ;)
…(adding missing HAS_ guards)
…tem (fixes #12558)
…ys show at least one rule (fixes #13420)
… item list (fixes #13412) CFileItem::IsSmartPlaylist() only works based on the path and extension of a CFileItem object. When retrieving a list of file items through CSmartPlaylistDirectory we replace the original path (to the *.xsp) of the list with the library/database-specific path of that list to be able to use advanced filtering et. al. on these lists as well. Therefore we loose the possibility to determine whether the list originates from a smartplaylist or not. This results in the selection of a wrong CGUIViewState which does not provide the "Sort by Playlist" option and therefore any custom sorting specified in the smartplaylist is ignored/lost. Therefore we add a property "library.smartplaylist" to the CFileItemList object (similar to "library.filter" for filter-based custom library nodes) and also check for that in CFileItem::IsSmartPlaylist().
…ing the current item list in Update()
…ps up at the same time to prevent overlap and busy obscuring information