Skip to content

A python program to fetch lyrics from apple music albums and songs and then generates lyrics videos from fetched time-synced lyrics.

License

Notifications You must be signed in to change notification settings

dropcreations/Manzana-Apple-Music-Lyrics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Manzana Apple Music Lyrics

A python program to fetch lyrics from apple music albums and songs and then generates lyrics videos from fetched time-synced lyrics. See here

Apple Music

How to use?

First of all clone this project or download the project as a zip file and extract it to your pc or see releases.

git clone https://github.com/dropcreations/Manzana-Apple-Music-Lyrics.git && cd Manzana-Apple-Music-Lyrics

Install required modules for python (use pip3 if pip doesn't work for you)

pip install -r requirements.txt

Get your Apple Music cookies from web browser and search for media-user-token and get it.

Domain Include subdomains Path Secure Expiry Name Value
.apple.com TRUE / FALSE 0 geo ##
.apple.com TRUE / TRUE 0 dslang ##-##
.apple.com TRUE / TRUE 0 site ###
.apple.com TRUE / TRUE 0 myacinfo #####...
.music.apple.com TRUE / TRUE 1680758167 commerce-authorization-token #####...
.apple.com TRUE / FALSE 1715317057 itspod ##
.music.apple.com TRUE / TRUE 1681361859 media-user-token #####...
.music.apple.com TRUE / TRUE 1681361859 itre #
.music.apple.com TRUE / TRUE 1681361859 pldfltcid #####...
.music.apple.com TRUE / TRUE 1681361859 pltvcid #####...
.music.apple.com TRUE / TRUE 1681361859 itua ##

Paste media-user-token when it asked for...

open terminal and run below command (Use py or python3 if python doesn't work for you)

python manzana.py [album or song url]

When saving time synced lyrics, timestamps are in 00:00.00 format. If you want to get it in 00:00.000 format use --sync or -s as below

python manzana.py -s [album or song url]

Get help using -h or --help command

usage: manzana.py [-h] [-v] [-s] [--no-txt] [--no-lrc] url

Manzana: Apple Music Lyrics

positional arguments:
  url            Apple Music URL for an album or a song

optional arguments:
  -h, --help     show this help message and exit
  -v, --version  show program's version number and exit
  -s, --sync     Save timecode's in 00:00.000 format (three ms points)
  --no-txt       Don't save lyrics as a .txt file
  --no-lrc       Don't save time-synced lyrics as a .lrc file

Manzana Pro

You can create lyric videos using Apple Music, if you have an user subscription. What you just need to do is get Manzana Pro program and extract it to a specified folder using the installer and add that folder to your system PATH variable. Make sure you have ffmpeg also in your PATH. You can also customize background image of the output video and frame-rate (FPS).

usage: manzana [-h] [-v] [-b BACKGROUND] [-f FPS] url

Manzana: Apple Music Lyric Videos

positional arguments:
  url                   Apple Music URL for an album or a song.

optional arguments:
  -h, --help            show this help message and exit
  -v, --version         show program's version number and exit
  -b BACKGROUND, --background BACKGROUND
                        Replace background image with your own image. Add image path.
  -f FPS, --fps FPS     Set frame-rate of the output video. (default: 24fps, max: 60fps)

Progress preview of Ava Max - Hold Up (Wait a Minute)

progress_preview

output_preview

How to get Manzana Pro?

  • You can get Manzana Pro for just $19.
  • Contact me via dropcodestudio@gmail.com for further infomation.

Manzana Premium

COMING SOON...

output_preview

About me

Hi, I'm Dinitha. You might recognize me as GitHub's dropcreations.

Other useful python scripts done by me

Project Github location
Apple-Music-Tagger https://github.com/dropcreations/Manzana-Apple-Music-Tagger
MKVExtractor https://github.com/dropcreations/MKVExtractor
FLAC-Tagger https://github.com/dropcreations/FLAC-Tagger
MP4/M4A-Tagger https://github.com/dropcreations/MP4-Tagger
MKV-Tagger https://github.com/dropcreations/MKV-Tagger

  • NOTE: If you found any issue using this script mention in issues section

About

A python program to fetch lyrics from apple music albums and songs and then generates lyrics videos from fetched time-synced lyrics.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages