Skip to content

A tool for turning Spotify songs into iPhone-ready alarms & ringtones.

Notifications You must be signed in to change notification settings

gracewzhang/Quartz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Quartz

A tool for turning Spotify songs into iPhone-ready alarms & ringtones.

UsageTroubleshooting


license

Usage

  1. Clone the repo
  2. Store your Spotify Client ID and Client Secret as environment variables called QUARTZ_CLIENT_ID and QUARTZ_CLIENT_SECRET, respectively.
  3. cd into the cloned repo and run pip install -r requirements.txt
  4. Run Quartz
    1. Converting a song: python src/main.py song [song Spotify URL]
    2. Converting a playlist (must be public): python src/main.py playlist [playlist Spotify URL]
    3. Configure the output directory of the file by appending --out-dir [output directory] to the end of either of the above two commands
  5. Upload the downloaded file(s) to iTunes
  6. Connect your iPhone to your PC and transfer the file(s)

Note: For the audio file to be a valid ringtone, it must be at most 30 seconds long. This can easily be configured using the built-in file trimmer.

Troubleshooting

Unexpected renderer encountered.
Renderer name: dict_keys(['reelShelfRenderer'])

This is a known issue with pytube that is caused by YouTube Shorts. Although the log doesn't impact Quartz's functionality, you can follow this fix to suppress the message.

About

A tool for turning Spotify songs into iPhone-ready alarms & ringtones.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages