Kodi Community Forum
[RELEASE] trakt.tv tv/movie scrobbler - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Service Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=152)
+---- Thread: [RELEASE] trakt.tv tv/movie scrobbler (/showthread.php?tid=138745)



RE: [RELEASE] trakt.tv tv/movie scrobbler - virduk - 2014-01-21

So I've just started to try and use trakt and the addon for xbmc.

Anyway I can't get scrobbling or syncing to work properly. With scrobbling it seems for some reason not to update the relevant entry in my trakt account. But it seems all configured right as i watched a movie and once it finished XBMC asked me for a rating for the movie and then it tried to update my trakt account. What it did was update the page with the movie rating I gave it, but failed to update the page to say I had watched the film.

The relevant bits of xbmc log looks like this:

20:14:36 T:7700 NOTICE: [trakt] [Scrobbler] watching()
20:14:36 T:7700 NOTICE: [trakt] [traktAPI] watching(url: https://api.trakt.tv/movie/watching/b6135e0f7510a44021fac8c03c36c81a17be35d9, data: {'duration': 137.0, 'progress': 100.0, 'title': u'A Clockwork Orange', 'year': 1971, 'imdb_id': u'tt0066921'})
20:14:36 T:7700 NOTICE: [trakt] [Scrobbler] Watch response: {'status': 'success'}

20:15:07 T:4872 NOTICE: [trakt] Queued dispatch: {u'action': u'ended'}
20:15:07 T:4872 NOTICE: [trakt] Dispatch: {u'action': u'ended'}
20:15:07 T:4872 NOTICE: [trakt] [Scrobbler] playbackEnded()
20:15:07 T:4872 NOTICE: [trakt] [Rating] Rating Check called for 'movie'

20:15:52 T:4872 NOTICE: [trakt] [Rating] Sending rating (9) to trakt.tv
20:15:52 T:4872 NOTICE: [trakt] [traktAPI] rate(url: https://api.trakt.tv/rate/movie/b6135e0f7510a44021fac8c03c36c81a17be35d9, data: {'rating': 9, 'year': 1971, 'imdb_id': u'tt0066921', 'tmdb_id': 185, 'title': u'A Clockwork Orange'})
20:15:52 T:4872 NOTICE: [trakt] [traktAPI] traktRequest(): Request data: '{"rating": 9, "year": 1971, "imdb_id": "tt0066921", "tmdb_id": 185, "title": "A Clockwork Orange"}'.
20:15:52 T:4872 NOTICE: [trakt] [traktAPI] traktRequest(): Starting retry loop, maximum 5 retries.
20:15:52 T:4872 NOTICE: [trakt] [traktAPI] traktRequest(): (0) Request URL 'https://api.trakt.tv/rate/movie/b6135e0f7510a44021fac8c03c36c81a17be35d9'
20:15:52 T:4872 NOTICE: [trakt] [traktAPI] __getData(): urllib2.Request(https://api.trakt.tv/rate/movie/b6135e0f7510a44021fac8c03c36c81a17be35d9)
20:15:52 T:4872 NOTICE: [trakt] [traktAPI] __getData(): urllib2.urlopen()
20:15:53 T:9356 NOTICE: Thread Jobworker start, auto delete: true
20:15:54 T:4872 NOTICE: [trakt] [traktAPI] __getData(): response.read()
20:15:54 T:4872 NOTICE: [trakt] [traktAPI] __getData(): Response Code: 200
20:15:54 T:4872 NOTICE: [trakt] [traktAPI] __getData(): Response Time: 1782.00 ms
20:15:54 T:4872 NOTICE: [trakt] [traktAPI] __getData(): Response Headers: {'content-length': '217', 'x-powered-by': 'PHP/5.5.8-1~dotdeb.1', 'vary': 'Accept-Encoding', 'server': 'nginx/1.4.4', 'connection': 'Close', 'date': 'Tue, 21 Jan 2014 09:16:16 GMT', 'content-type': 'application/json'}
20:15:54 T:4872 NOTICE: [trakt] [traktAPI] traktRequest(): (0) JSON response: '{u'status': u'success', u'rating': 9, u'ratings': {u'loved': 1727, u'percentage': 84, u'votes': 1865, u'hated': 138}, u'twitter': False, u'tumblr': False, u'facebook': False, u'path': False, u'message': u'rated A Clockwork Orange (1971)', u'type': u'movie'}'
20:15:54 T:4872 NOTICE: [trakt] [traktAPI] traktRequest(): JSON request was successful.
20:15:54 T:4872 NOTICE: [trakt] [Scrobbler] watched: 8196.81438933 / 8196.99438934
20:15:54 T:4872 NOTICE: [trakt] [Scrobbler] scrobble()
20:15:54 T:4872 NOTICE: [trakt] [traktAPI] scrobble(url: https://api.trakt.tv/movie/scrobble/b6135e0f7510a44021fac8c03c36c81a17be35d9, data: {'duration': 137.0, 'progress': 100.0, 'title': u'A Clockwork Orange', 'year': 1971, 'imdb_id': u'tt0066921'})
20:15:54 T:4872 NOTICE: [trakt] [Scrobbler] Scrobble response: {'status': 'success'}


RE: [RELEASE] trakt.tv tv/movie scrobbler - soder - 2014-01-21

I've been using trakt.tv for years now, and mostly I got no problem. I've used it for scrobble only, both movies and episodes, but never wanted to use the collection part of trakt.tv.

But, now I want my movie library in XBMC to sync to trakt.tv, and in the addon for XBMC (using OpenELEC) I've set the option to sync the movie library, and to sync on library update, and also the default action if lauching the addon manually to sync the library.

The problem is that when I update my xbmc library, nothing happens after that. Also, if I run the addon manually, it just says "syncs movies 1%" http://piclair.com/5ci6g

Here is some lines from my log, just before I killed xbmc (since nothing happend).

Code:
NOTICE: Thread BackgroundLoader start, auto delete: false
10:59:45 T:2629823296  NOTICE: Previous line repeats 1 times.
10:59:45 T:2629823296  NOTICE: Thread XBPyThread start, auto delete: false
10:59:46 T:2629823296  NOTICE: -->Python Interpreter Initialized<--
10:59:46 T:2629823296   ERROR: Exception in thread trakt-sync:
                                            Traceback (most recent call last):
                                              File "./Lib/threading.py", line 551, in __bootstrap_inner
                                              File "/storage/.xbmc/addons/script.trakt/service.py", line 364, in run
                                                sync.sync()
                                              File "/storage/.xbmc/addons/script.trakt/sync.py", line 765, in sync
                                                self.syncMovies()
                                              File "/storage/.xbmc/addons/script.trakt/sync.py", line 713, in syncMovies
                                                xbmcMovies = self.xbmcLoadMovies()
                                              File "/storage/.xbmc/addons/script.trakt/sync.py", line 530, in xbmcLoadMovies
                                                data = utilities.xbmcJsonRequest({'jsonrpc': '2.0', 'id': 0, 'method': 'VideoLibrary.GetMovies', 'params': {'properties': ['title', 'imdbnumber', 'year', 'playcount', 'lastplayed', 'file']}})
                                              File "/storage/.xbmc/addons/script.trakt/utilities.py", line 99, in xbmcJsonRequest
                                                response = json.loads(request)
                                              File "/storage/.xbmc/addons/script.module.simplejson/lib/simplejson/__init__.py", line 488, in loads
                                                return _default_decoder.decode(s)
                                              File "/storage/.xbmc/addons/script.module.simplejson/lib/simplejson/decoder.py", line 370, in decode
                                                obj, end = self.raw_decode(s)
                                              File "/storage/.xbmc/addons/script.module.simplejson/lib/simplejson/decoder.py", line 389, in raw_decode
                                                return self.scan_once(s, idx=_w(s, idx).end())
                                              File "/storage/.xbmc/addons/script.module.simplejson/lib/simplejson/scanner.py", line 119, in scan_once
                                                return _scan_once(string, idx)
                                              File "/storage/.xbmc/addons/script.module.simplejson/lib/simplejson/scanner.py", line 90, in _scan_once
                                                _scan_once, object_hook, object_pairs_hook, memo)
                                              File "/storage/.xbmc/addons/script.module.simplejson/lib/simplejson/decoder.py", line 194, in JSONObject
                                                value, end = scan_once(s, end)
                                              File "/storage/.xbmc/addons/script.module.simplejson/lib/simplejson/scanner.py", line 90, in _scan_once
                                                _scan_once, object_hook, object_pairs_hook, memo)
                                              File "/storage/.xbmc/addons/script.module.simplejson/lib/simplejson/decoder.py", line 194, in JSONObject
                                                value, end = scan_once(s, end)
                                              File "/storage/.xbmc/addons/script.module.simplejson/lib/simplejson/scanner.py", line 92, in _scan_once
                                                return parse_array((string, idx + 1), _scan_once)
                                              File "/storage/.xbmc/addons/script.module.simplejson/lib/simplejson/decoder.py", line 250, in JSONArray
                                                value, end = scan_once(s, end)
                                              File "/storage/.xbmc/addons/script.module.simplejson/lib/simplejson/scanner.py", line 90, in _scan_once
                                                _scan_once, object_hook, object_pairs_hook, memo)
                                              File "/storage/.xbmc/addons/script.module.simplejson/lib/simplejson/decoder.py", line 194, in JSONObject
                                                value, end = scan_once(s, end)
                                              File "/storage/.xbmc/addons/script.module.simplejson/lib/simplejson/scanner.py", line 87, in _scan_once
                                                return parse_string(string, idx + 1, encoding, strict)
                                              File "/storage/.xbmc/addons/script.module.simplejson/lib/simplejson/decoder.py", line 75, in py_scanstring
                                                content = text_type(content, encoding)
                                            UnicodeDecodeError: 'utf8' codec can't decode byte 0xe9 in position 27: invalid continuation byte

/Söder


RE: [RELEASE] trakt.tv tv/movie scrobbler - VladTepz - 2014-01-21

(2014-01-21, 12:10)soder Wrote: I've been using trakt.tv for years now, and mostly I got no problem. I've used it for scrobble only, both movies and episodes, but never wanted to use the collection part of trakt.tv.

But, now I want my movie library in XBMC to sync to trakt.tv, and in the addon for XBMC (using OpenELEC) I've set the option to sync the movie library, and to sync on library update, and also the default action if lauching the addon manually to sync the library.

The problem is that when I update my xbmc library, nothing happens after that. Also, if I run the addon manually, it just says "syncs movies 1%" http://piclair.com/5ci6g

Here is some lines from my log, just before I killed xbmc (since nothing happend).

Code:
NOTICE: Thread BackgroundLoader start, auto delete: false
10:59:45 T:2629823296  NOTICE: Previous line repeats 1 times.
10:59:45 T:2629823296  NOTICE: Thread XBPyThread start, auto delete: false
10:59:46 T:2629823296  NOTICE: -->Python Interpreter Initialized<--
10:59:46 T:2629823296   ERROR: Exception in thread trakt-sync:
                                            Traceback (most recent call last):
                                              File "./Lib/threading.py", line 551, in __bootstrap_inner
                                              File "/storage/.xbmc/addons/script.trakt/service.py", line 364, in run
                                                sync.sync()
                                              File "/storage/.xbmc/addons/script.trakt/sync.py", line 765, in sync
                                                self.syncMovies()
                                              File "/storage/.xbmc/addons/script.trakt/sync.py", line 713, in syncMovies
                                                xbmcMovies = self.xbmcLoadMovies()
                                              File "/storage/.xbmc/addons/script.trakt/sync.py", line 530, in xbmcLoadMovies
                                                data = utilities.xbmcJsonRequest({'jsonrpc': '2.0', 'id': 0, 'method': 'VideoLibrary.GetMovies', 'params': {'properties': ['title', 'imdbnumber', 'year', 'playcount', 'lastplayed', 'file']}})
                                              File "/storage/.xbmc/addons/script.trakt/utilities.py", line 99, in xbmcJsonRequest
                                                response = json.loads(request)
                                              File "/storage/.xbmc/addons/script.module.simplejson/lib/simplejson/__init__.py", line 488, in loads
                                                return _default_decoder.decode(s)
                                              File "/storage/.xbmc/addons/script.module.simplejson/lib/simplejson/decoder.py", line 370, in decode
                                                obj, end = self.raw_decode(s)
                                              File "/storage/.xbmc/addons/script.module.simplejson/lib/simplejson/decoder.py", line 389, in raw_decode
                                                return self.scan_once(s, idx=_w(s, idx).end())
                                              File "/storage/.xbmc/addons/script.module.simplejson/lib/simplejson/scanner.py", line 119, in scan_once
                                                return _scan_once(string, idx)
                                              File "/storage/.xbmc/addons/script.module.simplejson/lib/simplejson/scanner.py", line 90, in _scan_once
                                                _scan_once, object_hook, object_pairs_hook, memo)
                                              File "/storage/.xbmc/addons/script.module.simplejson/lib/simplejson/decoder.py", line 194, in JSONObject
                                                value, end = scan_once(s, end)
                                              File "/storage/.xbmc/addons/script.module.simplejson/lib/simplejson/scanner.py", line 90, in _scan_once
                                                _scan_once, object_hook, object_pairs_hook, memo)
                                              File "/storage/.xbmc/addons/script.module.simplejson/lib/simplejson/decoder.py", line 194, in JSONObject
                                                value, end = scan_once(s, end)
                                              File "/storage/.xbmc/addons/script.module.simplejson/lib/simplejson/scanner.py", line 92, in _scan_once
                                                return parse_array((string, idx + 1), _scan_once)
                                              File "/storage/.xbmc/addons/script.module.simplejson/lib/simplejson/decoder.py", line 250, in JSONArray
                                                value, end = scan_once(s, end)
                                              File "/storage/.xbmc/addons/script.module.simplejson/lib/simplejson/scanner.py", line 90, in _scan_once
                                                _scan_once, object_hook, object_pairs_hook, memo)
                                              File "/storage/.xbmc/addons/script.module.simplejson/lib/simplejson/decoder.py", line 194, in JSONObject
                                                value, end = scan_once(s, end)
                                              File "/storage/.xbmc/addons/script.module.simplejson/lib/simplejson/scanner.py", line 87, in _scan_once
                                                return parse_string(string, idx + 1, encoding, strict)
                                              File "/storage/.xbmc/addons/script.module.simplejson/lib/simplejson/decoder.py", line 75, in py_scanstring
                                                content = text_type(content, encoding)
                                            UnicodeDecodeError: 'utf8' codec can't decode byte 0xe9 in position 27: invalid continuation byte

/Söder

I've run into the exact same issue, both on Frodo & Gotham. Tried the trakt addon from the repo & downloaded the latest from github with no luck.

What worked for me was using MySQL for the database.
After I started using MySQL, trakt started working perfectly again. I don't know if it was due to having a large library, (8000+ episodes), in a local database or what.

I meant to report this issue, but as I had intended to use MySQL anyways, after I finally got everything setup, I forgot about the issue as everything was working fine.


Hope this helps,

-Vlad


RE: [RELEASE] trakt.tv tv/movie scrobbler - nate1280 - 2014-01-21

(2014-01-21, 11:28)virduk Wrote: So I've just started to try and use trakt and the addon for xbmc.

Anyway I can't get scrobbling or syncing to work properly. With scrobbling it seems for some reason not to update the relevant entry in my trakt account. But it seems all configured right as i watched a movie and once it finished XBMC asked me for a rating for the movie and then it tried to update my trakt account. What it did was update the page with the movie rating I gave it, but failed to update the page to say I had watched the film.

The relevant bits of xbmc log looks like this:
...

Disable the simulate settings, and it will scrobble.

(2014-01-21, 12:10)soder Wrote: I've been using trakt.tv for years now, and mostly I got no problem. I've used it for scrobble only, both movies and episodes, but never wanted to use the collection part of trakt.tv.

But, now I want my movie library in XBMC to sync to trakt.tv, and in the addon for XBMC (using OpenELEC) I've set the option to sync the movie library, and to sync on library update, and also the default action if lauching the addon manually to sync the library.

The problem is that when I update my xbmc library, nothing happens after that. Also, if I run the addon manually, it just says "syncs movies 1%" http://piclair.com/5ci6g

Here is some lines from my log, just before I killed xbmc (since nothing happend).

/Söder

utf8 errors are a pain to debug, and they keep cropping up, I have no idea why. Especially malformed or just plain odd strings from the database seem to cause issues.

From that log snippet, this is occuring right from a json loads, which should be fixed, I can tell because the line it errors on is wrong, thats not what the current (git) code is.

So, my first suggestion is update to latest git version (not sure if the version in the xbmc repo is update yet), and try again. If you do, please report back if its ok, if it still doesn't work, post another log please and will look at it further.


RE: [RELEASE] trakt.tv tv/movie scrobbler - soder - 2014-01-21

(2014-01-21, 16:12)nate1280 Wrote:
(2014-01-21, 11:28)virduk Wrote: So I've just started to try and use trakt and the addon for xbmc.

Anyway I can't get scrobbling or syncing to work properly. With scrobbling it seems for some reason not to update the relevant entry in my trakt account. But it seems all configured right as i watched a movie and once it finished XBMC asked me for a rating for the movie and then it tried to update my trakt account. What it did was update the page with the movie rating I gave it, but failed to update the page to say I had watched the film.

The relevant bits of xbmc log looks like this:
...

Disable the simulate settings, and it will scrobble.

(2014-01-21, 12:10)soder Wrote: I've been using trakt.tv for years now, and mostly I got no problem. I've used it for scrobble only, both movies and episodes, but never wanted to use the collection part of trakt.tv.

But, now I want my movie library in XBMC to sync to trakt.tv, and in the addon for XBMC (using OpenELEC) I've set the option to sync the movie library, and to sync on library update, and also the default action if lauching the addon manually to sync the library.

The problem is that when I update my xbmc library, nothing happens after that. Also, if I run the addon manually, it just says "syncs movies 1%" http://piclair.com/5ci6g

Here is some lines from my log, just before I killed xbmc (since nothing happend).

/Söder

utf8 errors are a pain to debug, and they keep cropping up, I have no idea why. Especially malformed or just plain odd strings from the database seem to cause issues.

From that log snippet, this is occuring right from a json loads, which should be fixed, I can tell because the line it errors on is wrong, thats not what the current (git) code is.

So, my first suggestion is update to latest git version (not sure if the version in the xbmc repo is update yet), and try again. If you do, please report back if its ok, if it still doesn't work, post another log please and will look at it further.

Is that utf8 error the same I had with this post? http://forum.xbmc.org/showthread.php?tid=138745&pid=1528451#pid1528451

What is the best way to try the git version, and still be able to get the update from the repo when a new version comes out?

/Söder


RE: [RELEASE] trakt.tv tv/movie scrobbler - nate1280 - 2014-01-21

soder, its the same error, just triggered from a different location, but errors on the same code line (when getting data from xbmc). The fix was added to the git version almost 3 months ago, altho can't remember if I got any feedback about it working or not.

Easiest way is to just download the zip from github (https://github.com/trakt/script.trakt/archive/master.zip), delete your current addon, and extract it to your addons folder, then rename the folder from "script.trakt-master" to "script.trakt".

When a new repo version comes out, it should update, as the version is usually bumped up then.


RE: [RELEASE] trakt.tv tv/movie scrobbler - soder - 2014-01-21

(2014-01-21, 16:46)nate1280 Wrote: soder, its the same error, just triggered from a different location, but errors on the same code line (when getting data from xbmc). The fix was added to the git version almost 3 months ago, altho can't remember if I got any feedback about it working or not.

Easiest way is to just download the zip from github (https://github.com/trakt/script.trakt/archive/master.zip), delete your current addon, and extract it to your addons folder, then rename the folder from "script.trakt-master" to "script.trakt".

When a new repo version comes out, it should update, as the version is usually bumped up then.

I just updated to the git version and rebooted. When watching the show I had problem with before, I still not scrobble.

/Söder


RE: [RELEASE] trakt.tv tv/movie scrobbler - nate1280 - 2014-01-21

Need new log posting.


RE: [RELEASE] trakt.tv tv/movie scrobbler - soder - 2014-01-21

(2014-01-21, 17:30)nate1280 Wrote: Need new log posting.

OK. Got a fresh rebooted HTPC. Started the show I know didn't work, and then did a library update (that should be followed by a collection sync.

Is there a log on my system now, or do I have to reboot the system again?

EDIT:

Code:
################################################################################
# ... output of cat /storage/.xbmc/temp/xbmc.old.log
# OpenELEC release: Generic.i386-3.2.4
#
################################################################################
16:37:58 T:3018213120  NOTICE: -----------------------------------------------------------------------
16:37:58 T:3018213120  NOTICE: Starting XBMC (12.2 Git:d1002b4), Platform: Linux (OpenELEC (unofficial) - Version: 3.2.4, 3.10.20 i686). Built on Nov 27 2013
16:37:58 T:3018213120  NOTICE: special://xbmc/ is mapped to: /usr/share/xbmc
16:37:58 T:3018213120  NOTICE: special://xbmcbin/ is mapped to: /usr/lib/xbmc
16:37:58 T:3018213120  NOTICE: special://masterprofile/ is mapped to: /storage/.xbmc/userdata
16:37:58 T:3018213120  NOTICE: special://home/ is mapped to: /storage/.xbmc
16:37:58 T:3018213120  NOTICE: special://temp/ is mapped to: /storage/.xbmc/temp
16:37:58 T:3018213120  NOTICE: The executable running is: /usr/lib/xbmc/xbmc.bin
16:37:58 T:3018213120  NOTICE: Local hostname: OpenELEC
16:37:58 T:3018213120  NOTICE: Log File is located: /storage/.xbmc/temp/xbmc.log
16:37:58 T:3018213120  NOTICE: -----------------------------------------------------------------------
16:37:59 T:3018213120   ERROR: CAESinkOSS::EnumerateDevicesEx - Failed to open mixer: /dev/mixer
16:37:59 T:3018213120  NOTICE: Found 1 Lists of Devices
16:37:59 T:3018213120  NOTICE: Enumerated ALSA devices:
16:37:59 T:3018213120  NOTICE:     Device 1
16:37:59 T:3018213120  NOTICE:         m_deviceName      : @
16:37:59 T:3018213120  NOTICE:         m_displayName     : Default (HDA ATI SB ALC889A Analog)
16:37:59 T:3018213120  NOTICE:         m_displayNameExtra:
16:37:59 T:3018213120  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
16:37:59 T:3018213120  NOTICE:         m_channels        : FL,FR,BL,BR,FC,LFE,SL,SR
16:37:59 T:3018213120  NOTICE:         m_sampleRates     : 44100,48000,96000,192000
16:37:59 T:3018213120  NOTICE:         m_dataFormats     : AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE
16:37:59 T:3018213120  NOTICE:     Device 2
16:37:59 T:3018213120  NOTICE:         m_deviceName      : @:CARD=SB,DEV=0
16:37:59 T:3018213120  NOTICE:         m_displayName     : HDA ATI SB
16:37:59 T:3018213120  NOTICE:         m_displayNameExtra: ALC889A Analog
16:37:59 T:3018213120  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
16:37:59 T:3018213120  NOTICE:         m_channels        : FL,FR,BL,BR,FC,LFE,SL,SR
16:37:59 T:3018213120  NOTICE:         m_sampleRates     : 44100,48000,96000,192000
16:37:59 T:3018213120  NOTICE:         m_dataFormats     : AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE
16:37:59 T:3018213120  NOTICE:     Device 3
16:37:59 T:3018213120  NOTICE:         m_deviceName      : iec958:CARD=SB,DEV=0
16:37:59 T:3018213120  NOTICE:         m_displayName     : HDA ATI SB
16:37:59 T:3018213120  NOTICE:         m_displayNameExtra: ALC889A Digital S/PDIF
16:37:59 T:3018213120  NOTICE:         m_deviceType      : AE_DEVTYPE_IEC958
16:37:59 T:3018213120  NOTICE:         m_channels        : FL,FR
16:37:59 T:3018213120  NOTICE:         m_sampleRates     : 44100,48000,88200,96000,192000
16:37:59 T:3018213120  NOTICE:         m_dataFormats     : AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE
16:37:59 T:3018213120  NOTICE: load settings...
16:37:59 T:3018213120  NOTICE: special://profile/ is mapped to: special://masterprofile/
16:37:59 T:3018213120  NOTICE: loading special://masterprofile/guisettings.xml
16:37:59 T:3018213120  NOTICE: Getting hardware information now...
16:37:59 T:3018213120  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
16:37:59 T:3018213120  NOTICE: Loaded playercorefactory configuration
16:37:59 T:3018213120  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
16:37:59 T:3018213120  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
16:37:59 T:3018213120  NOTICE: Loaded settings file from special://xbmc/system/advancedsettings.xml
16:37:59 T:3018213120  NOTICE: Contents of special://xbmc/system/advancedsettings.xml are...
                                            <?xml version="1.0" encoding="UTF-8" ?>
                                            <advancedsettings>
                                              <showexitbutton>false</showexitbutton>
                                              <cputempcommand>cputemp</cputempcommand>
                                              <gputempcommand>gputemp</gputempcommand>
                                              <video>
                                                <latency>
                                                  <delay>0</delay>
                                                  <refresh>
                                                    <min>23</min>
                                                    <max>24</max>
                                                    <delay>175</delay>
                                                  </refresh>
                                                </latency>
                                                <busydialogdelayms>750</busydialogdelayms>
                                              </video>
                                              <samba>
                                                <clienttimeout>30</clienttimeout>
                                              </samba>
                                              <network>
                                                <curlclienttimeout>30</curlclienttimeout>
                                                <readbufferfactor>4.0</readbufferfactor>
                                              </network>
                                            </advancedsettings>
16:37:59 T:3018213120  NOTICE: Getting hardware information now...
16:37:59 T:3018213120  NOTICE: Loaded settings file from special://profile/advancedsettings.xml
16:37:59 T:3018213120  NOTICE: Contents of special://profile/advancedsettings.xml are...
                                            <?xml version="1.0" encoding="UTF-8" ?>
                                            <advancedsettings>
                                              <splash>false</splash>
                                              <showexitbutton>false</showexitbutton>
                                              <cputempcommand>cputemp</cputempcommand>
                                              <gputempcommand>gputemp</gputempcommand>
                                              <samba>
                                                <clienttimeout>30</clienttimeout>
                                              </samba>
                                              <network>
                                                <curlclienttimeout>30</curlclienttimeout>
                                              </network>
                                              <tvshowmatching action="prepend">
                                                <!--    <regexp>[\._ \-]?(?:s|season)[ \.\,\-\_]?([0-9]+)[ \.\,\-\_]?(?:ep|episode)[ \.\,\-\_]?([0-9]{1,3})[ \.\,\-\_]+([^\\\/]*)</regexp>  -->
                                                <!--    <regexp>[\\\/].*s[ \.\,\-\_]?([0-9]+).*[\\\/].*(?:e|ep|part)[ \.\,\-\_]?([0-9]{1,3})[ \.\,\-\_]+[^\\\/]+</regexp>   -->
                                                <!--    <regexp>/S([0-9]+)/.*?S[0-9]+E([0-9]+)[^/\\]*$</regexp>   -->
                                              </tvshowmatching>
                                              <tvshowmatching action="append">
                                                <regexp>[\._ \-]?(?:s|season)[ \.\,\-\_]?([0-9]+)[ \.\,\-\_]?(?:ep|episode)[ \.\,\-\_]?([0-9]{1,3})[ \.\,\-\_]+([^\\\/]*)</regexp>
                                                <regexp>[\\\/].*s[ \.\,\-\_]?([0-9]+).*[\\\/].*(?:e|ep|part)[ \.\,\-\_]?([0-9]{1,3})[ \.\,\-\_]+[^\\\/]+</regexp>
                                                <regexp>(?i)[/\\].*?\Wpart\W?(\d{1,2})\W([^/\\]*)</regexp>
                                              </tvshowmatching>
                                              <video>
                                                <latency>
                                                  <delay>0</delay>
                                                  <refresh>
                                                    <min>23</min>
                                                    <max>24</max>
                                                    <delay>175</delay>
                                                  </refresh>
                                                </latency>
                                                <busydialogdelayms>750</busydialogdelayms>
                                                <subsdelayrange>60</subsdelayrange>
                                              </video>
                                              <videolibrary>
                                                <hideallitems>true</hideallitems>
                                              </videolibrary>
                                              <videoextensions>
                                                <add>.ex1|.ex2</add>
                                                <remove>.dat|.ex4</remove>
                                              </videoextensions>
                                              <pictureextensions>
                                                <add>.ex1|.ex2</add>
                                                <remove>.ex3|.ex4</remove>
                                              </pictureextensions>
                                              <gui>
                                                <algorithmdirtyregions>1</algorithmdirtyregions>
                                                <nofliptimeout>0</nofliptimeout>
                                              </gui>
                                              <songinfoduration>0</songinfoduration>
                                            </advancedsettings>
16:37:59 T:3018213120  NOTICE: Getting hardware information now...
16:37:59 T:3018213120  NOTICE: Default DVD Player: dvdplayer
16:37:59 T:3018213120  NOTICE: Default Video Player: dvdplayer
16:37:59 T:3018213120  NOTICE: Default Audio Player: paplayer
16:37:59 T:3018213120  NOTICE: Disabled debug logging due to GUI setting. Level 0.
16:37:59 T:3018213120  NOTICE: Log level changed to 0
16:37:59 T:3018213120  NOTICE: Loading media sources from special://masterprofile/sources.xml
16:38:00 T:3017964352  NOTICE: Thread CSoftAE start, auto delete: false
16:38:00 T:3018213120  NOTICE: Running database version Addons15
16:38:01 T:3007916864  NOTICE: Thread XBMC Peripherals start, auto delete: false
16:38:01 T:3018213120  NOTICE: Previous line repeats 1 times.
16:38:01 T:3018213120  NOTICE: Setup SDL
16:38:02 T:3018213120  NOTICE: Checking resolution 20
16:38:02 T:3018213120  NOTICE: CWinSystemX11::SetFullScreen - calling xrandr
16:38:02 T:3018213120  NOTICE: Using visual 0x27
16:38:02 T:3018213120  NOTICE: GL_VENDOR = NVIDIA Corporation
16:38:02 T:3018213120  NOTICE: GL_RENDERER = GeForce 9400 GT/PCIe/SSE2/3DNOW!
16:38:02 T:3018213120  NOTICE: GL_VERSION = 3.3.0 NVIDIA 304.108
16:38:02 T:3018213120  NOTICE: GL_SHADING_LANGUAGE_VERSION = 3.30 NVIDIA via Cg compiler
16:38:02 T:3018213120  NOTICE: GL_GPU_MEMORY_INFO_TOTAL_AVAILABLE_MEMORY_NVX = 1048576
16:38:02 T:3018213120  NOTICE: GL_GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX = 1048576
16:38:02 T:3018213120  NOTICE: GL_EXTENSIONS = GL_ARB_base_instance GL_ARB_blend_func_extended GL_ARB_color_buffer_float GL_ARB_compatibility GL_ARB_compressed_texture_pixel_storage GL_ARB_conservative_depth GL_ARB_copy_buffer GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_draw_elements_base_vertex GL_ARB_draw_instanced GL_ARB_ES2_compatibility GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_geometry_shader4 GL_ARB_get_program_binary GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_imaging GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_map_buffer_alignment GL_ARB_map_buffer_range GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_occlusion_query2 GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_provoking_vertex GL_ARB_robustness GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_objects GL_ARB_shader_texture_lod GL_ARB_shading_language_100 GL_ARB_shading_language_420pack GL_ARB_shading_language_include GL_ARB_shading_language_packing GL_ARB_shadow GL_ARB_sync GL_ARB_texture_border_clamp GL_ARB_texture_buffer_object GL_ARB_texture_compression GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_multisample GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_texture_rgb10_a2ui GL_ARB_texture_storage GL_ARB_texture_swizzle GL_ARB_timer_query GL_ARB_transpose_matrix GL_ARB_uniform_buffer_object GL_ARB_vertex_array_bgra GL_ARB_vertex_array_object GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_texture_float GL_ATI_texture_mirror_once GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_bindable_uniform GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_Cg_shader GL_EXT_depth_bounds_test GL_EXT_direct_state_access GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXTX_framebuffer_mixed_formats GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_geometry_shader4 GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_shader_objects GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_array GL_EXT_texture_buffer_object GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_latc GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_integer GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_shared_exponent GL_EXT_texture_sRGB GL_EXT_texture_sRGB_decode GL_EXT_texture_storage GL_EXT_texture_swizzle GL_EXT_texture_type_2_10_10_10_REV GL_EXT_timer_query GL_EXT_vertex_array GL_EXT_vertex_array_bgra GL_EXT_x11_sync_object GL_EXT_import_sync_object GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_alpha_test GL_NV_blend_minmax GL_NV_blend_square GL_NV_complex_primitives GL_NV_conditional_render GL_NV_copy_depth_to_color GL_NV_copy_image GL_NV_depth_buffer_float GL_NV_depth_clamp GL_NV_ES1_1_compatibility GL_NV_explicit_multisample GL_NV_fbo_color_attachments GL_NV_fence GL_NV_float_buffer GL_NV_fog_distance GL_NV_fragdepth GL_NV_fragment_program GL_NV_fragment_program_option GL_NV_fragment_program2 GL_NV_framebuffer_multisample_coverage GL_NV_geometry_shader4 GL_NV_gpu_program4 GL_NV_half_float GL_NV_light_max_exponent GL_NV_multisample_coverage GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_parameter_buffer_object GL_NV_parameter_buffer_object2 GL_NV_path_rendering GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_primitive_restart GL_NV_register_combiners GL_NV_register_combiners2 GL_NV_shader_buffer_load GL_NV_texgen_reflection GL_NV_texture_barrier GL_NV_texture_compression_vtc GL_NV_texture_env_combine4 GL_NV_texture_expand_normal GL_NV_texture_lod_clamp GL_NV_texture_multisample GL_NV_texture_rectangle GL_NV_texture_shader GL_NV_texture_shader2 GL_NV_texture_shader3 GL_NV_transform_feedback GL_NV_vdpau_interop GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_buffer_unified_memory GL_NV_vertex_program GL_NV_vertex_program1_1 GL_NV_vertex_program2 GL_NV_vertex_program2_option GL_NV_vertex_program3 GL_NVX_conditional_render GL_NVX_gpu_memory_info GL_OES_compressed_paletted_texture GL_OES_depth24 GL_OES_depth32 GL_OES_depth_texture GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_point_size_array GL_OES_point_sprite GL_OES_rgb8_rgba8 GL_OES_read_format GL_OES_standard_derivatives GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_array_object GL_OES_vertex_half_float GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum
16:38:02 T:3018213120  NOTICE: CWinSystemX11::SetFullScreen - calling xrandr
16:38:02 T:3018213120   ERROR: Remote Translator: Can't find button eject
16:38:02 T:3018213120   ERROR: Previous line repeats 1 times.
16:38:02 T:3018213120  NOTICE: Running database version Addons15
16:38:02 T:3018213120  NOTICE: Running database version ViewModes4
16:38:02 T:3018213120  NOTICE: Running database version Textures13
16:38:03 T:3018213120  NOTICE: Running database version MyMusic32
16:38:03 T:3018213120  NOTICE: Running database version MyVideos75
16:38:03 T:3018213120  NOTICE: Running database version TV22
16:38:03 T:3018213120  NOTICE: Running database version Epg7
16:38:03 T:3018213120  NOTICE: start dvd mediatype detection
16:38:03 T:3018213120  NOTICE: initializing playlistplayer
16:38:03 T:3018213120  NOTICE: DONE initializing playlistplayer
16:38:03 T:2988518208  NOTICE: Thread CDetectDVDMedia start, auto delete: false
16:38:06 T:2915150656  NOTICE: Thread XBPyThread start, auto delete: false
16:38:06 T:3018213120  NOTICE: Previous line repeats 10 times.
16:38:06 T:3018213120   ERROR: Python script "script.tv.show.next.aired" does not exist
16:38:06 T:3018213120  NOTICE: initialize done
16:38:06 T:3018213120  NOTICE: Running the application...
16:38:06 T:3018213120  NOTICE: Webserver: Starting...
16:38:06 T:3018213120  NOTICE: WebServer: Started the webserver
16:38:06 T:2873187136  NOTICE: Thread XBPyThread start, auto delete: false
16:38:06 T:3018213120  NOTICE: Previous line repeats 1 times.
16:38:06 T:3018213120  NOTICE: starting upnp server
16:38:06 T:3018213120  NOTICE: starting upnp renderer
16:38:06 T:3018213120  NOTICE: ES: Starting event server
16:38:06 T:3018213120  NOTICE: starting zeroconf publishing
16:38:06 T:2772474688  NOTICE: Thread CEventServer start, auto delete: false
16:38:06 T:2772474688  NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777
16:38:06 T:2772474688  NOTICE: UDP: Listening on port 9777
16:38:06 T:2764081984  NOTICE: Thread CTCPServer start, auto delete: false
16:38:06 T:2755689280  NOTICE: Thread Jobworker start, auto delete: true
16:38:06 T:3018213120   ERROR: CWinEventsX11::MessagePump - missed XRR Events
16:38:06 T:2747296576  NOTICE: Thread AirPlayServer start, auto delete: false
16:38:06 T:2722118464  NOTICE: Thread CScrobbler start, auto delete: false
16:38:06 T:2730511168  NOTICE: Thread Jobworker start, auto delete: true
16:38:06 T:2889972544  NOTICE: -->Python Interpreter Initialized<--
16:38:07 T:2898365248  NOTICE: -->Python Interpreter Initialized<--
16:38:07 T:2965506880  NOTICE: -->Python Interpreter Initialized<--
16:38:07 T:2881579840  NOTICE: -->Python Interpreter Initialized<--
16:38:07 T:2923543360  NOTICE: -->Python Interpreter Initialized<--
16:38:07 T:2873187136  NOTICE: -->Python Interpreter Initialized<--
16:38:07 T:2915150656  NOTICE: -->Python Interpreter Initialized<--
16:38:07 T:2864794432  NOTICE: -->Python Interpreter Initialized<--
16:38:07 T:2940328768  NOTICE: -->Python Interpreter Initialized<--
16:38:07 T:2931936064  NOTICE: -->Python Interpreter Initialized<--
16:38:07 T:2906757952  NOTICE: -->Python Interpreter Initialized<--
16:38:07 T:2948721472  NOTICE: -->Python Interpreter Initialized<--
16:38:07 T:2864794432  NOTICE: ## OpenELEC Addon ## 0.2.20
16:38:08 T:2898365248  NOTICE:  StorageServer Module loaded RUN(instance only)
16:38:08 T:2898365248  NOTICE: StorageClient-2.5.2 Starting server
16:38:08 T:2873187136  NOTICE: StorageServer-2.5.2 Storage Server starting /storage/.xbmc/temp/commoncache.db
16:38:08 T:2957114176  NOTICE: -->Python Interpreter Initialized<--
16:38:08 T:2898365248  NOTICE: Artwork Downloader: ## Service - Run at startup: False
16:38:08 T:2898365248  NOTICE: Artwork Downloader: ## Service - Delayed startup:  minutes
16:38:08 T:2898365248  NOTICE: Artwork Downloader: ## Service - Run as service: False
16:38:08 T:2898365248  NOTICE: Artwork Downloader: ## Service - Time: :00
16:38:09 T:2957114176  NOTICE: [trakt] Loading 'script.trakt' version '2.3.2'
16:38:09 T:2957114176  NOTICE: [trakt] Service thread starting.
16:38:10 T:2957114176  NOTICE: [trakt] [traktPlayer] Initalized.
16:38:10 T:2957114176  NOTICE: [trakt] [traktMonitor] Initalized.
16:38:10 T:2957114176  NOTICE: [trakt] [traktAPI] Initializing.
16:38:11 T:2688547648  NOTICE: Thread XBPyThread start, auto delete: false
16:38:11 T:2680154944  NOTICE: Thread CAlarmClock start, auto delete: false
16:38:11 T:2663299904  NOTICE: Thread Jobworker start, auto delete: true
16:38:11 T:2957114176  NOTICE: [trakt] Queued dispatch: {u'action': u'loadsettings'}
16:38:11 T:2957114176  NOTICE: [trakt] Dispatch: {u'action': u'loadsettings'}
16:38:11 T:2957114176  NOTICE: [trakt] [traktAPI] Loaded cached account settings for 'soder'.
16:38:11 T:2688547648  NOTICE: -->Python Interpreter Initialized<--
16:38:13 T:2643458880  NOTICE: Thread Jobworker start, auto delete: true
16:38:19 T:2585836352  NOTICE: Thread BackgroundLoader start, auto delete: false
16:38:23 T:2873187136  NOTICE: StorageServer-2.5.2 Closed down
16:38:39 T:2898365248  NOTICE: Thread BackgroundLoader start, auto delete: false
16:38:48 T:2663299904  NOTICE: Previous line repeats 3 times.
16:38:48 T:2663299904 WARNING: GetIcon - Unknown nodetype requested videodb://2/2/196/1/?tvshowid=196
16:38:48 T:2663299904 WARNING: GetIcon - Unknown nodetype requested videodb://2/2/196/2/?tvshowid=196
16:38:48 T:2898365248  NOTICE: Thread BackgroundLoader start, auto delete: false
16:38:52 T:3018213120  NOTICE: Previous line repeats 3 times.
16:38:52 T:3018213120  NOTICE: DVDPlayer: Opening: /var/media/hdd2/videos/series/_SVENSKA_SERIER/Varan-TV/Varan-TV.S01E01.Rollspel.och.sånt.720p.WEB-DL.soder.mp4
16:38:52 T:3018213120 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
16:38:52 T:3018213120  NOTICE: CXBMCRenderManager::ResetRenderBuffer - using 5 render buffers
16:38:52 T:2898365248  NOTICE: Thread CDVDPlayer start, auto delete: false
16:38:52 T:2898365248  NOTICE: Creating InputStream
16:38:52 T:2898365248  NOTICE: Creating Demuxer
16:38:53 T:2898365248  NOTICE: Opening video stream: 0 source: 256
16:38:53 T:2898365248  NOTICE: Creating video codec with codec id: 28
16:38:53 T:2898365248  NOTICE: CDVDVideoCodecFFmpeg::Open() Creating VDPAU(1280x720, 28)
16:38:53 T:2898365248  NOTICE: vdp_device = 0x00000001 vdp_st = 0x00000000
16:38:53 T:2898365248  NOTICE: VDPAU Decoder capabilities:
16:38:53 T:2898365248  NOTICE: name          level macbs width height
16:38:53 T:2898365248  NOTICE: ------------------------------------
16:38:53 T:2898365248  NOTICE: MPEG1             0  8192  2048  2048
16:38:53 T:2898365248  NOTICE: MPEG2_SIMPLE      3  8192  2048  2048
16:38:53 T:2898365248  NOTICE: MPEG2_MAIN        3  8192  2048  2048
16:38:53 T:2898365248  NOTICE: H264_MAIN        41  8192  2048  2048
16:38:53 T:2898365248  NOTICE: H264_HIGH        41  8192  2048  2048
16:38:53 T:2898365248  NOTICE: VC1_SIMPLE        1  8190  2048  2048
16:38:53 T:2898365248  NOTICE: VC1_MAIN          2  8190  2048  2048
16:38:53 T:2898365248  NOTICE: VC1_ADVANCED      4  8190  2048  2048
16:38:53 T:2898365248  NOTICE: ------------------------------------
16:38:53 T:2898365248  NOTICE: Mixer feature: VDP_VIDEO_MIXER_FEATURE_NOISE_REDUCTION
16:38:53 T:2898365248  NOTICE: Mixer feature: VDP_VIDEO_MIXER_FEATURE_SHARPNESS
16:38:53 T:2898365248  NOTICE: Mixer feature: VDP_VIDEO_MIXER_FEATURE_DEINTERLACE_TEMPORAL
16:38:53 T:2898365248  NOTICE: Mixer feature: VDP_VIDEO_MIXER_FEATURE_DEINTERLACE_TEMPORAL_SPATIAL
16:38:53 T:2898365248  NOTICE: Mixer feature: VDP_VIDEO_MIXER_FEATURE_INVERSE_TELECINE
16:38:53 T:2898365248  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (VDPAU acceleration)
16:38:53 T:2873187136  NOTICE: Thread CVideoReferenceClock start, auto delete: false
16:38:53 T:2898365248  NOTICE: Creating video thread
16:38:53 T:2688547648  NOTICE: Thread CDVDPlayerVideo start, auto delete: false
16:38:53 T:2898365248  NOTICE: Opening audio stream: 1 source: 256
16:38:53 T:2898365248  NOTICE: Finding audio codec for: 86018
16:38:53 T:2898365248  NOTICE: Creating audio thread
16:38:53 T:2688547648  NOTICE: running thread: video_thread
16:38:53 T:2594229056  NOTICE: Thread CDVDPlayerAudio start, auto delete: false
16:38:53 T:2594229056  NOTICE: running thread: CDVDPlayerAudio::Process()
16:38:53 T:2594229056  NOTICE: Creating audio stream (codec id: 86018, channels: 2, sample rate: 48000, no pass-through)
16:38:53 T:2688547648  NOTICE:  (VDPAU) screenWidth:1280 vidWidth:1280 surfaceWidth:1280
16:38:53 T:2688547648  NOTICE:  (VDPAU) screenHeight:720 vidHeight:720 surfaceHeight:720
16:38:53 T:2551982912  NOTICE: Thread Vdpau Output Thread start, auto delete: false
16:38:53 T:2551982912  NOTICE: COutput::OnStartup: Output Thread created
16:38:53 T:2551982912  NOTICE: VDPAU::COutput::CreateGlxContext - created context
16:38:53 T:2551982912  NOTICE: VDPAU::COutput GL interop supported
16:38:53 T:2551982912  NOTICE: VDPAU::COutput: vdpau gl interop initialized
16:38:53 T:2543590208  NOTICE: Thread Vdpau Mixer Thread start, auto delete: false
16:38:53 T:2543590208  NOTICE: CMixer::OnStartup: Output Thread created
16:38:53 T:2543590208  NOTICE:  (VDPAU) Creating the video mixer
16:38:53 T:2551982912  NOTICE: VDPAU::COutput::InitBufferPool - Output Surface created
16:38:53 T:2551982912  NOTICE: Previous line repeats 8 times.
16:38:53 T:2551982912  NOTICE: VDPAU::COutput registered output surfaces
16:38:53 T:2688547648  NOTICE:  fps: 25.000000, pwidth: 1280, pheight: 720, dwidth: 1280, dheight: 720
16:38:53 T:2688547648  NOTICE: Display resolution ADJUST : DVI-I-1: 1920x1080 @ 50.00Hz (23) (weight: 0.000)
16:38:53 T:2688547648  NOTICE: CXBMCRenderManager::ResetRenderBuffer - using 5 render buffers
16:38:53 T:3018213120  NOTICE: CWinSystemX11::SetFullScreen - calling xrandr
16:38:53 T:2606631744  NOTICE: Thread CDelayedMessage start, auto delete: true
16:38:53 T:3018213120  NOTICE: CXBMCRenderManager::ResetRenderBuffer - using 5 render buffers
16:38:53 T:3018213120  NOTICE: CVDPAU::OnLostDevice event
16:38:53 T:3018213120  NOTICE:  (VDPAU) FiniVDPAUOutput
16:38:53 T:2543590208  NOTICE: CMixer::OnExit: Output Thread terminated
16:38:53 T:2551982912  NOTICE: VDPAU::COutput: vdpau gl interop finished
16:38:53 T:2551982912  NOTICE: COutput::OnExit: Output Thread terminated
16:38:54 T:3018213120  NOTICE: CXBMCRenderManager::ResetRenderBuffer - using 5 render buffers
16:38:54 T:3018213120  NOTICE: CVDPAU::OnLostDevice event
16:38:54 T:3018213120  NOTICE: CVDPAU::OnResetDevice event
16:38:54 T:3018213120  NOTICE: Using GL_TEXTURE_2D
16:38:54 T:3018213120  NOTICE: GL: Using VDPAU render method
16:38:54 T:3018213120  NOTICE: GL: NPOT texture support detected
16:38:54 T:3018213120  NOTICE: GL: Using GL_ARB_pixel_buffer_object
16:38:54 T:2688547648  NOTICE: vdp_device = 0x00000001 vdp_st = 0x00000000
16:38:54 T:2688547648  NOTICE:  (VDPAU) screenWidth:1280 vidWidth:1280 surfaceWidth:1280
16:38:54 T:2688547648  NOTICE:  (VDPAU) screenHeight:720 vidHeight:720 surfaceHeight:720
16:38:54 T:3018213120 WARNING: CRenderCaptureGL: GL_ARB_occlusion_query disabled, performance might suffer
16:38:54 T:2551982912  NOTICE: Thread Vdpau Output Thread start, auto delete: false
16:38:54 T:2551982912  NOTICE: COutput::OnStartup: Output Thread created
16:38:54 T:2551982912  NOTICE: VDPAU::COutput::CreateGlxContext - created context
16:38:54 T:2551982912  NOTICE: VDPAU::COutput GL interop supported
16:38:54 T:2551982912  NOTICE: VDPAU::COutput: vdpau gl interop initialized
16:38:54 T:2543590208  NOTICE: Thread Vdpau Mixer Thread start, auto delete: false
16:38:54 T:2543590208  NOTICE: CMixer::OnStartup: Output Thread created
16:38:54 T:2543590208  NOTICE:  (VDPAU) Creating the video mixer
16:38:54 T:2551982912  NOTICE: VDPAU::COutput::InitBufferPool - Output Surface created
16:38:54 T:2957114176  NOTICE: Previous line repeats 3 times.
16:38:54 T:2957114176  NOTICE: [trakt] [traktPlayer] onPlayBackStarted() - {u'item': {u'type': u'episode', u'id': 4372, u'label': u'01. Rollspel och s\xe5nt'}}
16:38:54 T:2957114176  NOTICE: [trakt] checkScrobblingExclusion(): Checking exclusion settings for '/var/media/hdd2/videos/series/_SVENSKA_SERIER/Varan-TV/Varan-TV.S01E01.Rollspel.och.sånt.720p.WEB-DL.soder.mp4'.
16:38:54 T:2957114176  NOTICE: [trakt] [traktPlayer] onPlayBackStarted() - Doing multi-part episode check.
16:38:54 T:2957114176  NOTICE: [trakt] [traktPlayer] onPlayBackStarted() - {u'episodedetails': {u'season': 1, u'tvshowid': 196, u'episode': 1, u'episodeid': 4372, u'label': u'Rollspel och s\xe5nt'}}
16:38:54 T:2551982912  NOTICE: VDPAU::COutput::InitBufferPool - Output Surface created
16:38:54 T:2551982912  NOTICE: Previous line repeats 4 times.
16:38:54 T:2551982912  NOTICE: VDPAU::COutput registered output surfaces
16:38:54 T:2957114176   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.UnboundLocalError'>
                                            Error Contents: local variable 'response' referenced before assignment
                                            Traceback (most recent call last):
                                              File "/storage/.xbmc/addons/script.trakt/service.py", line 483, in onPlayBackStarted
                                                result = utilities.xbmcJsonRequest({'jsonrpc': '2.0', 'method': 'VideoLibrary.GetEpisodes', 'params': {'tvshowid': tvshowid, 'season': season, 'properties': ['episode', 'file'], 'sort': {'method': 'episode'}}, 'id': 1})
                                              File "/storage/.xbmc/addons/script.trakt/utilities.py", line 102, in xbmcJsonRequest
                                                Debug("xbmcJsonRequest: UnicodeDecodeError: '%s', Data: '%s'" % (e.message, response))
                                            UnboundLocalError: local variable 'response' referenced before assignment
                                            -->End of Python script error report<--
16:38:55 T:2688547648 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
16:39:28 T:3018213120 WARNING: Previous line repeats 2 times.
16:39:28 T:3018213120  NOTICE: CDVDPlayer::CloseFile()
16:39:28 T:3018213120  NOTICE: DVDPlayer: waiting for threads to exit
16:39:29 T:2898365248  NOTICE: CDVDPlayer::OnExit()
16:39:29 T:2898365248  NOTICE: DVDPlayer: closing audio stream
16:39:29 T:2898365248  NOTICE: Closing audio stream
16:39:29 T:2898365248  NOTICE: Waiting for audio thread to exit
16:39:29 T:2594229056  NOTICE: thread end: CDVDPlayerAudio::OnExit()
16:39:29 T:2898365248  NOTICE: Closing audio device
16:39:29 T:2898365248  NOTICE: Deleting audio codec
16:39:29 T:2898365248  NOTICE: DVDPlayer: closing video stream
16:39:29 T:2898365248  NOTICE: Closing video stream
16:39:29 T:2898365248  NOTICE: waiting for video thread to exit
16:39:29 T:2688547648  NOTICE: thread end: video_thread
16:39:29 T:2898365248  NOTICE: deleting video codec
16:39:29 T:2898365248  NOTICE: CVDPAU::Release pre-cleanup
16:39:29 T:2543590208  NOTICE: CMixer::OnExit: Output Thread terminated
16:39:29 T:2898365248  NOTICE: CDVDPlayer::OnExit() deleting demuxer
16:39:29 T:2898365248  NOTICE: CDVDPlayer::OnExit() deleting input stream
16:39:29 T:3018213120  NOTICE: DVDPlayer: finished waiting
16:39:29 T:3018213120  NOTICE:  (VDPAU) Close
16:39:29 T:3018213120  NOTICE:  (VDPAU) FiniVDPAUOutput
16:39:29 T:2551982912  NOTICE: VDPAU::COutput: vdpau gl interop finished
16:39:29 T:2551982912  NOTICE: COutput::OnExit: Output Thread terminated
16:39:29 T:3018213120  NOTICE: CWinSystemX11::SetFullScreen - calling xrandr
16:39:29 T:3018213120  NOTICE: CXBMCRenderManager::ResetRenderBuffer - using 5 render buffers
16:39:29 T:2898365248  NOTICE: Thread BackgroundLoader start, auto delete: false
16:39:29 T:3018213120  NOTICE: Previous line repeats 1 times.
16:39:29 T:3018213120  NOTICE: CDVDPlayer::CloseFile()
16:39:29 T:3018213120 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
16:39:29 T:3018213120  NOTICE: DVDPlayer: waiting for threads to exit
16:39:29 T:3018213120  NOTICE: DVDPlayer: finished waiting
16:39:29 T:2898365248  NOTICE: Thread Jobworker start, auto delete: true
16:39:29 T:3018213120  NOTICE: CXBMCRenderManager::ResetRenderBuffer - using 5 render buffers
16:39:32 T:2898365248 WARNING: GetIcon - Unknown nodetype requested videodb://2/2/196/1/?tvshowid=196
16:39:32 T:2898365248 WARNING: GetIcon - Unknown nodetype requested videodb://2/2/196/2/?tvshowid=196
16:39:32 T:2873187136  NOTICE: Thread BackgroundLoader start, auto delete: false
16:39:32 T:2873187136  NOTICE: Previous line repeats 1 times.
16:39:32 T:2873187136  NOTICE: Thread Jobworker start, auto delete: true
16:39:33 T:2551982912  NOTICE: Thread BackgroundLoader start, auto delete: false
16:39:33 T:2551982912  NOTICE: Thread Jobworker start, auto delete: true
16:39:35 T:2543590208  NOTICE: Thread BackgroundLoader start, auto delete: false
16:39:35 T:2543590208  NOTICE: Thread Jobworker start, auto delete: true
16:39:40 T:2688547648  NOTICE: Thread CVideoInfoScanner start, auto delete: false
16:39:40 T:2688547648  NOTICE: VideoInfoScanner: Starting scan ..
16:39:41 T:2957114176  NOTICE: [trakt] [traktMonitor] onDatabaseScanStarted(database: video)
16:39:41 T:2957114176  NOTICE: [trakt] Queuing for dispatch: {'action': 'scanStarted'}
16:39:41 T:2957114176  NOTICE: [trakt] Queued dispatch: {u'action': u'scanStarted'}
16:39:41 T:2957114176  NOTICE: [trakt] Dispatch: {u'action': u'scanStarted'}
16:39:47 T:2590370624  NOTICE: Thread CFileRarExtractThread start, auto delete: false
16:40:27 T:2688547648  NOTICE: Previous line repeats 6 times.
16:40:27 T:2688547648 WARNING: No information found for item '/var/media/hdd3/videos/movies/Leon.1994.2in1.720p.BluRay.DTS.x264-ESiR/Extra-saker/Leon extra1.mkv', it won't be added to the library.
16:40:27 T:2688547648 WARNING: No information found for item '/var/media/hdd3/videos/movies/Leon.1994.2in1.720p.BluRay.DTS.x264-ESiR/Extra-saker/Leon extra2.mkv', it won't be added to the library.
16:40:27 T:2688547648 WARNING: No information found for item '/var/media/hdd3/videos/movies/Leon.1994.2in1.720p.BluRay.DTS.x264-ESiR/Extra-saker/Leon extra3.mkv', it won't be added to the library.
16:40:27 T:2590370624  NOTICE: Thread CFileRarExtractThread start, auto delete: false
16:40:33 T:2688547648  NOTICE: Previous line repeats 12 times.
16:40:33 T:2688547648  NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:52
16:40:33 T:2957114176  NOTICE: [trakt] [traktMonitor] onDatabaseUpdated(database: video)
16:40:33 T:2957114176  NOTICE: [trakt] Queuing for dispatch: {'action': 'databaseUpdated'}
16:40:34 T:2957114176  NOTICE: [trakt] Queued dispatch: {u'action': u'databaseUpdated'}
16:40:34 T:2957114176  NOTICE: [trakt] Dispatch: {u'action': u'databaseUpdated'}
16:40:34 T:2957114176  NOTICE: [trakt] Performing sync after library update.
16:40:34 T:2688547648  NOTICE: [trakt] [Sync] Starting synchronization with trakt.tv
16:40:34 T:2688547648  NOTICE: [trakt] [Movies Sync] Getting movie data from XBMC
16:40:34 T:2688547648   ERROR: Exception in thread trakt-sync:
                                            Traceback (most recent call last):
                                              File "./Lib/threading.py", line 551, in __bootstrap_inner
                                              File "/storage/.xbmc/addons/script.trakt/service.py", line 366, in run
                                                sync.sync()
                                              File "/storage/.xbmc/addons/script.trakt/sync.py", line 767, in sync
                                                self.syncMovies()
                                              File "/storage/.xbmc/addons/script.trakt/sync.py", line 715, in syncMovies
                                                xbmcMovies = self.xbmcLoadMovies()
                                              File "/storage/.xbmc/addons/script.trakt/sync.py", line 532, in xbmcLoadMovies
                                                data = utilities.xbmcJsonRequest({'jsonrpc': '2.0', 'id': 0, 'method': 'VideoLibrary.GetMovies', 'params': {'properties': ['title', 'imdbnumber', 'year', 'playcount', 'lastplayed', 'file']}})
                                              File "/storage/.xbmc/addons/script.trakt/utilities.py", line 102, in xbmcJsonRequest
                                                Debug("xbmcJsonRequest: UnicodeDecodeError: '%s', Data: '%s'" % (e.message, response))
                                            UnboundLocalError: local variable 'response' referenced before assignment

/Söder


RE: [RELEASE] trakt.tv tv/movie scrobbler - nate1280 - 2014-01-21

There's always a log on your system, from the moment XBMC starts.


RE: [RELEASE] trakt.tv tv/movie scrobbler - soder - 2014-01-21

(2014-01-21, 17:41)nate1280 Wrote: There's always a log on your system, from the moment XBMC starts.

Just that I don't know hot to get it. =)

See my updated post now.

/Söder


RE: [RELEASE] trakt.tv tv/movie scrobbler - nate1280 - 2014-01-21

Ah, ok, I know why that error occurs. My error this time, happens when no one tests changes and provides feedback unfortunately Sad

To try and expedite a fix, here's an updated utilities.py with a possible fix.

https://www.dropbox.com/s/0yi7bpvh1swnve1/utilities.py

If you can replace the file in your script.trakt addon folder with that one, and post another log (irregardless if it works or not), and I'd recommend using pastebin for posting debug logs.


RE: [RELEASE] trakt.tv tv/movie scrobbler - soder - 2014-01-21

(2014-01-21, 17:58)nate1280 Wrote: Ah, ok, I know why that error occurs. My error this time, happens when no one tests changes and provides feedback unfortunately Sad

To try and expedite a fix, here's an updated utilities.py with a possible fix.

https://www.dropbox.com/s/0yi7bpvh1swnve1/utilities.py

If you can replace the file in your script.trakt addon folder with that one, and post another log (irregardless if it works or not), and I'd recommend using pastebin for posting debug logs.

It works. Both on scrobble, and now it's updating my collection.

Do you still need the log? =)

EDIT: http://pastebin.com/94GZZdy5


/Söder


RE: [RELEASE] trakt.tv tv/movie scrobbler - nate1280 - 2014-01-21

Please, just want to verify everything.


RE: [RELEASE] trakt.tv tv/movie scrobbler - soder - 2014-01-21

(2014-01-21, 18:33)nate1280 Wrote: Please, just want to verify everything.

Edited the first post. Please also help me find what movie didn't get added. There should be 359 movies, not 358 that trakt.tv says now. =)

/Söder