Playnite Forums
  • Playnite Web
  • Rules
  • Members
  • Team
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Playnite Forums Extension Database Generic Extensions Extra Metadata Fullscreen Mode Helper

Thread Closed 
Extra Metadata Fullscreen Mode Helper
audiosurf
Offline

#41
09-22-2021, 08:18 AM
(09-22-2021, 07:18 AM)darklinkpower Wrote: If the video is downloading and not playing, it probably means you don't have Windows Media installed. This here applies https://github.com/darklinkpower/Playnit...ot-playing

Yes thank you this fixes it!

In case it helps anyone you can just go:
Start menu > search for "Turn Windows Features On or Off" > expand "Media Features" > tick "Windows Media Player"

Very happy, great work guys!
audiosurf
Offline

#42
09-23-2021, 03:17 AM (This post was last modified: 09-23-2021, 11:51 PM by audiosurf.)
The function to automatically download youtube trailers won't download age-restricted videos.
youtube-dl lets you get around this by specifying a cookies file you've extracted from a browser --cookies /path/to/cookies/file.txt.

So my fix was editing line 817 of "ExtraMetadataToolsVideo.ps1" to

'ArgumentList' = '-o ' + "`"$videoTempPath`"", '-f "mp4"', '--cookies "C:\Games\playnite\extra binaries\cookies.txt"', $search
which allows the downloads to complete.



My suggestion would be to add extra variables under the "ExtraMetadataToolsVideo\settings.json" file, for users to more easily append arguments to youtube-dl.
I might be able to speed up the sometimes agonizingly slow youtube-dl downloads for more obscure trailers, I can drop aria2c.exe into the same folder as youtube-dl.exe and pass arguments to youtube-dl to download via aria2c with 16 threads.

I tried directly adding arguments to "youtubedlPath" in the settings.json file, but unsurprisingly it objected  Big Grin
KimaRo
Offline

#43
09-28-2021, 05:10 PM
I don't know if this is a question to put on just playnite or here, but i'm wondering if there's a way to enable gifs to play in the description of games?
Like on New World where they have some gifs that play and show off things https://store.steampowered.com/app/1063730/New_World/
darklinkpower
Offline

Super Moderator
#44
09-28-2021, 10:19 PM (This post was last modified: 09-28-2021, 10:22 PM by darklinkpower.)
(09-28-2021, 05:10 PM)KimaRo Wrote: I don't know if this is a question to put on just playnite or here, but i'm wondering if there's a way to enable gifs to play in the description of games?
Like on New World where they have some gifs that play and show off things https://store.steampowered.com/app/1063730/New_World/
That needs to be done in Playnite as a core feature. There are plans to rework description rendering, maybe it could come along with it https://github.com/JosefNemec/Playnite/issues/397

(09-23-2021, 03:17 AM)audiosurf Wrote: The function to automatically download youtube trailers won't download age-restricted videos.
youtube-dl lets you get around this by specifying a cookies file you've extracted from a browser --cookies /path/to/cookies/file.txt.

So my fix was editing line 817 of "ExtraMetadataToolsVideo.ps1" to

'ArgumentList' = '-o ' + "`"$videoTempPath`"", '-f "mp4"', '--cookies "C:\Games\playnite\extra binaries\cookies.txt"', $search
which allows the downloads to complete.



My suggestion would be to add extra variables under the "ExtraMetadataToolsVideo\settings.json" file, for users to more easily append arguments to youtube-dl.
I might be able to speed up the sometimes agonizingly slow youtube-dl downloads for more obscure trailers, I can drop aria2c.exe into the same folder as youtube-dl.exe and pass arguments to youtube-dl to download via aria2c with 16 threads.

I tried directly adding arguments to "youtubedlPath" in the settings.json file, but unsurprisingly it objected  Big Grin

Someone was working in a PR to switch to use yt-dlp, which according to its description it can download most age restricted content, although the PR was closed so I'm not sure if it's still being worked on https://github.com/darklinkpower/Playnit...on/pull/52
Deerhall
Offline

#45
09-30-2021, 11:05 PM
(09-18-2021, 04:05 PM)darklinkpower Wrote: .

(09-16-2021, 06:02 PM)Imaginaryrocket Wrote: Awesome extension, thanks. I have a question. Is there a way for the videos to only stream from the sources instead of being downloaded to my hard drive? Kinda like in the "Search Collection" extension. It's still pretty fast and it saves up a lot of space.
Unfortunately the issue is that videos are not compatible with the player that is used to play videos so it's needed to download and convert them so they can be played. Streaming directly would not work.

Hmm, why not change the player that is used to something that is compatible? Are you limited to the player that's built into playnite?
darklinkpower
Offline

Super Moderator
#46
10-01-2021, 01:04 AM
(09-30-2021, 11:05 PM)Deerhall Wrote:
(09-18-2021, 04:05 PM)darklinkpower Wrote: .

(09-16-2021, 06:02 PM)Imaginaryrocket Wrote: Awesome extension, thanks. I have a question. Is there a way for the videos to only stream from the sources instead of being downloaded to my hard drive? Kinda like in the "Search Collection" extension. It's still pretty fast and it saves up a lot of space.
Unfortunately the issue is that videos are not compatible with the player that is used to play videos so it's needed to download and convert them so they can be played. Streaming directly would not work.

Hmm, why not change the player that is used to something that is compatible? Are you limited to the player that's built into playnite?
Playnite doesn't have a video player. The video player is native to WPF (See https://docs.microsoft.com/en-us/dotnet/...ew=net-5.0), which is what it's being used to play videos. In any case, I've added streaming support for Steam videos in the Extra Metadata Loader extension for Playnite 9 if videos have not been downloaded since they don't have compatibility issues.
Deerhall
Offline

#47
10-03-2021, 03:51 PM
(10-01-2021, 01:04 AM)darklinkpower Wrote: Playnite doesn't have a video player. The video player is native to WPF (See https://docs.microsoft.com/en-us/dotnet/...ew=net-5.0), which is what it's being used to play videos. In any case, I've added streaming support for Steam videos in the Extra Metadata Loader extension for Playnite 9 if videos have not been downloaded since they don't have compatibility issues.


Hmm, I removed my downloaded Steam trailer for "A Hat in Time" to try the stream functionality. I was met with a black trailer window, but then again, I'm kind of new to Playnite and might have overlooked some setting.
(Playnite 9.1, EML 1.8, EMT 2.2, EMTV 2.2)

[Image: image.png]
[Image: sett.png]

I also would like to come with some feedback:

Your plugin doesn't download a trailer if one already exist for that game, right?
Would it be possible to implement this for generating micro trailers? I've twice accidentally re-generated microtrailers for all 100+ games when I just wanted to do it for 7 newly added games. (I always select all games and download trailers, since it only downloads for the games which are missing and expected it would work the same with generating microtrailers). But then again, maybe you have some algorithm that generates the microtrailer another way on the second pass that I'm unaware of?

Would it be possible to set quality for "Auto download Youtube Trailer video"?
Perhaps a toggle in the settings to only grab 1080p+ videos?

Also, had some bug where searching for a trailer on Steam HD for "Bastion" would give a null string error and crash the plugin (the video option in the EMTools menu was gone after this error). Restarted Playnite, tried again, same problem. Restarted Playnite, tried Youtube option and it worked fine.

---

I hope you don't feel like this is a personal attack. I'm a huge fan of your work and only wish to help! Heart
darklinkpower
Offline

Super Moderator
#48
10-03-2021, 07:11 PM
(10-03-2021, 03:51 PM)Deerhall Wrote:
(10-01-2021, 01:04 AM)darklinkpower Wrote: Playnite doesn't have a video player. The video player is native to WPF (See https://docs.microsoft.com/en-us/dotnet/...ew=net-5.0), which is what it's being used to play videos. In any case, I've added streaming support for Steam videos in the Extra Metadata Loader extension for Playnite 9 if videos have not been downloaded since they don't have compatibility issues.


Hmm, I removed my downloaded Steam trailer for "A Hat in Time" to try the stream functionality. I was met with a black trailer window, but then again, I'm kind of new to Playnite and might have overlooked some setting.
(Playnite 9.1, EML 1.8, EMT 2.2, EMTV 2.2)

I also would like to come with some feedback:

Your plugin doesn't download a trailer if one already exist for that game, right?
Would it be possible to implement this for generating micro trailers? I've twice accidentally re-generated microtrailers for all 100+ games when I just wanted to do it for 7 newly added games. (I always select all games and download trailers, since it only downloads for the games which are missing and expected it would work the same with generating microtrailers). But then again, maybe you have some algorithm that generates the microtrailer another way on the second pass that I'm unaware of?

Would it be possible to set quality for "Auto download Youtube Trailer video"?
Perhaps a toggle in the settings to only grab 1080p+ videos?

Also, had some bug where searching for a trailer on Steam HD for "Bastion" would give a null string error and crash the plugin (the video option in the EMTools menu was gone after this error). Restarted Playnite, tried again, same problem. Restarted Playnite, tried Youtube option and it worked fine.

---

I hope you don't feel like this is a personal attack. I'm a huge fan of your work and only wish to help! Heart

Feedback is always appreciated and I don't take it as a personal attack.

1. Themes need to use the Extra Metadata Loader extension video control to support video streaming. That theme uses its own player so streaming and other features won't be available.

2. It doesn't download if they already have it but an option or choice dialog could be added to overwrite if exists. Microtrailers are generated always because there's no way to know if the current microtrailer was generated from the current trailer, but an option could be added to skip or not.

3. Someone was working on a PR with settings to define the download quality but was closed and I don't know if it's still being worked on.


4. "Also, had some bug where searching for a trailer on Steam HD for "Bastion[...]" If you reproduce it again, open GitHub issue, providing screenshots, extensions log and all the requested info.

For the suggested features in point 2 and 3, please open GitHub issues in the extensions repository, for each of them with all the requested info.
FenixBlack1030
Offline

#49
10-16-2021, 01:18 PM
Hello, first of all thank you very much for the extension! Now my problem is the following: I am downloading the trailers for my games with the option "download trailers from youtube" and the downloads are too slow (45kb / s)
Is it normal that it downloads so slow? Is there any way to improve it? I have 100mb download speed so I don't think that's the problem.
Sunnyhat
Offline

#50
10-18-2021, 05:11 PM (This post was last modified: 10-18-2021, 05:39 PM by Sunnyhat.)
Quote:Note: You need the ffprobe and ffmpeg executables to be able to use the video functions. They can be downloaded from here: https://www.gyan.dev/ffmpeg/builds/ffmpe...entials.7z

Note: You need the youtube-dl executable to be able to use the video functions. It can be downloaded from here: http://ytdl-org.github.io/youtube-dl/download.html

I don't understand where to put these.

Can you elaborate?

EDIT: Nvm i found it. You may wanna include a short usuability guide. I didn't realize i have to rightclick in Library to use the tools. Still new to Playnite. Smile
Parity
Offline

#51
10-19-2021, 05:38 AM (This post was last modified: 10-19-2021, 05:42 AM by Parity.)
(09-22-2021, 07:18 AM)darklinkpower Wrote:
(09-22-2021, 01:03 AM)audiosurf Wrote: Hi so I've gone through all the setup to try get trailers
- via the right click menu downloaded the trailer for the game
- I can see the trailer file in the "extra metadata" folder
- in desktop mode
- I've tried Stardust and Harmony but on the details view I don't see any trailers.

Is there a step I missed to get the trailer to display, or some compatibility between versions?
My setup is:
Playnite 8.15
Stardust_1_23.pthm
Harmony_1_23.pthm
Extra_Metadata_Tools_Video_1_2_1.pext
Extra_Metadata_tools_1_6.pext

Screenshot https://i.imgur.com/octpqkm.png

edit: here's the tail of my playnite.log, https://pastebin.com/rxUcKHdm
I turned on media controls in Stardust and pressing the buttons moves the elements around, like it's got the frame there but the video's invisible or otherwise not playing.

Fullscreen mode in SIMPLEish theme has an unplaying black box. https://i.imgur.com/wwtSL81.png
If the video is downloading and not playing, it probably means you don't have Windows Media installed. This here applies https://github.com/darklinkpower/Playnit...ot-playing

For people running Windows 11: it doesn't appear that Windows Media Player ships with Windows 11 anymore (I had it installed under Windows 10 prior to upgrading to Windows 11). Under "Windows Features / Turn Windows features on or off", only "Media Features" is available. Windows Media Player is no longer available as an option and checking "Media Features" does not appear to install Windows Media Player.

Due to this, I suspect that trailer videos will likely not work in Playnite until Microsoft releases its Windows 11 Media Player (which is rumored to be in the works).
Meiloorun
Offline

#52
10-21-2021, 07:24 AM (This post was last modified: 10-21-2021, 07:25 AM by Meiloorun.)
If people here find that their download speed for downloading videos is way too slow, it's because the normal youtube-dl has some throttling issues. What you're gonna want to do is download youtube-dlp instead which is Youtube-dl with more features. Download the latest .exe release from here: https://github.com/yt-dlp/yt-dlp/release.

And then rename the downloaded file to youtube-dl.exe so that the extension can pick it up. Delete the old youtube-dl.exe so that you can change which youtube-dl the extension uses and make sure you select the new one.
Parity
Offline

#53
10-24-2021, 01:08 AM
(10-19-2021, 05:38 AM)Parity Wrote:
(09-22-2021, 07:18 AM)darklinkpower Wrote:
(09-22-2021, 01:03 AM)audiosurf Wrote: Hi so I've gone through all the setup to try get trailers
- via the right click menu downloaded the trailer for the game
- I can see the trailer file in the "extra metadata" folder
- in desktop mode
- I've tried Stardust and Harmony but on the details view I don't see any trailers.

Is there a step I missed to get the trailer to display, or some compatibility between versions?
My setup is:
Playnite 8.15
Stardust_1_23.pthm
Harmony_1_23.pthm
Extra_Metadata_Tools_Video_1_2_1.pext
Extra_Metadata_tools_1_6.pext

Screenshot https://i.imgur.com/octpqkm.png

edit: here's the tail of my playnite.log, https://pastebin.com/rxUcKHdm
I turned on media controls in Stardust and pressing the buttons moves the elements around, like it's got the frame there but the video's invisible or otherwise not playing.

Fullscreen mode in SIMPLEish theme has an unplaying black box. https://i.imgur.com/wwtSL81.png
If the video is downloading and not playing, it probably means you don't have Windows Media installed. This here applies https://github.com/darklinkpower/Playnit...ot-playing

For people running Windows 11: it doesn't appear that Windows Media Player ships with Windows 11 anymore (I had it installed under Windows 10 prior to upgrading to Windows 11). Under "Windows Features / Turn Windows features on or off", only "Media Features" is available. Windows Media Player is no longer available as an option and checking "Media Features" does not appear to install Windows Media Player.

Due to this, I suspect that trailer videos will likely not work in Playnite until Microsoft releases its Windows 11 Media Player (which is rumored to be in the works).

Correction: Windows Media Player can still be installed in Windows 11 as follows:

Settings > Apps > Add an optional feature (click the "View features" button at the top of this page) > Search for "Windows Media Player" and install, if needed. 

After installing Windows Media Player using these steps, video playback in Playnite with the Extra Metadata Tools extension installed worked properly.
Luka8989
Offline

#54
10-26-2021, 11:00 AM
I wonder if the videos (trailers and mini trailers) and logos can all be loaded at the same time for the entire game library and I don't play by game manually
Pedro Josefino
Offline

#55
10-31-2021, 04:20 PM
In this last update 2.5 removed the search for automatic logos, it helped a lot in the search for logos.
darklinkpower
Offline

Super Moderator
#56
10-31-2021, 04:40 PM
(10-31-2021, 04:20 PM)Pedro Josefino Wrote: In this last update 2.5 removed the search for automatic logos, it helped a lot in the search for logos.
Hello, this was mentioned in the update notes:

Quote:Note: Functionality of removed functions have been reimplemented in the "Extra Metadata Loader" extension

So you need to download this extension to download logos https://playnite.link/forum/thread-814.html
Pedro Josefino
Offline

#57
11-01-2021, 03:37 PM
(10-31-2021, 04:40 PM)darklinkpower Wrote:
(10-31-2021, 04:20 PM)Pedro Josefino Wrote: In this last update 2.5 removed the search for automatic logos, it helped a lot in the search for logos.
Hello, this was mentioned in the update notes:

Quote:Note: Functionality of removed functions have been reimplemented in the "Extra Metadata Loader" extension

So you need to download this extension to download logos https://playnite.link/forum/thread-814.html
I didn't know about his existence, thank you very much Smile
SaltySamurai
Offline

#58
11-04-2021, 07:07 PM
It might be a feature you were planning already, but I would massively prefer this plugin if I could just have the youtube "Select video to download" window as an element in the details view and then you just stream the video in the youtube media player. The whole point of a plugin like this is to help browse what games you have when you have too many games right? This way you get to see all the relevant videos, you could even include other default search parameters like Trailer, Gameplay, walkthrough and review as buttons at the top of that box.

Additionally, a fullscreen option would be really good.
darklinkpower
Offline

Super Moderator
#59
11-04-2021, 10:52 PM
(11-04-2021, 07:07 PM)SaltySamurai Wrote: It might be a feature you were planning already, but I would massively prefer this plugin if I could just have the youtube "Select video to download" window as an element in the details view and then you just stream the video in the youtube media player. The whole point of a plugin like this is to help browse what games you have when you have too many games right? This way you get to see all the relevant videos, you could even include other default search parameters like Trailer, Gameplay, walkthrough and review as buttons at the top of that box.

Additionally, a fullscreen option would be really good.
Please open issues on GitHub for requested features as mentioned in the main post.
audiosurf
Offline

#60
11-06-2021, 02:19 AM
(10-21-2021, 07:24 AM)Meiloorun Wrote: If people here find that their download speed for downloading videos is way too slow, it's because the normal youtube-dl has some throttling issues. What you're gonna want to do is download youtube-dlp instead which is Youtube-dl with more features. Download the latest .exe release from here: https://github.com/yt-dlp/yt-dlp/release.

And then rename the downloaded file to youtube-dl.exe so that the extension can pick it up. Delete the old youtube-dl.exe so that you can change which youtube-dl the extension uses and make sure you select the new one.

Haven't tried yt-dlp yet, but for references sake:

you can use threaded downloads via youtube-dl, but you have to use the "external downloader" flags.

Download and drop aria2c.exe into the youtube-dl folder, and add these arguments as an example.

--external-downloader aria2c --external-downloader-args "-j 16 -x 16 -k 1M -s 16"


"16" here specifies the amount of threads/chunks for various parameters.
"1M" specifies minimum split chunk size of 1mb.
1mb is the minimum chunk size aria2c will allow with out spitting an error. "16" is the max amount of threads aria2c will accept

note: the aria2c verbose "--word" flags didn't work for me via youtube-dl, incase someone else hits that problem.
« Next Oldest | Next Newest »
Pages (4): « Previous 1 2 3 4 Next »



  • View a Printable Version
  • Subscribe to this thread

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode