XaF / TraktForVLC

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

Error at starting TraktForVLC.py script #62

Closed dyxen closed 6 years ago

dyxen commented 7 years ago

Hi

OS: Elementary OS (Debian) VLC Version: 2.2.2

When i try to start the script i get the following error:

Traceback (most recent call last):
  File "/usr/lib/vlc/TraktForVLC-master/TraktForVLC.py", line 38, in <module>
    from pkg_resources import parse_version
ImportError: No module named pkg_resources

Image: Imgur

I copied your script in: /usr/lib/vlc/

Lihis commented 7 years ago

Could it be that you're missing python-pkg-resources package?

dyxen commented 7 years ago

Yep that was a problem. Thanks.

Now when I tick "Remote control interface" in Main interfaces i got that oldrc in bottom text box. And when i delete old and only keep rc then save. Next time When i open settings the "Remote control interface" is unticked and text box is empty.

Even if i try with CLI, same happens:

vlc --extraintf=rc --rc-host=localhost:4222

CLI Auto untick

And the localhost:4222 is showing next input: localhost

Lihis commented 7 years ago

I have had same behavior but it has not been a problem at least for me. As in README.md states: TraktForVLC can use oldrc, but the behavior of rc is much more predictable thus preferable.

XaF commented 7 years ago

I don't really know why but yeah, when putting "rc" in the settings it doesn't appear in the settings after saving and reopening. Probably because "rc" is not available in the tickable boxes. But it still work usually. And yeah, 'rc' is recommended over 'oldrc'.

XaF commented 6 years ago

TraktForVLC 2.x makes that issue obsolete - #88