jonas-kaufmann / nowplaying-for-tidal Goto Github PK
View Code? Open in Web Editor NEWImitate Spotify's Now Playing feature in Discord using Game Activity
License: MIT License
Imitate Spotify's Now Playing feature in Discord using Game Activity
License: MIT License
Did it try to add the same cover on discord again?
It's this album https://tidal.com/browse/album/209333039
edit: this cover is not on my assets
I was listening to this https://tidal.com/browse/track/29862946 and normal edition's cover is already on my assets. But it tried to load the deluxe one
Hey, it seems that the artwork functionality is broken? I am 100% sure that I set up everything correctly since the tidal asset has been successfully uploaded and it's getting used whenever I play something, but none of the album artworks ever get uploaded.
When I had Windows on my PC I was using this app and it worked great. Only problem: you have to wait for artworks. So I switched to Linux. On Linux there is no official client so I found tidal-hifi which is basically a custom client for Linux. This client has a Discord RPC plugin baked in the client and I was confused on why artworks were working instantly.
So I figured out it somehow uses a URL as the artwork instead of constantly uploading artworks as assets. The image URL loaded on discord looks like this https://media.discordapp.net/external/c78dDCeR1nLDcfVlaxW7s1AzhrdPqhOIbIxjtv0zJw8/https/resources.tidal.com/images/99baaa31/52a0/40ee/a8d0/4525fb5f8a02/640x640.jpg
(basically a proxy for the artwork image). As far as I understand if you just set the largeImageKey
to an image url, it just works. I haven't tested this, I just wanted to drop this here in case it can improve the app.
The Header of "Authorization" doesn't exist anymore and if you refresh on the page it automatically signs you off. So album artwork isn't possible anymore.
First off, thanks for making this RPC enabler for Tidal. I really like the look of it by default but thought it would look a little better with artworks (which it does). Utilizes Discord's asset system of course which has a limit but they've recently upped it to 300 which is enough for me.
This probably wouldn't be able to merge into master because of a couple reasons:
Still would probably be cool to have it in its own branch for people that want the feature, let me know if you're interested.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.