diff --git a/.dockerignore b/.dockerignore deleted file mode 100644 index 144328fab..000000000 --- a/.dockerignore +++ /dev/null @@ -1,24 +0,0 @@ -**/.classpath -**/.dockerignore -**/.env -**/.git -**/.gitignore -**/.project -**/.settings -**/.toolstarget -**/.vs -**/.vscode -**/*.*proj.user -**/*.dbmdl -**/*.jfm -**/azds.yaml -**/bin -**/charts -**/docker-compose* -**/Dockerfile* -**/node_modules -**/npm-debug.log -**/obj -**/secrets.dev.yaml -**/values.dev.yaml -README.md diff --git a/.gitignore b/.gitignore index 1fedac73a..9ef964c95 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ /.idea .DS_Store -.vscode/settings.json +.vscode/ test.db /test_cache diff --git a/.vscode/launch.json b/.vscode/launch.json deleted file mode 100644 index 8ca1ac9e9..000000000 --- a/.vscode/launch.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "name": "Launch", - "type": "go", - "request": "launch", - "mode": "auto", - "program": "${workspaceFolder}\\main.go", - "buildFlags": "-tags='json1'", - "env": {}, - "args": [], - "debugAdapter":"legacy", - "dlvLoadConfig": { - "followPointers": true, - "maxVariableRecurse": 1, - "maxStringLen": 300, - "maxArrayValues": 300, - "maxStructFields": -1 - }, - } - ] -} \ No newline at end of file diff --git a/README.md b/README.md index bdf02cc84..1785891a8 100644 --- a/README.md +++ b/README.md @@ -106,3 +106,15 @@ Ready to get started? #### Add specific filter to DeoVR * On the XBVR scenes page, create a filter (cast, site, tags, etc.) and sort order, then create a "saved search" (see top left) and check "use as DeoVR list". * Inside DeoVR you will now see your saved search listed +#### Keyboard Shortcuts +* Details Pane +o - previous scene +p - next scene +e - edit scene +w - toggle watchlist +f - toggle favourite +W - toggle Watched status (Capital W) +g - toggles gallery / video window +esc - closes details pane +left arrow - cycles backwards in gallery / skips backwards in video +right arrow - cycles forward in gallery / skips forward in video diff --git a/ui/src/views/scenes/Details.vue b/ui/src/views/scenes/Details.vue index d09f89068..fe164f4e5 100644 --- a/ui/src/views/scenes/Details.vue +++ b/ui/src/views/scenes/Details.vue @@ -8,8 +8,8 @@ @keydown.o="prevScene" @keydown.p="nextScene" @keydown.f="$store.commit('sceneList/toggleSceneList', {scene_id: item.scene_id, list: 'favourite'})" - @keydown.w="$store.commit('sceneList/toggleSceneList', {scene_id: item.scene_id, list: 'watchlist'})" - @keydown.W="$store.commit('sceneList/toggleSceneList', {scene_id: item.scene_id, list: 'watched'})" + @keydown.exact.w="$store.commit('sceneList/toggleSceneList', {scene_id: item.scene_id, list: 'watchlist'})" + @keydown.shift.w="$store.commit('sceneList/toggleSceneList', {scene_id: item.scene_id, list: 'watched'})" @keydown.e="$store.commit('overlay/editDetails', {scene: item.scene})" @keydown.g="toggleGallery" /> @@ -512,7 +512,11 @@ export default { } }, toggleGallery () { - this.activeMedia = 0 + if (this.activeMedia == 0) { + this.activeMedia = 1 + } else { + this.activeMedia = 0 + } }, scrollToActiveIndicator (value) { const indicators = document.querySelector('.carousel-indicator')