Tool Random Video Player (v1.52) - The best way to view your insane collections of videos and images

VanillaLover

Active Member
Jun 15, 2021
810
1,168
Hey, thanks for your feedback.

Do you mean like, filtering certain file types to be ignored during playback?
In both playback and in adding to lists, but mainly the latter. Since I have a relatively gigantic archive I just add the entire folder into the list, so I'm thinking maybe there's a way to either search file types and delete them from the list or have the app automatically catch and exclude them.
 
  • Red Heart
Reactions: Peanutccino

Peanutccino

Vampire Enthusiast
Donor
Apr 13, 2019
195
3,970
New update 1.40 released! It's a bigger version jump since I've added a lot of good stuff!


Completely new settings UI that doesn't look ass:

NewSettingsPaths.png


Settings are now categorized and more descriptions are added within the settings tab itself.


All new filter system, that let's you choose definitve extensions instead of the simplified "image/video files" from before. You can now choose where to apply the filter.

NewSettingsPlayer.png


All new Hotkey manager system. It let's you customize most of the used hotkeys to your personal likings. It allows for most keyboard keys and combinations with the default modifiers.

NewSettingsHotkeys.png

Within the about page, you can now check whether a newer version of RVP is available! (No update function, RVP only checks for an update when clicking the button)

NewSettingsAbout.png

Revamped the Listbrowser a bit by adding filters below. Depending on the chosen extensions, only files that match are shown in the browser. Also only those that match are added to the custom list.

I've also created icons for each file type and added a corresponding function to show each file as their corresponding type. This helps with visual clarity when browsing through files. Still not 100% happy with the current layout but I'm always happy for suggestions!

NewListBrowser.png


Thanks a lot for all the feedback so far! More often than not, you provided helpful additions I didn't think before and pushed me to improve on RVP. I'm always happy to hear from you, so again thanks!


As always, grab the latest version from my GitHub page:

Note: You only need the latest RandomVideoPlayer.exe & RandomVideoPlayer.dll from the .zip. Just replace your current ones with the latest. All settings are stored locally in the “RVP-Config.json” file.
 

Peanutccino

Vampire Enthusiast
Donor
Apr 13, 2019
195
3,970
New update 1.41 release!

Optimization:

  • UI overhaul for Folderbrowser
  • UI overhaul for Listbrowser
  • Custom interface for Load/Save list option in Listbrowser

New features:

  • Change appearance of Listbrowser explorer
  • Ability to change item size in Folderbrowser and Listbrowser when set to "Tile" view (default)


Smaller update with some final (for now) UI changes. As the complexity, especially Listbrowser features increased, the old UI got more and more in the way of providing a clean user interaction. I wasn't 100% happy with the old one to begin with, but I've finally settled on a new approach.

newListbrowserShowAll.png

As a user requested, I've added the ability to change the view of the explorer list on the left. Additionally I've added some customization for the list appearance. This and the addition of extension filters from previously made it necessary to overhaul the UI. I'm pretty happy with the current state and I think it's pretty clean and understandable. Though I'm always happy to hear feedback!

To complete the change, I've implemented my own load/save list dialogue for the sake of UI consistency and some neat features like seeing how many entries are in a list etc.

The folderbrowser was fine imo but I've changed it too, to match the new listbrowser style.

newFolderbrowser.png

Finally a small video I've recorded to quickly go over some listbrowser usage:

Full ListBrowser Showcase Trimmed.gif



For now that should be last update for some time, as I have no pending requests or ideas. Time for some code optimization I guess :D
 
  • Red Heart
Reactions: humantrashpile

VanillaLover

Active Member
Jun 15, 2021
810
1,168
Bit of a selfish request, but would it be possible to do something where you can copy a file to a different folder? As an example; I'd watch a bunch of videos and some of them I'd consider to be really good ones, so I'd like to save them into a folder of good videos without fucking up my archive.

Anyways, Godspeed on the project, always great to see this one improving!
 
  • Red Heart
Reactions: Peanutccino

Peanutccino

Vampire Enthusiast
Donor
Apr 13, 2019
195
3,970
Bit of a selfish request, but would it be possible to do something where you can copy a file to a different folder?
Nah, that's the spirit! Already a lot of great ideas from users I didn't came up with.

Yes, this is an easy thing. I mean the delete function acts like that already. Funny enough, I misuse it sometimes for a similar reason. It's always a compromis between keeping the UI as simpel as possible or adding additional features. But I think this can be done.

so I'd like to save them into a folder of good videos without fucking up my archive.
Hm, so do you mean the video get's copied to the folder? This would mean, you have two copies existing then.

For feedback sake, do you use the favorite function? It doesn't move any files, tho it stores all favorites in a list to play from.
 

VanillaLover

Active Member
Jun 15, 2021
810
1,168
For feedback sake, do you use the favorite function? It doesn't move any files, tho it stores all favorites in a list to play from.
I do, but barely. It's more of an exploratory thing I use sometimes but not always. I do think that integrating it as the function I mentioned earlier would be cleaner UI wise.
 
  • Red Heart
Reactions: Peanutccino

Peanutccino

Vampire Enthusiast
Donor
Apr 13, 2019
195
3,970
Took a while but here is the latest Update 1.42!


New features:

  • Added option to move/copy files to a custom selected folder (Make sure to set it's path in the settings menu!)
  • Added ability to handle videofiles dragged and dropped onto the player
    Note: Change the behavior in the settings menu. There are two options:
  1. Play on drop: Will instantly play a dropped video and halt the queue. By pressing Next it will resume queue. Additionally, a button appears on the bottom right, that allows the user to add the dropped video to the current queue.
  2. Add to Queue: Will simply add a video or multiple videos at the end of the current play queue
  • Added ability to directly open videofiles with RVP via context menu or drag&drop on the application .exe
    Note: RVP will start playing the file you opened it with and queue any additional videos it finds in it's directory automatically
  • Added option to make the function buttons customizable. For this, the settings menu has a new tab called "Interface" where you can toggle the visibility of said buttons depending on your needs.
    Note: Hotkeys are not affected by this!
  • Added button to add current player file to the temporary list (logical evolution of the list delete function)
Bug Fixes:
  • Fixed a reported crash that can occur if the directory structure changes after loading
  • Fixed a potential crash when there is a config mismatch


Note: It's adviced to restore default hotkeys, as the new changes won't apply until then. This is done either by deleting the file "hotkey.json" next to RandomVideoPlayer.exe or by jumping into Settings => Inputs => Restore Defaults.


If you update RVP from the latest version, you only need to replace your old RandomVideoPlayer.exe & .dll with the new one. Choose the download without libmpv to save some bandwidth.
 

VanillaLover

Active Member
Jun 15, 2021
810
1,168
Took a while but here is the latest Update 1.42!


New features:

  • Added option to move/copy files to a custom selected folder (Make sure to set it's path in the settings menu!)
  • Added ability to handle videofiles dragged and dropped onto the player
    Note: Change the behavior in the settings menu. There are two options:
  1. Play on drop: Will instantly play a dropped video and halt the queue. By pressing Next it will resume queue. Additionally, a button appears on the bottom right, that allows the user to add the dropped video to the current queue.
  2. Add to Queue: Will simply add a video or multiple videos at the end of the current play queue
  • Added ability to directly open videofiles with RVP via context menu or drag&drop on the application .exe
    Note: RVP will start playing the file you opened it with and queue any additional videos it finds in it's directory automatically
  • Added option to make the function buttons customizable. For this, the settings menu has a new tab called "Interface" where you can toggle the visibility of said buttons depending on your needs.
    Note: Hotkeys are not affected by this!
  • Added button to add current player file to the temporary list (logical evolution of the list delete function)
Bug Fixes:
  • Fixed a reported crash that can occur if the directory structure changes after loading
  • Fixed a potential crash when there is a config mismatch


Note: It's adviced to restore default hotkeys, as the new changes won't apply until then. This is done either by deleting the file "hotkey.json" next to RandomVideoPlayer.exe or by jumping into Settings => Inputs => Restore Defaults.


If you update RVP from the latest version, you only need to replace your old RandomVideoPlayer.exe & .dll with the new one. Choose the download without libmpv to save some bandwidth.
Loving the new UI and the fact that the anxienty of accidentally deleting something is gone. The list loader is still lagging but that may just be from the 4 terabytes of porn. Who knows, maybe the lizards are hampering performance?
 
  • Red Heart
Reactions: Peanutccino

Peanutccino

Vampire Enthusiast
Donor
Apr 13, 2019
195
3,970
Thanks for your feedback <3 Glad you like it.

The list loader is still lagging but that may just be from the 4 terabytes of porn.
Can you tell me what's lagging on your end? Is it a delayed launch of the ListBrowser or something else? Is the same happening in the FileBrowser?

In theory both should behave similar, maybe there is something I could optimize.
 

VanillaLover

Active Member
Jun 15, 2021
810
1,168
Thanks for your feedback <3 Glad you like it.



Can you tell me what's lagging on your end? Is it a delayed launch of the ListBrowser or something else? Is the same happening in the FileBrowser?

In theory both should behave similar, maybe there is something I could optimize.
In both, as well as in loading/saving/playing lists. I doubt MPV could be optimized anymore, but I know nothing about it so I'll sit here and wait for you to cook.
 
  • Red Heart
Reactions: Peanutccino

Peanutccino

Vampire Enthusiast
Donor
Apr 13, 2019
195
3,970
I get an error:
Exception: Failed to load Mpv DLL. .NET apps by default are 32-bit so make sure you're loading the 32-bit DLL.
Oh that's bad!

Does your folder look like this:

h5SOZkqsF2.png

Though the error is weird. I remember you said you're running windows 10. Is there any chance that's actually a 32bit version? My win10 runs on 64bit and so does my testing laptop under win11. Maybe that could be an issue. Though at the moment I wouldn't know how to fix that but if that's the case, I might find something to work with.

Thanks for letting me know!
 

VanillaLover

Active Member
Jun 15, 2021
810
1,168


Guard.AgainstNullOrEmptyOrWhiteSpaceString(dllPath, nameof(dllPath));

dllHandle = WinFunctions.LoadLibrary(dllPath);
if (dllHandle == IntPtr.Zero)
throw new MpvAPIException("Failed to load Mpv DLL. .NET apps by default are 32-bit so make sure you're loading the 32-bit DLL.");
From my understanding the .dll has an empty or white space in the path?
 

Peanutccino

Vampire Enthusiast
Donor
Apr 13, 2019
195
3,970



From my understanding the .dll has an empty or white space in the path?
Good find, but that error get's thrown whenever it can't find the libmpv-2.dll which should always be located under /lib/libmp-2.dll. The rest of the pathing does not matter. Actually it's a bad error log, I might update it in my version.

Which let me think:

Smokydoke Is the "libmpv-2.dll" present in your lib folder?

W1LzNZwMZQ.png

If not, please make sure to download the package that includes it:



"RVP-v1.42.7z" NOT the one that says "without libmpv"

Unzip the folder to the place you'd like to keep it and make sure that the files within the folder are not altered:

uENDx7O4bG.png


Edit:

Yeah, the only way to reproduce is by renaming "lib" or "libmpv-2.dll" or removing them. So it should be the cause. Anyways, I've updated the error handling of MPV.Net.dll.

If the above (libmpv-2.dll missing) was not the cause/ doesn't fix it, I'd like to ask you to try the updated MPV.Net.dll and starting RVP again. It wouldn't fix the issue, but it should provide an error code that might give me more insight as to what's going on.

I will put the updated Mpv.NET.dll in the attachments. If you do choose to try it out, please extract it to the "RVP-v1.42" folder and replace the existing one. Please let me know the error code it throws afterwards :)

Sorry for the troubles! <3
 
Last edited:

Peanutccino

Vampire Enthusiast
Donor
Apr 13, 2019
195
3,970
New release v1.43!

New features:
  • Added additional Drag&Drop function to start playing from the dropped files directory immediately
  • Added viewstates for the folder browser
  • Added option to enable Play/Pause when clicking on the player directly
Bug Fixes:
  • Fixed wrong config when players default path has no files that prevented other functions from working
  • Modified MPV.Net.dll to give usable error codes when throwing exceptions
  • More exception proofing
Note: If you update RVP from the latest version, you only need to replace your old RandomVideoPlayer.exe & .dll with the new one. Choose the download without libmpv to save some bandwidth.

With this release, it is adviced to also replace your old "Mpv.NET.dll" with the new one, as I enhanced the error logging which could be useful for potential errors.



Additional Infos:

You don't have permission to view the spoiler content. Log in or register now.

You don't have permission to view the spoiler content. Log in or register now.

You don't have permission to view the spoiler content. Log in or register now.

You don't have permission to view the spoiler content. Log in or register now.

Thanks for all the feedback!
 

Peanutccino

Vampire Enthusiast
Donor
Apr 13, 2019
195
3,970
New release v1.44!


New features:
  • Customize button order in addition to visibility
  • Source selector to switch conveniently between list and folder playback
UI tweaks:
  • Improved progress label readability
  • Fixed Button misalignment in ListBrowser causing my brain to hurt
  • Minimum player size now dynamically changes with the amount of active buttons for more flexibility
  • Added some missing tooltips
  • MB4 to go back one folder in Folder/Listbrowser for easier and more intuitive navigation
Bug fixes:
  • Mouseclick to pause not working in fullscreen
  • 'Add Queue' not triggering under some conditions
  • Loopback causing playback to pause when trying to play from list/folder after a dropped file was played
Optimization:
  • Reduced startup time (I hope this helps some)
Note: If updating from the previous version, simply choose the update only package and replace the old files with those!

Additional infos:

You don't have permission to view the spoiler content. Log in or register now.

You don't have permission to view the spoiler content. Log in or register now.

You don't have permission to view the spoiler content. Log in or register now.
 

Peanutccino

Vampire Enthusiast
Donor
Apr 13, 2019
195
3,970
error code 1114
Thanks for providing further details!

So, this is a tricky one. It should be this one " LoadLibrary failed with error 1114: A dynamic link library (DLL) initialization routine failed. "

Curiously, the most common occurance seems to be on laptops with switchable graphics as in integrated/dedicated gpu (quiet common). Mostly the issue is fixed by changing power plans to "High power" or "Maximize performance" within the advanced power options:

zHVtXSUor5.png
(Screenshot from the internet as I do not have this)

If you're on a laptop, I'd suggest trying this out.


If that's not the case, or it doesn't work I can only suspect some file corruption in windows itself. I tried everything to reproduce that error, but to no success.

I will add another version of Mpv.NET.dll to the attachments, with further error catching that could potenially deliver even more information on this error. I'd be happy if you try it out and let me know <3 I apologize for all the troubles.