Skip to content
resource for extracting m4a files from youtube video
Shell Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
albumify
search.py
tracks.txt

README.md

#Albumify

  • Purpose: extract m4a files from yotube through user input and organize them into an album OR simply extract a single song
  • Dependencies: youtube-dl, MORE TO COME

#Setup/Usage

  • Clone repo and cd into Albumify directory
  • To get single song:
	$ cd Albumify
	$ ./albumify "Often" "Weeknd"
  • Getting a complete album:
	$ cd Albumify
	$ ./albumify -A "To Pimp a Butterfly" "Kendrick Lamar" tracks.txt
  • help page
Overview: Enter a media source and artist name and get corresponding m4a media file(s)

Usage:
$ albumify [FLAGS] 'Media Source Name' 'Artist Name'

FLAGS:
-h                     displays this segment for brief help
-A                     will get Album with title 'Media Source Name' by 'Artist Name'

#Track Log / File description:

  • search.py:
    • takes in song name and artist name as a querry
    • gets the FIRST youtube URL via google search
    • the yt hash ID is found then processed and concatenated to the main youtube video url
    • calls youtube dl to specifiy the download of a m4a file from the extracted url
  • albumify:
    • == main program
    • has 2 options:
      • -h contains help information
      • -A specifies the first media entry is an Album title
    • NEED TO DO:
      • query tracklist from Musicbrainz
      • query potential other metadata (song features, length)
  • tracks.txt:
    • contains a list of track names from the corresponding input album name
    • ONLY temporary (this file will be removed when integration with musicbrainz api is complete)

Todo

  • write python script that will fully process and input the meta data into the m4a files
  • further test potential arguments
You can’t perform that action at this time.