mirror of
https://github.com/Super-Badmen-Viper/NSMusicS
synced 2025-04-29 17:57:30 +08:00
update version 1.5.4
This commit is contained in:
parent
ea85c74660
commit
fa8900bbd5
@ -7,7 +7,7 @@
|
||||
"email": "1774148579@qq.com"
|
||||
},
|
||||
"description": "NSMusicS For Web(Electron+Vue3+TS),Multi platform Multi mode Super Music Software (Full stack development, audio processing, artificial intelligence, natural language processing)",
|
||||
"version": "1.5.3",
|
||||
"version": "1.5.4",
|
||||
"private": true,
|
||||
"license": "AGPL - 3.0",
|
||||
"scripts": {
|
||||
@ -28,7 +28,7 @@
|
||||
"@vue/compiler-sfc": "^3.5.13",
|
||||
"axios": "^1.7.7",
|
||||
"better-sqlite3": "^11.3.1",
|
||||
"bindings": "^1.5.3",
|
||||
"bindings": "^1.5.4",
|
||||
"clone": "^2.1.2",
|
||||
"electron-updater": "^6.3.0-alpha.6",
|
||||
"fast-xml-parser": "^4.5.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<item>
|
||||
<version>1.5.3</version>
|
||||
<version>1.5.4</version>
|
||||
<url> </url>
|
||||
<changelog>https://github.com/Super-Badmen-Viper/NSMusicS/releases</changelog>
|
||||
<changelog_explain>
|
||||
|
@ -41,7 +41,7 @@ if (!app.requestSingleInstanceLock()) {
|
||||
}
|
||||
else {
|
||||
app.on('ready', async () => {
|
||||
globalShortcut.register('CommandOrControl+Shift+I+O', () => {
|
||||
globalShortcut.register('Ctrl+Alt+Shift+T', () => {
|
||||
if (context_MainWin.mainWindow.webContents.isDevToolsOpened()) {
|
||||
context_MainWin.mainWindow.webContents.closeDevTools();
|
||||
} else {
|
||||
|
@ -26,7 +26,7 @@ export class Jellyfin_Api_Services_Web {
|
||||
if(store_server_user_model.authorization_of_Je != undefined &&
|
||||
store_server_user_model.authorization_of_Je.length > 0) {
|
||||
const headers = {
|
||||
'Authorization': `MediaBrowser Token="${store_server_user_model.authorization_of_Je}", Client="NSMusicS", Device="Desktop Client", DeviceId="NineSong", Version="1.5.3"`
|
||||
'Authorization': `MediaBrowser Token="${store_server_user_model.authorization_of_Je}", Client="NSMusicS", Device="Desktop Client", DeviceId="NineSong", Version="1.5.4"`
|
||||
};
|
||||
|
||||
const queryString = params ? new URLSearchParams(params).toString() : '';
|
||||
|
@ -27,12 +27,12 @@ export class Users_ApiService_of_Je extends Jellyfin_Api_Services_Web {
|
||||
const endpoint = 'Users/AuthenticateByName';
|
||||
const url = `${baseUrl}/${endpoint}`;
|
||||
const AccessToken = '';
|
||||
const Version = '1.5.3';
|
||||
const Version = '1.5.4';
|
||||
const Client = isElectron ? 'Electron Desktop' : 'Web';
|
||||
const Device = isElectron ? 'NSMusicS' : 'NineSong';
|
||||
const DeviceId = isElectron ? 'NSMusicS '+Version : 'NineSong '+Version;
|
||||
const headers = {
|
||||
'Authorization': `MediaBrowser Token="${AccessToken}", Client="${Client}", Device="${Device}", DeviceId="${DeviceId}-GO", Version="1.5.3"`
|
||||
'Authorization': `MediaBrowser Token="${AccessToken}", Client="${Client}", Device="${Device}", DeviceId="${DeviceId}-GO", Version="1.5.4"`
|
||||
};
|
||||
const data = {
|
||||
Username: username,
|
||||
|
@ -117,7 +117,7 @@ export const store_app_configs_info = reactive({
|
||||
}
|
||||
/// update_info
|
||||
try {
|
||||
store_app_configs_info.version = '1.5.3';
|
||||
store_app_configs_info.version = '1.5.4';
|
||||
console.log('Current Version:', store_app_configs_info.version);
|
||||
const xmlUrl = 'https://github.com/Super-Badmen-Viper/NSMusicS/releases/download/NSMusicS-Win-Update/NSMusicS.xml';
|
||||
await store_app_configs_logic_update.fetchAndParseXML(xmlUrl);
|
||||
|
@ -145,7 +145,7 @@ func (c *PlaylistController) AddMediaFiles(ctx *gin.Context) {
|
||||
ctx.Status(http.StatusNoContent)
|
||||
}
|
||||
|
||||
// 移除媒体文件
|
||||
// RemoveMediaFiles 删除媒体文件(新版)
|
||||
func (c *PlaylistController) RemoveMediaFiles(ctx *gin.Context) {
|
||||
playlistId := ctx.Param("playlistId")
|
||||
var req struct {
|
||||
|
Loading…
x
Reference in New Issue
Block a user