Updates via Heresphere API
This change enables updates to Ratings, Favorites, Tags and Cuepoints via the Heresphere Api. Uses can also save HSP files which will automatically be associated with the scene. Users can also delete all files associated to a scene, i.e., video, scripts & HSP files.
The HSP file will be saved in the same location as the first video file with the same base filename and a .hsp extension.
After upgrading XBVR, by default, no updates from Heresphere are accepted, so the Heresphere API won't just start updating XBVR data. The user must go into Options/Player (use to be Deovr)/Heresphere and enable what updates they wish to allow.
Tags and Cuepoints are different between XBVR & Heresphere.
-
Tags stored in XBVR are mapped to Heresphere as "Category:..."in Heresphere. Only Category prefixed tags in Heresphere will be synced back to XBVR.
-
Cuepoints are timestamped Tags in Heresphere, i.e., they have a start and end time not covering the whole scene. Differences with syncing back cuepoints to XBVR are
- XBVR Cuepoints do not have an end time, their End Time is the start of the next tag. Therefore, if a user creates a gap and syncs back to XBVR, that gap will disappear.
- Heresphere allows for multiple tracks of timestamped tags. XBVR does not. The first track with Timestamped tags (cuepoints) will be synced back to XBVR as cuepoints. If timestamped tags on subsequent tracks have the same start time as a tag on the first track (within 5 seconds), then the descriptions will be combined in the XBVR Tag. Note: PR #938 will split the XBVR cuepoint descriptions back into multiple tracks when the scene details are requested by Heresphere. If it is not implemented, they will appear as a single track.
Assuming #938 is accepted as well, there will be a merge conflict. If one is updated to the main branch I can resolve the conflict and update the other PR.