-
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 and add shortcut
![](https://private-user-images.githubusercontent.com/75941535/317718516-d0828eda-88c8-4fee-a474-f2d9b27b89de.jpeg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQxMjA2MDcsIm5iZiI6MTcyNDEyMDMwNywicGF0aCI6Ii83NTk0MTUzNS8zMTc3MTg1MTYtZDA4MjhlZGEtODhjOC00ZmVlLWE0NzQtZjJkOWIyN2I4OWRlLmpwZWc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyMFQwMjE4MjdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04YWQzNmZhY2RkMTc0NzMwZTAzZDlmYmJjY2M3OWQ0M2U3ZWRjMDRhZWQ0YzIzOTk1YmZmYTg0ZjhiYjBiZmI1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.5r70QoUXQs0bQzxwUGKT8Aen3xbPe13Ci5dqUoxt4zw)
-
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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQxMjA2MDcsIm5iZiI6MTcyNDEyMDMwNywicGF0aCI6Ii83NTk0MTUzNS8zMTc3MTgxMDktZmM5NjQ2MjUtZjU0NS00ZDhkLWE1NDAtMWE4ZTUzOWQyY2FkLmpwZWc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyMFQwMjE4MjdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05MGVmYzZlNTU3OGVlNmYxY2UxODAyYWViZTk4YjAxZmE1OWVlZDQ4NGJmNmU1ZTUyZDkyYWM3MTM3ZWNiODBiJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.yHmxlYlOl2c8upPzKyOYl1VaSXmkBBeZAHZh9VQxmIo)
- Select your playlist or choose "create new playlist."
![](https://private-user-images.githubusercontent.com/75941535/317719434-ba64aafd-8577-4733-8ada-c6e71dbe409f.jpeg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQxMjA2MDcsIm5iZiI6MTcyNDEyMDMwNywicGF0aCI6Ii83NTk0MTUzNS8zMTc3MTk0MzQtYmE2NGFhZmQtODU3Ny00NzMzLThhZGEtYzZlNzFkYmU0MDlmLmpwZWc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyMFQwMjE4MjdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1hNGRmMGVjZTY3OTgyMWYzOTBiODI2MDBlZDVkNmY1NjdhMDY3YzgyMmY3NWNkZjQzMzhkZTQzODMzZTY0ZTlmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.N3jcjX3wr2TgA3pK91SJMepDOJhsmBwINr0XOYl3Fn0)
ℹ 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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQxMjA2MDcsIm5iZiI6MTcyNDEyMDMwNywicGF0aCI6Ii83NTk0MTUzNS8zMTc3MjExNTYtMTM2Nzc3YmItN2U1MC00ZTczLWJlODktN2MxMzgzMjZmODNiLmpwZWc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyMFQwMjE4MjdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kNjUyNjYxOWQ0YTI5MzU3ZmI2ZWM4MjdmNjZlMDQ5ZTNiMWIwMWM5YTk1M2Q0MWE5MjJmMTg5Yzg5ZjkxN2U0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.VTwJDwikaovuxEOOzYCj_DMElovOjLnKnCZ5Dhj8yH8)
📌 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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQxMjA2MDcsIm5iZiI6MTcyNDEyMDMwNywicGF0aCI6Ii83NTk0MTUzNS8zMTc3Mjk5MDgtYmU4NGQyNmMtZWU5NS00NjRhLWI1ZDUtYzFjZWFmMDMzNTU1LmpwZWc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyMFQwMjE4MjdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT01OGE0NmNlODY4OTBkMDQxODIwZTJlYzg1YTcwYmIxNGVlNDIwMjc2NzUzYzU2ZWQxOTMxMGVhMGM5MTA3Yzk2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.WMdsDjLYFd88HBUqVqt4fv9id2n6x7IoIuFk-A0JX5U)
- 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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQxMjA2MDcsIm5iZiI6MTcyNDEyMDMwNywicGF0aCI6Ii83NTk0MTUzNS8zMTc3MzAyMDItN2U1NzY1M2MtYjQyMy00OTQ3LWIzZDQtYmQwNWVkZjljODliLmpwZWc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyMFQwMjE4MjdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1lNTE2YjJiMzZlOWI0N2ZiYmMxOGJjYWE5MzlmMzUyMzg0Nzg5ZDY0ZmYyMjI1NWE0YjUzNGI0MjgxNjQ5YmYyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.icR1r81MS_nVelzA6hDjTVDsBJJO8AK9gVwuXSHIQnI)
![](https://private-user-images.githubusercontent.com/75941535/317730325-a7c58c72-d414-4f13-b7e9-130f1e8f5c1f.jpeg?jwt=eyJhbGciOiJIUzI1NiIs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EyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyMFQwMjE4MjdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT02MmM3NGFiZDczNTBmYTE4ZmVlMGEzZDdhMzJlNGVmOGIwZjk3MGRmYTY2ODU3ODViYjhmYjY1NzgxMzc5NWY1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.lXSAWb-3b84IriFt5eEbMj4WN3Z0rHACo0jHyi-bIg8)
- 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).