()
| 103 | } |
| 104 | |
| 105 | func (p *plexConnector) closeWebsocket() { |
| 106 | p.runningMu.Lock() |
| 107 | defer p.runningMu.Unlock() |
| 108 | fs.Infof("plex", "stopped Plex watcher") |
| 109 | p.running = false |
| 110 | } |
| 111 | |
| 112 | func (p *plexConnector) websocketDial() (*websocket.Conn, error) { |
| 113 | u := strings.TrimRight(strings.Replace(strings.Replace( |
no test coverage detected