[RELEASE] HockeyStreams Plugin (Streams Live Ice-Hockey Games from HockeyStreams.com)
#1
Thumbs Up 
Newest Downloads:
November 19th, 2009 - Version 1.3.0 is available in the XBMC-Addons SVN. Note that 1.3.0 does not have RSS Archive support. The next revision will. Continue using the link below for RSS Archive support.

RSS Archives [Testing] - November 18th, 2009 - Added RSS Archive support which allows for easier archive access. Install this as a separate plugin, in order to keep the working v1.2.0b install untouched. The plugin is available on SVN and the downloads page. Report back to this thread with any errors or successful installs. I will release this in the XBMC-Addons SVN as soon as testing is complete.

v1.2.0b - May 10th, 2009 - Live and Archived Streams! Please use v1.2.0a or higher! Now, IP Exception is generated daily, no need to log in to the site with a browser anymore!

Hi, recently I posted about a HockeyStreams script at http://forum.xbmc.org/showthread.php?tid=49230.

Now I have created a plugin which is available at http://code.google.com/p/hockeystreams. Unfortunately, you need to update an IP Exception through the site as you would normally. This plugin does not have an IP exception feature in the first release. The next release will include the feature. The plugin will replace the script, as there will be a 'final' script release. Then all efforts will be put into improving the plugin.

Steps to create an IP Exception:
1.) log into hockeystreams.com in your web browser.
2.) click the game you want to watch.
3.) the pages that opens up will have "IP Exception" above the game window.
4.) that will open up a form, click "Add Exception" and you have successfully updated your excetion.

An IP exception allows the user to watch the games on an outside client such as vlc or XBMC, this is necessary each day you want to watch video outside of the site.

Note! You need to have premium account and login to watch any live stream. The HockeyStreams.com site is not free, although my script is. If you want to sign up to get an account you could use my referral link here http://www.hockeystreams.com/register/hfan88 or sign up normally at http://hockeystreams.com
Quote:- Live Pre-Season Games
- Live Regular Season Games
- Live Post Season Games
- Live NHL© All-Star Game
- Live NHL© Draft
- Live NHL© Player Awards
- Live Olympics
- Memorial Cup
- Archived Games
- Trade Deadline on multiple stations
- Rumour-Mill Access
- Video is streamed at 648KBps (HQ) and 900KBps (HD), 30 Frames per second, can you go wrong?
- HQ feeds are streamed at a 320x240 resolution, HD feeds are streamed at a 640x390 resolution. If an HD feed is unavailable the HQ feed will be in 640x390.
- Plus much, much, more!

Because we offer so much, and are utilizing so many resources; we ask for a donation in order to gain access to the best streaming service on the planet!

Donation amounts are:

- $3.99 per day
- $9.99 per month
- $19.99 every 3 months
- $29.99 every 6 months
- $49.99 per year
Enjoy!
Reply
#2
Star 
Updates:
May 8th, 2009 - Version 1.0.2 released! HockeyStreams changed a few links, they are now updated and working in v1.0.2!
May 4th, 2009 - Version 1.0.1 released! IP Exception is now included in the plugin! No need to update through the HockeyStreams website!

Downloads:
http://code.google.com/p/hockeystreams
Reply
#3
Star 
May 9th, 2009 - v1.2.0a released! This version works with the new servers! download here.
Reply
#4
is this anything like the mlb.tv streams? if so, it would be sweet if you would help the guys that are developing that plugin!
Reply
#5
I think mlb.tv is rtmp, so it may be harder to develop. I will check out the thread and see if I can help!
Reply
#6
Is this still working? If so, I don't think I'm using it correctly. I'm a new XBMC user and this is my first plugin install. I've got the plugin showing up in the Video Plugins 'directory' but when I try to open it it gives me an error in default.py.

Any advice or more explicit install instructions I might need would help me a lot.

Thanks
Reply
#7
You have an account with the hockeystreams website and have entered that information in the plugin settings, and you've done the ip exception thing mentioned in the first post?
Reply
#8
I hadn't set the plugin setting up... You'll have to forgive me, I'm new to XBMC (Using my brother's box).

I have it logging in and looking at archive games but when I try to play them it just hangs... Haven't tried with anything live yet since the next live event is few days away.
Reply
#9
" An IP exception allows the user to watch the games on an outside client such as vlc or XBMC, this is necessary each day you want to watch video outside of the site. "


so i need to do this exception EVERY f'ing day i wanna watch a game ? I was gonna subscribe to the site for my hockey fix only because of your script but if site owners are this dense.... i hope i'm wrong , otherwise im going with ESPN360.

script sounds promising but if site is as limited ( not your fault obviously ) site is not worthy of my time/money.
Reply
#10
wally007 Wrote:so i need to do this exception EVERY f'ing day i wanna watch a game ? I was gonna subscribe to the site for my hockey fix only because of your script but if site owners are this dense.... i hope i'm wrong , otherwise im going with ESPN360.

script sounds promising but if site is as limited ( not your fault obviously ) site is not worthy of my time/money.

You aware of fact, that with ESPN360 you will be able to watch streams only in their flash player?
This exceptions, you don't like, give a chance to see their streams outside of browser. For example in XBMC.
Reply
#11
Star 
wally007 Wrote:" An IP exception allows the user to watch the games on an outside client such as vlc or XBMC, this is necessary each day you want to watch video outside of the site. "


so i need to do this exception EVERY f'ing day i wanna watch a game ? I was gonna subscribe to the site for my hockey fix only because of your script but if site owners are this dense.... i hope i'm wrong , otherwise im going with ESPN360.

script sounds promising but if site is as limited ( not your fault obviously ) site is not worthy of my time/money.

the plugin creates an ip exception for you automatically.

the site is not limited like you think, i have two plugins for it, one being this and two being a conky config script.
hockeystreams is clearly the better choice. Big Grin
Reply
#12
I'm getting an error before the plugin has a chance to start.

Would love to see this working. Let me know if you need any help.

Cheers!

Code:
22:43:20 M: 39841792   DEBUG: CApplication::OnKey: 256 pressed, action is 7
22:43:20 M: 39829504   DEBUG: Clearing cached fileitems [plugin://video/HockeyStreams/]
22:43:20 M: 43134976   DEBUG: CGUIMediaWindow::GetDirectory (plugin://video/HockeyStreams/)
22:43:20 M: 43134976   DEBUG:   ParentPath = [plugin://video/]
22:43:20 M: 43134976   DEBUG: DIRECTORY::CPluginDirectory::StartScript - URL for plugin settings: HockeyStreams/
22:43:20 M: 43134976   DEBUG: unable to load special://home/plugins/video/HockeyStreams/resources/language/english/strings.xml: Failed to open file at line 0
22:43:20 M: 43134976   DEBUG: DIRECTORY::CPluginDirectory::StartScript - calling plugin special://home/plugins/video/HockeyStreams/default.py('plugin://video/HockeyStreams/','0','')
22:43:20 M: 43134976    INFO: initializing python engine.
22:43:20 M: 43134976   DEBUG: LoadLibraryA('python24.dll')
22:43:20 M: 42012672   DEBUG: LoadLibrary('python24.dll') returning: 00C937C0
22:43:20 M: 42012672   DEBUG: dllGetProcAddress(00854BF8(kernel32.dll), 'InterlockedCompareExchange') => 000D6AC4
22:43:20 M: 41746432   DEBUG: GetModuleFileNameA(00000000, 1E102490, 256) => 'xbmc.xbe'
22:43:20 M: 41746432   DEBUG: advapi32.dll fake function RegQueryInfoKeyA called
22:43:20 M: 41746432   DEBUG: advapi32.dll fake function RegQueryInfoKeyA called
22:43:20 M: 41680896   DEBUG: LoadLibraryExA called with flags:
                                             - LOAD_WITH_ALTERED_SEARCH_PATH
22:43:20 M: 41680896   DEBUG: LoadLibraryA('zlib.pyd')
22:43:20 M: 41611264   DEBUG: kernel32.dll fake function DisableThreadLibraryCalls called
22:43:20 M: 41611264   DEBUG: LoadLibrary('zlib.pyd') returning: 00C21590
22:43:20 M: 41611264   DEBUG: dllGetProcAddress(1E1B0000(zlib.pyd), 'initzlib') => 1E1B2150
22:43:20 M: 40706048  NOTICE: -->Python Initialized<--
22:43:20 M: 40706048   DEBUG: new python thread created. id=5
22:43:20 M: 40181760   DEBUG: DIRECTORY::CPluginDirectory::WaitOnScriptResult - waiting on the HockeyStreams plugin...
22:43:20 M: 40181760   DEBUG: Python thread: start processing
22:43:20 M: 40181760   DEBUG: XBPyThread::Process - The source file to load is special://home/plugins/video/HockeyStreams/default.py
22:43:20 M: 40181760   DEBUG: XBPyThread::Process - Setting the Python path to Q:\plugins\video\HockeyStreams;Q:\system\python\python24.zlib;Q:\system\python\DLLs;Q:\system\python\Lib;Q:\system\python\spyce
22:43:20 M: 40181760   DEBUG: XBPyThread::Process - Entering source directory Q:\plugins\video\HockeyStreams
22:43:21 M: 39628800   DEBUG: LoadLibraryExA called with flags:
                                             - LOAD_WITH_ALTERED_SEARCH_PATH
22:43:21 M: 39628800   DEBUG: LoadLibraryA('_socket.pyd')
22:43:21 M: 39579648   DEBUG: kernel32.dll fake function DisableThreadLibraryCalls called
22:43:21 M: 39579648   DEBUG: LoadLibrary('_socket.pyd') returning: 00BF13B0
22:43:21 M: 39579648   DEBUG: dllGetProcAddress(1E1D0000(_socket.pyd), 'init_socket') => 1E1D4BF0
22:43:21 M: 39555072   DEBUG: LoadLibraryExA called with flags:
                                             - LOAD_WITH_ALTERED_SEARCH_PATH
22:43:21 M: 39559168   DEBUG: LoadLibraryA('_ssl.pyd')
22:43:21 M: 39059456   DEBUG: kernel32.dll fake function DisableThreadLibraryCalls called
22:43:21 M: 39059456   DEBUG: LoadLibrary('_ssl.pyd') returning: 00BECA20
22:43:21 M: 39059456   DEBUG: dllGetProcAddress(01A60000(_ssl.pyd), 'init_ssl') => 01A61820
22:43:21 M: 38735872   DEBUG: kernel32.dll fake function SetConsoleCtrlHandler called
22:43:21 M: 38707200   DEBUG: dllGetProcAddress(00855480(advapi32.dll), 'CryptAcquireContextA') => 0025B897
22:43:21 M: 38707200   DEBUG: dllGetProcAddress(00855480(advapi32.dll), 'CryptGenRandom') => 00258CB6
22:43:21 M: 38707200   DEBUG: advapi32.dll fake function dllCryptAcquireContext() called
22:43:22 M: 37597184   DEBUG: ------ Window Init (DialogBusy.xml) ------
22:43:22 M: 37625856    INFO: Loading skin file: DialogBusy.xml
22:43:22 M: 37617664   DEBUG: Load DialogBusy.xml: 20.41ms
22:43:22 M: 37617664   DEBUG: Alloc resources: 21.29ms (21.28 ms skin load, 0.00 ms preload)
22:43:22 M: 37441536    INFO: Loading skin file: DialogProgress.xml
22:43:22 M: 37457920   DEBUG: Load DialogProgress.xml: 13.00ms
22:43:22 M: 37457920   DEBUG: ------ Window Init (DialogProgress.xml) ------
22:43:22 M: 37416960   DEBUG: Alloc resources: 29.96ms (0.00 ms skin load, 0.00 ms preload)
22:43:22 M: 37056512   DEBUG: ------ Window Deinit (DialogBusy.xml) ------
22:43:22 M: 36864000  NOTICE: Traceback (most recent call last):
22:43:22 M: 36843520  NOTICE:   File "Q:\plugins\video\HockeyStreams\default.py", line 341, in ?
22:43:22 M: 36843520  NOTICE: ipException(hs,username,password)
22:43:22 M: 36843520  NOTICE:   File "Q:\plugins\video\HockeyStreams\default.py", line 15, in ipException
22:43:22 M: 36843520  NOTICE: date = open(path + '\\date.txt','r')
22:43:22 M: 36843520  NOTICE: IOError
22:43:22 M: 36843520  NOTICE: :
22:43:22 M: 36843520  NOTICE: [Errno 2] No such file or directory: 'Q:\\plugins\\video\\HockeyStreams\\resources\\date.txt'
22:43:22 M: 36843520   ERROR: Scriptresult: Error
22:43:22 M: 36843520    INFO: Python script stopped
22:43:23 M: 37367808   DEBUG: python thread 5 destructed
22:43:23 M: 37367808    INFO: Python, unloading python24.dll because no scripts are running anymore
22:43:23 M: 37806080   DEBUG: Q:\system\python\DLLs\_ssl.pyd (base 01A60000): Detected memory leaks: 1647 leaks
22:43:23 M: 37814272   DEBUG: leak caller address 01A6489B, size    20064, counter 1645
22:43:23 M: 37814272   DEBUG: leak caller address 01A648B0, size     4224, counter 2
22:43:23 M: 37814272   DEBUG: _ssl.pyd: Total bytes leaked: 24288
22:43:23 M: 38330368   DEBUG: Q:\system\python\python24.dll (base 1E000000): Detected memory leaks: 425 leaks
22:43:23 M: 41218048   DEBUG: leak caller address 1E0211CB, size       24, counter 1
22:43:23 M: 41218048   DEBUG: leak caller address 1E046F57, size   494016, counter 87
22:43:23 M: 41218048   DEBUG: leak caller address 1E04FF6B, size     1000, counter 1
22:43:23 M: 41218048   DEBUG: leak caller address 1E058C2C, size      233, counter 1
22:43:23 M: 41218048   DEBUG: leak caller address 1E05CDDB, size    32604, counter 33
22:43:23 M: 41218048   DEBUG: leak caller address 1E05E5EF, size     1976, counter 2
22:43:23 M: 41218048   DEBUG: leak caller address 1E060EA5, size      552, counter 17
22:43:23 M: 41218048   DEBUG: leak caller address 1E060F81, size       80, counter 4
22:43:23 M: 41218048   DEBUG: leak caller address 1E072C5F, size  2359296, counter 9
22:43:23 M: 41218048   DEBUG: leak caller address 1E072CAC, size       64, counter 1
22:43:23 M: 41218048   DEBUG: leak caller address 1E072E88, size    55630, counter 101
22:43:23 M: 41218048   DEBUG: leak caller address 1E072FC9, size     6253, counter 159
22:43:23 M: 41218048   DEBUG: leak caller address 1E091E3F, size      640, counter 3
22:43:23 M: 41218048   DEBUG: leak caller address 1E093BEC, size       72, counter 6
22:43:23 M: 41218048   DEBUG: python24.dll: Total bytes leaked: 2952440
22:43:23 M: 42541056   DEBUG: ------ Window Init (DialogKaiToast.xml) ------
22:43:23 M: 42541056   DEBUG: Alloc resources: 0.01ms (0.00 ms skin load, 0.00 ms preload)
22:43:23 M: 42475520   DEBUG:  DIRECTORY::CPluginDirectory::WaitOnScriptResult - plugin exited prematurely - terminating
22:43:23 M: 42475520   ERROR: DIRECTORY::CDirectory::GetDirectory - Error getting plugin://video/HockeyStreams/
22:43:23 M: 42475520   ERROR: CGUIMediaWindow::GetDirectory(plugin://video/HockeyStreams/) failed
22:43:23 M: 42475520   DEBUG: CGUIMediaWindow::GetDirectory (plugin://video/)
22:43:23 M: 42475520   DEBUG:   ParentPath = []
22:43:23 M: 42516480   DEBUG: CFileItemList::Sort, sorting took 0 millis
22:43:23 M: 39337984   DEBUG: ------ Window Deinit (DialogProgress.xml) ------
22:43:29 M: 39784448   DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
Reply
#13
nevermind... i neglected to set the login settings.
Guess i was expecting to see that inside the plugin as with the old script.


Perhaps there is a way to fail login more gracefully?
Reply
#14
f3ar007 Wrote:the plugin creates an ip exception for you automatically.

the site is not limited like you think, i have two plugins for it, one being this and two being a conky config script.
hockeystreams is clearly the better choice. Big Grin

OK , thanks for clarification. I'll give it a try sometime in december, 12 months sub (100 bucks ) is little too rich for my blood. ( that way 6 month sub will last till end of the play offs (may/june) ).
Reply
#15
wally007 Wrote:OK , thanks for clarification. I'll give it a try sometime in december, 12 months sub (100 bucks ) is little too rich for my blood. ( that way 6 month sub will last till end of the play offs (may/june) ).

This offseason Hockeystreams basically paid for itself by showing the UFC events. If you buy any UFC PPV, 12 months is the way to go.
Reply

Logout Mark Read Team Forum Stats Members Help
[RELEASE] HockeyStreams Plugin (Streams Live Ice-Hockey Games from HockeyStreams.com)0