This file contains hidden or 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 python | |
| import os | |
| import sys | |
| import glob | |
| from mutagen.mp3 import MP3 | |
| from mutagen.easyid3 import EasyID3 | |
| # | |
| # MP3 playlist generator |
This file contains hidden or 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
| # -*- encoding: UTF-8 -*- | |
| import smtplib | |
| import json | |
| from email.mime.text import MIMEText | |
| MAILGUN_SMTP_LOGIN = "[email protected]" | |
| MAILGUN_SMTP_PASSWORD = "secret" | |
| def send_message_via_smtp(from_, to, mime_string): |