mirror of
https://github.com/A-Star100/simpliplay-desktop.git
synced 2025-09-17 22:29:38 +00:00
Compare commits
9 Commits
release-2.
...
main
Author | SHA1 | Date | |
---|---|---|---|
![]() |
a26e1448ab | ||
![]() |
59a8d5c577 | ||
![]() |
ef5e34331e | ||
![]() |
cc5da53f23 | ||
![]() |
5d0128e2af | ||
![]() |
101f14c4d6 | ||
![]() |
49939dd963 | ||
![]() |
257218c5a1 | ||
![]() |
808c275167 |
@ -6,7 +6,7 @@ const { pathToFileURL } = require("url");
|
|||||||
const { checkForUpdate } = require('./updateChecker');
|
const { checkForUpdate } = require('./updateChecker');
|
||||||
let gpuAccel = "";
|
let gpuAccel = "";
|
||||||
let didRegisterShortcuts = false;
|
let didRegisterShortcuts = false;
|
||||||
let version = "2.1.3.0"
|
let version = "2.1.4.0"
|
||||||
|
|
||||||
if (process.platform === 'darwin') {
|
if (process.platform === 'darwin') {
|
||||||
if (process.argv.includes('--use-gl')) {
|
if (process.argv.includes('--use-gl')) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "SimpliPlay",
|
"name": "SimpliPlay",
|
||||||
"version": "2.1.3",
|
"version": "2.1.4",
|
||||||
"description": "SimpliPlay - The mission to make media playback accessible on every device, anywhere, anytime.",
|
"description": "SimpliPlay - The mission to make media playback accessible on every device, anywhere, anytime.",
|
||||||
"main": "./main.js",
|
"main": "./main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@ -92,6 +92,11 @@
|
|||||||
"name": "FLAC Audio",
|
"name": "FLAC Audio",
|
||||||
"role": "Viewer"
|
"role": "Viewer"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"ext": "opus",
|
||||||
|
"name": "Opus Audio",
|
||||||
|
"role": "Viewer"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"ext": "mkv",
|
"ext": "mkv",
|
||||||
"name": "MKV Video",
|
"name": "MKV Video",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "SimpliPlay",
|
"name": "SimpliPlay",
|
||||||
"version": "2.1.3",
|
"version": "2.1.4",
|
||||||
"description": "The mission to make media playback accessible on every platform, anywhere, anytime.",
|
"description": "The mission to make media playback accessible on every platform, anywhere, anytime.",
|
||||||
"main": "./main.js",
|
"main": "./main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@ -105,6 +105,11 @@
|
|||||||
"name": "FLAC Audio",
|
"name": "FLAC Audio",
|
||||||
"role": "Viewer"
|
"role": "Viewer"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"ext": "opus",
|
||||||
|
"name": "Opus Audio",
|
||||||
|
"role": "Viewer"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"ext": "mkv",
|
"ext": "mkv",
|
||||||
"name": "MKV Video",
|
"name": "MKV Video",
|
||||||
|
@ -96,8 +96,8 @@ window.addEventListener('drop', e => {
|
|||||||
// Create a new Object URL
|
// Create a new Object URL
|
||||||
const fileURL = URL.createObjectURL(file);
|
const fileURL = URL.createObjectURL(file);
|
||||||
mediaElement.src = fileURL;
|
mediaElement.src = fileURL;
|
||||||
mediaElement.load();
|
|
||||||
|
|
||||||
|
mediaElement.load();
|
||||||
// Autoplay if checkbox is checked
|
// Autoplay if checkbox is checked
|
||||||
if (autoplayCheckbox.checked) {
|
if (autoplayCheckbox.checked) {
|
||||||
mediaElement.play().catch(err => console.warn(err));
|
mediaElement.play().catch(err => console.warn(err));
|
||||||
@ -194,3 +194,7 @@ window.electron.receive("unload-addon", (fileURL) => {
|
|||||||
unloadAddon(fileURL);
|
unloadAddon(fileURL);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user