xbapps / xbvr

Tool to organize and stream your VR porn library
322 stars 128 forks source link

Funscript causes silent crash #1745

Closed Mellified closed 1 month ago

Mellified commented 2 months ago

When xbvr tries to create a heatmap for the attached funscript there is a silent crash in xbvr. No errors are logged.

Removing the metadata before the actions allows xbvr to successfully create the heatmap. The specific metadata object in the JSON that causes the problem was not investigated.

This script came from https://discuss.eroscripts.com/t/slibowitz-scripts-production-a-tribute-to-teenyginger-self-made-joi-pmv/93732 but the script needs to be downloaded from the FapTap link mentioned in that post.

A tribute to TeenyGinger - PMV.zip

Mellified commented 1 month ago

I've seen this issue with more funscripts. The commonality I've noticed is an underscore _ character in the "title" metadata field.

May not be the same code path as above, but has the same symptoms.

,"metadata":{"duration":167950,"notes":"","video_url":"","description":"https://github.com/ncdxncdx/FunscriptDancer","creator":"Procedurally generated using FunscriptDancer","script_url":"","title":"cyber-sex-pmv-hmv-with-lucario_1080p","performers":[],"license":"","tags":["music","audio"],"type":""},"version":1.0}
swapsingh200 commented 1 month ago

Facing the same issue with ~6 other funscripts I have