2024-04-20, 17:12
(2024-04-19, 16:53)thromer Wrote:(2024-04-19, 16:33)tonywagner Wrote: Most addons with a menu don't auto-play videos on start, and I think this is a reason why -- if a menu never loads, there's no menu to go back to, and you sort of get locked out of the menu altogether!
It might be best to move auto-play functionality into a separate addon. The separate addon could be dead-simple, just a couple lines of code to require the MLBTV addon and call it like:
Code:xbmc.executebuiltin('PlayMedia("plugin://plugin.video.mlbtv/?mode=111")'
Then mode 111 in the MLBTV addon could call the auto-play function, with the one-time per day limit removed.
I'll give it a try, thanks!
Even easier: we can make a list in the addon of dedicated team live streams (with logos!), and then users can add them to their Kodi favorites, etc.
I'm working on some addon changes now, so I'll keep this in mind.