I believe this is a simple case of a missed copy-paste
"All games" view :
|
item = xbmcgui.ListItem(name) |
|
|
|
item.addContextMenuItems([('Play', 'RunPlugin(plugin://plugin.program.steam.library/run/' + str(appid) + ')'), ('Install', 'RunPlugin(plugin://plugin.program.steam.library/install/' + str(appid) + ')')]) |
|
item.setArt({ 'thumb': 'http://cdn.akamai.steamstatic.com/steam/apps/' + str(appid) + '/header.jpg', 'fanart': 'http://cdn.akamai.steamstatic.com/steam/apps/' + str(appid) + '/page_bg_generated_v6b.jpg' }) |
"Recently played" :
|
item = xbmcgui.ListItem(name) |
|
item.setArt({ 'thumb': 'http://cdn.akamai.steamstatic.com/steam/apps/' + str(appid) + '/header.jpg', 'fanart': 'http://cdn.akamai.steamstatic.com/steam/apps/' + str(appid) + '/page_bg_generated_v6b.jpg' }) |
As you see, in the "recently played" route the context items are never added.
Instead of fixing this in a small PR, I'll finish refactoring this code, which would prevent issues like this from happening again, since this code would exist in one function for all routes instead of being copy-pasted 3 times.
Still logging the issue in case refactoring is refused or I forget.
I believe this is a simple case of a missed copy-paste
"All games" view :
plugin.program.steam.library/resources/main.py
Lines 64 to 67 in 49974df
"Recently played" :
plugin.program.steam.library/resources/main.py
Lines 163 to 164 in 49974df
As you see, in the "recently played" route the context items are never added.
Instead of fixing this in a small PR, I'll finish refactoring this code, which would prevent issues like this from happening again, since this code would exist in one function for all routes instead of being copy-pasted 3 times.
Still logging the issue in case refactoring is refused or I forget.