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
| ##code to copy all the songs in the playlist to the directory specified | |
| import os | |
| import shutil | |
| sourcePL = 'C:\\Users\\saranya.v\\Music\\Playlists\\Sleep.wpl' | |
| #destDir = 'E:\\Music\\Lyrics\\' | |
| destDir = 'D:\\Move\\tmp\\' | |
| LOG_LEVELS = { |
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
| #TODO : | |
| #use dictionaries in modules instead of creating and destroying every time it runs | |
| try: | |
| import urllib.request as urllib2 | |
| except: | |
| import urllib2 | |
| import bs4 | |
| from bs4 import BeautifulSoup | |
| import re |
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
| ##get a way to flag wrong lyrics and search for ?? | |
| ##-the next search result next time the program is run | |
| ##-song name+artist | |
| ##-song name+album | |
| ##write an android app to insert link into the music player: | |
| ##-link to lyrics if present in local; else | |
| ##-link to google to search if net is connected; else | |
| ##-disabled link | |
| try: |
NewerOlder