-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: always convert all mp3 files, even when supposedly being of the …
…proper format
- Loading branch information
Showing
9 changed files
with
658 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL | ||
// This file is automatically generated. DO NOT EDIT | ||
import {uuid} from '../models'; | ||
import {main} from '../models'; | ||
import {lunii} from '../models'; | ||
|
||
export function ChangePackOrder(arg1:uuid.UUID,arg2:number):Promise<string>; | ||
|
||
export function CheckForUpdate():Promise<main.CheckUpdateResponse>; | ||
|
||
export function CreatePack(arg1:string,arg2:string):Promise<string>; | ||
|
||
export function GetDeviceInfos():Promise<lunii.Device>; | ||
|
||
export function GetInfos():Promise<main.Infos>; | ||
|
||
export function InstallPack(arg1:string):Promise<string>; | ||
|
||
export function ListPacks():Promise<Array<lunii.Metadata>>; | ||
|
||
export function OpenDirectory(arg1:string):Promise<string>; | ||
|
||
export function OpenFile(arg1:string):Promise<string>; | ||
|
||
export function RemovePack(arg1:uuid.UUID):Promise<boolean>; | ||
|
||
export function SaveFile(arg1:string,arg2:string,arg3:string):Promise<string>; | ||
|
||
export function SyncLuniiStoreMetadata(arg1:Array<uuid.UUID>):Promise<string>; | ||
|
||
export function SyncStudioMetadata(arg1:Array<uuid.UUID>,arg2:string):Promise<string>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
// @ts-check | ||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL | ||
// This file is automatically generated. DO NOT EDIT | ||
|
||
export function ChangePackOrder(arg1, arg2) { | ||
return window['go']['main']['App']['ChangePackOrder'](arg1, arg2); | ||
} | ||
|
||
export function CheckForUpdate() { | ||
return window['go']['main']['App']['CheckForUpdate'](); | ||
} | ||
|
||
export function CreatePack(arg1, arg2) { | ||
return window['go']['main']['App']['CreatePack'](arg1, arg2); | ||
} | ||
|
||
export function GetDeviceInfos() { | ||
return window['go']['main']['App']['GetDeviceInfos'](); | ||
} | ||
|
||
export function GetInfos() { | ||
return window['go']['main']['App']['GetInfos'](); | ||
} | ||
|
||
export function InstallPack(arg1) { | ||
return window['go']['main']['App']['InstallPack'](arg1); | ||
} | ||
|
||
export function ListPacks() { | ||
return window['go']['main']['App']['ListPacks'](); | ||
} | ||
|
||
export function OpenDirectory(arg1) { | ||
return window['go']['main']['App']['OpenDirectory'](arg1); | ||
} | ||
|
||
export function OpenFile(arg1) { | ||
return window['go']['main']['App']['OpenFile'](arg1); | ||
} | ||
|
||
export function RemovePack(arg1) { | ||
return window['go']['main']['App']['RemovePack'](arg1); | ||
} | ||
|
||
export function SaveFile(arg1, arg2, arg3) { | ||
return window['go']['main']['App']['SaveFile'](arg1, arg2, arg3); | ||
} | ||
|
||
export function SyncLuniiStoreMetadata(arg1) { | ||
return window['go']['main']['App']['SyncLuniiStoreMetadata'](arg1); | ||
} | ||
|
||
export function SyncStudioMetadata(arg1, arg2) { | ||
return window['go']['main']['App']['SyncStudioMetadata'](arg1, arg2); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
export namespace lunii { | ||
|
||
export class DiskUsage { | ||
free: number; | ||
used: number; | ||
total: number; | ||
|
||
static createFrom(source: any = {}) { | ||
return new DiskUsage(source); | ||
} | ||
|
||
constructor(source: any = {}) { | ||
if ('string' === typeof source) source = JSON.parse(source); | ||
this.free = source["free"]; | ||
this.used = source["used"]; | ||
this.total = source["total"]; | ||
} | ||
} | ||
export class Device { | ||
mountPoint: string; | ||
uuid: number[]; | ||
uuidHex: string; | ||
specificKey: number[]; | ||
serialNumber: string; | ||
firmwareVersionMajor: number; | ||
firmwareVersionMinor: number; | ||
sdCardSize: number; | ||
sdCardUsed: number; | ||
diskUsage?: DiskUsage; | ||
|
||
static createFrom(source: any = {}) { | ||
return new Device(source); | ||
} | ||
|
||
constructor(source: any = {}) { | ||
if ('string' === typeof source) source = JSON.parse(source); | ||
this.mountPoint = source["mountPoint"]; | ||
this.uuid = source["uuid"]; | ||
this.uuidHex = source["uuidHex"]; | ||
this.specificKey = source["specificKey"]; | ||
this.serialNumber = source["serialNumber"]; | ||
this.firmwareVersionMajor = source["firmwareVersionMajor"]; | ||
this.firmwareVersionMinor = source["firmwareVersionMinor"]; | ||
this.sdCardSize = source["sdCardSize"]; | ||
this.sdCardUsed = source["sdCardUsed"]; | ||
this.diskUsage = this.convertValues(source["diskUsage"], DiskUsage); | ||
} | ||
|
||
convertValues(a: any, classs: any, asMap: boolean = false): any { | ||
if (!a) { | ||
return a; | ||
} | ||
if (a.slice) { | ||
return (a as any[]).map(elem => this.convertValues(elem, classs)); | ||
} else if ("object" === typeof a) { | ||
if (asMap) { | ||
for (const key of Object.keys(a)) { | ||
a[key] = new classs(a[key]); | ||
} | ||
return a; | ||
} | ||
return new classs(a); | ||
} | ||
return a; | ||
} | ||
} | ||
|
||
export class Metadata { | ||
uuid: number[]; | ||
ref: string; | ||
title: string; | ||
description: string; | ||
packType: string; | ||
|
||
static createFrom(source: any = {}) { | ||
return new Metadata(source); | ||
} | ||
|
||
constructor(source: any = {}) { | ||
if ('string' === typeof source) source = JSON.parse(source); | ||
this.uuid = source["uuid"]; | ||
this.ref = source["ref"]; | ||
this.title = source["title"]; | ||
this.description = source["description"]; | ||
this.packType = source["packType"]; | ||
} | ||
} | ||
|
||
} | ||
|
||
export namespace main { | ||
|
||
export class CheckUpdateResponse { | ||
canUpdate: boolean; | ||
latestVersion: string; | ||
releaseNotes: string; | ||
|
||
static createFrom(source: any = {}) { | ||
return new CheckUpdateResponse(source); | ||
} | ||
|
||
constructor(source: any = {}) { | ||
if ('string' === typeof source) source = JSON.parse(source); | ||
this.canUpdate = source["canUpdate"]; | ||
this.latestVersion = source["latestVersion"]; | ||
this.releaseNotes = source["releaseNotes"]; | ||
} | ||
} | ||
export class Infos { | ||
version: string; | ||
machineId: string; | ||
os: string; | ||
arch: string; | ||
|
||
static createFrom(source: any = {}) { | ||
return new Infos(source); | ||
} | ||
|
||
constructor(source: any = {}) { | ||
if ('string' === typeof source) source = JSON.parse(source); | ||
this.version = source["version"]; | ||
this.machineId = source["machineId"]; | ||
this.os = source["os"]; | ||
this.arch = source["arch"]; | ||
} | ||
} | ||
|
||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"name": "@wailsapp/runtime", | ||
"version": "2.0.0", | ||
"description": "Wails Javascript runtime library", | ||
"main": "runtime.js", | ||
"types": "runtime.d.ts", | ||
"scripts": { | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/wailsapp/wails.git" | ||
}, | ||
"keywords": [ | ||
"Wails", | ||
"Javascript", | ||
"Go" | ||
], | ||
"author": "Lea Anthony <[email protected]>", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/wailsapp/wails/issues" | ||
}, | ||
"homepage": "https://github.com/wailsapp/wails#readme" | ||
} |
Oops, something went wrong.