-
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 device that supports shortcuts
- Apple Music App installed with a premium subscription
- List of songs in TXT format
- Download, add and run shortcut
![](https://private-user-images.githubusercontent.com/75941535/317718516-d0828eda-88c8-4fee-a474-f2d9b27b89de.jpeg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQxMjc3ODksIm5iZiI6MTcyNDEyNzQ4OSwicGF0aCI6Ii83NTk0MTUzNS8zMTc3MTg1MTYtZDA4MjhlZGEtODhjOC00ZmVlLWE0NzQtZjJkOWIyN2I4OWRlLmpwZWc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyMFQwNDE4MDlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yOWEyNmY5NDE4NjcwZDZmNWQ2NjUxYTMxMzVkMDgyOTZlYjQ0ZWE2NmExODJjODM2NWJjOGRlNTg5NGI5NzAwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.tYqjEsb6pzSE1uDH9xRPlfU13fd86roAPxg-X_SOH-E)
-
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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQxMjc3ODksIm5iZiI6MTcyNDEyNzQ4OSwicGF0aCI6Ii83NTk0MTUzNS8zMTc3MTgxMDktZmM5NjQ2MjUtZjU0NS00ZDhkLWE1NDAtMWE4ZTUzOWQyY2FkLmpwZWc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyMFQwNDE4MDlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT00ZDYyMWNlM2U1MGRiMzdlYTE3ZTFiNDY3MjNiZDMzYTYyOWU3NjRiNzU4MmFkYTQ4ZTA5MTQwNzViYWI0N2IwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.8MthgmqBPSK-1CqmlUG1eBo6QUNdKgGaTTHUFTEtsEo)
- Select your playlist or choose "create new playlist."
![](https://private-user-images.githubusercontent.com/75941535/317719434-ba64aafd-8577-4733-8ada-c6e71dbe409f.jpeg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQxMjc3ODksIm5iZiI6MTcyNDEyNzQ4OSwicGF0aCI6Ii83NTk0MTUzNS8zMTc3MTk0MzQtYmE2NGFhZmQtODU3Ny00NzMzLThhZGEtYzZlNzFkYmU0MDlmLmpwZWc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyMFQwNDE4MDlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kYTJlM2YyYzYxYTYwNWU5OGEwYzQ5Yzk3MDFjNDVhOWQ5Y2M5MWMzMWMzMGQ5MmE3YTZlOTYxNjlkODk0MWQ2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.kqJbn9gPzz_Fwg4c-MyApYjq3GxCBzHncQpp67SPl6s)
ℹ 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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQxMjc3ODksIm5iZiI6MTcyNDEyNzQ4OSwicGF0aCI6Ii83NTk0MTUzNS8zMTc3MjExNTYtMTM2Nzc3YmItN2U1MC00ZTczLWJlODktN2MxMzgzMjZmODNiLmpwZWc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyMFQwNDE4MDlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yZTQ2MjE3ODAxYTg0MjlhYjA1NjZiOGQwZjRiOWZiOTQzOTNhYzJjMGUyYWEwMjI0NzRhYzM0YWM2ZjkwMGM0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.9Wf4G1sAPczJCKhri4HpPnrTTr6HFd6ZOzubZRILCl0)
📌 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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQxMjc3ODksIm5iZiI6MTcyNDEyNzQ4OSwicGF0aCI6Ii83NTk0MTUzNS8zMTc3Mjk5MDgtYmU4NGQyNmMtZWU5NS00NjRhLWI1ZDUtYzFjZWFmMDMzNTU1LmpwZWc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyMFQwNDE4MDlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xMmE4NmUzNTBkMDU4ZTkyN2U1MmUxNWViNGYxMmI2MGU3NGFmZTgzYWFjOTNiZTdkN2JjZmVjZjFmOGZiNzMyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.xi96EyrofLUg9L2NYeTNAGMoicKFOtzqyhf4B3WnJm8)
- 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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQxMjc3ODksIm5iZiI6MTcyNDEyNzQ4OSwicGF0aCI6Ii83NTk0MTUzNS8zMTc3MzAyMDItN2U1NzY1M2MtYjQyMy00OTQ3LWIzZDQtYmQwNWVkZjljODliLmpwZWc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyMFQwNDE4MDlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kYmMzZWIwMGFmZjEwZTc3ZmQxMDkxYmM2Y2ZkMGQxZGE3NDA0Zjg0MmZjOWNiZWEyMzgxYzE0ZDVhOGQzNThkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.ItZ6Aq19guenNCszLxYQ8RoqhftPq5_IaPS1yE5UAMk)
![](https://private-user-images.githubusercontent.com/75941535/317730325-a7c58c72-d414-4f13-b7e9-130f1e8f5c1f.jpeg?jwt=eyJhbGciOiJIUz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y1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyMFQwNDE4MDlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mOGI4MmM3NTkyNGM5NzA3M2U3NTQ4ZWRkYjgyNjZkZjc1N2NlMjc4OGNiOWFjMTYxODcyYTc1ZDBiYzcyYjRlJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.X1sCtv1aIJY7f9nF12-OFmyNITlbtfgLEbZMHmWCNSs)
- 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).