ScriptPlayer Beta Features (and how to get them)

Seems to be working for me now. Thanks for the quick fix!

I want multiple funscripts because vibes are best with different patterns than a stroker, especially if you’re using them together.

As for why I made the program, part of it was just as a coding experiment, part of it was for better customization of the patterns, and part was that unlike yours, not everyone’s funscripts come with a simple txt beatmap with just timings on it, so I wanted something more universal.

1 Like

Issue: High cpu usage from ffmpeg.exe when there is a path with ffmpeg registered while using ScriptPlayer with remote control function. (tested with DeoVR / Heresphere and Whirligig)

ffmpeg is what generates the thumbnails and previews for loaded videos and videos in your playlist - a high cpu usage means it’s running efficiently (it will be done faster)

You can click the icon in the top right corner to show what it is currently working on:
image

When it’s done generating all optional assets it should stop using any resources.

Edit: True. Since I enabled the automatic thumbnail generation by accident, it really takes a lot of time for VR content. Didn’t expect that, because non VR content is done within a few seconds.
Sorry for any inconveniences. :slight_smile:

1 Like

Is it possible to choice player by default ?

I would like to use deovr player as my default player but i have to change it everytime. There is some bug or error with the bluetooth connection. Sometimes it broke at the middle of action so i have to reopen the scriptplayer and load the files by manually. It means that every time i have to choose deovr again and again.

Also i would like to know that if anyone know the pattern for filenaming in Deovr. I would like to use fuzzy name matching option but i cant use it for Deovr because i dont know the patterning method for filenaming.

There is an option to remember the last used playback mode.

image

I don’t know the pattern for DeoVR, but it has to be a regular expression to work, e.g.

image

The playlist gets saved when you close ScriptPlayer, so if you have a lot of crashes, you would have to load the files, close ScriptPlayer and open it again.

1 Like

Thanks a lot. This playback mode will be really usefull in my case .

Actually it’s not working for vr files which i have played via deovr. U have to add it one by one. If u dont it’s not working in playlist mode as normal files and i think that it must be related with the filename issue.

Oh, yes, makes sense

@Liquid
I am also having issue with deovr on windows (air link to quest 2).
ScriptPlayer would load and work with the first funscript file, but once you exit the video in deovr, things start not working.
Script might continue to play while nothing is playing in deovr, subsequent playback in deovr would cause scriptplayer not to load the script.
Probably due to handling/syncing using json between deovr and scriptplayer.
btw, where do I find the debug output? I am seeing debug lines in the code but can’t see where it is writing to.

While it’s running you can view it with DebugView, if it crashes you can find it in %AppData%\ScriptPlayer

@Liquid
I have spent an hour trying to identify the issue between ScriptPlayer(SP) and DeoVR. Here are my findings:

  1. There is a third playerstate not in the docs, 2 = reached end of video? (should not really matter as SP only cares if the playerState is equal playing or not)
  2. SP doesn’t seem to know when DeoVR has closed the TCP connection? I have seen SP kept sending ‘ping’ to DeoVR even though SP is no long receiving packets (i.e. new DeoVR packets no longer appear in the debug log)
  3. Empty packet means DeoVR is not in player mode, SP shall pause but InterpretData() ignores empty packets therefore not updating SP play state. (Happens when you quit the video without pausing it first)
  4. Maybe some of the disconnect is due to ping time not short enough? Just a hunch
  5. selecting video in SP would not cause DeoVR to load the corresponding video
  6. DeoVR can only process new json packet when it is in the video player mode (i.e. at times where json is sent from DeoVR), not sure if there is check in SP to wait for such state before sending commands.

Hope this helps in tracking down the problem

edit: added 5 and 6

Hi

You seem like a developer guy and know coding very well. Could you help me about the situation below ?

I would like to know the pattern for filenaming in Deovr. I would like to use fuzzy name matching option but i cant use it for Deovr because i dont know the patterning method for filenaming.

If you can solve this than we have a great and flexible script player app for Vr porn consuming.

If you could post some filenames (what they are actually named and what ScriptPlayer displays) I might be able to help - since the desktop-version of DeoVr doesn’t have that quirk I try that myself.

It looks same. Btw, It might be related with the Emby( DLNA server software)… One of the users said something like that before; "The reason why you need to select the script manually on pc is because Emby servers the video file and typically adds in a bunch of things to the title, for us that means the file name won’t match with the Funscript so we manually have to chose the Funscript. So, i think that if you can find the filenaming pattern in EMBY you could solve the problem.

If the file-path that ScriptPlayer receives is just the file-name, maybe you just need to specify your script directory in the “Paths” setting section?
Also - yes, DLNA can be a bit of a pain to work with.

it doesn’t support mp3 file? I put mp3 asmr file in playlist, but it doesn’t play it with a red name.

Never tried that - mp3s are usually used as an additional e-stim track in SP

I’m using the latest beta build. There doesn’t seem to be a way to edit paths. I can’t add * when adding new paths. Maybe I’m not doing something correctly.

Unrelated feature request, to be able to adjust Handy stroke length in increments of +/-5 instead of 10.

Thanks for all the hard work

Yeah, I kind of broke that and still need to fix it.
Manual workaround in the meantime:

1 Like