-
Notifications
You must be signed in to change notification settings - Fork 0
Home
NumNum edited this page Mar 28, 2024
·
20 revisions
This repository is about an Apple shortcut that converts a TXT file/text into an Apple Music Playlist.
DISCLAIMER: USE AT YOUR OWN RISK. RESULTS DEPEND ON THE QUALITY OF THE TEXT INPUT. THERE IS NO WARRANTY ON RESULTS, AND ERRORS CAN OCCUR.
- iOS or MacOS device that supports shortcuts
- Apple Music App installed with a premium subscription
- List of songs in TXT format
- Download and open the .shortcut file and press "add shortcut".
![](https://private-user-images.githubusercontent.com/75941535/317718516-d0828eda-88c8-4fee-a474-f2d9b27b89de.jpeg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQxMzEzNDQsIm5iZiI6MTcyNDEzMTA0NCwicGF0aCI6Ii83NTk0MTUzNS8zMTc3MTg1MTYtZDA4MjhlZGEtODhjOC00ZmVlLWE0NzQtZjJkOWIyN2I4OWRlLmpwZWc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyMFQwNTE3MjRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mNDllMjk5Y2M3YzkyOWNmNGNkYjYwOWUyYzQ2YzVlYWY4YjRhYjVkOGY2MzI4OGY5MDhjNjU1ODNkMWM4ZDk0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.e0T-HKkC2xSdowiPhB1FjHbJx3Cpu9ZD4mnlK-mU9Iw)
-
Get a list of songs/artists in TXT format.
-
Run the shortcut on
iOS
in Shortcut app.
![](https://private-user-images.githubusercontent.com/75941535/317718109-fc964625-f545-4d8d-a540-1a8e539d2cad.jpeg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQxMzEzNDQsIm5iZiI6MTcyNDEzMTA0NCwicGF0aCI6Ii83NTk0MTUzNS8zMTc3MTgxMDktZmM5NjQ2MjUtZjU0NS00ZDhkLWE1NDAtMWE4ZTUzOWQyY2FkLmpwZWc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyMFQwNTE3MjRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zOTk1NDRlMzZiZjJiMDljZTI5NDIwNzc4M2RkMGQ2NGNiZDhkNmFiYjA1NjNkMmYzN2YwMGMyNGZiNGNiOWY5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.Erk0VSanz7hA-VTrhAGmBp3G4paYprGCbbcgngljhwg)
- Select your playlist or choose "create new playlist."
![](https://private-user-images.githubusercontent.com/75941535/317719434-ba64aafd-8577-4733-8ada-c6e71dbe409f.jpeg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQxMzEzNDQsIm5iZiI6MTcyNDEzMTA0NCwicGF0aCI6Ii83NTk0MTUzNS8zMTc3MTk0MzQtYmE2NGFhZmQtODU3Ny00NzMzLThhZGEtYzZlNzFkYmU0MDlmLmpwZWc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyMFQwNTE3MjRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yNzk1OWExMWMxYjMxZTQ0ZTg4YzkyOTY4NWNmYzZhYWUwYTU3MWEzMGZkMGJiYjcxMmY5YTAzODEwMmM1Nzg1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.x6aWgJug-LyQa0NyB39bXpY51N4yGZCEVKo-qdZ2m5Q)
ℹ Sometimes the option "Select existing playlist" fails to find the playlist. It is recommended to create a new playlist.
- Paste your TXT content in the input field.
![](https://private-user-images.githubusercontent.com/75941535/317721156-136777bb-7e50-4e73-be89-7c138326f83b.jpeg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQxMzEzNDQsIm5iZiI6MTcyNDEzMTA0NCwicGF0aCI6Ii83NTk0MTUzNS8zMTc3MjExNTYtMTM2Nzc3YmItN2U1MC00ZTczLWJlODktN2MxMzgzMjZmODNiLmpwZWc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyMFQwNTE3MjRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05NzVhZGIzZTFkMGIyNjI2MTQ2MDgwZmViN2IyNGM2ZWE1NTUyZjhmNzQ2YjdjYTNjMDk2ODM2MDBjZDE3OWJjJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.0w1KU3GVMVObwUj3uSYZuCZjjnxx82mag9MP9FAuzTI)
📌 Your original file needs to have one song/artist per line.
ℹ️ When pasting the TXT, you will see that for long texts, you have multiple lines in the input field. That's not a problem as your original text file contains one line per song.
- Wait... This can take a while depending on the quantity of songs (approximately 2 seconds per song on average).
--> You can monitor the progress in Apple Music by clicking on your playlist.
![](https://private-user-images.githubusercontent.com/75941535/317729908-be84d26c-ee95-464a-b5d5-c1ceaf033555.jpeg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQxMzEzNDQsIm5iZiI6MTcyNDEzMTA0NCwicGF0aCI6Ii83NTk0MTUzNS8zMTc3Mjk5MDgtYmU4NGQyNmMtZWU5NS00NjRhLWI1ZDUtYzFjZWFmMDMzNTU1LmpwZWc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyMFQwNTE3MjRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xNmExZjQzNTBkODU1MzNlNmQ5NTI4NTc4ODA5YzkxZTc0YzQ4M2Y5YWVjNDEyMzAxNzk4OWNhZGY4OTg2MzlkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.M2dW5hSUbq7yGUbjtz-AQFT6-aELyRXvCt2vSH-T7OU)
- Done! You will receive a notification when the playlist is finished.
--> Review the report to see which songs were successfully transferred.
![](https://private-user-images.githubusercontent.com/75941535/317730202-7e57653c-b423-4947-b3d4-bd05edf9c89b.jpeg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQxMzEzNDQsIm5iZiI6MTcyNDEzMTA0NCwicGF0aCI6Ii83NTk0MTUzNS8zMTc3MzAyMDItN2U1NzY1M2MtYjQyMy00OTQ3LWIzZDQtYmQwNWVkZjljODliLmpwZWc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyMFQwNTE3MjRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT00ZmI2N2RhMjdjMDZkYTVlZGEyMmVhNDI5ZjRjNWJkNWVlYzY5M2EwM2RkMDA3YWQ0OGNjMzg0YjAxMjcwMmIzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.wRB8VUYqRJxjRcxd0u18zjxMj__0yzbeTZKz9CghSBg)
![](https://private-user-images.githubusercontent.com/75941535/317730325-a7c58c72-d414-4f13-b7e9-130f1e8f5c1f.jpeg?jwt=ey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zQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyMFQwNTE3MjRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT00YjAzOGM4MzA1YzFmMDUwMjRlZWJkZDFkODU4NGZmNTkyYzBiNTQ1YmJlMTBiOTJlOGUxMTU4NzI1YWM4YTA5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.iyhiTnkU5flW6LJ6WJnx67BWNKiSGwXNtiGOEQ9GEuE)
- Avoid adding more than
1000 songs
at once (waiting time will be very high). - Avoid using special characters in the inputs (as the failure rate will increase).
- Based on a good quality file of 1000 songs/artists: 93% success, 3% fail, 4% false positive (wrong song added).