Kodi Community Forum

Full Version: [SUPPORT] Free Cable - US station aggregator
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(2014-03-21, 21:49)slices Wrote: [ -> ]
(2014-03-21, 19:07)elmerohueso Wrote: [ -> ]We may not need to look at show names. It looks like each episode_item has an 'authEndDate' value (in millisecond epoch time), which appears to be the date that the episode will be unlocked. So, we might be able to change that if statement to just compare episode_item['authEndDate'] to datetime.now().

That works, will check it in once I've finished testing

FYI, here's what I did:
Replace
Code:
if ((datetime.now() - datetime.strptime(episode_item['airdate'], '%Y-%m-%d')).days  >= 8) or (_common.args.name == 'Clips'):
with
Code:
if (int(time.time() * 1000) >= int(episode_item['authEndDate'])) or (_common.args.name == 'Clips'):

time.time() gets current time in seconds since epoch, then convert to milliseconds. That's the easiest way I found to run the check.

Would you be checking this in on the official channel, or the beta channel?
Fox doesn't work in the 0.7.6 branch
I just installed both the latest beta and stable versions from the zip files on the first page. I get an error when clicking on NBC. Below is the error from the log file. Anyone else having the same problem? Is there a newer version of nbc.py that I can get from somewhere, and if so, where?

Free Cable "stable" version:
Quote:11:38:58 T:1744 NOTICE: FREE CABLE --> common :: getURL :: url = http://www.nbc.com/video/library/full-episodes/
11:38:58 T:1744 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.AttributeError'>
Error Contents: 'NoneType' object has no attribute 'findAll'
Traceback (most recent call last):
File "C:\Users\aspears\AppData\Roaming\XBMC\addons\plugin.video.free.cable\default.py", line 68, in <module>
modes ( )
File "C:\Users\aspears\AppData\Roaming\XBMC\addons\plugin.video.free.cable\default.py", line 64, in modes
exec 'sitemodule.%s()' % common.args.sitemode
File "<string>", line 1, in <module>
File "C:\Users\aspears\AppData\Roaming\XBMC\addons\plugin.video.free.cable\resources\lib\nbc.py", line 24, in rootlist
shows(BASE_URL,'Show Library')
File "C:\Users\aspears\AppData\Roaming\XBMC\addons\plugin.video.free.cable\resources\lib\nbc.py", line 30, in shows
categories=menu.findAll('h3')
AttributeError: 'NoneType' object has no attribute 'findAll'
-->End of Python script error report<--
11:38:58 T:6516 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.free.cable/?fanart=%22C%3a%5cUsers%5caspears%5cAppData%5cRoaming%5cXBMC%5caddons%5cplugin.video.free.cable%5cfanart.jpg%22&mode=%22nbc%22&name=%22NBC%22&sitemode=%22rootlist%22&thumb=%22C%3a%5cUsers%5caspears%5cAppData%5cRoaming%5cXBMC%5caddons%5cplugin.video.free.cable%5cresources%5cimages%5cnbc.png%22&url=%22%22
11:38:58 T:6516 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.free.cable/?fanart=%22C%3a%5cUsers%5caspears%5cAppData%5cRoaming%5cXBMC%5caddons%5cplugin.video.free.cable%5cfanart.jpg%22&mode=%22nbc%22&name=%22NBC%22&sitemode=%22rootlist%22&thumb=%22C%3a%5cUsers%5caspears%5cAppData%5cRoaming%5cXBMC%5caddons%5cplugin.video.free.cable%5cresources%5cimages%5cnbc.png%22&url=%22%22) failed

Free Cable Beta version:
Quote:11:46:24 T:372 NOTICE: _connection :: getURL :: url = http://www.nbc.com/shows
11:46:25 T:372 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.AttributeError'>
Error Contents: 'NoneType' object has no attribute 'string'
Traceback (most recent call last):
File "C:\Users\aspears\AppData\Roaming\XBMC\addons\plugin.video.free.cable-beta\default.py", line 63, in <module>
modes()
File "C:\Users\aspears\AppData\Roaming\XBMC\addons\plugin.video.free.cable-beta\default.py", line 60, in modes
exec 'sitemodule.%s()' % _common.args.sitemode
File "<string>", line 1, in <module>
File "C:\Users\aspears\AppData\Roaming\XBMC\addons\plugin.video.free.cable-beta\resources\lib\nbc.py", line 54, in rootlist
root_name = cells[0].a.p.string
AttributeError: 'NoneType' object has no attribute 'string'
-->End of Python script error report<--
11:46:25 T:6516 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.free.cable-beta/?fanart=%22C%3a%5cUsers%5caspears%5cAppData%5cRoaming%5cXBMC%5caddons%5cplugin.video.free.cable-beta%5cfanart.jpg%22&mode=%22nbc%22&name=%22NBC%22&sitemode=%22rootlist%22&thumb=%22C%3a%5cUsers%5caspears%5cAppData%5cRoaming%5cXBMC%5caddons%5cplugin.video.free.cable-beta%5cresources%5cimages%5cnbc.png%22&url=%22%22
11:46:25 T:6516 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.free.cable-beta/?fanart=%22C%3a%5cUsers%5caspears%5cAppData%5cRoaming%5cXBMC%5caddons%5cplugin.video.free.cable-beta%5cfanart.jpg%22&mode=%22nbc%22&name=%22NBC%22&sitemode=%22rootlist%22&thumb=%22C%3a%5cUsers%5caspears%5cAppData%5cRoaming%5cXBMC%5caddons%5cplugin.video.free.cable-beta%5cresources%5cimages%5cnbc.png%22&url=%22%22) failed
***HELP** please keep in mind we are still using the older good versions of xbmc like 11.0 on power pc, it seems these plugins are version locked to nerwer versions.

--unless I borked something on my setup (-:
There is an nbc update conming soon
Thanks for the update. Will Free Cable automatically update it when it is released or how will we know that it is released?
(2014-03-21, 03:39)wnhtr Wrote: [ -> ]I think I have a different version of Free Cable (I am on 0.7.6) than you (looks like you are running beta), but I think it is the same issue.

Try editing your spike.py file and replace the part "video_url7.split('mtvnorigin')[1]" in line 191 with "video_url7.split('viacomspikestrm')[2]

After I changed this in my spike.py (line 181), I can now get channels working on Spike again. This should work on the beta version as well.

This worked like a charm on both the beta and the 0.7.6 stable ver!! I don't know how you figured that out, but THANK YOU!!! Big Grin

slices / moneymaker - I can confirm this fix works. May want to add this fix to the latest beta. Nod


(2014-03-21, 20:21)cloead Wrote: [ -> ]
(2014-03-21, 03:39)wnhtr Wrote: [ -> ]I think I have a different version of Free Cable (I am on 0.7.6) than you (looks like you are running beta), but I think it is the same issue.

Try editing your spike.py file and replace the part "video_url7.split('mtvnorigin')[1]" in line 191 with "video_url7.split('viacomspikestrm')[2]

After I changed this in my spike.py (line 181), I can now get channels working on Spike again. This should work on the beta version as well.

dont have that part anywhere in my spike.py file (not running beta)

It is indeed on line 181 of 0.7.6 stable ver. If it is not there, may want to double check which ver you have installed.
Hello guys.. I'm totally new to this.
So forgive my ignorance and everything. I know it might also be a little frustrating about if you need to explain everything step by step sometimes.
I did all the easy parts on my freshly installed xbmc (on windows)
I really want that free cable (history channel lover here) to work. I'm located outside the US.
I got o my fav channel for example History as I mentioned above and I come up to be in a directory in xbmc that shows Nothing in there)
What am I missng here.. I you might have gone through this again and again but this thread is a bit HUGE?
and I'm not familiar with many of the terms mentioned here. though I am familiar with my pc since many years ago (10) I studies Comp. Science but never got to work since I already had soemthing else.
so..
Please HelpHuh
(2014-03-18, 06:01)crocobar Wrote: [ -> ]The Daily show seems to be broken with 0.7.6 tonight, March 17, 2014. Yesterday worked fine. Colbert Report works even now.

I concur. Although, now The Colbert Report is broken as well; it was working for a few days after TDS stopped.

How can I help?
(2014-03-23, 09:48)pavcon Wrote: [ -> ]I really want that free cable (history channel lover here) to work. I'm located outside the US.
I got o my fav channel for example History as I mentioned above and I come up to be in a directory in xbmc that shows Nothing in there)
What am I missing?
Please HelpHuh

Most US based shows requires you to be in US. So use VPN.
(2014-03-10, 01:20)slices Wrote: [ -> ]
(2014-03-10, 01:13)gambitz Wrote: [ -> ]Subs are enabled in this addon settings and enabled everywhere I can find it.
However, shows do not show subs/captions.
Which version of the addon and what shows have you tried?

I apologize for the long delay. I had to learn few things and find the logs etc.

addon ver: 0.7.6

I've tried many networks/shows but no cc/subs.

now when im trying again to answer your question no shows works for me with a script error.

I think this excerpt explains that my player could not load but I don't know why.

Code:
start of FREE CABLE plugin
22:06:47 T:3300  NOTICE: FREE CABLE --> common :: getURL :: url = http://cdn.video.abc.com/abcvideo/video_fep/cc/CSL_616_ROOM147_EPISODE_cb99404e-76fa-4462-873b-dc31e047ed69_10008233.xml
22:06:50 T:3300  NOTICE: FREE CABLE --> common :: getURL :: url = http://www.kaltura.com/p/585231/sp/58523100/playManifest/format/http/entryId/0_tev6j00h/a.f4m?playbackContext=brand%3D001%26device%3D001
22:06:51 T:3300  NOTICE: FREE CABLE --> common :: getURL :: url = http://content.uplynk.com/ext/d874124ecca24c88a3c9575e78686acf/10008233.m3u8?exp=1395540526&ct=a&eid=10008233&oid=d874124ecca24c88a3c9575e78686acf&iph=2fdbc3b790fa1fbd87a62120640eca5de50343873a7588c01b22ea6d462def56&sig=e5c0d9fb1e8de73ba8d23a84aac2f803268933e2a61e32535a999524c7aa4bd9
22:06:51 T:3300  NOTICE: FREE CABLE --> common :: getURL :: url = http://content-us-east-1.uplynk.com/69b89553b1cd4a0b81436a528c470768/h.m3u8?exp=1395540526&ct=a&eid=10008233&oid=d874124ecca24c88a3c9575e78686acf&iph=2fdbc3b790fa1fbd87a62120640eca5de50343873a7588c01b22ea6d462def56&sig=e5c0d9fb1e8de73ba8d23a84aac2f803268933e2a61e32535a999524c7aa4bd9&pbs=f06e6ede47dc4b39a75dbd2dc005d984
22:06:53 T:1868  NOTICE: DVDPlayer: Opening: C:\Users\HTPC\AppData\Roaming\XBMC\addons\plugin.video.free.cable\resources\cache\play.m3u8
22:06:53 T:1868 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
22:06:53 T:3196  NOTICE: Thread CDVDPlayer start, auto delete: false
22:06:53 T:3196  NOTICE: Creating InputStream
22:06:53 T:3196  NOTICE: Creating Demuxer
22:06:56 T:3196   ERROR: CDVDDemuxFFmpeg::Open - Error, could not open file C:\Users\HTPC\AppData\Roaming\XBMC\addons\plugin.video.free.cable\resources\cache\play.m3u8
22:06:56 T:3196   ERROR: CDVDPlayer::OpenDemuxStream - Error creating demuxer
22:06:56 T:3196  NOTICE: CDVDPlayer::OnExit()
22:06:56 T:3196  NOTICE: CDVDPlayer::OnExit() deleting input stream
22:06:56 T:1868   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.free.cable/?url="0_tev6j00h#http://cdn.video.abc.com/abcvideo/video_fep/cc/CSL_616_ROOM147_EPISODE_cb99404e-76fa-4462-873b-dc31e047ed69_10008233.xml"&mode="abc"&sitemode="playVideoULNK"]
22:06:56 T:3252  NOTICE: Thread Background Loader start, auto delete: false
22:06:56 T:1868  NOTICE: CDVDPlayer::CloseFile()
22:06:56 T:1868 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
22:06:56 T:1868  NOTICE: DVDPlayer: waiting for threads to exit
22:06:56 T:1868  NOTICE: DVDPlayer: finished waiting
Subs better supported in the beta.

For people outside of the US smartdndproxy.com works well, althouhh history isn't working at the moment.
I'm having trouble with The Daily Show and Colbert Report as well. In the stable release I get an error ( log at http://xbmclogs.com/show.php?id=158003 ). When I use the beta I get an empty directory listing inside the show. Any help would be appreciated.
(2014-03-22, 20:54)slices Wrote: [ -> ]There is an nbc update conming soon

Woohoo!
Since Hulu is all over the place with their CDNs and SWF Verification, I've been missing my NBC.
I'm missing my History Channel, too. I need Vikings!
comedy central completely restructured their show homepages around cc.com so I guess that also the whole web server structure including streaming links got relaunched. no wonder free cable currently isn't able to find the shows. no need for VPN, basically you can still stream all of their shows worldwide within your browser of choice. the plugin script just needs to be updated in order to be able to properly scrape the shows from the new webserver structure.