This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" | |
gwillem@gmail.com | |
Read current playing track from D-BUS and add it to my favorites | |
playlist. Any previous instances of the same track on the playlist are removed. | |
I have mapped this script to the XF86Favorite key of my Microsoft Natural Keyboard. |