Comments (14)
Update to the most recent version?
from traktforvlc.
It seems that following the is_playing
request to VLC remote control TraktForVLC
did not receive anything.
You can start running TraktForVLC
using the start_debug_process.bat
or manually as you pointed you didn't manage to make it work, using the following command:
C:\path\to\pythonw.exe TraktForVLC.py --debug --small-timers
You should then be able to have the full debug log.
Also, could you provide the following information?
- Version of
TraktForVLC
(you should be using the last, as mentioned by @grepole121 ) - Version of VLC
- Version of your OS
- Version of Python
Most of those should already be in the DEBUG log that I encourage you to share in full.
from traktforvlc.
I now made sure I have the latest version. I might have had an older version before, sorry about that.
Running on Windows-7-6.1.7601-SP1, with Python 2.7.9, VLC 2.2.1
This is the full log now: http://pastebin.com/DpcRyS5f
Tracking still does not seem to work. I assume if I seek up to just before 90% of something and start playing from there, itβd get marked as watched, right?
from traktforvlc.
The 0
answer to is_playing
means nothing is being played in VLC. Are you sure the VLC you're using is the one TraktForVLC
is connected to? is_playing
should be answering 1
while you are watching something. You could try to telnet localhost 4222
and type the is_playing
or even get_title
command to see what VLC is answering while you have only that instance of VLC running.
Also, it will not automatically mark as watched after 90%, it verifies that you were watching for a period of time. This prevents marking movies as watched if you were just looking at the quality of it for instance.
from traktforvlc.
There is only one instance of VLC running. How can I make sure that TraktForVLC is properly connected?
from traktforvlc.
Well if it wasn't it would have shown a message. Can you play any video file in your VLC and try the telnet connection ?
To do so, open a command prompt window (start menu, accessories, command prompt I think) then run the following:
pkgmgr /iu:TelnetClient
pkgmgr /iu:TelnetServer
telnet localhost 4222
Try then to run is_playing
and get_title
. That will tell us if the remote control works ok. Be sure that TraktForVLC
isn't running during that time!
from traktforvlc.
telnet did not seem to work from cmd. After connecting nothing I typed showed up, so I tried from cygwin and got the following:
$ telnet localhost 4222
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
is_playing
Basically nothing happens after inputing the is_playing command.
from traktforvlc.
Hm, could you perhaps try to run VLC using the command prompt to be sure it's running with the right parameters ? Just after the connection, VLC should have greeted you.
The command line should look like this:
C:\path\to\vlc.exe --extraintf=rc --rc-host=localhost:4222
Then open another cygwin terminal and run the telnet again. Be sure that there is not any other VLC running, and not any TraktForVLC
running (even in background).
If you want to be sure there isn't any conflict, you can change the port to something random like 35678 for instance, in both the command line to start VLC and the following telnet connection. That perhaps will give us more information (VLC could also show interesting information when you start it from command line).
from traktforvlc.
Let me first just say I really appreciate you taking the time to try and help me.
The port seems to have been the issue, connecting to the rc on a new port like 35678 worked.
Now I started start_debug_process.bat
but started getting the same error in the log:
Received:
2015-05-26 18:02:05,585::VLCRemote::DEBUG::-> Sending: is_playing
2015-05-26 18:02:08,585::TraktForVLC::ERROR::An unknown error occurred
Traceback (most recent call last):
File "C:\VLC\TraktForVLC-master\TraktForVLC.py", line 397, in run
self.main()
File "C:\VLC\TraktForVLC-master\TraktForVLC.py", line 434, in main
vlcStatus = vlc.is_playing()
File "C:\VLC\TraktForVLC-master\vlcrc\__init__.py", line 152, in is_playing
playing = self._command('is_playing', fn_re, raw=True)
File "C:\VLC\TraktForVLC-master\vlcrc\__init__.py", line 109, in _command
'Pattern: %s\nReceived: %s' % (return_re.pattern, cmd_ret))
VLCBadReturn: Pattern: ^(?!status change:)>?\s*(?P<playing>\d+)
?
from traktforvlc.
Ohh and yes from telnet is_playing
was returning 1
from traktforvlc.
I'm here for that! :)
Ok, what else do you have in the debug log?
Did you try connecting with the telnet on that port and trying the commands? (it is really weird because this is meaning that VLC is not answering again)
Are you sure there is not any other VLC or TraktForVLC running at the same time?
from traktforvlc.
Also, just to be sure: did you update the config.bat
before running start_debug_process.bat
?
from traktforvlc.
Yeah I did update the config. The problem was stuck VLC processes that did not show up at the Applications tab in the Windows Task Manager. Had to kill them from the Processes tab.
I think this is resolved now. Thanks for the help.
from traktforvlc.
You're welcome! Thanks for the feedback on the problem.
from traktforvlc.
Related Issues (20)
- The installation stucked on Arch Linux HOT 4
- Trakt_helper process running but not scrobbling
- TraktForVLC_2.0.0a2.dev19.g7851368_windows_x64.exe considered virus by Kaspersky HOT 2
- installing TraktForVLC in Windows 7 32bit fails HOT 5
- Connection Refused By Peer
- Can't read json and error with argument HOT 7
- It simply doesn't work.
- It simply doesn't work.
- setup HOT 2
- Uninstalling fails & cannot install new version
- LOOP CODE VERIFICATION AND DO NOT INSTALL VERSION 64 HOT 2
- Error while scrobbling (scrobbles not showing up on Trakt) HOT 3
- [Win10] Stuck in setup HOT 10
- Scrobbling not detecting absolute chapter numbers HOT 3
- Not working? HOT 18
- Stopping Trakt for VLC when not watching anything? HOT 4
- Problem with installation TraktForVLC on Ubuntu
- Stuck when trying to install on ubuntu 18.04
- HOW DO I UNINSTALL? HOT 1
- VLC doesn't give me any link or code to connect to my Trakt account
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from traktforvlc.