we do a little rebranding.
This commit is contained in:
parent
42680aff79
commit
37e9c8276e
7 changed files with 7 additions and 3 deletions
4
index.js
4
index.js
|
@ -95,6 +95,10 @@ app.on('widevine-ready', (version, lastVersion) => {
|
|||
}
|
||||
})
|
||||
|
||||
app.on('page-title-updated', function(e) {
|
||||
e.preventDefault()
|
||||
});
|
||||
|
||||
app.on('widevine-update-pending', (currentVersion, pendingVersion) => {
|
||||
console.log('[Apple-Music-Electron][Widevine] Widevine ' + currentVersion + ' is ready to be upgraded to ' + pendingVersion + '!')
|
||||
})
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
},
|
||||
"fileAssociations": [
|
||||
{
|
||||
"name": "Apple Music Electron",
|
||||
"name": "Cider",
|
||||
"mimeType": "x-scheme-handler/ame;x-scheme-handler/itms;x-scheme-handler/itmss;x-scheme-handler/musics;x-scheme-handler/music;",
|
||||
"schemes": [
|
||||
"ame",
|
||||
|
|
|
@ -179,7 +179,7 @@ const init = {
|
|||
|
||||
app.ame.mpris.connect(); // M.P.R.I.S
|
||||
app.ame.lastfm.authenticate(); // LastFM
|
||||
app.ame.discord.connect(app.cfg.get('general.discordRPC') === 'ame-title' ? '749317071145533440' : '886578863147192350'); // Discord
|
||||
app.ame.discord.connect(app.cfg.get('general.discordRPC') === 'ame-title' ? '911790844204437504' : '886578863147192350'); // Discord
|
||||
|
||||
app.isAuthorized = false;
|
||||
app.isMiniplayerActive = false;
|
||||
|
|
|
@ -67,7 +67,7 @@ module.exports = {
|
|||
state: `by ${attributes.artistName}`,
|
||||
startTimestamp: attributes.startTime,
|
||||
endTimestamp: attributes.endTime,
|
||||
largeImageKey: ((app.cfg.get('general.discordRPC') === 'am-title') ? 'apple' : 'logo'),
|
||||
largeImageKey: ((app.cfg.get('general.discordRPC') === 'am-title') ? 'apple' : 'cider'),
|
||||
largeImageText: attributes.albumName,
|
||||
smallImageKey: (attributes.status ? 'play' : 'pause'),
|
||||
smallImageText: (attributes.status ? 'Playing': 'Paused'),
|
||||
|
|
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 107 KiB After Width: | Height: | Size: 19 KiB |
Binary file not shown.
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 30 KiB |
Loading…
Add table
Add a link
Reference in a new issue