mirror of
https://github.com/Mastermindzh/tidal-hifi.git
synced 2025-08-23 21:15:00 +02:00
added songwhip
This commit is contained in:
@@ -26,6 +26,7 @@ import {
|
||||
import { settings } from "./constants/settings";
|
||||
import { addTray, refreshTray } from "./scripts/tray";
|
||||
import { MediaInfo } from "./models/mediaInfo";
|
||||
import { Songwhip } from "./features/songwhip/songwhip";
|
||||
import { Logger } from "./features/logger";
|
||||
const tidalUrl = "https://listen.tidal.com";
|
||||
|
||||
@@ -222,4 +223,8 @@ ipcMain.on(globalEvents.error, (event) => {
|
||||
console.log(event);
|
||||
});
|
||||
|
||||
ipcMain.handle(globalEvents.whip, async (event, url) => {
|
||||
return await Songwhip.whip(url);
|
||||
});
|
||||
|
||||
Logger.watch(ipcMain);
|
||||
|
Reference in New Issue
Block a user