Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.69 KB

README.md

File metadata and controls

39 lines (25 loc) · 1.69 KB

This repo is a collection of all my small scripts.

tic_tac_toe.py

The classic game of tic-tac-toe which keeps a tally of your scores over multiple games.

Requires Python3.

Instructions: Clone the file. Run python tic_tac_toe.py or python3 tic_tac_toe.py, whichever is applicable.


billboard_downloader.py

Downloads all songs listed in any supplied billboards url (top 100 by default), or all the songs listed in a file, in general.

Requirements:
Python
youtube-dl

Usage:
git clone https://github.com/hundredrab/spock42
python billboard_downloader/download.py {{ url or genre }}

{{ url or genre }} may be any url of the billboards website listing top songs, or one genre among 'pop', 'country', 'rock', or 'indie'.

For downloading all the songs from a file-list, run: python billboard_downloader/download.py file {{ filename }}

{{ filename }} should contain the name of a file which contains list of songs to be downloaded, separated by newlines.

The songs will be downloaded in a music_new directory, inside billboard_downloader/. Once downloaded, songs will not be re-downloaded, even if deleted, unless names are cleared in downloaded.txt. This allows users the freedom to move/delete music to another folder without going through the trouble of re-downloading.


Metadata_changer.py

Changes the artist, title, etc. Useful for songs downloaded using youtube-dl which do not have relevant metadata but contain verbose titles.

Usage