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

Vlc is freezing during connection #68

Closed
Dimsok opened this issue Jun 24, 2017 · 8 comments
Closed

Vlc is freezing during connection #68

Dimsok opened this issue Jun 24, 2017 · 8 comments
Labels

Comments

@Dimsok
Copy link

Dimsok commented Jun 24, 2017

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?

@xaf
Copy link
Owner

xaf commented Jun 24, 2017

What do you mean by "connection" ?

@Dimsok
Copy link
Author

Dimsok commented Jun 25, 2017

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.

@Dimsok
Copy link
Author

Dimsok commented Jun 25, 2017

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?

@Dimsok
Copy link
Author

Dimsok commented Jun 26, 2017

'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&timestamp=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&timestamp=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&timestamp=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&timestamp=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&timestamp=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&timestamp=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&timestamp=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&timestamp=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&timestamp=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&timestamp=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&timestamp=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&timestamp=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&timestamp=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&timestamp=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&timestamp=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&timestamp=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&timestamp=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&timestamp=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&timestamp=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&timestamp=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

@Dimsok
Copy link
Author

Dimsok commented Jun 27, 2017

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.

@xaf
Copy link
Owner

xaf commented Jun 27, 2017

Good to know! Thanks for the update @Dimsok !

@Dimsok
Copy link
Author

Dimsok commented Jun 27, 2017

In config file

Audio output module (string)

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.

@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