NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Extras v
« Previous 1 2 3 4 Next »
Locast.org support

 
  • 0 Vote(s) - 0 Average
Locast.org support
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,849
Threads: 954
Joined: May 2006
#31
2020-12-10, 10:06 PM
What if you try pip from an admin command prompt?

Martin
2leftfeet
Offline

Senior Member

Somewhere in NE Pa.
Posts: 546
Threads: 57
Joined: Jan 2015
#32
2020-12-10, 10:34 PM
I receive the exact same message when trying from admin command prompt
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,849
Threads: 954
Joined: May 2006
#33
2020-12-10, 10:58 PM
Yes I think it is a problem, local system won't recognize that file. What about as admin

python.exe -m pip install requests lxml m3u8

Martin
2leftfeet
Offline

Senior Member

Somewhere in NE Pa.
Posts: 546
Threads: 57
Joined: Jan 2015
#34
2020-12-10, 11:08 PM
from admin prompt, I get this:

C:\WINDOWS\system32>python.exe -m pip install lxml m3u8
Requirement already satisfied: lxml in c:\users\darry\appdata\roaming\python\python39\site-packages (4.6.2)
Requirement already satisfied: m3u8 in c:\users\darry\appdata\roaming\python\python39\site-packages (0.7.1)
Requirement already satisfied: iso8601 in c:\users\darry\appdata\roaming\python\python39\site-packages (from m3u8) (0.1.13)

Is there a way to un-install the old mcu8 and re-install the newer?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,849
Threads: 954
Joined: May 2006
#35
2020-12-10, 11:17 PM
Let's find out where python is installed

python -c "import os, sys; print(os.path.dirname(sys.executable))"

I wish I knew more about python on windows this is all built into linux

If python is in a system folder that's good so yeah maybe from admin

pip uninstall requests lxml m3u8
pip install requests lxml m3u8

pip list -V

to see if they get installed in site-packages.


Martin
2leftfeet
Offline

Senior Member

Somewhere in NE Pa.
Posts: 546
Threads: 57
Joined: Jan 2015
#36
2020-12-10, 11:27 PM
results:

C:\WINDOWS\system32>python -c "import os, sys; print(os.path.dirname(sys.executable))"
C:\Program Files\Python39

Uninstall performed .....

C:\WINDOWS\system32>pip install requests lxml m3u8
Collecting requests
Using cached requests-2.25.0-py2.py3-none-any.whl (61 kB)
Collecting lxml
Using cached lxml-4.6.2-cp39-cp39-win_amd64.whl (3.5 MB)
Collecting m3u8
Using cached m3u8-0.7.1.tar.gz (23 kB)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\darry\appdata\roaming\python\python39\site-packages (from requests) (1.26.2)
Requirement already satisfied: idna<3,>=2.5 in c:\users\darry\appdata\roaming\python\python39\site-packages (from requests) (2.10)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\darry\appdata\roaming\python\python39\site-packages (from requests) (2020.12.5)
Requirement already satisfied: chardet<4,>=3.0.2 in c:\users\darry\appdata\roaming\python\python39\site-packages (from requests) (3.0.4)
Requirement already satisfied: iso8601 in c:\users\darry\appdata\roaming\python\python39\site-packages (from m3u8) (0.1.13)
Using legacy 'setup.py install' for m3u8, since package 'wheel' is not installed.
Installing collected packages: requests, lxml, m3u8
Running setup.py install for m3u8 ... done
Successfully installed lxml-4.6.2 m3u8-0.7.1 requests-2.25.0

C:\WINDOWS\system32>pip list -V
Package Version
---------- ---------
certifi 2020.12.5
chardet 3.0.4
idna 2.10
iso8601 0.1.13
lxml 4.6.2
m3u8 0.7.1
pip 20.2.3
requests 2.25.0
setuptools 49.2.1
urllib3 1.26.2
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,849
Threads: 954
Joined: May 2006
#37
2020-12-10, 11:44 PM
All I can suggest for know is to copy the folder in your user site-packages to

C:\Program Files\Python39\Lib\site-packages if they don't exist.

Alternatively in a NextPVR's scripts/PreStartup.bat add the line (or create the file)

pip install lxml requests m3u8

and see if we see any messages in nrecord.log when you restart the server.

Martin
2leftfeet
Offline

Senior Member

Somewhere in NE Pa.
Posts: 546
Threads: 57
Joined: Jan 2015
#38
2020-12-11, 12:01 AM
copying the packages seems like it did the trick - IT IS NOW WORKING

I tried about 10 different channels and all stream - will be playing with this tomorrow, since I am out of time for today.

Thanks Martin for your help on this!!!
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,849
Threads: 954
Joined: May 2006
#39
2020-12-11, 12:13 AM
Great one nice thing you will find with with using locast instead of OTA is that you can use the web app and sub's Android and Apple clients with no transcoding.  It should even be able to work on a RPi  where installing python is much easier.

Also thanks your patience and the excellent job of following these first time instructions.  I will research if there is a way to do install this properly and force.  Perhaps @pkscout can help me out.

I also figured out why XMLTV didn't map, I have hardcoded the NYC XMLTV DMA code so I will packaged up a change.  It also creates a separate locast group in the guide

Thanks again.

Martin
2leftfeet
Offline

Senior Member

Somewhere in NE Pa.
Posts: 546
Threads: 57
Joined: Jan 2015
#40
2020-12-11, 11:56 AM
Martin,

You did a great job on this EXTRA! Once we figured out the installation issues regarding python, the integration into NPVR and operation is seamless. I am still testing, but so far so good.

Do you have any insight on why I am seeing the "trial-locast" EXTRA device, is that a NPVR issue?

I didn't notice the XMLTV mapping issue since I am mapping with SD data.


Also, Is it big effort to incorporate multiple streams?
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (14): « Previous 1 2 3 4 5 6 … 14 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Locast takes a legal hit 2leftfeet 12 3,031 2021-09-08, 10:22 PM
Last Post: Morpheus23
  Locast Extra announcements mvallevand 8 2,379 2021-09-02, 01:52 PM
Last Post: mvallevand
  Locast streaming and recordings failing Esteban 22 4,770 2021-09-01, 09:29 PM
Last Post: mvallevand
  Locast - KeyError during install MrBultitude 5 1,470 2021-09-01, 05:50 PM
Last Post: mvallevand
  Locast Multiple Streams Question pkscout 4 1,532 2021-08-30, 12:14 AM
Last Post: sub
  Locast - I did something terribly wrong?? 2leftfeet 37 5,826 2021-08-28, 05:16 PM
Last Post: mvallevand
  Locast workarounds not working for me loveridgem 19 3,295 2021-08-27, 07:44 PM
Last Post: mvallevand
  Locast - Guide Correct but wrong channel tuned sdKeith 17 3,065 2021-08-26, 10:31 PM
Last Post: sdKeith
  Locast Issues thecow 40 7,504 2021-08-06, 01:41 AM
Last Post: mvallevand
  Got Locast Working- Some thoughts-- biggoronjon 5 1,429 2021-07-29, 02:38 AM
Last Post: mvallevand

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode