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
Online

Posting Freak

Ontario Canada
Posts: 52,840
Threads: 954
Joined: May 2006
#11
2020-12-10, 05:40 PM
Great. The logic adds the XMLTV file so we will need to add a step at the end.

Let's get one stream working and see, you said Win10 so

Unzip the attached into C:\Users\Public\NPVR-data\scripts

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

python locast.py install

Follow the prompts to enter your username and password (currently stored in the clear). It is best to update the EPG when prompted at the end.

If all goes well you should have the extra installed, channel logos and EPG downloaded and mapped and ready to watch in NextPVR.  Let me know how it goes.

Martin
2leftfeet
Offline

Senior Member

Somewhere in NE Pa.
Posts: 546
Threads: 57
Joined: Jan 2015
#12
2020-12-10, 05:52 PM
ok, when executing python command, I got this:

C:\Users\Public\NPVR-data\scripts\locast>python locast.py install
File "locast.py", line 235
ET.SubElement(channel, 'icon') = station['logoUrl']
^
SyntaxError: can't assign to function call

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

Posting Freak

Ontario Canada
Posts: 52,840
Threads: 954
Joined: May 2006
#13
2020-12-10, 06:08 PM
Oops could you edit locast.py with notepad and make it

ET.SubElement(channel, 'icon').text = station['logoUrl']

Martin
pkscout
Offline

Senior Member

USA
Posts: 464
Threads: 50
Joined: May 2014
#14
2020-12-10, 06:16 PM
(2020-12-09, 10:49 PM)mvallevand Wrote: Great if you like OTA I think you will like this.  First you will need to install

python3 and then run

pip install requests lxml

Martin

Just FYI for anyone who might want to try this from Docker (I would, but Honolulu is not in the covered area). I have a NextPVR Docker image that includes Python and requests (and another that has just Python if you'd rather install modules yourself).

https://forums.nextpvr.com/showthread.php?tid=60337
2leftfeet
Offline

Senior Member

Somewhere in NE Pa.
Posts: 546
Threads: 57
Joined: Jan 2015
#15
2020-12-10, 06:19 PM
actually, there were two places where that line needed edits - both fixed, but now, I am getting:

C:\Users\Public\NPVR-data\scripts\locast>python locast.py install
Traceback (most recent call last):
File "locast.py", line 16, in <module>
import LocastService
File "C:\Users\Public\NPVR-data\scripts\locast\LocastService.py", line 12, in <module>
import m3u8
ModuleNotFoundError: No module named 'm3u8'
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,840
Threads: 954
Joined: May 2006
#16
2020-12-10, 06:23 PM
Sorry again I forgot about that requirement I haven't used this for a month.

pip install m3u8

Martin
2leftfeet
Offline

Senior Member

Somewhere in NE Pa.
Posts: 546
Threads: 57
Joined: Jan 2015
#17
2020-12-10, 06:45 PM (This post was last modified: 2020-12-10, 06:46 PM by 2leftfeet.)
I think we are getting close - entered email & pw, then generated this message:

Validating User Info...
User Info obtained.
User didDonate: True
User donationExpire: 2021-01-12 10:23:18
Getting user location...
Getting location via IP Address.
Got external IP xx.xx.xx.xx.
Got location as Philadelphia - DMA 504 - Lat\Lon 40.6002\-75.3805
Getting list of stations based on DMA...
Loading FCC Stations list...
Generating extras file
Traceback (most recent call last):
File "locast.py", line 235, in <module>
ET.SubElement(channel, 'icon').text = station['logoUrl']
KeyError: 'logoUrl'
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,840
Threads: 954
Joined: May 2006
#18
2020-12-10, 06:55 PM
I've only run in LA and NYC so expected issues in their layouts.

Replace locast.py with this.

Martin
2leftfeet
Offline

Senior Member

Somewhere in NE Pa.
Posts: 546
Threads: 57
Joined: Jan 2015
#19
2020-12-10, 07:29 PM
OK, with 6.1, everything installed without error.

two extra devices were installed - EXTRA Recorder (extra-locast.xml) & EXTRA Recorder (extra-locast-trial.xml)

I scanned the EXTRA Recorder (extra-locast.xml) device and it found 42 channels, & downloaded the icons & EPG
All the channels seem to be listed correctly both the channels page and EPG

I was able to get LiveTV to play ONCE on a randomly selected channel,  but when trying to play a different channel,  I keep getting stream failed messages and consequently, no live play !  I then went back to the first channel that I tried, and it failed to stream as well.


Attached Files
.zip   logs-20201210-1426.zip (Size: 478.58 KB / Downloads: 2)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,840
Threads: 954
Joined: May 2006
#20
2020-12-10, 07:46 PM
That's weird I see output from the trial extra that NextPVR shouldn't even know about. Could you send me the zipped extra files please.

Do you see a URL If you run

"C:\Users\Public\NPVR-data\scripts\locast\locast.bat" 552

If so, it possible that you didn't install python and install the libraries for all users. You can test this by changing the properties of the NextPVR to run as user.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  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,524 2021-08-30, 12:14 AM
Last Post: sub
  Locast - I did something terribly wrong?? 2leftfeet 37 5,811 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
  Locast Issues thecow 40 7,471 2021-08-06, 01:41 AM
Last Post: mvallevand
  Got Locast Working- Some thoughts-- biggoronjon 5 1,420 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