2023-07-28, 21:40
(2023-07-26, 18:48)kereltje Wrote:Thanks for your help. Actually, I found this morning that MP4 files do not play in any of the addons I have installed in my Nvidia Shield. It seems it is about settings or something else. I can play live content no MP4 in other folder/section of my addon so It is not the code in my addon! I need to investigate more.Quote:This is what I have:As I understand the code you posted only concerns step 3.
1- I scrap the url for the list of available films and store them in a database (title, poster, player page)
2- Then i list items on the kodi screen to be clicked and then played
3- When I click in each image or item on the screen it goes to the database for that item to them extract the playable url link from the player page
(Meaning that I only have one playable url at a time and just when I click on the screen it goes to fetch it)
4- then I expect it to play it ... This how it is successfully working on Win and OSX... No in Android
In order "to be clicked and then played" ListItems produced in step 2 must be marked as playable by calling setProperty('IsPlayable', 'true') on each of them.
And remove everything regarding xbmc.Player() that might still be in step 3.