Não funciona Plex Server 0.9.12.0
Opa,
Instalei o bundle no Plex Server 0.9.12.0, mas o mesmo não mostra nos Agents, dentro do Freebase. Tem alguma diferença por conta de estar usando Mac?
Também não consegui fazer funcionar no Mac.
Conseguiu instalar as dependências?
Instalei sim, mas mesmo assim ainda não aparece nos Agents do Plex. Tá instalado em: /Application Support/Plex Media Server/Plug-ins, não é isso mesmo?
Provavelmente esse não é o lugar ceto para colocar. Eu uso linux (ubuntu), e seguindo essa dica do próprio site deles não ajudou. O que ajudou foi colocar em /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins. Dá uma procurada qual é a pasta que ele usa, e verifica depois de reiniciar o Plex ou a máquina (o que for mais fácil).
MAS... pra mim, o agente está lá, só não funcionou! Ele gera algum log que eu possa ver que está funcionando?
Gera sim. Na pasta de dados do seu servidor, Plex Media Server/Logs/PMS Plugin Logs/com.plexapps.agents.legendastv.log
Boa valeu @BrutuZ, obviamente faltou eu instalar os requisitos :)
pip install unrar
pip install requests
Perfeito! Agora sim, funcionou. Ah, o log ajuda pra muito, valeu.
Alguém poderia me ajudar?
1 - Uso Mac e o plugin está em ~/Library/Application Support/Plex Media Server/Plugins/
2 - Instalei rar/unrar baixando os arquivos, navegando até o diretório e sudo install -c -o $USER unrar /bin e sudo install -c -o $USER rar /bin
3 - Instalei o pip com sudo easy_install pip
4 - Instalei pip install unrar
5 - Instalei pip install requests
Continua não funcionando.
O que encontrei no log:
Nov 27, 2015 18:04:31 [0x700000bd6000] DEBUG - Request: [127.0.0.1:52984] GET /:/plugins/com.plexapp.agents.legendastv (8 live) GZIP
Nov 27, 2015 18:04:31 [0x700000bd6000] WARN - Request for plug-in [com.plexapp.agents.legendastv] but it doesn't exist.
Nov 27, 2015 18:04:31 [0x7000004ac000] DEBUG - Completed: [127.0.0.1:52984] GET /:/plugins/com.plexapp.agents.legendastv (8 live) GZIP 1ms 313 bytes 404
Nov 27, 2015 18:04:31 [0x700000635000] DEBUG - [com.plexapp.system] HTTP reply status 200, with 7838 bytes of content.
Nov 27, 2015 18:04:31 [0x700000635000] DEBUG - The system knows about 14 agents.
Nov 27, 2015 18:04:31 [0x700000c59000] DEBUG - Starting plug-in /Volumes/Macintosh HD/Users/Hugo/Library/Application Support/Plex Media Server/Plug-ins/LegendasTV.bundle.
Nov 27, 2015 18:04:31 [0x700000635000] DEBUG - Waiting for all 1 plug-ins to finish starting.
Nov 27, 2015 18:04:31 [0x700000c59000] DEBUG - [com.plexapp.agents.legendastv] Agent not known by system, so we're starting for sure.
Nov 27, 2015 18:04:31 [0x700000c59000] DEBUG - Starting file watcher for com.plexapp.agents.legendastv
Nov 27, 2015 18:04:31 [0x700000c59000] DEBUG - Spawned plug-in com.plexapp.agents.legendastv with PID 18399
Nov 27, 2015 18:04:31 [0x700000c59000] DEBUG - [com.plexapp.agents.legendastv] Sending command: GET /:/prefixes
Nov 27, 2015 18:04:32 [0x700000b53000] DEBUG - Request: [127.0.0.1:52987] GET /system/messaging/clear_events/com.plexapp.agents.legendastv (8 live) GZIP
Nov 27, 2015 18:04:32 [0x700000b53000] DEBUG - [com.plexapp.system] Sending command over HTTP (GET): /system/messaging/clear_events/com.plexapp.agents.legendastv
Nov 27, 2015 18:04:32 [0x700000b53000] DEBUG - HTTP requesting GET http://127.0.0.1:49226/system/messaging/clear_events/com.plexapp.agents.legendastv
Nov 27, 2015 18:04:32 [0x700000b53000] DEBUG - [com.plexapp.system] HTTP reply status 200, with 0 bytes of content.
Nov 27, 2015 18:04:32 [0x70000052f000] DEBUG - Completed: [127.0.0.1:52987] GET /system/messaging/clear_events/com.plexapp.agents.legendastv (8 live) GZIP 9ms 180 bytes 200
(...)
ERROR - Timeout or error reading status line from plug-in pipe [com.plexapp.agents.legendastv], we're killing it.
Nov 27, 2015 18:07:31 [0x700000c59000] DEBUG - Stopping [com.plexapp.agents.legendastv].
Nov 27, 2015 18:07:31 [0x700000c59000] DEBUG - [com.plexapp.agents.legendastv] Killing.
Nov 27, 2015 18:07:31 [0x700000c59000] ERROR - Error received reading configuration for com.plexapp.agents.legendastv
Nov 27, 2015 18:07:31 [0x700000c59000] DEBUG - Stopping [com.plexapp.agents.legendastv]. ```
@hmaesta mais um problema particular ao Mac, infelizmente só utilizo PC e não poderei auxiliar com isso. Talvez o @leoheck possa contribuir mais, visto que obteve êxito com o plugin
Oi, esqueci de responder aqui. Na verdade, vi que funcionou pra mim porque nos logs tinha informação sobre a procura do filme/seriado no legendas e tudo mais. Mas na realidade eu não sei se ta funcionando.
Coisas desse tipo fizeram achar que estava funcionando
2015-12-01 22:55:36,207 (7f8ea0ff9700) : INFO (__init__:702) - TvUpdate. Lang xn
2015-12-01 22:55:36,207 (7f8ea0ff9700) : INFO (__init__:737) - File: 'Breakthrough.S01E01.Fighting.Pandemics.720p.HDTV.x264-DHD.mkv'
2015-12-01 22:55:36,208 (7f8ea0ff9700) : INFO (__init__:737) - Show: 'Breakthrough.'
2015-12-01 22:55:36,208 (7f8ea0ff9700) : INFO (__init__:737) - Season: 's01', Ep: 'e01'
2015-12-01 22:55:36,208 (7f8ea0ff9700) : INFO (__init__:737) - Video Source: 'HDTV'
2015-12-01 22:55:36,209 (7f8ea0ff9700) : INFO (__init__:737) - Release Group: 'DHD'
2015-12-01 22:55:36,209 (7f8ea0ff9700) : INFO (__init__:274) - Searching for filename
2015-12-01 22:55:36,209 (7f8ea0ff9700) : INFO (__init__:96) - Params: breakthrough.s01e01.fighting.pandemics.720p.hdtv.x264-dhd
2015-12-01 22:55:36,211 (7f8ea0ff9700) : DEBUG (networking:166) - Requesting 'http://legendas.tv/util/carrega_legendas_busca/breakthrough.s01e01.fighting.pandemics.720p.hdtv.x264-dhd/1/-/0/-'
Também tenho alguns erros no log que ainda não tive tempo de debugar.
2015-12-01 22:55:46,879 (7f8e7ebdb700) : ERROR (model:205) - Cannot read model from /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Metadata/TV Shows/0/5f7ffd5bfa9440794f9fb0f2f88dfd774b03cb5.bundle/Contents/com.plexapp.agents.legendastv
Quando tiver um tempo melhor vou debugar pra ver o que está acontecendo. Por enquanto, final de ano, a coisa ta apertada :)
Ah, vou deixar registrado aqui pra eu lembrar os caminhos do plex no linux
/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins
/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Logs/PMS Plugin Logs