2022-04-09, 23:02
Right now, I'm only seeing a subset of today's games in the app. Whatever I choose works, but for instance I'm not seeing the Guardians vs Royals game in there, or any games that start later in the day.
(2022-04-09, 23:02)mdo77 Wrote: Right now, I'm only seeing a subset of today's games in the app. Whatever I choose works, but for instance I'm not seeing the Guardians vs Royals game in there, or any games that start later in the day.
(2022-05-01, 22:15)mdo77 Wrote: Ah ha!
After my post, I did a bit of debugging. I changed my "favorite team" from Guardians to Reds and now all the games are appearing.
Possibly a bug around the team name change in Cleveland?
(2022-05-01, 22:15)mdo77 Wrote: Ah ha!
After my post, I did a bit of debugging. I changed my "favorite team" from Guardians to Reds and now all the games are appearing.
Possibly a bug around the team name change in Cleveland?
(2022-05-02, 01:39)tonywagner Wrote: Are you on the latest version of the add-on (2022.4.19)?
Edit to add: I'm almost certain that will fix it. Looks like a previous update changed the team name to Guardians in the favorite list, but didn't change the corresponding favorite team color lists.
Quote:Code:
2022-05-07 14:05:27.162 T:2796 ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'KeyError'>
Error Contents: 'flags'
Traceback (most recent call last):
File "C:\Users\micha\AppData\Roaming\Kodi\addons\plugin.video.mlbtv\main.py", line 42, in <module>
todays_games(None)
File "C:\Users\micha\AppData\Roaming\Kodi\addons\plugin.video.mlbtv\resources\lib\mlb.py", line 48, in todays_games
create_game_listitem(game, game_day)
File "C:\Users\micha\AppData\Roaming\Kodi\addons\plugin.video.mlbtv\resources\lib\mlb.py", line 169, in create_game_listitem
if game['flags']['perfectGame'] == True:
KeyError: 'flags'
-->End of Python script error report<--
(2022-05-07, 20:20)mdo77 Wrote:Glad you figured it out! Hopefully they push a new release soon.(2022-05-02, 01:39)tonywagner Wrote: Are you on the latest version of the add-on (2022.4.19)?
Edit to add: I'm almost certain that will fix it. Looks like a previous update changed the team name to Guardians in the favorite list, but didn't change the corresponding favorite team color lists.
That did it. A new one today.
I'm on 2022.5.5 and it wouldn't load the list of today's games. Error below. Python isn't my strong point but I went in locally and commented out lines 169-172 around no-hitters/perfect game flags and then things worked normally.
(2022-05-05, 17:59)thromer Wrote: Input wanted: Use cases for navigating with fewer clicks
(2022-05-07, 22:06)tonywagner Wrote:(2022-05-05, 17:59)thromer Wrote: Input wanted: Use cases for navigating with fewer clicks
I've been thinking similarly -- there is already one setting each to bypass the Catch Up / skip dialogs, so there should be one to bypass the stream selection dialog too.
I took a stab at this in a pull request:
https://github.com/eracknaphobia/plugin.video.mlbtv/pull/42
Enabling the new option will pick the favorite team's stream if available, otherwise home/national.
Since enabling that option leaves highlights inaccessible, I added a context menu item to get to the highlights for each game too.
(2022-05-07, 22:46)thromer Wrote: That plus yet another setting that skips the game selection if favorite team has a game in progress would accomplish what I want: open the plugin, wait a little while, and presto your team's TV broadcast is playing.I sort of have this working. On what kind of device are you running Kodi? (PC, Fire Stick, etc.?)
(2022-05-07, 20:20)mdo77 Wrote:(2022-05-02, 01:39)tonywagner Wrote: Are you on the latest version of the add-on (2022.4.19)?
Edit to add: I'm almost certain that will fix it. Looks like a previous update changed the team name to Guardians in the favorite list, but didn't change the corresponding favorite team color lists.
That did it. A new one today.
I'm on 2022.5.5 and it wouldn't load the list of today's games. Error below. Python isn't my strong point but I went in locally and commented out lines 169-172 around no-hitters/perfect game flags and then things worked normally.
Quote:Code:
2022-05-07 14:05:27.162 T:2796 ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'KeyError'>
Error Contents: 'flags'
Traceback (most recent call last):
File "C:\Users\micha\AppData\Roaming\Kodi\addons\plugin.video.mlbtv\main.py", line 42, in <module>
todays_games(None)
File "C:\Users\micha\AppData\Roaming\Kodi\addons\plugin.video.mlbtv\resources\lib\mlb.py", line 48, in todays_games
create_game_listitem(game, game_day)
File "C:\Users\micha\AppData\Roaming\Kodi\addons\plugin.video.mlbtv\resources\lib\mlb.py", line 169, in create_game_listitem
if game['flags']['perfectGame'] == True:
KeyError: 'flags'
-->End of Python script error report<--