Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't mark it scrobbled #71

Closed
Dimsok opened this issue Jun 28, 2017 · 13 comments
Closed

Doesn't mark it scrobbled #71

Dimsok opened this issue Jun 28, 2017 · 13 comments
Labels

Comments

@Dimsok
Copy link

Dimsok commented Jun 28, 2017

I finished to watch movie, but it didn't mark as scrobbled, although it correct detected and make post on Trakt evey minute as in my setting. I have found that log:

2017-06-28 18:58:55,878::TraktForVLC::ERROR::An error occurred while trying to mark as watching City Lights
Traceback (most recent call last):
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 554, in main
    self.get_episode(video))
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktClient.py", line 420, in startWatching
    return self.__watching('start', imdb_id, progress, episode)
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktClient.py", line 392, in __watching
    return self.__scrobble(action, data)
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktClient.py", line 358, in __scrobble
    stream.reason))
TraktError: Unable to start movie: 403 Forbidden
2017-06-28 18:59:58,690::TraktForVLC::ERROR::An error occurred while trying to mark as watching City Lights
Traceback (most recent call last):
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 554, in main
    self.get_episode(video))
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktClient.py", line 420, in startWatching
    return self.__watching('start', imdb_id, progress, episode)
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktClient.py", line 392, in __watching
    return self.__scrobble(action, data)
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktClient.py", line 358, in __scrobble
    stream.reason))
TraktError: Unable to start movie: 403 Forbidden
2017-06-28 19:01:02,174::TraktForVLC::ERROR::An error occurred while trying to mark as watching City Lights
Traceback (most recent call last):
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 554, in main
    self.get_episode(video))
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktClient.py", line 420, in startWatching
    return self.__watching('start', imdb_id, progress, episode)
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktClient.py", line 392, in __watching
    return self.__scrobble(action, data)
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktClient.py", line 358, in __scrobble
    stream.reason))
TraktError: Unable to start movie: 403 Forbidden
2017-06-28 19:02:07,690::TraktForVLC::ERROR::An error occurred while trying to mark as watching City Lights
Traceback (most recent call last):
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 554, in main
    self.get_episode(video))
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktClient.py", line 420, in startWatching
    return self.__watching('start', imdb_id, progress, episode)
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktClient.py", line 392, in __watching
    return self.__scrobble(action, data)
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktClient.py", line 358, in __scrobble
    stream.reason))
TraktError: Unable to start movie: 403 Forbidden
2017-06-28 19:03:12,096::TraktForVLC::ERROR::An error occurred while trying to mark as watching City Lights
Traceback (most recent call last):
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 554, in main
    self.get_episode(video))
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktClient.py", line 420, in startWatching
    return self.__watching('start', imdb_id, progress, episode)
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktClient.py", line 392, in __watching
    return self.__scrobble(action, data)
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktClient.py", line 358, in __scrobble
    stream.reason))
TraktError: Unable to start movie: 403 Forbidden
2017-06-28 19:04:15,581::TraktForVLC::ERROR::An error occurred while trying to mark as watching City Lights
Traceback (most recent call last):
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 554, in main
    self.get_episode(video))
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktClient.py", line 420, in startWatching
    return self.__watching('start', imdb_id, progress, episode)
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktClient.py", line 392, in __watching
    return self.__scrobble(action, data)
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktClient.py", line 358, in __scrobble
    stream.reason))
TraktError: Unable to start movie: 403 Forbidden
2017-06-28 19:05:20,862::TraktForVLC::ERROR::An error occurred while trying to mark as watching City Lights
Traceback (most recent call last):
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 554, in main
    self.get_episode(video))
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktClient.py", line 420, in startWatching
    return self.__watching('start', imdb_id, progress, episode)
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktClient.py", line 392, in __watching
    return self.__scrobble(action, data)
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktClient.py", line 358, in __scrobble
    stream.reason))
TraktError: Unable to start movie: 403 Forbidden
2017-06-28 19:06:24,487::TraktForVLC::ERROR::An error occurred while trying to mark as watching City Lights
Traceback (most recent call last):
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 554, in main
    self.get_episode(video))
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktClient.py", line 420, in startWatching
    return self.__watching('start', imdb_id, progress, episode)
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktClient.py", line 392, in __watching
    return self.__scrobble(action, data)
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktClient.py", line 358, in __scrobble
    stream.reason))
TraktError: Unable to start movie: 403 Forbidden
2017-06-28 19:07:30,362::TraktForVLC::ERROR::An error occurred while trying to mark as watching City Lights
Traceback (most recent call last):
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 554, in main
    self.get_episode(video))
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktClient.py", line 420, in startWatching
    return self.__watching('start', imdb_id, progress, episode)
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktClient.py", line 392, in __watching
    return self.__scrobble(action, data)
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktClient.py", line 358, in __scrobble
    stream.reason))
TraktError: Unable to start movie: 403 Forbidden
2017-06-28 19:08:35,674::TraktForVLC::ERROR::An error occurred while trying to mark as watching City Lights
Traceback (most recent call last):
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 554, in main
    self.get_episode(video))
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktClient.py", line 420, in startWatching
    return self.__watching('start', imdb_id, progress, episode)
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktClient.py", line 392, in __watching
    return self.__scrobble(action, data)
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktClient.py", line 358, in __scrobble
    stream.reason))
TraktError: Unable to start movie: 403 Forbidden
2017-06-28 19:09:38,206::TraktForVLC::ERROR::An error occurred while trying to mark as watching City Lights
Traceback (most recent call last):
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 554, in main
    self.get_episode(video))
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktClient.py", line 420, in startWatching
    return self.__watching('start', imdb_id, progress, episode)
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktClient.py", line 392, in __watching
    return self.__scrobble(action, data)
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktClient.py", line 358, in __scrobble
    stream.reason))
@XaF
Copy link
Owner

XaF commented Jun 28, 2017

Have you tried renewing the PIN auth ?

TraktError: Unable to start movie: 403 Forbidden

Means that Trakt did not authorize the scrobble.

@Dimsok
Copy link
Author

Dimsok commented Jun 28, 2017

Also when i set vlc on pause and resumed it, it stopped to send on trakt every minute as i see in list on network connections. I made the log when i make pause and resume:

17-06-28 20:28:51,956::TraktForVLC::INFO::City Lights is currently watching on Trakt...
2017-06-28 20:28:56,956::VLCRemote::DEBUG::-> Sending: is_playing
2017-06-28 20:28:56,956::VLCRemote::DEBUG::<- Received: 1
2017-06-28 20:28:56,956::VLCRemote::DEBUG::-> Sending: get_length
2017-06-28 20:28:56,956::VLCRemote::DEBUG::<- Received: 5220
2017-06-28 20:28:56,956::VLCRemote::DEBUG::-> Sending: status
2017-06-28 20:28:56,971::VLCRemote::DEBUG::<- Received: status change: ( new input: file:///g:/%D0%97%D0%B0%D0%BA%D0%B0%D1%87%D0%BA%D0%B0/%D0%A1%20%D0%98%D0%BD%D1%82%D0%B5%D1%80%D0%BD%D0%B5%D1%82%D0%B0/C%20%D0%A2%D0%BE%D1%80%D1%80%D0%B5%D0%BD%D1%82%D0%BE%D0%B2/%D0%9A%D0%B0%D1%87%D0%B5%D0%B2%D0%BE/Ok/Charlie%20Chaplin%20-%20City%20Lights%20%281931%29/City%20Lights%20%281931%29.mp4 )
2017-06-28 20:28:56,971::VLCRemote::DEBUG::cleaning cache
2017-06-28 20:28:56,986::VLCRemote::DEBUG::<- Received: status change: ( audio volume: 294 )

status change: ( play state: 3 )

status: returned 0 (no error)
2017-06-28 20:28:56,986::VLCRemote::DEBUG::-> Sending: get_title
2017-06-28 20:28:56,986::VLCRemote::DEBUG::<- Received: City Lights (1931).mp4
2017-06-28 20:28:56,986::VLCRemote::DEBUG::-> Sending: get_time
2017-06-28 20:28:56,986::VLCRemote::DEBUG::<- Received: 2172
2017-06-28 20:28:56,986::TraktForVLC::INFO::City Lights state : 41%
2017-06-28 20:28:56,986::TraktForVLC::DEBUG::main::Video: {'duration': 5220, 'show_imdbid': None, 'episode': -1, 'title': u'City Lights', 'tv': False, 'imdbid': u'tt0021749', 'percentage': 41, 'year': 1931, 'season': -1}
2017-06-28 20:28:56,986::TraktForVLC::DEBUG::main::This video is scrobbled : False
2017-06-28 20:28:56,986::TraktForVLC::DEBUG::main::Trying to mark City Lights watching on Trakt...
2017-06-28 20:28:56,986::TraktClient::DEBUG::Sending POST to https://api-v2launch.trakt.tv/scrobble/start data {"app_date": "2017-06-26", "movie": {"ids": {"imdb": "tt0021749"}}, "app_version": "1.3.0-rc5", "progress": 41}
2017-06-28 20:28:56,986::TraktClient::DEBUG::{"app_date": "2017-06-26", "movie": {"ids": {"imdb": "tt0021749"}}, "app_version": "1.3.0-rc5", "progress": 41}
2017-06-28 20:28:56,986::requests.packages.urllib3.connectionpool::INFO::Starting new HTTPS connection (1): api-v2launch.trakt.tv
2017-06-28 20:29:00,003::requests.packages.urllib3.connectionpool::DEBUG::"POST /scrobble/start HTTP/1.1" 201 181
2017-06-28 20:29:00,019::TraktForVLC::INFO::City Lights is currently watching on Trakt...
2017-06-28 20:29:05,144::VLCRemote::DEBUG::-> Sending: is_playing
2017-06-28 20:29:05,144::VLCRemote::DEBUG::<- Received: 1
2017-06-28 20:29:05,144::VLCRemote::DEBUG::-> Sending: get_length
2017-06-28 20:29:05,144::VLCRemote::DEBUG::<- Received: 5220
2017-06-28 20:29:05,144::VLCRemote::DEBUG::-> Sending: status
2017-06-28 20:29:05,144::VLCRemote::DEBUG::<- Received: status change: ( new input: file:///g:/%D0%97%D0%B0%D0%BA%D0%B0%D1%87%D0%BA%D0%B0/%D0%A1%20%D0%98%D0%BD%D1%82%D0%B5%D1%80%D0%BD%D0%B5%D1%82%D0%B0/C%20%D0%A2%D0%BE%D1%80%D1%80%D0%B5%D0%BD%D1%82%D0%BE%D0%B2/%D0%9A%D0%B0%D1%87%D0%B5%D0%B2%D0%BE/Ok/Charlie%20Chaplin%20-%20City%20Lights%20%281931%29/City%20Lights%20%281931%29.mp4 )
2017-06-28 20:29:05,144::VLCRemote::DEBUG::cleaning cache
2017-06-28 20:29:05,144::VLCRemote::DEBUG::<- Received: status change: ( audio volume: 294 )

status change: ( play state: 3 )

status: returned 0 (no error)
2017-06-28 20:29:05,144::VLCRemote::DEBUG::-> Sending: get_title
2017-06-28 20:29:05,144::VLCRemote::DEBUG::<- Received: City Lights (1931).mp4
2017-06-28 20:29:05,144::VLCRemote::DEBUG::-> Sending: get_time
2017-06-28 20:29:05,144::VLCRemote::DEBUG::<- Received: 804
2017-06-28 20:29:05,144::TraktForVLC::INFO::City Lights state : 15%
2017-06-28 20:29:05,144::TraktForVLC::DEBUG::main::Video: {'duration': 5220, 'show_imdbid': None, 'episode': -1, 'title': u'City Lights', 'tv': False, 'imdbid': u'tt0021749', 'percentage': 15, 'year': 1931, 'season': -1}
2017-06-28 20:29:05,144::TraktForVLC::DEBUG::main::This video is scrobbled : False
2017-06-28 20:29:05,144::TraktForVLC::DEBUG::main::Trying to mark City Lights watching on Trakt...
2017-06-28 20:29:05,158::TraktClient::DEBUG::Sending POST to https://api-v2launch.trakt.tv/scrobble/start data {"app_date": "2017-06-26", "movie": {"ids": {"imdb": "tt0021749"}}, "app_version": "1.3.0-rc5", "progress": 15}
2017-06-28 20:29:05,158::TraktClient::DEBUG::{"app_date": "2017-06-26", "movie": {"ids": {"imdb": "tt0021749"}}, "app_version": "1.3.0-rc5", "progress": 15}
2017-06-28 20:29:05,174::requests.packages.urllib3.connectionpool::INFO::Starting new HTTPS connection (1): api-v2launch.trakt.tv
2017-06-28 20:29:08,283::requests.packages.urllib3.connectionpool::DEBUG::"POST /scrobble/start HTTP/1.1" 201 182
2017-06-28 20:29:08,299::TraktForVLC::INFO::City Lights is currently watching on Trakt...
2017-06-28 20:29:13,299::VLCRemote::DEBUG::-> Sending: is_playing
2017-06-28 20:29:13,299::VLCRemote::DEBUG::<- Received: 1
2017-06-28 20:29:13,299::VLCRemote::DEBUG::-> Sending: get_length
2017-06-28 20:29:13,299::VLCRemote::DEBUG::<- Received: 5220
2017-06-28 20:29:13,299::VLCRemote::DEBUG::-> Sending: status
2017-06-28 20:29:16,299::TraktForVLC::ERROR::An unknown error occurred
Traceback (most recent call last):
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 394, in run
    self.main()
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 442, in main
    currentFilePath = vlc.get_filename()
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\vlcrc\__init__.py", line 123, in get_filename
    match = self._command('status', fn_re, raw=True)
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\vlcrc\__init__.py", line 109, in _command
    'Pattern: %s\nReceived: %s' % (return_re.pattern, cmd_ret))
VLCBadReturn: Pattern: input: (?P<path>(?P<ptcl>[a-z]*)://(?P<fn>.+?)) \)
Received: Type 'pause' to continue.

status: returned 0 (no error)


2017-06-28 20:29:21,331::VLCRemote::DEBUG::-> Sending: is_playing
2017-06-28 20:29:24,331::TraktForVLC::ERROR::An unknown error occurred
Traceback (most recent call last):
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 394, in run
    self.main()
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 431, in main
    vlcStatus = vlc.is_playing()
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\vlcrc\__init__.py", line 152, in is_playing
    playing = self._command('is_playing', fn_re, raw=True)
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\vlcrc\__init__.py", line 109, in _command
    'Pattern: %s\nReceived: %s' % (return_re.pattern, cmd_ret))
VLCBadReturn: Pattern: ^(?!status change:)>?\s*(?P<playing>\d+)
?

Received: 
2017-06-28 20:29:29,331::VLCRemote::DEBUG::-> Sending: is_playing
2017-06-28 20:29:32,331::TraktForVLC::ERROR::An unknown error occurred
Traceback (most recent call last):
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 394, in run
    self.main()
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 431, in main
    vlcStatus = vlc.is_playing()
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\vlcrc\__init__.py", line 152, in is_playing
    playing = self._command('is_playing', fn_re, raw=True)
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\vlcrc\__init__.py", line 109, in _command
    'Pattern: %s\nReceived: %s' % (return_re.pattern, cmd_ret))
VLCBadReturn: Pattern: ^(?!status change:)>?\s*(?P<playing>\d+)
?

Received: 
2017-06-28 20:29:37,346::VLCRemote::DEBUG::-> Sending: is_playing
2017-06-28 20:29:40,346::TraktForVLC::ERROR::An unknown error occurred
Traceback (most recent call last):
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 394, in run
    self.main()
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 431, in main
    vlcStatus = vlc.is_playing()
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\vlcrc\__init__.py", line 152, in is_playing
    playing = self._command('is_playing', fn_re, raw=True)
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\vlcrc\__init__.py", line 109, in _command
    'Pattern: %s\nReceived: %s' % (return_re.pattern, cmd_ret))
VLCBadReturn: Pattern: ^(?!status change:)>?\s*(?P<playing>\d+)
?

Received: 
2017-06-28 20:29:45,346::VLCRemote::DEBUG::-> Sending: is_playing
2017-06-28 20:29:48,346::TraktForVLC::ERROR::An unknown error occurred
Traceback (most recent call last):
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 394, in run
    self.main()
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 431, in main
    vlcStatus = vlc.is_playing()
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\vlcrc\__init__.py", line 152, in is_playing
    playing = self._command('is_playing', fn_re, raw=True)
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\vlcrc\__init__.py", line 109, in _command
    'Pattern: %s\nReceived: %s' % (return_re.pattern, cmd_ret))
VLCBadReturn: Pattern: ^(?!status change:)>?\s*(?P<playing>\d+)
?

Received: 
2017-06-28 20:29:53,378::VLCRemote::DEBUG::-> Sending: is_playing
2017-06-28 20:29:56,378::TraktForVLC::ERROR::An unknown error occurred
Traceback (most recent call last):
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 394, in run
    self.main()
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 431, in main
    vlcStatus = vlc.is_playing()
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\vlcrc\__init__.py", line 152, in is_playing
    playing = self._command('is_playing', fn_re, raw=True)
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\vlcrc\__init__.py", line 109, in _command
    'Pattern: %s\nReceived: %s' % (return_re.pattern, cmd_ret))
VLCBadReturn: Pattern: ^(?!status change:)>?\s*(?P<playing>\d+)
?

Received: 
2017-06-28 20:30:01,394::VLCRemote::DEBUG::-> Sending: is_playing
2017-06-28 20:30:04,394::TraktForVLC::ERROR::An unknown error occurred
Traceback (most recent call last):
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 394, in run
    self.main()
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 431, in main
    vlcStatus = vlc.is_playing()
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\vlcrc\__init__.py", line 152, in is_playing
    playing = self._command('is_playing', fn_re, raw=True)
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\vlcrc\__init__.py", line 109, in _command
    'Pattern: %s\nReceived: %s' % (return_re.pattern, cmd_ret))
VLCBadReturn: Pattern: ^(?!status change:)>?\s*(?P<playing>\d+)
?

Received: 
2017-06-28 20:30:09,440::VLCRemote::DEBUG::-> Sending: is_playing
2017-06-28 20:30:12,440::TraktForVLC::ERROR::An unknown error occurred
Traceback (most recent call last):
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 394, in run
    self.main()
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 431, in main
    vlcStatus = vlc.is_playing()
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\vlcrc\__init__.py", line 152, in is_playing
    playing = self._command('is_playing', fn_re, raw=True)
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\vlcrc\__init__.py", line 109, in _command
    'Pattern: %s\nReceived: %s' % (return_re.pattern, cmd_ret))
VLCBadReturn: Pattern: ^(?!status change:)>?\s*(?P<playing>\d+)
?

Received: 
2017-06-28 20:30:17,440::VLCRemote::DEBUG::-> Sending: is_playing
2017-06-28 20:30:20,440::TraktForVLC::ERROR::An unknown error occurred
Traceback (most recent call last):
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 394, in run
    self.main()
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 431, in main
    vlcStatus = vlc.is_playing()
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\vlcrc\__init__.py", line 152, in is_playing
    playing = self._command('is_playing', fn_re, raw=True)
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\vlcrc\__init__.py", line 109, in _command
    'Pattern: %s\nReceived: %s' % (return_re.pattern, cmd_ret))
VLCBadReturn: Pattern: ^(?!status change:)>?\s*(?P<playing>\d+)
?

Received: 
2017-06-28 20:30:25,456::VLCRemote::DEBUG::-> Sending: is_playing
2017-06-28 20:30:28,456::TraktForVLC::ERROR::An unknown error occurred
Traceback (most recent call last):
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 394, in run
    self.main()
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 431, in main
    vlcStatus = vlc.is_playing()
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\vlcrc\__init__.py", line 152, in is_playing
    playing = self._command('is_playing', fn_re, raw=True)
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\vlcrc\__init__.py", line 109, in _command
    'Pattern: %s\nReceived: %s' % (return_re.pattern, cmd_ret))
VLCBadReturn: Pattern: ^(?!status change:)>?\s*(?P<playing>\d+)
?

Received: 
2017-06-28 20:30:33,549::VLCRemote::DEBUG::-> Sending: is_playing
2017-06-28 20:30:36,611::TraktForVLC::ERROR::An unknown error occurred
Traceback (most recent call last):
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 394, in run
    self.main()
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 431, in main
    vlcStatus = vlc.is_playing()
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\vlcrc\__init__.py", line 152, in is_playing
    playing = self._command('is_playing', fn_re, raw=True)
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\vlcrc\__init__.py", line 109, in _command
    'Pattern: %s\nReceived: %s' % (return_re.pattern, cmd_ret))
VLCBadReturn: Pattern: ^(?!status change:)>?\s*(?P<playing>\d+)
?

Received: 
2017-06-28 20:30:41,753::VLCRemote::DEBUG::-> Sending: is_playing
2017-06-28 20:30:44,753::TraktForVLC::ERROR::An unknown error occurred
Traceback (most recent call last):
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 394, in run
    self.main()
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 431, in main
    vlcStatus = vlc.is_playing()
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\vlcrc\__init__.py", line 152, in is_playing
    playing = self._command('is_playing', fn_re, raw=True)
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\vlcrc\__init__.py", line 109, in _command
    'Pattern: %s\nReceived: %s' % (return_re.pattern, cmd_ret))
VLCBadReturn: Pattern: ^(?!status change:)>?\s*(?P<playing>\d+)
?

Received: 
2017-06-28 20:30:49,815::VLCRemote::DEBUG::-> Sending: is_playing
2017-06-28 20:30:52,815::TraktForVLC::ERROR::An unknown error occurred
Traceback (most recent call last):
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 394, in run
    self.main()
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 431, in main
    vlcStatus = vlc.is_playing()
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\vlcrc\__init__.py", line 152, in is_playing
    playing = self._command('is_playing', fn_re, raw=True)
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\vlcrc\__init__.py", line 109, in _command
    'Pattern: %s\nReceived: %s' % (return_re.pattern, cmd_ret))
VLCBadReturn: Pattern: ^(?!status change:)>?\s*(?P<playing>\d+)
?

Received: 
2017-06-28 20:30:57,924::VLCRemote::DEBUG::-> Sending: is_playing
2017-06-28 20:31:00,940::TraktForVLC::ERROR::An unknown error occurred
Traceback (most recent call last):
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 394, in run
    self.main()
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 431, in main
    vlcStatus = vlc.is_playing()
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\vlcrc\__init__.py", line 152, in is_playing
    playing = self._command('is_playing', fn_re, raw=True)
  File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\vlcrc\__init__.py", line 109, in _command
    'Pattern: %s\nReceived: %s' % (return_re.pattern, cmd_ret))
VLCBadReturn: Pattern: ^(?!status change:)>?\s*(?P<playing>\d+)

@XaF
Copy link
Owner

XaF commented Jun 28, 2017

This is a different error.
What VLC remote control are you using? What version of VLC? It seems that remote control is answering by saying "type pause to continue" when we ask for the status of the video while the video is in Pause.

@Dimsok
Copy link
Author

Dimsok commented Jun 28, 2017

But when i'm watching i still can see on trakt site in red stripe the movie which i'm watching. If i was in need to renew the pin i couldn't see it at all, right?

@Dimsok
Copy link
Author

Dimsok commented Jun 28, 2017

I was in vlc 2.2.4 a couple of days ago and when i was noticed about new 2.2.6, i have updated to it, so now 2.2.6

@XaF
Copy link
Owner

XaF commented Jun 28, 2017

I'm using VLC 2.2.6 and I do not have that output for the RC. Are you using oldrc ? rc? lua?

In trakt's API documentation: 403 Forbidden - invalid API key or unapproved app
Means that either the application API key is invalid - which would mean that it would not work for me either - or the app is not anymore approved for your account. You should renew the PIN auth and see.

@Dimsok
Copy link
Author

Dimsok commented Jun 28, 2017

I have rc as in documentation was mentioned that it should work better.

@Dimsok
Copy link
Author

Dimsok commented Jun 28, 2017

If i was failed to make it scrobble with renew pin should i try on 2.2.4 or you don't think that's the reason? I didn't try to watch full movies since you made it works with imdpie. Before, with omdb it was marked scrobbled correct and there was no issue with pausing as i remember.

@XaF
Copy link
Owner

XaF commented Jun 28, 2017

It is not related to the movie detection.
That seems to be related to VLC, and it's posible that the VLC issue made TraktForVLC act unaccordingly. However, I'm unable to reproduce the VLC issue.

@Dimsok
Copy link
Author

Dimsok commented Jun 28, 2017

If i have in settings to mark it scrobble from 90%, can i rewind it for example on 89, and then when it will became 90 it should be scrobbled? Before when i did try it, it didn't marked, Only movies, which i have started from the start.

@Dimsok
Copy link
Author

Dimsok commented Jun 29, 2017

I have made successful scrobble, but problem with pausing and resuming still exist for me.

6-29 08:16:07,645::TraktForVLC::INFO::Frenzy is currently watching on Trakt...
2017-06-29 08:16:12,645::VLCRemote::DEBUG::-> Sending: is_playing
2017-06-29 08:16:12,645::VLCRemote::DEBUG::<- Received: 1
2017-06-29 08:16:12,645::VLCRemote::DEBUG::-> Sending: get_length
2017-06-29 08:16:12,661::VLCRemote::DEBUG::<- Received: 6945
2017-06-29 08:16:12,661::VLCRemote::DEBUG::-> Sending: status
2017-06-29 08:16:15,661::TraktForVLC::ERROR::An unknown error occurred
Traceback (most recent call last):
File "c:\PROGRA1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 394, in run
self.main()
File "c:\PROGRA
1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 442, in main
currentFilePath = vlc.get_filename()
File "c:\PROGRA1\VideoLAN\VLC\TraktForVLC\vlcrc_init_.py", line 123, in get_filename
match = self._command('status', fn_re, raw=True)
File "c:\PROGRA
1\VideoLAN\VLC\TraktForVLC\vlcrc_init_.py", line 109, in _command
'Pattern: %s\nReceived: %s' % (return_re.pattern, cmd_ret))
VLCBadReturn: Pattern: input: (?P(?P[a-z]*)://(?P.+?)) )
Received: Type 'pause' to continue.

status: returned 0 (no error)

2017-06-29 08:16:20,677::VLCRemote::DEBUG::-> Sending: is_playing
2017-06-29 08:16:23,677::TraktForVLC::ERROR::An unknown error occurred
Traceback (most recent call last):
File "c:\PROGRA1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 394, in run
self.main()
File "c:\PROGRA
1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 431, in main
vlcStatus = vlc.is_playing()
File "c:\PROGRA1\VideoLAN\VLC\TraktForVLC\vlcrc_init_.py", line 152, in is_playing
playing = self._command('is_playing', fn_re, raw=True)
File "c:\PROGRA
1\VideoLAN\VLC\TraktForVLC\vlcrc_init_.py", line 109, in _command
'Pattern: %s\nReceived: %s' % (return_re.pattern, cmd_ret))
VLCBadReturn: Pattern: ^(?!status change:)>?\s*(?P\d+)

You don't have such problem with 2.2.6?

And what if i make short internet reconnection? Should it still works? I get:

017-06-29 08:23:44,005::TraktForVLC::DEBUG::main::Video: {'duration': 6945, 'show_imdbid': None, 'episode': -1, 'title': u'Frenzy', 'tv': False, 'imdbid': u'tt0068611', 'percentage': 1, 'year': 1972, 'season': -1}
2017-06-29 08:23:44,005::TraktForVLC::DEBUG::main::This video is scrobbled : False
2017-06-29 08:23:44,005::TraktForVLC::DEBUG::main::Trying to mark Frenzy watching on Trakt...
2017-06-29 08:23:44,005::TraktClient::DEBUG::Sending POST to https://api-v2launch.trakt.tv/scrobble/start data {"app_date": "2017-06-26", "movie": {"ids": {"imdb": "tt0068611"}}, "app_version": "1.3.0-rc5", "progress": 1}
2017-06-29 08:23:44,005::TraktClient::DEBUG::{"app_date": "2017-06-26", "movie": {"ids": {"imdb": "tt0068611"}}, "app_version": "1.3.0-rc5", "progress": 1}
2017-06-29 08:23:44,005::requests.packages.urllib3.connectionpool::INFO::Starting new HTTPS connection (1): api-v2launch.trakt.tv
2017-06-29 08:23:44,677::TraktForVLC::ERROR::An unknown error occurred
Traceback (most recent call last):
File "c:\PROGRA1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 394, in run
self.main()
File "c:\PROGRA
1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 554, in main
self.get_episode(video))
File "c:\PROGRA1\VideoLAN\VLC\TraktForVLC\TraktClient.py", line 420, in startWatching
return self.__watching('start', imdb_id, progress, episode)
File "c:\PROGRA
1\VideoLAN\VLC\TraktForVLC\TraktClient.py", line 392, in __watching
return self._scrobble(action, data)
File "c:\PROGRA1\VideoLAN\VLC\TraktForVLC\TraktClient.py", line 338, in __scrobble
stream = self.call_method('scrobble/%s' % action, 'POST', data)
File "c:\PROGRA
1\VideoLAN\VLC\TraktForVLC\TraktClient.py", line 217, in call_method
verify=verifyHTTPS)
File "c:\PROGRA1\VideoLAN\VLC\TraktForVLC\requests\api.py", line 108, in post
return request('post', url, data=data, json=json, **kwargs)
File "c:\PROGRA
1\VideoLAN\VLC\TraktForVLC\requests\api.py", line 50, in request
response = session.request(method=method, url=url, **kwargs)
File "c:\PROGRA1\VideoLAN\VLC\TraktForVLC\requests\sessions.py", line 464, in request
resp = self.send(prep, **send_kwargs)
File "c:\PROGRA
1\VideoLAN\VLC\TraktForVLC\requests\sessions.py", line 576, in send
r = adapter.send(request, **kwargs)
File "c:\PROGRA1\VideoLAN\VLC\TraktForVLC\requests\adapters.py", line 415, in send
raise ConnectionError(err, request=request)
ConnectionError: ('Connection aborted.', error(10051, 'A socket operation was attempted to an unreachable network'))
2017-06-29 08:23:50,505::VLCRemote::DEBUG::-> Sending: is_playing
2017-06-29 08:23:53,505::TraktForVLC::ERROR::An unknown error occurred
Traceback (most recent call last):
File "c:\PROGRA
1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 394, in run
self.main()
File "c:\PROGRA1\VideoLAN\VLC\TraktForVLC\TraktForVLC.py", line 431, in main
vlcStatus = vlc.is_playing()
File "c:\PROGRA
1\VideoLAN\VLC\TraktForVLC\vlcrc_init
.py", line 152, in is_playing
playing = self.command('is_playing', fn_re, raw=True)
File "c:\PROGRA~1\VideoLAN\VLC\TraktForVLC\vlcrc_init
.py", line 109, in _command
'Pattern: %s\nReceived: %s' % (return_re.pattern, cmd_ret))
VLCBadReturn: Pattern: ^(?!status change:)>?\s*(?P\d+)

@Dimsok
Copy link
Author

Dimsok commented Jul 3, 2017

I setted up in config to scrobble with 60%, but it doesn't. After 60% traktforvlc stop to connect every minute, not error log, but it doesn't mark movies on trakt as scrobbled. When it setted with 90% it does. I have tried before with less then 60, but it didn't work also, only 90.

@XaF
Copy link
Owner

XaF commented Apr 16, 2018

TraktForVLC 2.x makes that issue obsolete - #88

@XaF XaF closed this as completed Apr 16, 2018
@XaF XaF added the wontfix label Apr 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants