summaryrefslogtreecommitdiff
path: root/Content/posts/2021-06-25-NFC-Music-Cards-Basic-iOS.md
blob: 9e27887bc3403bb2f2f46b258ce1586e9393e633 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
date: 2021-06-25 16:20
description: Basic NFC Music Cards on iOS with Shortcuts
tags: iOS, Shortcuts
---

# Basic NFC Music Cards for iOS

I had a pack of NFC cards and decided it was the perfect time to create Music Cards. I do not have a "music setup."
So, I did not have to ensure this could work with any device. I settled with using Shortcuts personal Automation.

## Designing the Template

I tried measuring the card's dimensions with the in-built Measure app, but it was off by a few mm. 

![Failed Attempt to Measure](/assets/posts/music-cards/failed-measure.png)


After measuring with a scale, I decided on a simple template I made in Apple Pages.

![Screenshot of the Basic Template](/assets/posts/music-cards/basic-template.png)

![Screenshot of Design for McCartney III](/assets/posts/music-cards/mccartney-iii.png)

## Creating the Automation

I created a personal automation in the Shortcuts app which got triggered when a particular NFC card was scanned, ask playback destination and play the album/playlist.

![Screenshot of Shortcuts App](/assets/posts/music-cards/shortcuts-01.png)

![Screenshot of Automation Summary](/assets/posts/music-cards/shortcuts-02.png)

## Demo

<iframe width="560" height="315" src="https://www.youtube.com/embed/pV5EPujEI-Y" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>