Open Generator opened 6 years ago
What is the architecture of your system? 32b or 64b? And what about your VLC installation?
64bit (Archlinux only supports 64bit)
Also tried with TraktForVLC_2.0.0a2_linux
and manualy compile trakt.luac
from source
$ vlc -I luaintf --lua-intf luac --lua-config "luac={input='trakt.lua',output='trakt.luac'}"
Always ended with same result
Can you try by replacing the luac
file by the lua
one in the intf
directory?
Copying trakt.lua
show has installed, but not activated
Hm, yeah actually you would need to perform the steps manually, running the installation script would put the luac
file back, and this file would be chosen over the lua
one.
Try putting the lua
file and removing the luac
one, then running the following command:
vlc -I lua intf --lua-intf trakt --lua-config 'trakt={autostart="enable"}'
That just spams trakt.lua
on the playlist with the module disabled
UPDATE:
After reinstalling TraktForVLC, and replace trakt.lua{c}
again, shows a different output
$ ./TraktForVLC_2.0.0a2_linux --loglevel DEBUG init_trakt_auth
2018-05-05 18:07:24,160::INFO::Searching for VLC binary...
2018-05-05 18:07:24,162::DEBUG::Running command: /usr/bin/vlc --lua-config trakt={init_auth=1} --intf cli
2018-05-05 18:07:24,163::DEBUG::No need to change the user
2018-05-05 18:07:24,266::DEBUG::[000055bebf1ac2a0] [http] lua interface: Lua HTTP interface
2018-05-05 18:07:24,268::DEBUG::[000055bebf0b10e0] main playlist: playlist is empty
2018-05-05 18:07:24,270::DEBUG::[000055bebf1c4090] [cli] lua interface: Listening on host "*console".
2018-05-05 18:07:24,270::DEBUG::VLC media player 3.0.1 Vetinari
2018-05-05 18:07:24,270::DEBUG::Command Line Interface initialized. Type `help' for help.
2018-05-05 18:07:24,277::DEBUG::> [000055bebf1b51a0] [trakt] lua interface: No JSON file found at /home/aj/.config/vlc/trakt_config.json
2018-05-05 18:07:24,277::DEBUG::[000055bebf1b51a0] [trakt] lua interface: No JSON file found at /home/aj/.config/vlc/trakt_cache.json
2018-05-05 18:07:24,279::DEBUG::[000055bebf1b51a0] [trakt] lua interface: TraktForVLC 0.0.0a0.dev0 - Lua implementation
2018-05-05 18:07:24,279::DEBUG::[000055bebf1b51a0] [trakt] lua interface: helper: /home/aj/.local/share/vlc/lua/trakt_helper
2018-05-05 18:07:25,226::DEBUG::[000055bebf1b51a0] [trakt] lua interface error:
2018-05-05 18:07:25,226::DEBUG::############################
2018-05-05 18:07:25,226::DEBUG::TraktForVLC is not setup with Trakt.tv yet!
2018-05-05 18:07:25,227::DEBUG::--
2018-05-05 18:07:25,227::DEBUG::PLEASE GO TO https://trakt.tv/activate
2018-05-05 18:07:25,227::DEBUG::AND ENTER THE FOLLOWING CODE:
2018-05-05 18:07:25,228::DEBUG::******
2018-05-05 18:07:25,228::DEBUG::############################
PLEASE GO TO https://trakt.tv/activate
AND ENTER THE FOLLOWING CODE:
2CD7D744
2018-05-05 18:08:14,655::DEBUG::[000055bebf1b51a0] [trakt] lua interface error:
2018-05-05 18:08:14,655::DEBUG::############################
2018-05-05 18:08:14,655::DEBUG::TraktForVLC is now setup with Trakt.tv!
2018-05-05 18:08:14,655::DEBUG::Thank you :)
2018-05-05 18:08:14,656::DEBUG::############################
TraktForVLC is now setup with Trakt.tv!
Thank you :)
2018-05-05 18:08:14,656::DEBUG::[000055bebf1b51a0] [trakt] lua interface: TraktForVLC shutting down.
2018-05-05 18:08:14,656::DEBUG::[000055bebf1c4090] [cli] lua interface error: Error loading script /usr/lib/vlc/lua/intf/cli.luac: lua/intf/modules/host.lua:286: Interrupted.
(PIN replace with ***)
What you had seems quite weird.
Can you explain how you did reinstall TraktForVLC
? After reinstallation did you have the need to replace trakt.luac
again by trakt.lua
?
on the first test i used trakt.lua
from master branch with TraktForVLC_2.0.0a2_linux
, then i upgrade to TraktForVLC_2.0.0a2.dev14.g31faf4b_linux
, that's why gave different results
Did you still use the trakt.lua
file from master branch or not?
Yes trakt.lua
from master with TraktForVLC_2.0.0a2.dev14.g31faf4b_linux
, i can try with trakt.lua
from 31faf4b
UPDATE:
Tried with with trakt.lua
from 31faf4b but Trakt.tv is down at the time!
We're currently performing database maintenance and working to get back up and running ASAP. Thanks for your patience! https://twitter.com/trakt/status/994985699785900032
However here's a log vlc.log
I'm wondering why, on the same architecture, the luac
file wouldn't work.
I might need to put the lua
file in the binaries instead of the luac
one.
OS: Archlinux VLC: 3.0.1 TraktForVLC: 2.0.0a2.dev14.g31faf4b_linux
LOG: