2012-07-25, 02:17
(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.
(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.
(2012-07-25, 02:17)newatv2user Wrote:Still not working for me. My XBMC.log file is here:(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.
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'
(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.
(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."
(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.
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.