====== Now Playing Song Widget Last FM ======
**Please note, Spotify integration has been removed due to a change in the Spotify API. As such this command will only pull spotify songs info from last fm.**
The command below display a widget on your stream overlay when the song changes on Spotify, the info in the widget will have the artist/song name and the album art also displayed. Example below.
{{:spotify_widget.gif|}}
Want to see more community-made custom commands? Click the following link - [[user_custom_commands|Link]]\\
Need to know how to import this command into your Deepbot? Click the following link - [[import_and_export_commands|Link]]
----
==== Credits ====
Ian Chandler - [[https://www.twitch.tv/ianchandler1990|Twitch Channel Link]]
==== Latest Version ====
1.0.0
==== Update History ====
None
==== Requirements ====
VIP Membership - [[getvip|How to Get VIP]]
==== Setup ====
*1. Update the bot to version V0.11.011 or above by downloading the latest Dev Alpha [[update_to_alpha|Update to Alpha]]
*2. Import the commands from the link **[[https://api.chandler-gaming.com/bot/commands/spotifywidget.txt|Download Json]]**.
*3. In master settings make sure "fetch NowPlaying from Last.fm" + Lastfm username is ticked/filled in.
*4. In OBS the link to add for BrowserSource/CLR will be http://deepbot.tv/widgets/InfoPanel.htm?dur=6&panel=playing with Width: 400 + Height: 120.
*5. In all of the commands make sure that the location of deepbot is updated if it is not saved in the same location of C:\DeepBot - Twitch Streamer Assistant\
Please note you can edit the the CSS of the widget to match the look of your overlay. Below Is the CSS I added to OBS to make it dark mode as example above.
body { background-color: rgba(0, 0, 0, 0); margin: 0px auto; overflow: hidden; }
#infoHeader {
background: #222225 !important;
}
#infoContent {
background: #121213 !important;
}
==== Command ====
* You Can also make a new command !song with the message !internal_songchange_event that will set off the alert for users to run. command Cool down advised.
==== Useful Information ====
None