File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -17,4 +17,4 @@ require (
1717 github.com/google/uuid v1.3.0 // indirect
1818)
1919
20- replace github.com/jrudio/go-plex-client v0.0.0-20220106065909-9e1d590b99aa => github.com/RoyXiang/go-plex-client v0.0.0-20220223140842-7433de7e9b77
20+ replace github.com/jrudio/go-plex-client v0.0.0-20220106065909-9e1d590b99aa => github.com/RoyXiang/go-plex-client v0.0.0-20220303081538-bac4a5c2593f
Original file line number Diff line number Diff line change 11cloud.google.com/go v0.26.0 /go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw =
22github.com/BurntSushi/toml v0.3.1 /go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU =
33github.com/OneOfOne/xxhash v1.2.2 /go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU =
4- github.com/RoyXiang/go-plex-client v0.0.0-20220223140842-7433de7e9b77 h1:GVtLzX8S4rd6u9OflS/huI2ilbXVsxSpjipLtx/Jm2c =
5- github.com/RoyXiang/go-plex-client v0.0.0-20220223140842-7433de7e9b77 /go.mod h1:NICqgLUxSYsDHh3n+m6xomGmRbqLxBcN4D7Jb9Z6LJ0 =
4+ github.com/RoyXiang/go-plex-client v0.0.0-20220303081538-bac4a5c2593f h1:yQl+hCc6I/k8iQh73TyzG8ArLkcXeiyeAkjOc2jBAX4 =
5+ github.com/RoyXiang/go-plex-client v0.0.0-20220303081538-bac4a5c2593f /go.mod h1:NICqgLUxSYsDHh3n+m6xomGmRbqLxBcN4D7Jb9Z6LJ0 =
66github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6 /go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8 =
77github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko =
88github.com/cespare/xxhash v1.1.0 /go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc =
Original file line number Diff line number Diff line change @@ -273,6 +273,8 @@ func (c *PlexClient) syncTimelineWithPlaxt(r *http.Request) {
273273 metadata := c .getMetadata (ratingKey )
274274 if metadata == nil {
275275 return
276+ } else if metadata .MediaContainer .Metadata [0 ].OriginalTitle != "" {
277+ session .metadata .Title = metadata .MediaContainer .Metadata [0 ].OriginalTitle
276278 }
277279 for _ , guid := range metadata .MediaContainer .Metadata [0 ].AltGUIDs {
278280 externalGuids = append (externalGuids , plexhooks.ExternalGuid {
You can’t perform that action at this time.
0 commit comments