Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Steam Trailers, Steam Screenshots] Some games do not load trailers or screenshots from Steam (Even with Steam linked and a trailer on the Steam page) #571

Open
PaulTheCarman opened this issue Sep 11, 2024 · 8 comments
Labels
bug Something isn't working ExtraMetadataLoader

Comments

@PaulTheCarman
Copy link

Extension name

Steam Trailers and Steam Screenshots

Bug Description

Some games don't appear to load trailers from Steam. From what I've gathered, the extension uses the Steam link to stream the trailer from the Steam store page, but some games, despite being able to load screenshots for said game, do not load the trailer. And it's not because the game doesn't have a trailer either.

I've identified six games in my library that have a trailer on Steam, are able to load screenshots for the game via Steam Screenshots, but aren't able to load the trailer:

  • Batman: Arkham Asylum Game of the Year Edition
  • Metro 2033
  • Resident Evil: Revelations
  • Lego Indiana Jones 2
  • Lara Croft and the Guardian of Light
  • Sid Meier's Civilization V

As I said, all six of those games are able to load screenshots via Steam Screenshots, but even that's not always the case. Borderlands 2 doesn't seem to load either a trailer or screenshots, though this is the only game I have found that has this behavior.

A workaround is to simply download these trailers and set them as the video trailer, of course, and to download the screenshots manually and display them using Screenshot Viewer - both of which I've already done. But I'd prefer to simply stream it from Steam to save storage. All these files can add up over time.

In the screenshot I've attached, using Sid Meier's Civilization V as an example, you can see that I have a correct Steam page linked, since it has loaded the "Steam Screenshots" tab. However, the video is not playing. If you navigate to the Steam page for this game, the game has a trailer in the first slot.

To Reproduce

No response

Logs

extensions.log
playnite.log

Screenshots

Desktop Screenshot 2024 09 11 - 17 33 17 16

@PaulTheCarman PaulTheCarman added the bug Something isn't working label Sep 11, 2024
@darklinkpower
Copy link
Owner

It looks like the video is being correctly set but there's an issue in the Windows Media Player in your system, which is used to play the videos. Please check this troubleshooting page: https://github.com/darklinkpower/PlayniteExtensionsCollection/wiki/Extra-Metadata-Loader#videos-are-not-playing

@PaulTheCarman
Copy link
Author

PaulTheCarman commented Sep 14, 2024

Thanks for the reply. I followed the troubleshooting guide, and the boxes for Windows Media Player are already ticked. I have a library of over 1,000 games, and virtually every single one of them plays videos, with the exception of these select few. Also, I'm not sure how this would affect Borderlands 2, which doesn't seem to load screenshots either. Could you take a second look at this? I'm just trying to get to the bottom of the issue. Thanks!

EDIT: As a sanity check, I also tried the exact same thing on a different computer of mine, and the same issue arose with these specific games. It's possible there's a codec that Windows Media Player needs for some select videos, but I'm not sure which or where I'd get it. Just spitballing.

@darklinkpower
Copy link
Owner

Can you go to the extension data folder and upload the 49520_appdetails.json file inside appdetails?

image

I'm wondering if the response was unsuccessful or doesn't have screenshots. It's downloaded from https://store.steampowered.com/api/appdetails?appids=49520

image

It's working correctly for me for some reason:

image

Perhaps it's the same issue as #550

@PaulTheCarman
Copy link
Author

PaulTheCarman commented Sep 14, 2024

49520_appdetails.json

I've attached the 49520_appdetails file, but I'll save you a few clicks. The file just says:

{"49520":{"success":false}}

That's all. I've also attached a screenshot showing the Steam link. The video that's playing I've downloaded manually through ExtraMetadataLoader.
Desktop Screenshot 2024 09 13 - 23 38 06 93

Just out of curiosity, if you add any of the games I mentioned, does the trailer load for you?

EDIT: I tried doing what was suggested in issue #550 and it seemed to work. It now loads Steam Screenshots correctly, which is awesome. Unfortunately it still doesn't load the trailer for the game. So I can add Borderlands 2 to my list of games.

@darklinkpower
Copy link
Owner

darklinkpower commented Sep 14, 2024

I've attached the 49520_appdetails file, but I'll save you a few clicks. The file just says:

{"49520":{"success":false}}

Yeah it's the same issue then as the other issue I linked, no idea why Steam returns unsuccessful data but I have published a new update a few minutes ago that fixes this issue for the Steam Screenshots extension. I've been rewriting the Extra Metadata extension and will also implement this fix there but I can't say when I'll finish it. Can you check if the file downloaded by ExtraMetadataLoader also says success:false?

The file is the game id found in the Edit window:

image

image

Just out of curiosity, if you add any of the games I mentioned, does the trailer load for you?

It's working fine for me when streaming, both in normal and high quality:

image

@PaulTheCarman
Copy link
Author

Wow you've already pushed an update? Mad respect.

I checked the Extra Metadata Loader file and it also says success:false. So I deleted it and lo and behold, the trailer loads now. Thanks so much for that!

However, I tried doing the same exact thing with Batman: Arkham Asylum Game of the Year Edition and the trailer still does not load. I've attached the file for you. This one actually has content within it.

1779d984-c1a0-4d20-89ca-21d658392b1d_SteamAppDetails.json

@Cszyn
Copy link

Cszyn commented Sep 19, 2024

Hello, after a recent reinstallation of windows this accused to me as well except all the games are now effected
Playnite DesktopApp_5xg2PPLNoq

Playnite DesktopApp_FPxqxKkJY6

Playnite DesktopApp_NyFFK77eAe

@Cszyn
Copy link

Cszyn commented Sep 19, 2024

Hello, after a recent reinstallation of windows this accused to me as well except all the games are now effected Playnite DesktopApp_5xg2PPLNoq

Playnite DesktopApp_FPxqxKkJY6

Playnite DesktopApp_NyFFK77eAe

But screenshots work fine, only video is affected. EDIT: I had removed the legacy Windows Media Player, after a reinstallation it's fine again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ExtraMetadataLoader
Projects
None yet
Development

No branches or pull requests

3 participants