Skip to content

Commit 0332766

Browse files
committed
Merge origin/development into development
2 parents 13a9bd4 + 47ea67f commit 0332766

14 files changed

+3128
-3043
lines changed

.squot-materialize

+100-52
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,37 @@
11
[
2+
SquotImageMapper {
3+
#path : FSAbsolutePath [
4+
'assets',
5+
'SpotifyConnectInSqueak.png'
6+
],
7+
#encoding : Class [ #PNGReadWriter ]
8+
},
9+
SquotImageMapper {
10+
#path : FSAbsolutePath [
11+
'assets',
12+
'recently-played.png'
13+
],
14+
#encoding : @4
15+
},
16+
SquotImageMapper {
17+
#path : FSAbsolutePath [
18+
'assets',
19+
'previous.png'
20+
],
21+
#encoding : @4
22+
},
23+
SquotImageMapper {
24+
#path : FSAbsolutePath [
25+
'assets',
26+
'refresh.png'
27+
],
28+
#encoding : @4
29+
},
230
SquotPlaintextMapper {
331
#path : FSAbsolutePath [
4-
'LICENSE'
32+
'assets',
33+
'mockdata',
34+
'playlistResponse'
535
],
636
#encoding : 'TXT'
737
},
@@ -12,75 +42,92 @@
1242
],
1343
#encoding : 'TXT'
1444
},
15-
SquotImageMapper {
45+
SquotPlaintextMapper {
1646
#path : FSAbsolutePath [
17-
'assets',
18-
'speaker.png'
47+
'CodeGuidelines.md'
1948
],
20-
#encoding : Class [ #PNGReadWriter ]
21-
},
22-
SquotTonelMapper {
23-
#package : MCPackage {
24-
#name : 'BaselineOfSpotifyConnect'
25-
},
26-
#path : FSAbsolutePath [
27-
'src'
28-
]
49+
#encoding : 'TXT'
2950
},
3051
SquotPlaintextMapper {
3152
#path : FSAbsolutePath [
32-
'.smalltalk.ston'
53+
'assets',
54+
'mockdata',
55+
'searchResponse'
3356
],
3457
#encoding : 'TXT'
3558
},
3659
SquotImageMapper {
3760
#path : FSAbsolutePath [
3861
'assets',
39-
'pause.png'
62+
'previous-white.png'
4063
],
41-
#encoding : @8
64+
#encoding : @4
4265
},
43-
SquotImageMapper {
66+
SquotPlaintextMapper {
4467
#path : FSAbsolutePath [
4568
'assets',
46-
'next.png'
69+
'successResponse.html'
4770
],
48-
#encoding : @8
71+
#encoding : 'TXT'
4972
},
50-
SquotImageMapper {
73+
SquotPlaintextMapper {
5174
#path : FSAbsolutePath [
5275
'assets',
53-
'squeak-mouse.png'
76+
'mockdata',
77+
'recentlyPlayedResponse'
5478
],
55-
#encoding : @8
79+
#encoding : 'TXT'
5680
},
57-
SquotImageMapper {
81+
SquotPlaintextMapper {
5882
#path : FSAbsolutePath [
5983
'assets',
60-
'devices.png'
84+
'mockdata',
85+
'devicesResponse'
6186
],
62-
#encoding : @8
87+
#encoding : 'TXT'
88+
},
89+
SquotTonelMapper {
90+
#package : MCPackage {
91+
#name : 'SpotifyConnect'
92+
},
93+
#path : FSAbsolutePath [
94+
'src'
95+
]
6396
},
6497
SquotImageMapper {
6598
#path : FSAbsolutePath [
6699
'assets',
67-
'play.png'
100+
'squeak-mouse.png'
68101
],
69-
#encoding : @8
102+
#encoding : @4
70103
},
71104
SquotImageMapper {
72105
#path : FSAbsolutePath [
73106
'assets',
74-
'recently-played.png'
107+
'devices.png'
75108
],
76-
#encoding : @8
109+
#encoding : @4
110+
},
111+
SquotTonelMapper {
112+
#package : MCPackage {
113+
#name : 'BaselineOfSpotifyConnect'
114+
},
115+
#path : @29
77116
},
78117
SquotImageMapper {
79118
#path : FSAbsolutePath [
80119
'assets',
81120
'next-white.png'
82121
],
83-
#encoding : @8
122+
#encoding : @4
123+
},
124+
SquotPlaintextMapper {
125+
#path : FSAbsolutePath [
126+
'assets',
127+
'mockdata',
128+
'albumResponse'
129+
],
130+
#encoding : 'TXT'
84131
},
85132
SquotPlaintextMapper {
86133
#path : FSAbsolutePath [
@@ -92,62 +139,63 @@
92139
},
93140
SquotPlaintextMapper {
94141
#path : FSAbsolutePath [
95-
'CodeGuidelines.md'
142+
'LICENSE'
96143
],
97144
#encoding : 'TXT'
98145
},
99146
SquotPlaintextMapper {
100147
#path : FSAbsolutePath [
101-
'assets',
102-
'successResponse.html'
148+
'README.md'
103149
],
104150
#encoding : 'TXT'
105151
},
106152
SquotImageMapper {
107153
#path : FSAbsolutePath [
108154
'assets',
109-
'refresh.png'
155+
'speaker.png'
110156
],
111-
#encoding : @8
157+
#encoding : @4
112158
},
113-
SquotPlaintextMapper {
159+
SquotImageMapper {
114160
#path : FSAbsolutePath [
115-
'README.md'
161+
'assets',
162+
'pause.png'
116163
],
117-
#encoding : 'TXT'
118-
},
119-
SquotTonelMapper {
120-
#package : MCPackage {
121-
#name : 'SpotifyConnect'
122-
},
123-
#path : @11
164+
#encoding : @4
124165
},
125166
SquotImageMapper {
126167
#path : FSAbsolutePath [
127168
'assets',
128-
'previous-white.png'
169+
'play.png'
170+
],
171+
#encoding : @4
172+
},
173+
SquotPlaintextMapper {
174+
#path : FSAbsolutePath [
175+
'.smalltalk.ston'
129176
],
130-
#encoding : @8
177+
#encoding : 'TXT'
131178
},
132179
SquotImageMapper {
133180
#path : FSAbsolutePath [
134181
'assets',
135-
'SpotifyConnectInSqueak.png'
182+
'next.png'
136183
],
137-
#encoding : @8
184+
#encoding : @4
138185
},
139186
SquotImageMapper {
140187
#path : FSAbsolutePath [
141188
'assets',
142189
'speaker-muted.png'
143190
],
144-
#encoding : @8
191+
#encoding : @4
145192
},
146-
SquotImageMapper {
193+
SquotPlaintextMapper {
147194
#path : FSAbsolutePath [
148195
'assets',
149-
'previous.png'
196+
'mockdata',
197+
'playbackStateResponse'
150198
],
151-
#encoding : @8
199+
#encoding : 'TXT'
152200
}
153201
]

assets/mockdata/albumResponse

+117
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
{
2+
"href": "https://api.spotify.com/v1/albums/6DEjYFkNZh67HP7R9PSZvv/tracks?offset=0&limit=3&locale=de,en-US;q%3D0.7,en;q%3D0.3",
3+
"items": [
4+
{
5+
"artists": [
6+
{
7+
"external_urls": {
8+
"spotify": "https://open.spotify.com/artist/06HL4z0CvFAxyc27GXpf02"
9+
},
10+
"href": "https://api.spotify.com/v1/artists/06HL4z0CvFAxyc27GXpf02",
11+
"id": "06HL4z0CvFAxyc27GXpf02",
12+
"name": "Taylor Swift",
13+
"type": "artist",
14+
"uri": "spotify:artist:06HL4z0CvFAxyc27GXpf02"
15+
}
16+
],
17+
"disc_number": 1,
18+
"duration_ms": 208186,
19+
"explicit": false,
20+
"external_urls": {
21+
"spotify": "https://open.spotify.com/track/2yLa0QULdQr0qAIvVwN6B5"
22+
},
23+
"href": "https://api.spotify.com/v1/tracks/2yLa0QULdQr0qAIvVwN6B5",
24+
"id": "2yLa0QULdQr0qAIvVwN6B5",
25+
"is_local": false,
26+
"is_playable": true,
27+
"name": "...Ready For It?",
28+
"preview_url": "https://p.scdn.co/mp3-preview/f133e47ce7d5f768be3387758d71bc1a8a5726f5?cid=cfe923b2d660439caf2b557b21f31221",
29+
"track_number": 1,
30+
"type": "track",
31+
"uri": "spotify:track:2yLa0QULdQr0qAIvVwN6B5"
32+
},
33+
{
34+
"artists": [
35+
{
36+
"external_urls": {
37+
"spotify": "https://open.spotify.com/artist/06HL4z0CvFAxyc27GXpf02"
38+
},
39+
"href": "https://api.spotify.com/v1/artists/06HL4z0CvFAxyc27GXpf02",
40+
"id": "06HL4z0CvFAxyc27GXpf02",
41+
"name": "Taylor Swift",
42+
"type": "artist",
43+
"uri": "spotify:artist:06HL4z0CvFAxyc27GXpf02"
44+
},
45+
{
46+
"external_urls": {
47+
"spotify": "https://open.spotify.com/artist/6eUKZXaKkcviH0Ku9w2n3V"
48+
},
49+
"href": "https://api.spotify.com/v1/artists/6eUKZXaKkcviH0Ku9w2n3V",
50+
"id": "6eUKZXaKkcviH0Ku9w2n3V",
51+
"name": "Ed Sheeran",
52+
"type": "artist",
53+
"uri": "spotify:artist:6eUKZXaKkcviH0Ku9w2n3V"
54+
},
55+
{
56+
"external_urls": {
57+
"spotify": "https://open.spotify.com/artist/1RyvyyTE3xzB2ZywiAwp0i"
58+
},
59+
"href": "https://api.spotify.com/v1/artists/1RyvyyTE3xzB2ZywiAwp0i",
60+
"id": "1RyvyyTE3xzB2ZywiAwp0i",
61+
"name": "Future",
62+
"type": "artist",
63+
"uri": "spotify:artist:1RyvyyTE3xzB2ZywiAwp0i"
64+
}
65+
],
66+
"disc_number": 1,
67+
"duration_ms": 244826,
68+
"explicit": false,
69+
"external_urls": {
70+
"spotify": "https://open.spotify.com/track/2x0WlnmfG39ZuDmstl9xfX"
71+
},
72+
"href": "https://api.spotify.com/v1/tracks/2x0WlnmfG39ZuDmstl9xfX",
73+
"id": "2x0WlnmfG39ZuDmstl9xfX",
74+
"is_local": false,
75+
"is_playable": true,
76+
"name": "End Game",
77+
"preview_url": "https://p.scdn.co/mp3-preview/908f388e5550f9d6d940ef721eb6d302770f0117?cid=cfe923b2d660439caf2b557b21f31221",
78+
"track_number": 2,
79+
"type": "track",
80+
"uri": "spotify:track:2x0WlnmfG39ZuDmstl9xfX"
81+
},
82+
{
83+
"artists": [
84+
{
85+
"external_urls": {
86+
"spotify": "https://open.spotify.com/artist/06HL4z0CvFAxyc27GXpf02"
87+
},
88+
"href": "https://api.spotify.com/v1/artists/06HL4z0CvFAxyc27GXpf02",
89+
"id": "06HL4z0CvFAxyc27GXpf02",
90+
"name": "Taylor Swift",
91+
"type": "artist",
92+
"uri": "spotify:artist:06HL4z0CvFAxyc27GXpf02"
93+
}
94+
],
95+
"disc_number": 1,
96+
"duration_ms": 238253,
97+
"explicit": false,
98+
"external_urls": {
99+
"spotify": "https://open.spotify.com/track/4svZDCRz4cJoneBpjpx8DJ"
100+
},
101+
"href": "https://api.spotify.com/v1/tracks/4svZDCRz4cJoneBpjpx8DJ",
102+
"id": "4svZDCRz4cJoneBpjpx8DJ",
103+
"is_local": false,
104+
"is_playable": true,
105+
"name": "I Did Something Bad",
106+
"preview_url": "https://p.scdn.co/mp3-preview/ef43901885fc52988f3192152a8019fc7a34f0d5?cid=cfe923b2d660439caf2b557b21f31221",
107+
"track_number": 3,
108+
"type": "track",
109+
"uri": "spotify:track:4svZDCRz4cJoneBpjpx8DJ"
110+
}
111+
],
112+
"limit": 3,
113+
"next": "https://api.spotify.com/v1/albums/6DEjYFkNZh67HP7R9PSZvv/tracks?offset=3&limit=3&locale=de,en-US;q%3D0.7,en;q%3D0.3",
114+
"offset": 0,
115+
"previous": null,
116+
"total": 15
117+
}

assets/mockdata/devicesResponse

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"devices": [
3+
{
4+
"id": "string",
5+
"is_active": false,
6+
"is_private_session": false,
7+
"is_restricted": false,
8+
"name": "Kitchen speaker",
9+
"type": "computer",
10+
"volume_percent": 59,
11+
"supports_volume": false
12+
}
13+
]
14+
}

0 commit comments

Comments
 (0)