Feature #5442
closedSpotify Offline Data, can read uri, duration, and so on
0%
Description
I have made this in C#, just to show how to be able to read this data.
I'm really sorry for the messed up code which can maybe be fixed. I only made this when I found out about this offline data.
Anyway, this file only get updated each new song that is played. So nothing that can be readed from 24/7.
Maybe this data could be added into AdiIRC. I was going to add this through mIRC with pure C++. But I'm far from finished with courses.
Here is the link for the code I uploaded: https://github.com/turbosmurfen/SpotifyReader
Files
Updated by Per Amundsen about 3 years ago
- File SpotifyPlugin.zip SpotifyPlugin.zip added
As I mentioned in your other request, I can help make it into a adiirc plugin, but it's not gonna be in adiirc itself.
I have attached a sample plugin using your code, it seems to work.
Place bin\debug\SpotifyPlugin.dll and bin\debug\Newtonsoft.Json.dll in your $adiircdir\Plugins folder, then go to Menubar -> File -> Plugins, select "SpotifyPlugin" in the plugin list and then press the "Load" button.
You can now type /spotify in a channel/private window to send the data to it, just your console output at the moment, but you can change that.
When you make changes to the plugin, keep in mind adiirc has to be closed before the loaded plugin dll can be updated.
Let me know if you have any questions.