Closed Dimsok closed 6 years ago
What do you mean by "connection" ?
Mean interacting with web services like tvdb. My net connection is not very good, and it makes stuck sometimes, especially when using torrent etc. For the first start of tv serie it sometimes make vlc freeze then resuming after it get needed info from tvdb.
I have comiled exe from start_process.bat and made it autostart when starting vlc and close with it. Some time ago during some movie watching it was freez and i've forgotten that pythonw always work in background with vlc and thought something wrong with vlc or video file, but then killed pythonw, and still image was back to frame, Maybe internet connection was busy and Traktforvlc still tied to connect. Didn't you notice similar behavour for example when there is not internet connection at all?
'imdb_id': u'tt1136853', u'title': u'Frenzy'}, {u'year': u'1987', 'fuzz_ratio': 67, u'imdb_id': u'tt0092670', u'title': u'Blood Frenzy'}, {u'year': u'2010', 'fuzz_ratio': 67, u'imdb_id': u'tt1819527', u'title': u'Final Frenzy'}, {u'year': u'2012', 'fuzz_ratio': 71, u'imdb_id': u'tt3057684', u'title': u'Fish Frenzy'}, {u'year': u'1992', 'fuzz_ratio': 71, u'imdb_id': u'tt2994928', u'title': u'Moto Frenzy'}, {u'year': u'2002', 'fuzz_ratio': 75, u'imdb_id': u'tt0474685', u'title': u'Fur Frenzy'}, {u'year': u'2007', 'fuzz_ratio': 71, u'imdb_id': u'tt1139908', u'title': u'MILF Frenzy'}, {u'year': u'2015', 'fuzz_ratio': 71, u'imdb_id': u'tt4997064', u'title': u'Orgy Frenzy'}] 2017-06-26 10:52:09,296::requests.packages.urllib3.connectionpool::INFO::Starting new HTTPS connection (1): app.imdb.com 2017-06-26 10:52:13,592::requests.packages.urllib3.connectionpool::DEBUG::"GET /title/maindetails?apiKey=d2bb34ec6f6d4ef3703c9b0c36c4791ef8b9ca9b&apiPolicy=app1_1&locale=en_US×tamp=1498420800.0&tconst=tt0068611&api=v1&appid=iphone1_1 HTTP/1.1" 200 None 2017-06-26 10:52:13,967::requests.packages.urllib3.connectionpool::INFO::Starting new HTTPS connection (1): app.imdb.com 2017-06-26 10:52:18,030::requests.packages.urllib3.connectionpool::DEBUG::"GET /title/fullcredits?apiKey=d2bb34ec6f6d4ef3703c9b0c36c4791ef8b9ca9b&apiPolicy=app1_1&locale=en_US×tamp=1498420800.0&tconst=tt0068611&api=v1&appid=iphone1_1 HTTP/1.1" 200 None 2017-06-26 10:52:18,296::requests.packages.urllib3.connectionpool::INFO::Starting new HTTPS connection (1): app.imdb.com 2017-06-26 10:52:24,625::requests.packages.urllib3.connectionpool::DEBUG::"GET /title/plot?apiKey=d2bb34ec6f6d4ef3703c9b0c36c4791ef8b9ca9b&apiPolicy=app1_1&locale=en_US×tamp=1498420800.0&tconst=tt0068611&api=v1&appid=iphone1_1 HTTP/1.1" 200 1255 2017-06-26 10:52:24,655::requests.packages.urllib3.connectionpool::INFO::Starting new HTTPS connection (1): app.imdb.com 2017-06-26 10:52:28,921::requests.packages.urllib3.connectionpool::DEBUG::"GET /title/maindetails?apiKey=d2bb34ec6f6d4ef3703c9b0c36c4791ef8b9ca9b&apiPolicy=app1_1&locale=en_US×tamp=1498420800.0&tconst=tt4895740&api=v1&appid=iphone1_1 HTTP/1.1" 200 None 2017-06-26 10:52:29,187::requests.packages.urllib3.connectionpool::INFO::Starting new HTTPS connection (1): app.imdb.com 2017-06-26 10:52:33,140::requests.packages.urllib3.connectionpool::DEBUG::"GET /title/fullcredits?apiKey=d2bb34ec6f6d4ef3703c9b0c36c4791ef8b9ca9b&apiPolicy=app1_1&locale=en_US×tamp=1498420800.0&tconst=tt4895740&api=v1&appid=iphone1_1 HTTP/1.1" 200 None 2017-06-26 10:52:33,296::requests.packages.urllib3.connectionpool::INFO::Starting new HTTPS connection (1): app.imdb.com 2017-06-26 10:52:36,671::requests.packages.urllib3.connectionpool::DEBUG::"GET /title/plot?apiKey=d2bb34ec6f6d4ef3703c9b0c36c4791ef8b9ca9b&apiPolicy=app1_1&locale=en_US×tamp=1498420800.0&tconst=tt4895740&api=v1&appid=iphone1_1 HTTP/1.1" 200 266 2017-06-26 10:52:36,687::requests.packages.urllib3.connectionpool::INFO::Starting new HTTPS connection (1): app.imdb.com 2017-06-26 10:52:39,983::requests.packages.urllib3.connectionpool::DEBUG::"GET /title/maindetails?apiKey=d2bb34ec6f6d4ef3703c9b0c36c4791ef8b9ca9b&apiPolicy=app1_1&locale=en_US×tamp=1498420800.0&tconst=tt0038684&api=v1&appid=iphone1_1 HTTP/1.1" 200 1580 2017-06-26 10:52:40,000::requests.packages.urllib3.connectionpool::INFO::Starting new HTTPS connection (1): app.imdb.com 2017-06-26 10:52:43,765::requests.packages.urllib3.connectionpool::DEBUG::"GET /title/fullcredits?apiKey=d2bb34ec6f6d4ef3703c9b0c36c4791ef8b9ca9b&apiPolicy=app1_1&locale=en_US×tamp=1498420800.0&tconst=tt0038684&api=v1&appid=iphone1_1 HTTP/1.1" 200 None 2017-06-26 10:52:44,000::requests.packages.urllib3.connectionpool::INFO::Starting new HTTPS connection (1): app.imdb.com 2017-06-26 10:52:47,280::requests.packages.urllib3.connectionpool::DEBUG::"GET /title/plot?apiKey=d2bb34ec6f6d4ef3703c9b0c36c4791ef8b9ca9b&apiPolicy=app1_1&locale=en_US×tamp=1498420800.0&tconst=tt0038684&api=v1&appid=iphone1_1 HTTP/1.1" 200 266 2017-06-26 10:52:47,296::requests.packages.urllib3.connectionpool::INFO::Starting new HTTPS connection (1): app.imdb.com 2017-06-26 10:52:51,108::requests.packages.urllib3.connectionpool::DEBUG::"GET /title/maindetails?apiKey=d2bb34ec6f6d4ef3703c9b0c36c4791ef8b9ca9b&apiPolicy=app1_1&locale=en_US×tamp=1498420800.0&tconst=tt4236994&api=v1&appid=iphone1_1 HTTP/1.1" 200 1151 2017-06-26 10:52:51,125::requests.packages.urllib3.connectionpool::INFO::Starting new HTTPS connection (1): app.imdb.com 2017-06-26 10:52:55,578::requests.packages.urllib3.connectionpool::DEBUG::"GET /title/fullcredits?apiKey=d2bb34ec6f6d4ef3703c9b0c36c4791ef8b9ca9b&apiPolicy=app1_1&locale=en_US×tamp=1498420800.0&tconst=tt4236994&api=v1&appid=iphone1_1 HTTP/1.1" 200 None 2017-06-26 10:52:55,592::requests.packages.urllib3.connectionpool::INFO::Starting new HTTPS connection (1): app.imdb.com 2017-06-26 10:52:59,453::requests.packages.urllib3.connectionpool::DEBUG::"GET /title/plot?apiKey=d2bb34ec6f6d4ef3703c9b0c36c4791ef8b9ca9b&apiPolicy=app1_1&locale=en_US×tamp=1498420800.0&tconst=tt4236994&api=v1&appid=iphone1_1 HTTP/1.1" 200 447 2017-06-26 10:52:59,467::requests.packages.urllib3.connectionpool::INFO::Starting new HTTPS connection (1): app.imdb.com 2017-06-26 10:53:12,046::requests.packages.urllib3.connectionpool::DEBUG::"GET /title/maindetails?apiKey=d2bb34ec6f6d4ef3703c9b0c36c4791ef8b9ca9b&apiPolicy=app1_1&locale=en_US×tamp=1498420800.0&tconst=tt0031342&api=v1&appid=iphone1_1 HTTP/1.1" 200 1065 2017-06-26 10:53:12,062::requests.packages.urllib3.connectionpool::INFO::Starting new HTTPS connection (1): app.imdb.com 2017-06-26 10:53:18,921::requests.packages.urllib3.connectionpool::DEBUG::"GET /title/fullcredits?apiKey=d2bb34ec6f6d4ef3703c9b0c36c4791ef8b9ca9b&apiPolicy=app1_1&locale=en_US×tamp=1498420800.0&tconst=tt0031342&api=v1&appid=iphone1_1 HTTP/1.1" 200 None 2017-06-26 10:53:19,030::requests.packages.urllib3.connectionpool::INFO::Starting new HTTPS connection (1): app.imdb.com 2017-06-26 10:53:22,250::requests.packages.urllib3.connectionpool::DEBUG::"GET /title/plot?apiKey=d2bb34ec6f6d4ef3703c9b0c36c4791ef8b9ca9b&apiPolicy=app1_1&locale=en_US×tamp=1498420800.0&tconst=tt0031342&api=v1&appid=iphone1_1 HTTP/1.1" 200 264 2017-06-26 10:53:22,265::requests.packages.urllib3.connectionpool::INFO::Starting new HTTPS connection (1): app.imdb.com 2017-06-26 10:53:26,217::requests.packages.urllib3.connectionpool::DEBUG::"GET /title/maindetails?apiKey=d2bb34ec6f6d4ef3703c9b0c36c4791ef8b9ca9b&apiPolicy=app1_1&locale=en_US×tamp=1498420800.0&tconst=tt1029305&api=v1&appid=iphone1_1 HTTP/1.1" 200 825 2017-06-26 10:53:26,233::requests.packages.urllib3.connectionpool::INFO::Starting new HTTPS connection (1): app.imdb.com 2017-06-26 10:53:32,483::requests.packages.urllib3.connectionpool::DEBUG::"GET /title/fullcredits?apiKey=d2bb34ec6f6d4ef3703c9b0c36c4791ef8b9ca9b&apiPolicy=app1_1&locale=en_US×tamp=1498420800.0&tconst=tt1029305&api=v1&appid=iphone1_1 HTTP/1.1" 200 582 2017-06-26 10:53:32,500::requests.packages.urllib3.connectionpool::INFO::Starting new HTTPS connection (1): app.imdb.com 2017-06-26 10:53:36,280::requests.packages.urllib3.connectionpool::DEBUG::"GET /title/plot?apiKey=d2bb34ec6f6d4ef3703c9b0c36c4791ef8b9ca9b&apiPolicy=app1_1&locale=en_US×tamp=1498420800.0&tconst=tt1029305&api=v1&appid=iphone1_1 HTTP/1.1" 200 263 2017-06-26 10:53:36,296::requests.packages.urllib3.connectionpool::INFO::Starting new HTTPS connection (1): app.imdb.com 2017-06-26 10:53:39,765::requests.packages.urllib3.connectionpool::DEBUG::"GET /title/maindetails?apiKey=d2bb34ec6f6d4ef3703c9b0c36c4791ef8b9ca9b&apiPolicy=app1_1&locale=en_US×tamp=1498420800.0&tconst=tt0218980&api=v1&appid=iphone1_1 HTTP/1.1" 200 412 2017-06-26 10:53:39,780::requests.packages.urllib3.connectionpool::INFO::Starting new HTTPS connection (1): app.imdb.com 2017-06-26 10:53:42,967::requests.packages.urllib3.connectionpool::DEBUG::"GET /title/fullcredits?apiKey=d2bb34ec6f6d4ef3703c9b0c36c4791ef8b9ca9b&apiPolicy=app1_1&locale=en_US×tamp=1498420800.0&tconst=tt0218980&api=v1&appid=iphone1_1 HTTP/1.1" 200 332 2017-06-26 10:53:42,983::requests.packages.urllib3.connectionpool::INFO::Starting new HTTPS connection (1): app.imdb.com
Is that normal for so long urllib3 connection? Can it be caused by don't having certificates for python? When i've installed "request" then it was installed with it certificates 04.2017, but with it it didn't work at all, then i have made "pip uninstall -y certifi" to make it scrobble again.
By the way i don't have python-levenshtein, cause it needs Microsoft Visual C++ 9.0
Seems like the reason in some vlc setting. Have tried with clean vlc, and that not makes freezing. Will post, when will find out which setting exact cause that trouble.
Good to know! Thanks for the update @Dimsok !
In config file
aout=waveout
Added "#" to the second string to solve the problem.
Still don't understand why it affect on working TraktforVlc.
Someone on windows can try reproduce it to confirm the issue.
TraktForVLC 2.x makes that issue obsolete - #88
During connection (mostly for series, cause it takes more net traffic), vlc is freezing, and then resuming when connection was finished, Is that normal behaviour?