Deytron / SteamNite

A custom theme that mimics the Steam client's look for Playnite
MIT License
40 stars 4 forks source link

Suggestion: Integrate HowLongToBeat extension data into game descriptions #23

Open spladder opened 4 years ago

spladder commented 4 years ago

I saw a comment on the playnite thread about this and I thought it was a really good idea so I thought I'd suggest it here too to try and make sure someone saw it. Here's the example of how it would be nice for it to look:

image

Bluscream commented 4 years ago

That's a super nice idea. thank you <3

However it seems like they don't provide a known API, so scraping or IGDB it is.

Here's a example HAR:

Screenshot(s) ```json "request": { "method": "POST", "url": "https://howlongtobeat.com/search_results?page=1", "httpVersion": "http/1.1", "headers": [ { "name": "Referer", "value": "https://howlongtobeat.com/stats" }, { "name": "DNT", "value": "1" }, { "name": "User-Agent", "value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36" }, { "name": "Content-type", "value": "application/x-www-form-urlencoded" } ], "queryString": [ { "name": "page", "value": "1" } ], "cookies": [], "headersSize": -1, "bodySize": 111, "postData": { "mimeType": "application/x-www-form-urlencoded", "text": "queryString=&t=games&sorthead=popular&sortd=Normal Order&plat=&length_type=main&length_min=&length_max=&detail=", "params": [ { "name": "queryString", "value": "" }, { "name": "t", "value": "games" }, { "name": "sorthead", "value": "popular" }, { "name": "sortd", "value": "Normal Order" }, { "name": "plat", "value": "" }, { "name": "length_type", "value": "main" }, { "name": "length_min", "value": "" }, { "name": "length_max", "value": "" }, { "name": "detail", "value": "" } ] } ```
spladder commented 4 years ago

Update:

The HowLongToBeat plugin has added integration support for custom themes, this should be much easier now

https://github.com/Lacro59/playnite-howlongtobeat-plugin/wiki/Addition-in-a-custom-theme

Bluscream commented 4 years ago

Thanks

Deytron commented 3 years ago

Done, integrated a simple progress bar, feedbacks would be appreciated

spladder commented 3 years ago

How can I see the new progress bar to give feedback?

Deytron commented 3 years ago

Update the theme to the latest version, install SucessStory, and enable "interagration with custom themes" in Settings > Extensions

spladder commented 3 years ago

Thanks! I figured it out.

So, my thoughts on the current bar. Could it be moved up to where the Time Played and Last Played fields are? Something like this screenshot would probably be ideal.

a4at

Deytron commented 3 years ago

Unfortunately the edit buttons on the right would break if I did that. There would not be enough space to let them appear on lower resolution or high DPI screens.

spladder commented 3 years ago

Hm, I see. What about inside the box with all the details, like in my original suggestion? I assume that wouldn't fit either?

Deytron commented 3 years ago

It would, but all the infos already don't fit in the details box soooo... I don't know, I think something like in the eMixedNite theme, with everything in the HTML description box at the bottom image