{"action":"created","issue":{"url":"https://api.github.com/repos/tvalacarta/pelisalacarta/issues/747","repository_url":"https://api.github.com/repos/tvalacarta/pelisalacarta","labels_url":"https://api.github.com/repos/tvalacarta/pelisalacarta/issues/747/labels{/name}","comments_url":"https://api.github.com/repos/tvalacarta/pelisalacarta/issues/747/comments","events_url":"https://api.github.com/repos/tvalacarta/pelisalacarta/issues/747/events","html_url":"https://github.com/tvalacarta/pelisalacarta/pull/747","id":225428142,"number":747,"title":"Fix library update","user":{"login":"Palatosino","id":16946501,"avatar_url":"https://avatars1.githubusercontent.com/u/16946501?v=3","gravatar_id":"","url":"https://api.github.com/users/Palatosino","html_url":"https://github.com/Palatosino","followers_url":"https://api.github.com/users/Palatosino/followers","following_url":"https://api.github.com/users/Palatosino/following{/other_user}","gists_url":"https://api.github.com/users/Palatosino/gists{/gist_id}","starred_url":"https://api.github.com/users/Palatosino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Palatosino/subscriptions","organizations_url":"https://api.github.com/users/Palatosino/orgs","repos_url":"https://api.github.com/users/Palatosino/repos","events_url":"https://api.github.com/users/Palatosino/events{/privacy}","received_events_url":"https://api.github.com/users/Palatosino/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-05-01T12:34:15Z","updated_at":"2017-05-02T12:01:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tvalacarta/pelisalacarta/pulls/747","html_url":"https://github.com/tvalacarta/pelisalacarta/pull/747","diff_url":"https://github.com/tvalacarta/pelisalacarta/pull/747.diff","patch_url":"https://github.com/tvalacarta/pelisalacarta/pull/747.patch"},"body":"Arregla esto: https://github.com/tvalacarta/pelisalacarta/issues/745"},"comment":{"url":"https://api.github.com/repos/tvalacarta/pelisalacarta/issues/comments/298615823","html_url":"https://github.com/tvalacarta/pelisalacarta/pull/747#issuecomment-298615823","issue_url":"https://api.github.com/repos/tvalacarta/pelisalacarta/issues/747","id":298615823,"user":{"login":"superberny70","id":7559559,"avatar_url":"https://avatars2.githubusercontent.com/u/7559559?v=3","gravatar_id":"","url":"https://api.github.com/users/superberny70","html_url":"https://github.com/superberny70","followers_url":"https://api.github.com/users/superberny70/followers","following_url":"https://api.github.com/users/superberny70/following{/other_user}","gists_url":"https://api.github.com/users/superberny70/gists{/gist_id}","starred_url":"https://api.github.com/users/superberny70/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superberny70/subscriptions","organizations_url":"https://api.github.com/users/superberny70/orgs","repos_url":"https://api.github.com/users/superberny70/repos","events_url":"https://api.github.com/users/superberny70/events{/privacy}","received_events_url":"https://api.github.com/users/superberny70/received_events","type":"User","site_admin":false},"created_at":"2017-05-02T12:01:55Z","updated_at":"2017-05-02T12:01:55Z","body":"OS explico un poco el tema de los thread ya q fui yo quien los introdujo ahi. \r\nDebemos entender, previamente,  q cada vez q seleccionamos un item de un menu kodi inicia un hilo donde ejecuta nuestro plugin. Este hilo termina con la obtencion de otro menu o con la ejecucion del reproductor (esto es una simplificacion,  en realidad hay mas procesos). \r\nPor otra parte,  cuando lanzamos la actualizacion de la colección de kodi,  este abre un nuevo hilo en paralelo  a nuestro hilo principal.  Esto nos permite seguir navegando mientras en segundo plano kodi obtiene los datos del scraper. \r\n\r\nCon el código actual,  si tienes varias series el hilo principal se queda bloqueado al añadir la segunda serie si la primera aun no ha terminado de scrapearse.  Esto se puede comprobar sobretodo en series muy largas.  \r\nHabra quien piense q son casos puntuales,  pero aun asi la solucion propuesta con los hilos no era complicada y pretendia cubrir todas las posibilidades. Aunque esta claro q cometi un error al instanciar un lock para cada hilo (deberia ser una variable global) \r\n\r\nAhora podemos mantener esta PR o intentar  solucionar el problema de los bloqueos en los hilos. ¿q OS parece? \r\n\r\n\r\n"}}
{"actor":{"display_login":"superberny70"}}