-
Notifications
You must be signed in to change notification settings - Fork 3
/
manual-test.sh
executable file
·53 lines (53 loc) · 1.66 KB
/
manual-test.sh
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#!/bin/bash
curl --request POST \
--url 'https://[your-plex-url]' \
--form 'payload={
"event": "media.scrobble",
"user": true,
"owner": true,
"Account": {
"id": 1,
"thumb": "https://plex.tv/users/xxx/avatar?c=xxx",
"title": "[your-plex-account]"
},
"Server": {
"title": "TVTime Fake Server",
"uuid": "xxx"
},
"Player": {
"local": true,
"publicAddress": "172.17.0.1",
"title": "Firefox",
"uuid": "xxx"
},
"Metadata": {
"librarySectionType": "show",
"ratingKey": "83782",
"key": "/library/metadata/83782",
"parentRatingKey": "83764",
"grandparentRatingKey": "83763",
"guid": "com.plexapp.agents.thetvdb://76156/1/18?lang=en",
"librarySectionTitle": "Series",
"librarySectionID": 2,
"librarySectionKey": "/library/sections/2",
"type": "episode",
"title": "Episode 18",
"grandparentKey": "/library/metadata/83763",
"parentKey": "/library/metadata/83764",
"grandparentTitle": "Scrubs",
"parentTitle": "Season 1",
"contentRating": "TV-PG",
"summary": "",
"index": 1,
"parentIndex": 1,
"viewCount": 1,
"lastViewedAt": 1537996938,
"thumb": "/library/metadata/83782/thumb/1535581275",
"art": "/library/metadata/83763/art/1535581275",
"parentThumb": "/library/metadata/83764/thumb/1535581275",
"grandparentThumb": "/library/metadata/83763/thumb/1535581275",
"grandparentArt": "/library/metadata/83763/art/1535581275",
"addedAt": 1535581221,
"updatedAt": 1535581275
}
}'