Kodi Community Forum
[RELEASE] Free Cable - US station aggregator - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: [RELEASE] Free Cable - US station aggregator (/showthread.php?tid=101938)



RE: [RELEASE] Free Cable - US station aggregator - Clus - 2013-04-29

(2013-04-28, 02:55)Crasim Wrote:
(2013-04-27, 04:10)gate1975mlm Wrote: Yep CBS is broken again! Sad

Here is an updated fix for CBS with changes to the URL. I have tested and it is working for me.
http://pastebin.com/DQC34ufM

Really nice! Smile


RE: [RELEASE] Free Cable - US station aggregator - slices - 2013-04-29

Updated usa.py fix should choose the stream based on max bitrate setting, so if you are having problems check what it's set to, solves the issues I was having.
http://pastebin.com/WBDTa3qa usa.py

Mostly its been reasonably straightforward fixes so far, still a couple that have me stumped. I've submitted everything so far bu USA as patches to bluecops repository, so we'll see if they get picked up.


RE: [RELEASE] Free Cable - US station aggregator - jspeer - 2013-04-30

Can anyone try this on a Raspberry-Pi for me to see if they get the same problem I do?

Use Free-Cable and choose the MTV station. Browse for a show like 'Awkward' and select it, then choose Full Episodes. Once the list populates, scroll down to an episode. Does it glitch out the screen and lock up XBMC? For me it makes the screen black and grey with a bunch of stripes and weird shapes. Some sort of weird glitch..

I have a raspberry Pi using OpenELEC 3.0.1


RE: [RELEASE] Free Cable - US station aggregator - mrgrod - 2013-04-30

(2013-04-29, 21:26)slices Wrote: Updated usa.py fix should choose the stream based on max bitrate setting, so if you are having problems check what it's set to, solves the issues I was having.
http://pastebin.com/WBDTa3qa usa.py

Mostly its been reasonably straightforward fixes so far, still a couple that have me stumped. I've submitted everything so far bu USA as patches to bluecops repository, so we'll see if they get picked up.

Thanks for all your work on these fixes slices. If you or anyone else gets a chance, I would love to see a fix for SyFy. Wish I could do it myself Sad


RE: [RELEASE] Free Cable - US station aggregator - mew1033 - 2013-05-01

(2013-04-29, 21:26)slices Wrote: Updated usa.py fix should choose the stream based on max bitrate setting, so if you are having problems check what it's set to, solves the issues I was having.
http://pastebin.com/WBDTa3qa usa.py

Mostly its been reasonably straightforward fixes so far, still a couple that have me stumped. I've submitted everything so far bu USA as patches to bluecops repository, so we'll see if they get picked up.

I'd love to help work on these. How do you go about finding the new addresses to put into the script?


RE: [RELEASE] Free Cable - US station aggregator - slices - 2013-05-01

(2013-05-01, 00:37)mew1033 Wrote:
(2013-04-29, 21:26)slices Wrote: Updated usa.py fix should choose the stream based on max bitrate setting, so if you are having problems check what it's set to, solves the issues I was having.
http://pastebin.com/WBDTa3qa usa.py

Mostly its been reasonably straightforward fixes so far, still a couple that have me stumped. I've submitted everything so far bu USA as patches to bluecops repository, so we'll see if they get picked up.

I'd love to help work on these. How do you go about finding the new addresses to put into the script?
It depends what the issue was, in a lot of cases it's more of a layout change. In the case of USA, try it in XBMC, look at the log, look at the URLs it's using, copy them into a webbrowser. Then look in the other freecable .py files to see if this issue has been handled anywhere else. In this case added &manifest=m3u to the url. then correct for the changed xml.

Lifetime was similar to USA. Spike played fine but navigation was broken due to some small layout changes, looked at the log and fixed errors as needed. PBSKids it was a matter of realising that the api it was using was turned off, and looking for an alternative, the PBS api docs are onine and pbs.py already used the new coveapi interface. Then had to change both pbs files to cope with the redirect format that the api was returning, again looked at the existing code.

For theCW I needed to see what the website was doing that the addon doing and couldn't see anything by looking at the webste source. I ran rtmpsuck to monitor the streams in this case.

Looking at the source of the website and any js files also helps.

I have a fix for syfy http://pastebin.com/R406c4gK syfy.py

Also my usa fix broke playback of older content. Updated one should play both types of stream now http://pastebin.com/TY83X7kk usa.py


RE: [RELEASE] Free Cable - US station aggregator - vernonjvs - 2013-05-03

(2013-04-25, 21:21)slices Wrote: I submitted my pbskids patch, it's giving me errors with the other two will try later

On ABC I've gone as far as I can. Replacing the playlist id (starts PL) in the RSS url with -1 gives all episodes. However the newer ones still won't play.

The video ids are in the urls on the feed, although the regex needs to be case insentitve.

http://abc.go.com/vp2/ws/s/contents/2004/videos/001/website/lf/-1/-1/VD55298509/-1/-1?v=07000004_1 gives the meta data for a video.

The older ones have two assets, one of type mov and the other uplynk. The mov link is what the addon uses. The newer episodes don't have mov links which is why the are failing to play.

I've tried hardcoding the m38u link in the addon but it doesn't play.

This is the link http://content.uplynk.com/ext/d874124ecca24c88a3c9575e78686acf/10000891.m3u8

I am not an expert but it looks like the stream is encrypted or has DRM. Don't know if XBMC an handle that.


RE: [RELEASE] Free Cable - US station aggregator - slices - 2013-05-03

Possibly both, at the very least its encrypted with about three levels of security. There's a guide to decrypting it here http://support.uplynk.com/doc_digital_rights_management.html#s4

I can't even get the sample code to work, plus we'd need to find api key. From what I can see in wireshark it uses the additional appkey encryption. In additon to this I suspect there might be a cookie that needs to be set to get the keys from the website in the first place.

Maybe not impossible, there are other channels supported by freecable that have some level of encryption, it's beyond my skills though.


RE: [RELEASE] Free Cable - US station aggregator - Eye in the sky - 2013-05-03

(2013-05-01, 08:59)slices Wrote: I have a fix for syfy http://pastebin.com/R406c4gK syfy.py

Working great, thanks.


RE: [RELEASE] Free Cable - US station aggregator - -zero- - 2013-05-03

Hello slices,

to get the m3u8 file and the mpegts files is not the real Problem.
the big Problem is to get a stream and use it in xbmc.

Just to Show the things:

this will give you a list of Shows: http://abc.go.com/vp2/ws/s/contents/2012/shows/013/001/-1?rand=2.0.0000
this will give you the Videos of a Show (showid): http://abc.go.com/vp2/ws/s/contents/2012/videos/001/001/sf,lf/{showid}/-1/-1/-1/-1?rand=2.0.0000
and with this link you will get the m3u8 file with all necessary Information for a Video (videoid): http://cdnapi.kaltura.com/p/585231/sp/58523100/playManifest/entryId/{videoid}/format/http/protocol/http/cdnHost/cdnbakmi.kaltura.com/uiConfId/8628152/tags/uplynk/a/a.f4m?playbackContext=ct%%3Da%%26brand%%3D001%%26device%%3D001

the m3u8 file you can download with ffmpeg until the first Commercial.
I also can Play the file with kwidget or html5player.
The only Thing i don't get clear is how to use the stream :-(

Maybe some ideas from your side or anybody else.


RE: [RELEASE] Free Cable - US station aggregator - slices - 2013-05-03

Well it's further than I got, could get the video info but not the kaltura link. The rewrite of the code to use the ws interface does seem a lot quicker than parsing html.

Can't get the katulra maifest url to work, any ideas what I'm doing wrong?

http://cdnapi.kaltura.com/p/585231/sp/58523100/playManifest/entryId/VDKA0_nn1crhz3/format/http/protocol/http/cdnHost/cdnbakmi.kaltura.com/uiConfId/8628152/tags/uplynk/a/a.f4m?playbackContext=ct%%3Da%%26brand%%3D001%%26device%%3D001

I think there are two basic options here, find the rtmp stream behind the embedded players, or get the m3u8 file to work.

Thanks


RE: [RELEASE] Free Cable - US station aggregator - -zero- - 2013-05-04

This is the correct link

http://cdnapi.kaltura.com/p/585231/sp/58523100/playManifest/entryId/0_nn1crhz3/format/http/protocol/http/cdnHost/cdnbakmi.kaltura.com/uiConfId/8628152/tags/uplynk/a/a.f4m?playbackContext=ct%3Da%26brand%3D001%26device%3D001


RE: [RELEASE] Free Cable - US station aggregator - denster1964 - 2013-05-05

I know this is a stupid question, but how do you apply a patch and which directory do you use. I'm currently using xbmcbuntu. Keep up the good work guys. denny


RE: [RELEASE] Free Cable - US station aggregator - denster1964 - 2013-05-05

I figured it out, thanks, denny


RE: [RELEASE] Free Cable - US station aggregator - ykhehra1 - 2013-05-06

(2013-04-16, 23:00)moneymaker Wrote: Free Cable - Latest Fixes Only

Here

Thanks moneymaker for updating all files at one place.