
maikeru1986
Members-
Posts
69 -
Joined
-
Last visited
Content Type
Profiles
Forums
Articles
Downloads
Gallery
Blogs
Everything posted by maikeru1986
-
Hey bud, Normally when people have issues, I kind of have an idea of what the problem is, and then most of the time is spent replicating the problem and making sure the fix actually works for everybody else. With this, however, I actually have very little idea what the issue is. I think its ffmpeg and the fact that I removed the requirement to only download mp4 files. It then downloads multiple files, and my code doesn't handle it correctly when trimming, but this is just a guess. I don't think many people use the trim videos function, but I'll definitely look into it. No ETA though, sorry.
-
Hi there, thanks for the response! however, I'm not sure I fully understand. Sorry to be a noob at this, and apologies for my lack of knowledge in this regard. So IGame.GetNextVideoFilePath gives a string to the lines of "Videos\<platform>\<gamename>-01", I use yt-dlp to dowload the videos, and it requires an output path. If I give it this, it will create a folder Videos\<platform>\<gamename>-01 from its root (which in this case is the plugins folder). How do I get from there to the actual video folder without specifying the full path? Sorry if my explanation is poor.
-
Hi there, I have a plugin (Vidsnap Scraper) that downloads game snaps and places them in the Videos directory. It generally works well, but I’ve encountered a user who has their LaunchBox installation on an external drive and is experiencing some issues. To determine the LaunchBox path, I use Reflection and then append "\Videos\filename.ext" as follows: private string launchBoxDirectory = Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly()?.Location) ?? string.Empty; This usually results in a path like: C:\Users\Username\LaunchBox\Core\Videos\gamename.mp4 However, I’ve noticed that the Videos folder inside Core is actually a link to the Videos folder in the main LaunchBox directory. This link seems to be created when LaunchBox starts and removed when it closes. Interestingly, on an older thumb drive, LaunchBox doesn’t create a link but instead generates a physical folder, whereas on another thumb drive, it works correctly. I suspect this is causing issues with my plugin. Would removing \Core from the LaunchBox directory path be a viable solution, or could this introduce potential issues in the future? Any help would be greatly appreciated!
-
@DJWESTY Hi all, I've updated the plugin for compatibility with LB 13.19-beta3 and hopefully the official LB 13.19 when it is released as well. It works on my side; if you have a chance, please test it on your side as well. Unfortunately, I do believe that it will no longer work on older versions; however, this is identical in functionality to version 0.5.1, which still runs .NetFrameWork 4.7.2 and should work on older versions. regards, maikeru
-
I think, ffmeg may be more integral than I previously thought. you can try downloading ffmpeg and placing it in the plugin folder where yt-dlp is. I think this will combine the video and audio streams for higher quality videos. you can either download it manually, ytdlp have custom versions, or check the trim videos checkbox for an older version, both i think will work. Im still planning an updated version of vidsnap scraper but I think the new version may require ffmpeg as default.
-
if the game has a video url in the metadata it will download that instead and not search. not sure if all videos are from youtube still. not sure about the game name thing, it never really happens to me. its itended for windows games mainly and those generally get found quite well. ill think about it but not sure ill come up with a solution. Its not the first time someone mentions the quality issue. previous versions only downloaded the best quality but video sizes would be large,but I think it may be best to go back to that? if you are trimming videos as well that could also maybe have an effect, i think it may be re encoded. I will have to relook at the code as well as yt-dlp and ffmpeg updates. Are you saying that all your videos are in 480p?
-
@Partiesplayin @izzishor I've uploaded a new version, which seems to be working correctly on my side. Please have a try and see if it works for you. If it does work now, please check your local drive for a "videos" folder, and within that check for platform folders containing the videos you've previously attempted to download.
-
Vidsnap Scraper
maikeru1986 replied to maikeru1986's topic in Third-Party Applications and Plugins (Released)
@marph Do you still have issues, have you perhaps tried this?... -
@Steel The search string is the game name only + additional search terms, then there are flags for no-playlist, match-filter for duration, and quality. and thats about it. Everything after the -o flag is just where the video is saved. (game.VideoUrl at the end is nothing in this case, i think. youtube_srch.StartInfo.Arguments = $@" ""ytsearch:{CleanInput(game.Title)} {searchTerms}"" --no-playlist --match-filter ""duration <= {maxDuration}"" -f mp4{quality} -o ""\Videos\{CleanInput(game.Platform)}\{CleanInput(game.Title)}.%(ext)s"" {game.VideoUrl}"; Take note that if there is a video already in Launchbox, then it uses that link and doesn't do any searching. I didn't add platform-specific stuff because it was mainly just for Windows. You could try adding Amiga only to the search terms and see if that works. but I presume you've tried that.