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 Issues

 
  • 0 Vote(s) - 0 Average
Locast Issues
thecow
Offline

Junior Member

USA
Posts: 15
Threads: 1
Joined: May 2021
#1
2021-05-26, 03:57 PM
I am new to NextPVR and was setting up extra-locast.  Everything seem to setup fine.  I can see the channels and program guide, but when I go to click on a show I get "Failed to start requested stream".  Based off of other help given in this forum I ran "C:\Users\Public\NPVR-data\scripts\locast\locast.bat" 1077.  This gave me the following

Namespace(format='smart', tune='1077', base=None, stream=False, reverse=False, default=None)
1077
extralocast v0.70
Logging into Locast using username ******@gmail.com...

Validating User Info...
User Info obtained.
User didDonate: True
User donationExpire: 2021-07-12 21:44:48
Getting user location...
Getting location via IP Address.
Got external IP **.***.***.***.
Got location as Philadelphia - DMA 504 - Lat\Lon ********\*********
Getting station info for 1077...
Traceback (most recent call last):
  File "C:\Users\Public\NPVR-data\scripts\locast\LocastService.py", line 488, in get_station_stream_uri
    videoUrlRes = json.loads(videoUrlReq.text)
  File "C:\Program Files\Python39\lib\json\__init__.py", line 346, in loads
    return _default_decoder.decode(s)
  File "C:\Program Files\Python39\lib\json\decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "C:\Program Files\Python39\lib\json\decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\Public\NPVR-data\scripts\locast\locast.py", line 197, in <module>
    print (locast.get_station_stream_uri(opts.tune))
  File "C:\Users\Public\NPVR-data\scripts\locast\LocastService.py", line 495, in get_station_stream_uri
    print("Error when getting the video URL: " + videoUrlReqErr.message)
AttributeError: type object 'JSONDecodeError' has no attribute 'message'
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,842
Threads: 954
Joined: May 2006
#2
2021-05-26, 04:08 PM
That doesn't look good I will have a look.

Martin
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,842
Threads: 954
Joined: May 2006
#3
2021-05-26, 04:59 PM
Where did you get station 1077 from? That doesn't appear to be a Philadelphia station.

Martin
thecow
Offline

Junior Member

USA
Posts: 15
Threads: 1
Joined: May 2021
#4
2021-05-26, 05:10 PM
I have no clue . . . I do not have a channel number 1077.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,842
Threads: 954
Joined: May 2006
#5
2021-05-26, 05:19 PM
You would have to use a number that is in extra.locast.xml you probably are testing from another users LA example Maybe try CBS which is 19611

Martin
thecow
Offline

Junior Member

USA
Posts: 15
Threads: 1
Joined: May 2021
#6
2021-05-26, 05:28 PM
I just searched my xml file. "1077" is no where in the file, but "19611" is in there as the CBS channel.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,842
Threads: 954
Joined: May 2006
#7
2021-05-26, 05:31 PM
I was suggesting using that number and redo the test

Martin
thecow
Offline

Junior Member

USA
Posts: 15
Threads: 1
Joined: May 2021
#8
2021-05-26, 06:11 PM
Sorry!  I should have known that was what you meant.

The response in CMD is exactly the same except for the station number.  I tried 19611.

Thanks!
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,842
Threads: 954
Joined: May 2006
#9
2021-05-26, 06:35 PM
Instead of 19611 can you try 566

Martin
thecow
Offline

Junior Member

USA
Posts: 15
Threads: 1
Joined: May 2021
#10
2021-05-26, 06:36 PM (This post was last modified: 2021-05-26, 06:38 PM by thecow.)
Here is the response I get:


Namespace(format='smart', tune='566', base=None, stream=False, reverse=False, default=None)
566
extralocast v0.70
Logging into Locast using username *****@gmail.com...
Validating User Info...
User Info obtained.
User didDonate: True
User donationExpire: 2021-07-12 21:44:48
Getting user location...
Getting location via IP Address.
Got external IP********.
Got location as Philadelphia - DMA 504 - Lat\Lon ************
Getting station info for 566...
Determining best video stream for 566...
Found 3 Playlists
566 will use 1280x720 resolution at 2700000bps
https://phi2.locastnet.org/proxy/phi2/va...ozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (5): 1 2 3 4 5 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Locast.org support mvallevand 137 25,871 2022-01-26, 12:55 AM
Last Post: tesla1886
  Locast takes a legal hit 2leftfeet 12 3,021 2021-09-08, 10:22 PM
Last Post: Morpheus23
  Locast Extra announcements mvallevand 8 2,375 2021-09-02, 01:52 PM
Last Post: mvallevand
  Locast streaming and recordings failing Esteban 22 4,758 2021-09-01, 09:29 PM
Last Post: mvallevand
  Locast - KeyError during install MrBultitude 5 1,466 2021-09-01, 05:50 PM
Last Post: mvallevand
  Locast Multiple Streams Question pkscout 4 1,525 2021-08-30, 12:14 AM
Last Post: sub
  Locast - I did something terribly wrong?? 2leftfeet 37 5,813 2021-08-28, 05:16 PM
Last Post: mvallevand
  Locast workarounds not working for me loveridgem 19 3,288 2021-08-27, 07:44 PM
Last Post: mvallevand
  Locast - Guide Correct but wrong channel tuned sdKeith 17 3,051 2021-08-26, 10:31 PM
Last Post: sdKeith
  Got Locast Working- Some thoughts-- biggoronjon 5 1,421 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