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
jcole998
Offline

Posting Freak

New York, USA
Posts: 865
Threads: 186
Joined: Jun 2015
#91
2020-12-12, 07:50 PM
Using gsudo:

C:\Users\John>gsudo -s
C:\Users\John# pip list -v
Package    Version  Location                                                    Installer
---------- --------- ----------------------------------------------------------- ---------
certifi    2020.12.5 c:\users\john\appdata\roaming\python\python38\site-packages pip
chardet    3.0.4    c:\users\john\appdata\roaming\python\python38\site-packages pip
idna      2.10      c:\users\john\appdata\roaming\python\python38\site-packages pip
iso8601    0.1.13    c:\users\john\appdata\roaming\python\python38\site-packages pip
lxml      4.6.2    c:\users\john\appdata\roaming\python\python38\site-packages pip
m3u8      0.7.1    c:\users\john\appdata\roaming\python\python38\site-packages
pip        20.3.1    c:\users\john\appdata\roaming\python\python38\site-packages pip
requests  2.25.0    c:\users\john\appdata\roaming\python\python38\site-packages pip
setuptools 47.1.0    c:\program files\python38\lib\site-packages                pip
urllib3    1.26.2    c:\users\john\appdata\roaming\python\python38\site-packages pip

C:\Users\John#

Still wrong?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,165
Threads: 958
Joined: May 2006
#92
2020-12-12, 08:40 PM
If gsudo -s see it that should be ok for Local System but lets see about getting the script running first.

Hopefully this will get us to the batch file, you should get a prompt for the web password, and auto configure the port and username from config.xml

Martin
jcole998
Offline

Posting Freak

New York, USA
Posts: 865
Threads: 186
Joined: Jun 2015
#93
2020-12-12, 08:59 PM
This was all that was produced:

C:\Users\Public\NPVR-data\scripts\locast>python locast.py install
Namespace(base=None, default=None, format='install', reverse=False, stream=False, tune=None)
None
None
Enter email: jcole998@hotmail.com
None
Enter locast password: US9jw8SY
extralocast v0.63
Logging into Locast using username jcole998@hotmail.com...
Exiting...

C:\Users\Public\NPVR-data\scripts\locast>
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,165
Threads: 958
Joined: May 2006
#94
2020-12-12, 09:03 PM
That would be a message on an invalid locast password. (maybe edit your last message)

You should just hit enter to use the saved value.

Martin
jcole998
Offline

Posting Freak

New York, USA
Posts: 865
Threads: 186
Joined: Jun 2015
#95
2020-12-12, 09:07 PM
Second  pass after editing nextpvrlib.py:
Third pass using gsudo produced the same output:
(Looks like I didn't change the port properly.)

C:\Users\Public\NPVR-data\scripts\locast>python locast.py install
Namespace(base=None, default=None, format='install', reverse=False, stream=False, tune=None)
None
jcole998@hotmail.com
Enter email:
US9jw8SY
Enter locast password: mfKP8GXe
extralocast v0.63
Logging into Locast using username jcole998@hotmail.com...
Validating User Info...
User Info obtained.
User didDonate: True
User donationExpire: 2021-02-11 16:05:28
Getting user location...
Getting location via IP Address.
Got external IP 100.40.169.6.
Got location as New York - DMA 501 - Lat\Lon 41.5965\-73.911
Generating 501 XMLTV file for C:\Users\Public\NPVR-data\locast-xmltv.xml
<Response [200]>
Getting list of stations based on DMA...
Loading FCC Stations list...
Generating extras file
Traceback (most recent call last):
  File "C:\Users\John\AppData\Roaming\Python\Python38\site-packages\urllib3\connection.py", line 169, in _new_conn
    conn = connection.create_connection(
  File "C:\Users\John\AppData\Roaming\Python\Python38\site-packages\urllib3\util\connection.py", line 96, in create_connection
    raise err
  File "C:\Users\John\AppData\Roaming\Python\Python38\site-packages\urllib3\util\connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\John\AppData\Roaming\Python\Python38\site-packages\urllib3\connectionpool.py", line 699, in urlopen
    httplib_response = self._make_request(
  File "C:\Users\John\AppData\Roaming\Python\Python38\site-packages\urllib3\connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "C:\Users\John\AppData\Roaming\Python\Python38\site-packages\urllib3\connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "C:\Program Files\Python38\lib\http\client.py", line 1255, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "C:\Program Files\Python38\lib\http\client.py", line 1301, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "C:\Program Files\Python38\lib\http\client.py", line 1250, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "C:\Program Files\Python38\lib\http\client.py", line 1010, in _send_output
    self.send(msg)
  File "C:\Program Files\Python38\lib\http\client.py", line 950, in send
    self.connect()
  File "C:\Users\John\AppData\Roaming\Python\Python38\site-packages\urllib3\connection.py", line 200, in connect
    conn = self._new_conn()
  File "C:\Users\John\AppData\Roaming\Python\Python38\site-packages\urllib3\connection.py", line 181, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x0000010F9386B4F0>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\John\AppData\Roaming\Python\Python38\site-packages\requests\adapters.py", line 439, in send
    resp = conn.urlopen(
  File "C:\Users\John\AppData\Roaming\Python\Python38\site-packages\urllib3\connectionpool.py", line 755, in urlopen
    retries = retries.increment(
  File "C:\Users\John\AppData\Roaming\Python\Python38\site-packages\urllib3\util\retry.py", line 573, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=8866): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0000010F9386B4F0>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "locast.py", line 265, in <module>
    UpdateNextPVR(extrasbase, xmltv_file, config=config)
  File "C:\Users\Public\NPVR-data\scripts\locast\lib\extrautils.py", line 13, in UpdateNextPVR
    backend.SessionLogin()
  File "C:\Users\Public\NPVR-data\scripts\locast\lib\libnextpvr.py", line 36, in SessionLogin
    response = self.session.get(self.url)
  File "C:\Users\John\AppData\Roaming\Python\Python38\site-packages\requests\sessions.py", line 555, in get
    return self.request('GET', url, **kwargs)
  File "C:\Users\John\AppData\Roaming\Python\Python38\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Users\John\AppData\Roaming\Python\Python38\site-packages\requests\sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "C:\Users\John\AppData\Roaming\Python\Python38\site-packages\requests\adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=8866): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0000010F9386B4F0>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))

C:\Users\Public\NPVR-data\scripts\locast>
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,165
Threads: 958
Joined: May 2006
#96
2020-12-12, 09:14 PM
Oops could you edit line 137 of locast.py to True from False

Martin
jcole998
Offline

Posting Freak

New York, USA
Posts: 865
Threads: 186
Joined: Jun 2015
#97
2020-12-12, 09:18 PM
Line 137 already was set to true: if n.ReadConfig(opts.base) == True:
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,165
Threads: 958
Joined: May 2006
#98
2020-12-12, 09:19 PM
Oops again I want it False which means config.xml is not using defaults.

Martin
jcole998
Offline

Posting Freak

New York, USA
Posts: 865
Threads: 186
Joined: Jun 2015
#99
2020-12-12, 09:32 PM
Lookin' better...still a black screen if I try to watch a channel. Logs attached.

C:\Users\Public\NPVR-data\scripts\locast>python locast.py install
Namespace(base=None, default=None, format='install', reverse=False, stream=False, tune=None)
None
jcole998@hotmail.com
Enter email:
mfKP8GXe
Enter locast password:
NextPVR web password: US9jw8SY
extralocast v0.63
Logging into Locast using username jcole998@hotmail.com...
Validating User Info...
User Info obtained.
User didDonate: True
User donationExpire: 2021-02-11 16:05:28
Getting user location...
Getting location via IP Address.
Got external IP 100.40.169.6.
Got location as New York - DMA 501 - Lat\Lon 41.5965\-73.911
Generating 501 XMLTV file for C:\Users\Public\NPVR-data\locast-xmltv.xml
<Response [200]>
Getting list of stations based on DMA...
Loading FCC Stations list...
Generating extras file
Adding extras file to NextPVR
True
200
XMLTV file previously added
Mapping xmltv to extras file
Update EPG (y/N): y
EPG Update complete. [130282 inserted, 0 updated, 0 skipped]
Requesting channel listings 0-10 of 351 from Schedules Direct
Requesting channel listings 10-20 of 351 from Schedules Direct
Requesting channel listings 30-40 of 351 from Schedules Direct
Requesting channel listings 40-50 of 351 from Schedules Direct
Requesting channel listings 60-70 of 351 from Schedules Direct
Requesting channel listings 80-90 of 351 from Schedules Direct
Requesting channel listings 90-100 of 351 from Schedules Direct
Requesting channel listings 100-110 of 351 from Schedules Direct
Requesting channel listings 120-130 of 351 from Schedules Direct
Requesting channel listings 130-140 of 351 from Schedules Direct
Requesting channel listings 140-150 of 351 from Schedules Direct
Requesting channel listings 160-170 of 351 from Schedules Direct
Requesting channel listings 180-190 of 351 from Schedules Direct
Requesting channel listings 195-205 of 351 from Schedules Direct
Requesting channel listings 205-215 of 351 from Schedules Direct
Requesting channel listings 225-235 of 351 from Schedules Direct
Requesting channel listings 245-255 of 351 from Schedules Direct
Requesting channel listings 265-275 of 351 from Schedules Direct
Requesting channel listings 275-285 of 351 from Schedules Direct
Requesting channel listings 295-298 of 351 from Schedules Direct
Requesting channel listings 309-319 of 351 from Schedules Direct
Requesting channel listings 329-339 of 351 from Schedules Direct
Saving EPG listings
Loading XMLTV listings  [C:\Users\Public\NPVR-data\locast-xmltv.xml]
Running PostUpdateEPG.bat

C:\Users\Public\NPVR-data\scripts\locast>


Attached Files
.zip   logs-20201212-1630.zip (Size: 514.82 KB / Downloads: 1)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,165
Threads: 958
Joined: May 2006
#100
2020-12-12, 09:42 PM
Good that part works and hopefully you have a locast.bat now

If this works to give you a url

cmd /c "C:\Users\Public\NPVR-data\scripts\locast\locast.bat" 1574529688027

Then we know it is still a pip problem. Could you restart the server to make sure you have the new pip and it sees those modules.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (14): « Previous 1 … 8 9 10 11 12 … 14 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Locast takes a legal hit 2leftfeet 12 3,279 2021-09-08, 10:22 PM
Last Post: Morpheus23
  Locast Extra announcements mvallevand 8 2,629 2021-09-02, 01:52 PM
Last Post: mvallevand
  Locast streaming and recordings failing Esteban 22 5,165 2021-09-01, 09:29 PM
Last Post: mvallevand
  Locast - KeyError during install MrBultitude 5 1,605 2021-09-01, 05:50 PM
Last Post: mvallevand
  Locast Multiple Streams Question pkscout 4 1,656 2021-08-30, 12:14 AM
Last Post: sub
  Locast - I did something terribly wrong?? 2leftfeet 37 6,511 2021-08-28, 05:16 PM
Last Post: mvallevand
  Locast workarounds not working for me loveridgem 19 3,737 2021-08-27, 07:44 PM
Last Post: mvallevand
  Locast - Guide Correct but wrong channel tuned sdKeith 17 3,440 2021-08-26, 10:31 PM
Last Post: sdKeith
  Locast Issues thecow 40 7,965 2021-08-06, 01:41 AM
Last Post: mvallevand
  Got Locast Working- Some thoughts-- biggoronjon 5 1,585 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