File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed
Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ the performance of a low-end server.
992 . Cross-device response caching by client type
10103 . Disable transcoding by forcing direct play/stream
11114 . Redirect web app to [ official one] ( https://app.plex.tv/desktop )
12+ 5 . [ Plaxt] ( https://github.com/XanderStrike/goplaxt ) integration
1213
1314## Prerequisites
1415
@@ -31,12 +32,9 @@ env CGO_ENABLED=0 go install -trimpath -ldflags="-s -w" github.com/RoyXiang/plex
3132 * If you need a cache layer, set a value for it
3233 - ` PLEX_TOKEN ` (Optional, if you need it, see [ here] ( https://support.plex.tv/articles/204059436-finding-an-authentication-token-x-plex-token/ ) )
3334 * It is used to receive notifications from Plex Media Server
34- * Currently, notifications are used to flush the cache of metadata
35+ * Notifications are used to flush the cache of metadata
3536 - ` PLAXT_URL ` (Optional, e.g. ` https://plaxt.astandke.com/api?id=generate-your-own-silly ` )
36- * Set it if you run an instance of [ plaxt] ( https://github.com/XanderStrike/goplaxt )
37+ * ` PLEX_TOKEN ` is required
38+ * Set it if you run an instance of [ Plaxt] ( https://github.com/XanderStrike/goplaxt )
3739 * Or, you can set it to [ the official one] ( https://plaxt.astandke.com/ )
38402 . Run the program
39-
40- ## TODO
41-
42- - [ ] Native [ Trakt] ( https://trakt.tv/ ) integration
Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ func (c *PlexClient) GetAccountInfo(token string) (user plex.UserPlexTV) {
181181}
182182
183183func (c * PlexClient ) syncTimelineWithPlaxt (r * http.Request ) {
184- if c .plaxtUrl == "" {
184+ if c .plaxtUrl == "" || c . client . Token == "" {
185185 return
186186 }
187187
You can’t perform that action at this time.
0 commit comments