![]() logic for image selection, error handling, etc), but so far I’m satisfied with the result as a prototype. There is still room for improvement (e.g. ![]() When song changes, it closes feh window for the previous song, then re-open it with new cover art image for the current song. The left side (background) is the Raspberry Pi’s desktop showing the cover art image from Google Images. The right side is the smartphone screen running Pandora streaming music. ![]() Following images are examples of the results. Make sure Bluetooth audio connection is already established and bluealsa audio forwarding is enabled.ģ-2. HEADER = '.format(key, value.get(key, ''))) I'm lead to believe that many vehicles use the same format to display in-car album art over bluetooth. My vehicle in question is a 2018 Volkswagen Polo 1.0 TSI. Add the following code which implements the cover art feature. Song name, Artist, Album, and track length is being displayed perfectly, however the Album Art is not displayed. Install “beautifulsoup4” python package, which will be used for web scraping. Install “feh”, which will be used to display images. Raspberry Pi 3 B+) *tested with Raspbian Stretch with Desktop () Controlling Bluetooth Audio on Raspberry Pi.Streaming Bluetooth Audio from Phone to Raspberry Pi using ALSA.So, my idea is to get cover art from Google Images by web scraping the search results.īluetooth audio streaming (A2DP) and song info display (AVRCP) should be enabled by following the previous posts: Specification wise, transferring cover art over Bluetooth is supported since AVRCP 1.6, but unfortunately it’s not widely implemented yet. Then, I thought it would be nice if the album cover art images could be displayed too. In the previous post, I was able to show song title, artist name, and album name of Bluetooth audio.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |