Skip to content

Commit 408030a

Browse files
committed
Add small image
1 parent 20a2b82 commit 408030a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/lib/rpc.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import * as RPC from 'discord-rpc';
22
import fetchCurrentSong from './mcat';
33
import * as moment from 'moment';
44
import db from './db';
5+
import { log } from 'console';
56

67
let client = new RPC.Client({
78
transport: 'ipc',
@@ -115,7 +116,9 @@ async function handleCurrentSong(input: CurrentlyPlaying) {
115116
}`,
116117
state: `from ${current.ReleaseTitle}`,
117118
largeImageKey: getImageURL(current.CatalogId),
118-
largeImageText: `mcat-discord-rpc`,
119+
largeImageText: `${current.CatalogId}`,
120+
smallImageKey: 'mcat',
121+
smallImageText: 'mcat-discord-rpc',
119122
buttons: [
120123
{
121124
label: 'Play',

0 commit comments

Comments
 (0)