wernerkarlheisenberg / plex-stieve

Plex Plugin to view Medialaan channels (VTM, Q2, Vitaya, VTM Kzoom, Kadet, CAZ) live using Stievie FREE.
7 stars 1 forks source link

Channel Not Showing Up in Plex - Windows 8 #3

Closed IniDux closed 6 years ago

IniDux commented 6 years ago

Thanks a lot for this Bundle. Great Work. Really Appreciate it. I'm running Plex Version 1.7.5.4035 on Windows 8.1 . Stevie.bundle or plex-vrt_nu_live.bundle are not showing up in the Plex Channel list . I installed NPO.bundle from Github and it shows up ( unrelated - but just in case ). Stievie's official site and App work fine on my PC and Android tablet . I have the server log but it exceeds the character limit . I can add it if needed. Any help would be appreciated. com.plexapp.plugins.stievie.log

wernerkarlheisenberg commented 6 years ago

Sorry that I could only reply now. When looking at your logs it turns out that importing the 'requests' library fails. This is related to the fact that the requests library is not automatically included in the download as pointed out in #2 . Download the requests library and unzip it under 'Contents/Libraries/requests'.

IniDux commented 6 years ago

Thank you very much for your help regarding the downloading of the 'requests' files from github into 'Stievie.bundle/Contents/Libraries/requests'. I'm still not able to make it show up in the Plex channel section for some reason.

I keep getting : "" ImportError: No module named requests "

Do you think I should install Python to my C:/ drive and copy the ''request'' folder to Python's ''Libs'' folder ;

I copied the files inside '' requests v2.14.2 '' into 'Stievie.bundle/Contents/Libraries/requests' These were the following: init.py _internal_utils.py
adapters.py
api.py
auth.py
cacert.pem
certs.py
compat.py
cookies.py
exceptions.py
hooks.py
models.py
sessions.py
status_codes.py
structures.py
utils.py

My com.plexapp.plugins.stievie.log now says the following : 2017-08-18 01:09:36,155 (2598) : DEBUG (core:566) - Finished loading plug-in code 2017-08-18 01:09:36,160 (2598) : CRITICAL (core:574) - Exception starting plug-in (most recent call last): File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-313f93718\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\core.py", line 608, in start self.sandbox.execute(self.init_code) File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-313f93718\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\code\sandbox.py", line 256, in execute exec(code) in self.environment File "C:\Users.........\AppData\Local\Plex Media Server\Plug-ins\Stievie.bundle\Contents\Code__init.py", line 1, in import requests File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-313f93718\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\code\sandbox.py", line 345, in import__ raise e ImportError: No module named requests


IniDux commented 6 years ago

I resolved it .

I posted the solution as an issue until I find out how to edit your page or upload my Stieve.Bundle 'Shared' folder. It's my first time using Github and python as well.

wernerkarlheisenberg commented 6 years ago

Thanks IniDux for finding out why the plugin was not working for on Windows 8.

This is what solved the issue for me in Windows 8.1 ( Plex Version 3.9.1 - Server Version 1.7.5.4035 )

1 . The 'requests' folder goes inside the 'Shared' folder (outside has no effect). Everything else that was missing, also goes inside the Shared folder. (delete the old 'request' file that was inside the Shared folder )

Chronologically, one after another my log said that the following Module was missing: ImportError: No module named requests ImportError: No module named urllib3 ImportError: No module named chardet ImportError: No module named certifi ImportError: No module named idna

These are all the missing python folders I had to copy to Stievie.bundle/Contents/Libraries/Shared/ requests - https://github.com/requests/requests urllib3 - https://github.com/shazow/urllib3 chardet - https://github.com/chardet/chardet certifi - https://github.com/certifi/python-certifi idna - https://github.com/kjd/idna

pladijs commented 6 years ago

This worked for me as well! Thank you!

Any ideas on how to get vier/vijf on plex? Last step in making my own digicorder ;)

wernerkarlheisenberg commented 6 years ago

I close the issue. Unfortunatly Vier/Vijf/Zes currently do not provide a possibility to watch live online.

wernerkarlheisenberg commented 6 years ago

Plugin has been modified. Required libraries are now included by default.

IniDux commented 6 years ago

Wonderful. Thanks again for this great plugin.

Sorry for the late reply.