jradwan / TiVoToGo.bundle

TiVo To Go Plex Server Channel
5 stars 2 forks source link

Invalid use of /tmp/ on Windows #2

Closed jradwan closed 6 years ago

jradwan commented 6 years ago

On a Windows platform, using /tmp/cookies.txt won't work:

2018-05-01 09:03:33,693 (1210) :  DEBUG (logkit:13) - CMD: C:\Users\D***\AppData\Local\Plex Media Server\Plug-ins\TiVoToGo.bundle\Contents\Resources\win\curl.exe http://192.168.1.178:80/download/The%20Crossing.TiVo?Container=%2FNowPlaying&id=23212 --digest -s -u tivo:xxxxxxxxxx -c /tmp/cookies.txt

Need to do a platform check and use a valid directory. Reported here.

jradwan commented 6 years ago

Fixed in 3c2c256.