Comments (16)
And you have nothing in the logs/
directory?
I really don't know how to help you with that...
from traktforvlc.
Could you start a console and run the batch script start_debug_process.bat
directly in the console?
If it doesn't give anything, keep that console open an run:
C:\path\to\pythonw.exe C:\path\to\TraktForVLC\TraktForVLC.py --debug --small-timers
After adjusting the paths of course.
If you can provide the results of these commands, I'll do my best to help you!
from traktforvlc.
As you can see start_debug_proocess.bat
executes properly:
C:\Program Files\TraktForVLC\windows_batch>start_debug_process.bat
C:\Program Files\TraktForVLC\windows_batch>cd /D C:\Program Files\TraktForVLC\wi
ndows_batch\
C:\Program Files\TraktForVLC\windows_batch>call ".\config.bat"
C:\Program Files\TraktForVLC\windows_batch>set python=C:\Python27\pythonw.exe
C:\Program Files\TraktForVLC\windows_batch>set tfv_py=C:\Program Files\TraktForV
LC\TraktForVLC.py
C:\Program Files\TraktForVLC\windows_batch>set tfv_data=C:\Program Files\TraktFo
rVLC\data\
C:\Program Files\TraktForVLC\windows_batch>set tfv_config=C:\Program Files\Trakt
ForVLC\
C:\Program Files\TraktForVLC\windows_batch>set tfv_pidfile=C:\Program Files\Trak
tForVLC\TraktForVLC.pid
C:\Program Files\TraktForVLC\windows_batch>set vlc_path=C:\Program Files\VideoLA
N\VLC\vlc.exe
C:\Program Files\TraktForVLC\windows_batch>set ip=localhost
C:\Program Files\TraktForVLC\windows_batch>set port=4222
C:\Program Files\TraktForVLC\windows_batch>set formats=avi, mkv, mov, mp4, wmv,
ts, mpg, m4v
C:\Program Files\TraktForVLC\windows_batch>set vlc_opts=--extraintf=rc --rc-host
=\"localhost\":\"4222\" --rc-quiet
C:\Program Files\TraktForVLC\windows_batch>start "TraktForVLC" C:\Python27\pytho
nw.exe C:\Program Files\TraktForVLC\TraktForVLC.py --datadir C:\Program Files\Tr
aktForVLC\data\ --config C:\Program Files\TraktForVLC\ --pidfile C:\Program File
s\TraktForVLC\TraktForVLC.pid --debug --small-timers
C:\>
But when I run TraktForVLC.py
there's no effect:
C:\>C:\Python27\pythonw.exe C:\Program Files\TraktForVLC\TraktForVLC.py --debug
--smal-timers
C:\>
But I noticed another thing: I can't force VLC to save interface settings. When I close settings panel and open it again settings return back to default. Is it possible that this is cause of my problem?
from traktforvlc.
Can you try running the following?
C:\Python27\pythonw.exe "C:\Program Files\TraktForVLC\TraktForVLC.py" --debug
--small-timers
VLC does not seem to be the issue at this point, as TraktForVLC should write some messages in the console in debug mode!
from traktforvlc.
Unfortunately still nothing.
C:\>C:\Python27\pythonw.exe "C:\Program Files\TraktForVLC\TraktF
orVLC.py" --debug --small-timers
C:\>
from traktforvlc.
Yes, nothing in logs/
. I even reinstalled Python and TraktForVLC and it stiil don't work.
I think I will give up but if anything changes I will let you know.
from traktforvlc.
I have the exact same problems of sajran, but with:
C:\TraktForVLC\TraktForVLC.py --debug --small-timers
I get this:
Traceback (most recent call last):
File "C:\TraktForVLC\TraktForVLC.py", line 60, in
import tvdb_api
File "C:\TraktForVLC\tvdb_api__init__.py", line 60, in
from tvdb_ui import BaseUI, ConsoleUI
ImportError: No module named 'tvdb_ui'
from traktforvlc.
@ciakki your problem should be fixed by the last commits
@sajran Sorry, I don't have any insight with your problem... Could you perhaps try again with the last commits ?
from traktforvlc.
The bug is in config.bat
It is set as
set tfv_data=C:\Program Files\TraktForVLC\data\
when it should be
set tfv_data=C:\Program Files\TraktForVLC\
When using
set tfv_data=C:\Program Files\TraktForVLC\data\
the error message is
Traceback (most recent call last):
File "C:\Program Files\TraktForVLC.py", line 879, in <module>
daemon=(should_daemon or pidfile))
File "C:\Program Files\TraktForVLC.py", line 175, in __init__
os.mkdir(logdir)
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Program Files\\data\\logs'
because the 'data' folder does not exist.
from traktforvlc.
Good catch @JimiC, didn't see it before. It could very well be the problem!
from traktforvlc.
@sajran It may help if you use python.exe
instead of pythonw.exe
since the addition of the 'w' results in not showing output if I'm correct.
I had a similar issue as this, but when running the following command I was able to get some output. This output contains some errors though and it states that it cannot find the show. How is that possible? The played filename is Elementary S04E02.mkv. It seems that it is thinking it's a movie:
2015-12-01 14:56:08,174::TraktForVLC::INFO::Not able to parse a tvshow from the file title
Does there be a certain layout of folders and files to allow TractForVLC to recognise the serie?
The output of the command is shown below (it is a bit long, so excuse me for posting all that here). I hope someone knows why it is not recognising my series.
I'm running the latest clone from the repository and am running VLC 2.2.1 on Windows 10.
C:\TraktForVLC>C:\Python\34\python.exe TraktForVLC.py --debug --small-timers
2015-12-01 14:55:45,181::TraktForVLC::INFO::## TraktForVLC v1.3.0-rc1 Breaking Bad
2015-12-01 14:55:45,181::TraktForVLC::INFO::## Copyright (C) 2014-2015 Raphael Beamonte <[email protected]>
2015-12-01 14:55:45,181::TraktForVLC::INFO::##
2015-12-01 14:55:45,181::TraktForVLC::INFO::## TraktForVLC is distributed in the hope that it will be useful, but
2015-12-01 14:55:45,181::TraktForVLC::INFO::## with ABSOLUTELY NO WARRANTY. This is free software; you are welcome
2015-12-01 14:55:45,182::TraktForVLC::INFO::## to redistribute and/or modify it under the terms of the GPL2.
2015-12-01 14:55:45,182::TraktForVLC::INFO::
2015-12-01 14:55:45,184::TraktForVLC::DEBUG::Running on Windows-8-6.2.9200, with Python 3.4.3
2015-12-01 14:55:45,188::requests.packages.urllib3.connectionpool::INFO::Starting new HTTPS connection (1): api.github.com
2015-12-01 14:55:45,922::requests.packages.urllib3.connectionpool::DEBUG::"GET /repos/XaF/TraktForVLC/releases HTTP/1.1" 200 None
2015-12-01 14:55:45,925::TraktForVLC::INFO::VERSION:TraktForVLC is up to date
2015-12-01 14:55:45,925::TraktForVLC::INFO::Logger level is set to DEBUG
2015-12-01 14:55:45,925::TraktForVLC::INFO::-- Will scrobble movies ? Yes
2015-12-01 14:55:45,925::TraktForVLC::INFO::-- Will scrobble tv shows ? Yes
2015-12-01 14:55:45,925::TraktForVLC::INFO::-- Will we mark movies as being watched ? Yes
2015-12-01 14:55:45,926::TraktForVLC::INFO::-- Will we mark tv shows as being watched ? Yes
2015-12-01 14:55:45,926::TraktForVLC::INFO::-- Videos will be scrobbled after 90% of their duration has been exceeded
2015-12-01 14:55:45,926::TraktForVLC::INFO::-- Timer set to 5 secs
2015-12-01 14:55:45,926::TraktForVLC::INFO::-- Video will be marked as "is watching" from 5 secs
2015-12-01 14:55:45,926::TraktForVLC::INFO::Listening VLC to localhost:4222
2015-12-01 14:55:45,926::TraktClient::DEBUG::TraktClient logger initialized
2015-12-01 14:55:45,926::TraktClient::DEBUG::TraktClient will use PIN Auth
2015-12-01 14:55:45,927::TraktForVLC::DEBUG::reset cache (None, None)
2015-12-01 14:55:47,940::TraktForVLC::INFO::Could not find VLC running at localhost:4222
2015-12-01 14:55:47,940::TraktForVLC::DEBUG::Make sure your VLC player is running with --extraintf=rc --rc-host=localhost:4222 --rc-quiet
Traceback (most recent call last):
File "TraktForVLC.py", line 408, in main
vlc = VLCRemote(self.vlc_ip, self.vlc_port)
File "C:\TraktForVLC\vlcrc\__init__.py", line 38, in __init__
self.cnx = telnetlib.Telnet(hostname, port)
File "C:\Python\34\lib\telnetlib.py", line 221, in __init__
self.open(host, port, timeout)
File "C:\Python\34\lib\telnetlib.py", line 237, in open
self.sock = socket.create_connection((host, port), timeout)
File "C:\Python\34\lib\socket.py", line 512, in create_connection
raise err
File "C:\Python\34\lib\socket.py", line 503, in create_connection
sock.connect(sa)
ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it
2015-12-01 14:56:07,450::VLCRemote::DEBUG::cleaning cache
2015-12-01 14:56:07,450::VLCRemote::DEBUG::<- Received: b''
2015-12-01 14:56:07,451::VLCRemote::DEBUG::-> Sending: is_playing
2015-12-01 14:56:08,170::VLCRemote::DEBUG::<- Received: b'1'
2015-12-01 14:56:08,171::VLCRemote::DEBUG::cleaning cache
2015-12-01 14:56:08,171::VLCRemote::DEBUG::<- Received: b''
2015-12-01 14:56:08,171::VLCRemote::DEBUG::-> Sending: get_length
2015-12-01 14:56:08,171::VLCRemote::DEBUG::<- Received: b'2609'
2015-12-01 14:56:08,172::VLCRemote::DEBUG::cleaning cache
2015-12-01 14:56:08,172::VLCRemote::DEBUG::<- Received: b''
2015-12-01 14:56:08,172::VLCRemote::DEBUG::-> Sending: status
2015-12-01 14:56:08,173::VLCRemote::DEBUG::<- Received: b'status change: ( new input: file:///W:/Series/Elementary%20S04E02.mkv )'
2015-12-01 14:56:08,173::VLCRemote::DEBUG::cleaning cache
2015-12-01 14:56:08,173::VLCRemote::DEBUG::<- Received: b'status change: ( audio volume: 256 )\r\nstatus change: ( play state: 3 )\r\nstatus: returned 0 (no error)'
2015-12-01 14:56:08,174::VLCRemote::DEBUG::-> Sending: get_time
2015-12-01 14:56:08,174::VLCRemote::DEBUG::<- Received: b'0'
2015-12-01 14:56:08,174::TraktForVLC::DEBUG::main::New file: b'Elementary%20S04E02.mkv' (b'2609')
2015-12-01 14:56:08,174::TraktForVLC::DEBUG::reset cache (b'Elementary%20S04E02.mkv', b'2609')
2015-12-01 14:56:08,174::TraktForVLC::INFO::Not able to parse a tvshow from the file title
2015-12-01 14:56:08,175::TraktForVLC::DEBUG::get_Movie::Now playing: {'year': None, 'title': 'Elementary%20S04E02'}
2015-12-01 14:56:08,177::requests.packages.urllib3.connectionpool::INFO::Starting new HTTP connection (1): www.omdbapi.com
2015-12-01 14:56:08,437::requests.packages.urllib3.connectionpool::DEBUG::"GET /?i=&tomatoes=true&t=Elementary%2520S04E02 HTTP/1.1" 200 47
2015-12-01 14:56:08,440::requests.packages.urllib3.connectionpool::INFO::Starting new HTTP connection (1): www.omdbapi.com
2015-12-01 14:56:08,461::requests.packages.urllib3.connectionpool::DEBUG::"GET /?s=Elementary%2520S04E02&i= HTTP/1.1" 200 47
2015-12-01 14:56:08,462::TraktForVLC::DEBUG::valid_Movie::no valid title found
Traceback (most recent call last):
File "TraktForVLC.py", line 684, in valid_Movie
movie = movie_info.get_movie_info(vlcTitle, vlcYear)
File "C:\TraktForVLC\movie_info.py", line 407, in get_movie_info
raise LookupError("unable to find the movie '%s'" % (movi_name))
LookupError: unable to find the movie 'Elementary%20S04E02'
2015-12-01 14:56:08,463::TraktForVLC::INFO::No tv show nor movie found for the current playing video
2015-12-01 14:56:13,465::VLCRemote::DEBUG::cleaning cache
2015-12-01 14:56:13,465::VLCRemote::DEBUG::<- Received: b''
2015-12-01 14:56:13,465::VLCRemote::DEBUG::-> Sending: is_playing
2015-12-01 14:56:13,466::VLCRemote::DEBUG::<- Received: b'1'
2015-12-01 14:56:13,466::VLCRemote::DEBUG::cleaning cache
2015-12-01 14:56:13,466::VLCRemote::DEBUG::<- Received: b''
2015-12-01 14:56:13,466::VLCRemote::DEBUG::-> Sending: get_length
2015-12-01 14:56:13,467::VLCRemote::DEBUG::<- Received: b'2609'
2015-12-01 14:56:13,467::VLCRemote::DEBUG::cleaning cache
2015-12-01 14:56:13,467::VLCRemote::DEBUG::<- Received: b''
2015-12-01 14:56:13,467::VLCRemote::DEBUG::-> Sending: status
2015-12-01 14:56:13,468::VLCRemote::DEBUG::<- Received: b'status change: ( new input: file:///W:/Series/Elementary%20S04E02.mkv )'
2015-12-01 14:56:13,468::VLCRemote::DEBUG::cleaning cache
2015-12-01 14:56:13,468::VLCRemote::DEBUG::<- Received: b'status change: ( audio volume: 256 )\r\nstatus change: ( play state: 3 )\r\nstatus: returned 0 (no error)'
2015-12-01 14:56:13,468::VLCRemote::DEBUG::-> Sending: get_time
2015-12-01 14:56:13,469::VLCRemote::DEBUG::<- Received: b'5'
2015-12-01 14:56:13,469::TraktForVLC::INFO::No tv show nor movie found for the current playing video
2015-12-01 14:56:18,470::VLCRemote::DEBUG::cleaning cache
2015-12-01 14:56:18,470::VLCRemote::DEBUG::<- Received: b''
2015-12-01 14:56:18,470::VLCRemote::DEBUG::-> Sending: is_playing
2015-12-01 14:56:18,471::VLCRemote::DEBUG::<- Received: b'1'
2015-12-01 14:56:18,471::VLCRemote::DEBUG::cleaning cache
2015-12-01 14:56:18,471::VLCRemote::DEBUG::<- Received: b''
2015-12-01 14:56:18,471::VLCRemote::DEBUG::-> Sending: get_length
2015-12-01 14:56:18,471::VLCRemote::DEBUG::<- Received: b'2609'
2015-12-01 14:56:18,472::VLCRemote::DEBUG::cleaning cache
2015-12-01 14:56:18,472::VLCRemote::DEBUG::<- Received: b''
2015-12-01 14:56:18,472::VLCRemote::DEBUG::-> Sending: status
2015-12-01 14:56:18,473::VLCRemote::DEBUG::<- Received: b'status change: ( new input: file:///W:/Series/Elementary%20S04E02.mkv )'
2015-12-01 14:56:18,473::VLCRemote::DEBUG::cleaning cache
2015-12-01 14:56:18,473::VLCRemote::DEBUG::<- Received: b'status change: ( audio volume: 256 )\r\nstatus change: ( play state: 3 )\r\nstatus: returned 0 (no error)'
2015-12-01 14:56:18,474::VLCRemote::DEBUG::-> Sending: get_time
2015-12-01 14:56:18,474::VLCRemote::DEBUG::<- Received: b'10'
2015-12-01 14:56:18,474::TraktForVLC::INFO::No tv show nor movie found for the current playing video
2015-12-01 14:56:23,476::VLCRemote::DEBUG::cleaning cache
2015-12-01 14:56:23,476::VLCRemote::DEBUG::<- Received: b''
2015-12-01 14:56:23,476::VLCRemote::DEBUG::-> Sending: is_playing
2015-12-01 14:56:23,476::VLCRemote::DEBUG::<- Received: b'1'
2015-12-01 14:56:23,477::VLCRemote::DEBUG::cleaning cache
2015-12-01 14:56:23,477::VLCRemote::DEBUG::<- Received: b''
2015-12-01 14:56:23,477::VLCRemote::DEBUG::-> Sending: get_length
2015-12-01 14:56:23,477::VLCRemote::DEBUG::<- Received: b'2609'
2015-12-01 14:56:23,477::VLCRemote::DEBUG::cleaning cache
2015-12-01 14:56:23,478::VLCRemote::DEBUG::<- Received: b''
2015-12-01 14:56:23,478::VLCRemote::DEBUG::-> Sending: status
2015-12-01 14:56:23,478::VLCRemote::DEBUG::<- Received: b'status change: ( new input: file:///W:/Series/Elementary%20S04E02.mkv )'
2015-12-01 14:56:23,479::VLCRemote::DEBUG::cleaning cache
2015-12-01 14:56:23,479::VLCRemote::DEBUG::<- Received: b'status change: ( audio volume: 256 )\r\nstatus change: ( play state: 3 )\r\nstatus: returned 0 (no error)'
2015-12-01 14:56:23,479::VLCRemote::DEBUG::-> Sending: get_time
2015-12-01 14:56:23,480::VLCRemote::DEBUG::<- Received: b'16'
2015-12-01 14:56:23,480::TraktForVLC::INFO::No tv show nor movie found for the current playing video
2015-12-01 14:56:28,482::VLCRemote::DEBUG::cleaning cache
2015-12-01 14:56:28,482::VLCRemote::DEBUG::<- Received: b''
2015-12-01 14:56:28,482::VLCRemote::DEBUG::-> Sending: is_playing
2015-12-01 14:56:28,482::VLCRemote::DEBUG::<- Received: b'1'
2015-12-01 14:56:28,483::VLCRemote::DEBUG::cleaning cache
2015-12-01 14:56:28,483::VLCRemote::DEBUG::<- Received: b''
2015-12-01 14:56:28,483::VLCRemote::DEBUG::-> Sending: get_length
2015-12-01 14:56:28,483::VLCRemote::DEBUG::<- Received: b'2609'
2015-12-01 14:56:28,483::VLCRemote::DEBUG::cleaning cache
2015-12-01 14:56:28,484::VLCRemote::DEBUG::<- Received: b''
2015-12-01 14:56:28,484::VLCRemote::DEBUG::-> Sending: status
2015-12-01 14:56:28,484::VLCRemote::DEBUG::<- Received: b'status change: ( new input: file:///W:/Series/Elementary%20S04E02.mkv )'
2015-12-01 14:56:28,485::VLCRemote::DEBUG::cleaning cache
2015-12-01 14:56:28,485::VLCRemote::DEBUG::<- Received: b'status change: ( audio volume: 256 )\r\nstatus change: ( play state: 3 )\r\nstatus: returned 0 (no error)'
2015-12-01 14:56:28,485::VLCRemote::DEBUG::-> Sending: get_time
2015-12-01 14:56:28,486::VLCRemote::DEBUG::<- Received: b'20'
2015-12-01 14:56:28,486::TraktForVLC::INFO::No tv show nor movie found for the current playing video
2015-12-01 14:56:33,488::VLCRemote::DEBUG::cleaning cache
2015-12-01 14:56:33,488::VLCRemote::DEBUG::<- Received: b''
2015-12-01 14:56:33,488::VLCRemote::DEBUG::-> Sending: is_playing
2015-12-01 14:56:33,488::VLCRemote::DEBUG::<- Received: b'1'
2015-12-01 14:56:33,489::VLCRemote::DEBUG::cleaning cache
2015-12-01 14:56:33,489::VLCRemote::DEBUG::<- Received: b''
2015-12-01 14:56:33,489::VLCRemote::DEBUG::-> Sending: get_length
2015-12-01 14:56:33,489::VLCRemote::DEBUG::<- Received: b'2609'
2015-12-01 14:56:33,489::VLCRemote::DEBUG::cleaning cache
2015-12-01 14:56:33,490::VLCRemote::DEBUG::<- Received: b''
2015-12-01 14:56:33,490::VLCRemote::DEBUG::-> Sending: status
2015-12-01 14:56:33,490::VLCRemote::DEBUG::<- Received: b'status change: ( new input: file:///W:/Series/Elementary%20S04E02.mkv )'
2015-12-01 14:56:33,491::VLCRemote::DEBUG::cleaning cache
2015-12-01 14:56:33,491::VLCRemote::DEBUG::<- Received: b'status change: ( audio volume: 256 )\r\nstatus change: ( play state: 3 )\r\nstatus: returned 0 (no error)'
2015-12-01 14:56:33,491::VLCRemote::DEBUG::-> Sending: get_time
2015-12-01 14:56:33,492::VLCRemote::DEBUG::<- Received: b'25'
2015-12-01 14:56:33,492::TraktForVLC::INFO::No tv show nor movie found for the current playing video
2015-12-01 14:56:38,493::VLCRemote::DEBUG::cleaning cache
2015-12-01 14:57:49,867::VLCRemote::DEBUG::<- Received: b''
2015-12-01 14:57:49,867::VLCRemote::DEBUG::-> Sending: is_playing
2015-12-01 14:57:49,867::VLCRemote::DEBUG::<- Received: b'1'
2015-12-01 14:57:49,867::VLCRemote::DEBUG::cleaning cache
2015-12-01 14:57:49,867::VLCRemote::DEBUG::<- Received: b''
2015-12-01 14:57:49,867::VLCRemote::DEBUG::-> Sending: get_length
2015-12-01 14:57:49,868::VLCRemote::DEBUG::<- Received: b'2609'
2015-12-01 14:57:49,868::VLCRemote::DEBUG::cleaning cache
2015-12-01 14:57:49,868::VLCRemote::DEBUG::<- Received: b''
2015-12-01 14:57:49,868::VLCRemote::DEBUG::-> Sending: status
2015-12-01 14:57:49,868::VLCRemote::DEBUG::<- Received: b'status change: ( new input: file:///W:/Series/Elementary%20S04E02.mkv )'
2015-12-01 14:57:49,869::VLCRemote::DEBUG::cleaning cache
2015-12-01 14:57:49,869::VLCRemote::DEBUG::<- Received: b'status change: ( audio volume: 256 )\r\nstatus change: ( play state: 3 )\r\nstatus: returned 0 (no error)'
2015-12-01 14:57:49,869::VLCRemote::DEBUG::-> Sending: get_time
2015-12-01 14:57:49,869::VLCRemote::DEBUG::<- Received: b'102'
2015-12-01 14:57:49,870::TraktForVLC::INFO::No tv show nor movie found for the current playing video
2015-12-01 14:57:54,872::VLCRemote::DEBUG::cleaning cache
2015-12-01 14:57:54,872::VLCRemote::DEBUG::<- Received: b''
2015-12-01 14:57:54,872::VLCRemote::DEBUG::-> Sending: is_playing
2015-12-01 14:57:57,881::TraktForVLC::ERROR::An unknown error occurred
Traceback (most recent call last):
File "TraktForVLC.py", line 398, in run
self.main()
File "TraktForVLC.py", line 435, in main
vlcStatus = vlc.is_playing()
File "C:\TraktForVLC\vlcrc\__init__.py", line 152, in is_playing
playing = self._command('is_playing', fn_re, raw=True)
File "C:\TraktForVLC\vlcrc\__init__.py", line 109, in _command
'Pattern: %s\nReceived: %s' % (return_re.pattern, cmd_ret))
vlcrc.VLCBadReturn: Pattern: b'^(?!status change:)>?\\s*(?P<playing>\\d+)\r?\n'
Received: b''
2015-12-01 14:58:02,883::VLCRemote::DEBUG::cleaning cache
2015-12-01 14:58:02,884::VLCRemote::DEBUG::<- Received: b''
2015-12-01 14:58:02,884::VLCRemote::DEBUG::-> Sending: is_playing
2015-12-01 14:58:05,896::TraktForVLC::ERROR::An unknown error occurred
Traceback (most recent call last):
File "TraktForVLC.py", line 398, in run
self.main()
File "TraktForVLC.py", line 435, in main
vlcStatus = vlc.is_playing()
File "C:\TraktForVLC\vlcrc\__init__.py", line 152, in is_playing
playing = self._command('is_playing', fn_re, raw=True)
File "C:\TraktForVLC\vlcrc\__init__.py", line 109, in _command
'Pattern: %s\nReceived: %s' % (return_re.pattern, cmd_ret))
vlcrc.VLCBadReturn: Pattern: b'^(?!status change:)>?\\s*(?P<playing>\\d+)\r?\n'
Received: b''
2015-12-01 14:58:10,898::VLCRemote::DEBUG::cleaning cache
2015-12-01 14:58:10,899::VLCRemote::DEBUG::<- Received: b''
2015-12-01 14:58:10,899::VLCRemote::DEBUG::-> Sending: is_playing
2015-12-01 14:58:13,912::TraktForVLC::ERROR::An unknown error occurred
Traceback (most recent call last):
File "TraktForVLC.py", line 398, in run
self.main()
File "TraktForVLC.py", line 435, in main
vlcStatus = vlc.is_playing()
File "C:\TraktForVLC\vlcrc\__init__.py", line 152, in is_playing
playing = self._command('is_playing', fn_re, raw=True)
File "C:\TraktForVLC\vlcrc\__init__.py", line 109, in _command
'Pattern: %s\nReceived: %s' % (return_re.pattern, cmd_ret))
vlcrc.VLCBadReturn: Pattern: b'^(?!status change:)>?\\s*(?P<playing>\\d+)\r?\n'
Received: b''
2015-12-01 14:58:20,915::TraktForVLC::INFO::Could not find VLC running at localhost:4222
2015-12-01 14:58:21,081::TraktForVLC::DEBUG::Make sure your VLC player is running with --extraintf=rc --rc-host=localhost:4222 --rc-quiet
Traceback (most recent call last):
File "TraktForVLC.py", line 408, in main
vlc = VLCRemote(self.vlc_ip, self.vlc_port)
File "C:\TraktForVLC\vlcrc\__init__.py", line 38, in __init__
self.cnx = telnetlib.Telnet(hostname, port)
File "C:\Python\34\lib\telnetlib.py", line 221, in __init__
self.open(host, port, timeout)
File "C:\Python\34\lib\telnetlib.py", line 237, in open
self.sock = socket.create_connection((host, port), timeout)
File "C:\Python\34\lib\socket.py", line 512, in create_connection
raise err
File "C:\Python\34\lib\socket.py", line 503, in create_connection
sock.connect(sa)
ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it
2015-12-01 14:58:21,082::TraktForVLC::DEBUG::reset cache view status (None)
2015-12-01 14:58:21,977::TraktForVLC::INFO::Program closed by SIGINT
from traktforvlc.
@vidavidorra Rename the tv show and replace the white spaces either with underscore, dash or dot.
from traktforvlc.
Hmm, it seems there is an encoding problem with windows (again). I'll see if I can patch that cleanly. In the meantime, like proposed by @JimiC, you can replace the space by another character and it should work!
from traktforvlc.
Usage of white spaces in file names never plays well in cross-platform apps.
from traktforvlc.
@JimiC Replacing the white spaces with underscores resolved that problem. Thanks!
from traktforvlc.
TraktForVLC 2.x makes that issue obsolete - #88
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.