ultrasn0w / foo_drpc Goto Github PK
View Code? Open in Web Editor NEWFoobar2000 music status for Discord Rich Presence!
License: MIT License
Foobar2000 music status for Discord Rich Presence!
License: MIT License
Neat plugin, I'm really digging it. Just a couple small things I notice is there seems to be a delay sometimes from when Discord shows it from paused and listening status on a track. Also, whenever I am playing a song and manually select another song, or skip a couple tracks, it will sorta get stuck on a previous track that isn't the current one until I go in and fiddle with it by stopping the song, and replaying it.
First of all, I want to let you know that this is the best thing I've found in a while, and thank you for making it :)
Now on to the "bug"
For example, if I'm listening to song A, then I skipped to song B, the displayed song is still song A, then after I skip or song B ends, song C play but song B get displayed. This continues until I stopped, then the metadata is corrected.
Some information:
Feel free to let me know if you need additional logs, files, or if I'm messing something up :)
Still, thank you for the work, it still works fine when I'm not skipping songs XD
P.S : I did check back, and this lasted throughout the songs (2-3 mins songs)
First of all, thank you for this useful little utility.
The problem here is is that this tool will not update what track you're playing as long as the option "Save playback state when closing foobar2000 and resume on next startup" is enabled within foobar. (Preferences > Playback > Other).
It'll fix itself when you fully stop and start playback again.
Hey! Really enjoy the plugin. Thanks for your time and effort. It looks great, but in my opinion could be improved visually. The material outline play/pause buttons look much better at 18dp/dark:
https://material.io/icons/#ic_pause_circle_outline
https://material.io/icons/#ic_play_circle_outline
And the 2014 logo from Wikipedia looks great as well:
https://upload.wikimedia.org/wikipedia/commons/thumb/7/76/Foobar2000_logo_2014.png/1200px-Foobar2000_logo_2014.png
running foobar2000 v1.4 (latest stable at the point of writing) with only a skin and this plugin and it has stopped updating the discord rich presence api about what im listening to, its actually not even turning off the "playing foobar2000" status when i exit foobar anymore either
Says "Playing a Game" when it could say "Listening to Music" or something like that. Example of what I mean here: Spotify vs foobar
As a smaller detail, the Discord sidebar says "Playing foobar2000" but with Spotify it shows "Listening to Spotify." I'm not sure if this is something you can actually change, but it'd be neat.
is it possible to make so the foo_drpc component show the artwork/cover? (if the file ur playing have it)
instead of foobar2000 logo in discord?
maybe a option to turn that off and on for people that wants it in components preference.
(idunno if u want to do it, sound like alot of work to do. but would be a nice option to have)
if u dont want to do the thing above, is it possible to make so we can change how the songs are being showed atleast? (i dont like how it shows artist-title, i like it like "title" by artist)
if we could add our own title format script it would be nice. since i like using this:
$if($and(%artist%,%title%), "%title%" By %artist% )
$if($and(%title%,$not(%artist%)), %title% )
(and some may like to use their own)
If you close foobar2000 before setting a song, it will remain in that initialized presence even if you close foobar2000, but if a song is set and you close, it acts as normal.
Wait what? It works on Windows 10, but on Windows 8.1 it isn't working. ๐ค
rip ๐ข
When installing "foo_drpc.dll" into /components with "discord-rpc.dll" and "send-presence.exe" into /foobar2000, foobar2000 tells me:
Failed to load DLL: foo_drpc.dll
Reason: Not a valid Win32 application.
foobar2000 v1.3.16
Update:
I had to use the win32-dynamic\bin even though I'm on a 64 bit install. Working well now!
Hey,
First of all great job!
So, yo'll change from "playing" to "listening" status? (type 3 iirc)
Another thing, any way to change "foobar_drpc" to the actual song?
Cheers!
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.