• 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7
  • 11
[RELEASE] crackle.com
#61
(2012-07-22, 12:29)gegs Wrote: Sorry to contradict newatv2user, but I can't get the new Crackle addon to work with ATV2 either.

Works on my ATV2. Maybe post your xbmc.log if you still can't get it to work.
Reply
#62
Works great! Thanks for the hard work!
Reply
#63
(2012-07-25, 02:17)newatv2user Wrote:
(2012-07-22, 12:29)gegs Wrote: Sorry to contradict newatv2user, but I can't get the new Crackle addon to work with ATV2 either.

Works on my ATV2. Maybe post your xbmc.log if you still can't get it to work.
Still not working for me. My XBMC.log file is here:
http://pastebin.com/tARzsxgw

Reply
#64
Looking at this:
ERROR: Error Contents: <urlopen error [Errno 61] Connection refused>

Maybe geolocked. Are you outside US?

Maybe try this Url in your browser and see what happens:

http://api.crackle.com/Service.svc/slide...ormat=json
Reply
#65
Crackle is available in the UK but with a smaller library; it shouldn't be geo-locked. I also use UnoDNS and can access several other US geo-locked addons, such as Hulu.

The earlier Crackle addon also worked in the UK (until it didn't).
Reply
#66
Just to reiterate: Crackle should work in the UK without a proxy or DNS redirect. It is officially available to UK customers and also has an official UK XBox 360 app. I'm puzzled why geo-locking should raise its ugly head.
Reply
#67
the ios app retrieves this url to get a country code.

api.crackle.com/Service.svc/geo/country?format=json

It looks like the app is hard coded to US country code. The paths below seem to only use the US.

Code:
API_URL = 'http://api.crackle.com/Service.svc/'
MOVIES = '/movies/all/US/50?format=json'
SHOWS = '/shows/all/US/50?format=json'
FEATURED = 'featured'
POPULAR = 'popular'
RECENT = 'recent'
BROWSE = 'browse/%s/full/all/alpha/US?format=json'
BROWSE2 = 'browse/%s/all/all/alpha/US?format=json'
SEARCHURL = 'search/all/%s/US?format=json'
HOMESLIDE = 'slideShow/home/us?format=json'
ORIGINALS = 'originals'
COLLECTIONS = 'collections'
CHURL = 'channel/%s/folders/US?format=json'
BASE_MEDIA_URL = 'http://media-us-am.crackle.com/%s_480p.mp4'
DETAILS_URL = 'http://api.crackle.com/Service.svc/details/media/%s/US?format=json'
Reply
#68
Guys..one question..if i use a VPN on my HTPC..could that give me access to US channels because using proxy in my XBMC gives an error and cant connect to internet
Help
Reply
#69
Great update.
Reply
#70
(2012-07-29, 00:34)BlueCop Wrote: the ios app retrieves this url to get a country code.

api.crackle.com/Service.svc/geo/country?format=json

It looks like the app is hard coded to US country code. The paths below seem to only use the US.

Is there a reason for the US geo-locking? Can the addon be configured not to do the US check?

It's a strange thing to be hard-coded to one region when the Crackle site FAQ says "Crackle's channels and shows reach a global audience across the Internet, in the living room, and on devices including a broad range of Sony electronics."

Reply
#71
I was merely pointing to the problem. I don't know the answers.
Reply
#72
(2012-07-29, 15:48)gegs Wrote:
(2012-07-29, 00:34)BlueCop Wrote: the ios app retrieves this url to get a country code.

api.crackle.com/Service.svc/geo/country?format=json

It looks like the app is hard coded to US country code. The paths below seem to only use the US.

Is there a reason for the US geo-locking? Can the addon be configured not to do the US check?

It's a strange thing to be hard-coded to one region when the Crackle site FAQ says "Crackle's channels and shows reach a global audience across the Internet, in the living room, and on devices including a broad range of Sony electronics."

The addon is unofficial. I made it by sniffing android app traffic. And I'm in the US. So I guess that should answer why it is the way it is.

Right now I'm enjoying Olympics. So I've no plans to try to fix it. If anyone is up for it, please feel free to do so.
Reply
#73
Well the plugin works for me now and I can see what the fuss was about - well done!

I raised a ticket with UnoDNS to ask why US validation was halting Crackle when I was using their service. I haven't received a reply yet, but because the addon now works I'm guessing that they've fixed things so that users don't get the country validation crash anymore. It only happened with Crackle so I guess they had things set up wrongly for this particular site.
Reply
#74
(2012-07-22, 04:35)BlueCop Wrote: it is just a different ending to the file name. "480p_1mbps.mp4" instead of "480p.mp4". I believe it is just higher bitrate.

there is also a site method to get the filepath as . "http://www.crackle.com/app/vidwall.ashx?flags=-1&fm=%s&partner=20" % videoid
it is the 'p' value in the 'i' set. The same paths work for rtmp or http. the rtmp streams just use swf verify but they play fine as well.

here is a list of the other file path names they seem to use. I couldn't find any 720p things available though.
Code:
public static const H264_480p_1MBPS:MediaFileSlot = new MediaFileSlot(56, "480p_1mbps.mp4", true, true, true);
        public static const CDN_H264_480p:MediaFileSlot = new MediaFileSlot(55, "480p.mp4", true, true, true);
        public static const CDN_FLV_544:MediaFileSlot = new MediaFileSlot(49, "c544.flv", true, false, true);
        public static const H264_360p:MediaFileSlot = new MediaFileSlot(54, "360p.mp4", true, true, true);
        public static const CDN_H264_306p:MediaFileSlot = new MediaFileSlot(50, "306p.mp4", true, true, true);
        public static const CDN_H264_720p:MediaFileSlot = new MediaFileSlot(51, "720p.mp4", true, true, true);
        public static const MP4_306p:MediaFileSlot = new MediaFileSlot(48, "306p.mp4", false, true);
        public static const MP4_720p:MediaFileSlot = new MediaFileSlot(45, "720p.mp4", false, true);
        public static const CrackleLarge:MediaFileSlot = new MediaFileSlot(9, "c544.flv");
        public static const CrackleSmall:MediaFileSlot = new MediaFileSlot(10, "c400.flv");
        public static const HDNA:MediaFileSlot = new MediaFileSlot(32, "480p_hq.flv");
        public static const CDN_MP4_640p:MediaFileSlot = new MediaFileSlot(24, "itv.mp4", true, true, true);

one more thing. you can genre filter with the api. I believe only ios seems to use this and not the android app. It works fine though.

like here is the browse all url for movies.
hxxp://api.crackle.com/Service.svc/browse/movies/full/all/alpha/US?format=json

the 'all' between 'full' and 'alpha' is the genre filter. Using the value 'Action_Comedy_Crime_Horror_Sci-Fi_Thriller' would essentially be the 'all' value. You just specify which genres are active.

sorry to just dump information. I just thought it might be useful to you.

Nice. I edited this line in default.py

BASE_MEDIA_URL = 'http://media-us-am.crackle.com/%s_480..mp4'

to

BASE_MEDIA_URL = 'http://media-us-am.crackle.com/%s_480p_1mbps.mp4'

to take advantage of the higher quality stream. Not sure if thats the best way to do this ... but seemed to work for me at least.


Reply
#75
I've updated the addon.

Here's a changelog:
Quote:Version 0.0.2
- Get country code from api.
- Use Cachefunction
- Changed 480p to high bit rate 480p (1 mbps)
- Fixed where shows were only showing one season.

Download link is the same:
Crackle2

Thanks to Bluecop for the tips and pointers.

Hopefully I did not break anything.
Reply
  • 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7
  • 11

Logout Mark Read Team Forum Stats Members Help
[RELEASE] crackle.com1