Jump to content
LaunchBox Community Forums

maikeru1986

Members
  • Posts

    69
  • Joined

  • Last visited

Everything posted by maikeru1986

  1. 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.
  2. Hey there, Which version of Launchbox are you using, and which version of the plugin?
  3. thanks joe, ill give it a try. (sorry i missed you reply, think I need to turn on forum notifications.)
  4. Really? 0.5.1 should definitely still show up as its based on the same version as 0.4.1. you absolutely certain you using 0.5.1 and not version 1.0.0??
  5. 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.
  6. Version 0.5.1 fixed that and should work on launchbox 13.18. also make sure your default media player is VLC in launchbox settings.
  7. 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!
  8. Correct, this is what I meant by the above. You can use version 0.5.1 of the plugin for LB13.18 and older, which is identical in functionality to V1.0.0 of the plugin. You can grab it from the changelog.
  9. @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
  10. @KRI$85 @darreldearth I've uploaded a new version, I hope this one works for you. @DJWESTY This version has not yet been updated for LB13.19 beta, but I will look into that next.
  11. Thanks for the heads up. i'll look into it.
  12. Interesting. Thanks. Unfortunately, I don't think there's a way around it otherwise. I will need to fix it in the next update.
  13. try downloading ffmpeg ,(checking the trim videos check box should give an option to download it, albeit an older version). then try high quality again. it works for me, but im curious to know if this works for others as well.
  14. 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.
  15. Interesting, I'll have a loook at this. I overlooked the audio as my desktop has no audio besides headphones. Some videos I tested have audio and some don't. I need to do some reading on yt-dlp formats, LB supported codec and maybe ffmeg conversion as well.
  16. @KRI$85 I uploaded a new version, which I believe corrects the quality issue, but I think you're right: I will implement a simple resolution selection in the future. Still not sure about the search or video name thing, though. Could be videoURL in launchbox but not quite sure.
  17. 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?
  18. just for curiousity, what was the 'finding videos' problem?
  19. @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.
  20. You're welcome to try, but it appears to not be working anymore. I'll have to investigate sorry.
  21. not much you can do besides modify the source, however I think it should be hd by default. maybe youtube/ youtubedlp changed something
  22. @marph Do you still have issues, have you perhaps tried this?...
  23. @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.
  24. Hi There, Try replacing the yt-dlp in the plugins folder with the latest version: https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp.exe
×
×
  • Create New...