XaF / TraktForVLC

Automatically trakt.tv what you're watching on VLC
300 stars 49 forks source link

Windows: '%s' is not supported by the datetime module #92

Closed XaF closed 6 years ago

XaF commented 6 years ago

TraktForVLC relies on the data command of the Python helper to get the current timestamp. However, the datetime Python module for WIndows does not support the '%s' format, which leads to failures of TraktForVLC, as reported in issue #91 by @Ale46.

[000000000264bb90] [trakt] main interface error: connection failed: Connection refused by peer
[000000000264bb90] [trakt] lua interface error: (call_helper) Command: "date" "--format" "%s.%f"
[000000000264bb90] [trakt] lua interface error: (call_helper) Command exited with code -1