[REQUEST] Pac12 Network Addon
#16
PAC 12 is working fine here.on version 0.0.4.
Reply
#17
Thanks for the addon for Pac 12 network. It works perfectly . Still have 13.2 on desktop.
Reply
#18
Just upgraded to Kodi and this addon is not working in Kodi....Gotham was working fine
Reply
#19
I reinstalled 0.0.4 and the module and im still getting the script fail. Thanks
Reply
#20
I received an error when installing 0.0.4, it said the file structure was wrong. Installed 0.0.2 and it's working fine. Using an ATV2 running Gotham. I'll have to provide debug info later, right now...there's a game on.
-
Reply
#21
It's halftime so I figured I'd look in to it a bit.

Problem was the missing beautiful soup package. I ssh'd in to my ATV and ran the following command

Code:
apt-get install python-beautifulsoup

I also had to run the following (others may not have to do this)

Code:
dpkg --configure -a

I then reinstalled 0.0.4. Everything is working fine now.

Awesome add-on, thanks for putting it together!
-
Reply
#22
(2014-11-28, 21:30)MetalChris Wrote:
(2014-11-28, 20:59)sportshd Wrote: I reinstalled 0.0.4 and the module and im still getting the script fail. Thanks
Which version of Kodi are you using?

Please provide a debug log. Follow the directions here if you do not know how.

Will version 0.0.2 work for you? Need to make sure we're having the same issue.

0.0.2 works, My issue is with 0.0.4 here is the script error from the log. I'm running Kodi 14 RC3
Reply
#23
(2014-11-02, 00:37)thebostonsports Wrote:
(2014-11-02, 00:10)MetalChris Wrote:
(2014-11-01, 23:22)thebostonsports Wrote: Nice, works great.

Thanks. Smile

Just wondering, are able to view the 1080p streams ok? I was having some buffering issues this morning, every 10 minutes or so. 720p seems to be pretty smooth though, only buffered once or twice in the last couple of hours.

1080p is working fine, maybe some buffering but everything works great.
Have you ever looked at btn2go? Very similar and has some good content.

I would be grateful if a btn2go app was made. I only use linux, and for some reason btn2go doesn't work on any of my linux web browsers, whether firefox, chrome, chromium, etc. So I guess my only hope of ever using that service is if a kodi add-on is created.
Reply
#24
I have a patch which seems to work without Beautiful Soup. It is nice because it works on OpenElec

Any chance of getting it integrated?

diff -ur plugin.video.pac12networks/default.py plugin.video.pac12networks-jrw/default.py
--- plugin.video.pac12networks/default.py 2014-11-03 18:04:49.000000000 -0500
+++ plugin.video.pac12networks-jrw/default.py 2015-03-06 20:12:27.000000000 -0500
@@ -1,10 +1,11 @@
#!/usr/bin/python

import urllib, urllib2, xbmc, xbmcgui, xbmcplugin, string, htmllib, os, platform, random, calendar, re, xbmcaddon, sys
-from BeautifulSoup import BeautifulStoneSoup as Soup
import HTMLParser
import xml.etree.ElementTree as ET

+Soup = ET.fromstring
+
defaultimage = 'special://home/addons/plugin.video.pac12networks/icon.png'
defaultfanart = 'special://home/addons/plugin.video.pac12networks/fanart.jpg'
baseurl = 'http://xrxs.net/video/live-'
@@ -32,8 +33,7 @@
addon_handle = int(sys.argv[1])
html = get_html('http://sports.the-antinet.net/pac12/pac12zap-2xml.xml')
soup = Soup(html)
-for event in soup.findAll('item'):
- msg_attrs = dict(event.attrs)
+for event in soup.findall('.//item'):
nateventname = str(event.find('title'))
natsport = str(event.find('sport'))
natsport = natsport[7:-8]
@@ -44,12 +44,11 @@
natevent = natsport
else:
natevent = nateventname+" "+natsport
-
+
addon_handle = int(sys.argv[1])
html = get_html('http://sports.the-antinet.net/pac12/pac12azzap-2xml.xml')
soup = Soup(html)
-for event in soup.findAll('item'):
- msg_attrs = dict(event.attrs)
+for event in soup.findall('.//item'):
azeventname = str(event.find('title'))
azsport = str(event.find('sport'))
azsport = azsport[7:-8]
@@ -60,12 +59,11 @@
azevent = azsport
else:
azevent = azeventname+" "+azsport
-
+
addon_handle = int(sys.argv[1])
html = get_html('http://sports.the-antinet.net/pac12/pac12bazap-2xml.xml')
soup = Soup(html)
-for event in soup.findAll('item'):
- msg_attrs = dict(event.attrs)
+for event in soup.findall('.//item'):
baeventname = str(event.find('title'))
basport = str(event.find('sport'))
basport = basport[7:-8]
@@ -80,8 +78,7 @@
addon_handle = int(sys.argv[1])
html = get_html('http://sports.the-antinet.net/pac12/pac12lazap-2xml.xml')
soup = Soup(html)
-for event in soup.findAll('item'):
- msg_attrs = dict(event.attrs)
+for event in soup.findall('.//item'):
laeventname = str(event.find('title'))
lasport = str(event.find('sport'))
lasport = lasport[7:-8]
@@ -96,8 +93,7 @@
addon_handle = int(sys.argv[1])
html = get_html('http://sports.the-antinet.net/pac12/pac12mtnzap-2xml.xml')
soup = Soup(html)
-for event in soup.findAll('item'):
- msg_attrs = dict(event.attrs)
+for event in soup.findall('.//item'):
mtneventname = str(event.find('title'))
mtnsport = str(event.find('sport'))
mtnsport = mtnsport[7:-8]
@@ -112,8 +108,7 @@
addon_handle = int(sys.argv[1])
html = get_html('http://sports.the-antinet.net/pac12/pac12orzap-2xml.xml')
soup = Soup(html)
-for event in soup.findAll('item'):
- msg_attrs = dict(event.attrs)
+for event in soup.findall('.//item'):
oreventname = str(event.find('title'))
orsport = str(event.find('sport'))
orsport = orsport[7:-8]
@@ -128,8 +123,7 @@
addon_handle = int(sys.argv[1])
html = get_html('http://sports.the-antinet.net/pac12/pac12wazap-2xml.xml')
soup = Soup(html)
-for event in soup.findAll('item'):
- msg_attrs = dict(event.attrs)
+for event in soup.findall('.//item'):
waeventname = str(event.find('title'))
wasport = str(event.find('sport'))
wasport = wasport[7:-8]
@@ -195,11 +189,11 @@
addDirectoryItem(name=SECOND_SUBMENU, parameters={ PARAMETER_KEY_MODE: MODE_SECOND, PARAMETER_KEY_NAME: SECOND_SUBMENU }, isFolder=True)
addDirectoryItem(name=THIRD_SUBMENU, parameters={ PARAMETER_KEY_MODE: MODE_THIRD, PARAMETER_KEY_NAME: THIRD_SUBMENU }, isFolder=True)
addDirectoryItem(name=FOURTH_SUBMENU, parameters={ PARAMETER_KEY_MODE: MODE_FOURTH, PARAMETER_KEY_NAME: FOURTH_SUBMENU }, isFolder=True)
- addDirectoryItem(name=FIFTH_SUBMENU, parameters={ PARAMETER_KEY_MODE: MODE_FIFTH, PARAMETER_KEY_NAME: FIFTH_SUBMENU }, isFolder=True)
+ addDirectoryItem(name=FIFTH_SUBMENU, parameters={ PARAMETER_KEY_MODE: MODE_FIFTH, PARAMETER_KEY_NAME: FIFTH_SUBMENU }, isFolder=True)
addDirectoryItem(name=SIXTH_SUBMENU, parameters={ PARAMETER_KEY_MODE: MODE_SIXTH, PARAMETER_KEY_NAME: SIXTH_SUBMENU }, isFolder=True)
addDirectoryItem(name=SEVENTH_SUBMENU, parameters={ PARAMETER_KEY_MODE: MODE_SEVENTH, PARAMETER_KEY_NAME: SEVENTH_SUBMENU }, isFolder=True)
xbmcplugin.endOfDirectory(handle=handle, succeeded=True)
-
+
def show_first_submenu():
''' Show first submenu. '''
for i in range(0, 1):
Reply
#25
HI
This is link to repository with my wersion of Pac12 addon:
http://xbmc-huball-repository.googlecode...huball.zip

Image
Reply
#26
Thank you huball. Pac-12 LA feed not working for me but I haven't had a chance to get a log yet. Is it working for you? (I tried the 720p feed)
Reply

Logout Mark Read Team Forum Stats Members Help
[REQUEST] Pac12 Network Addon1