boxeehack icon indicating copy to clipboard operation
boxeehack copied to clipboard

Request: Media-Hint - variable proxy settings - netflix outside US

Open bwiklak opened this issue 13 years ago • 5 comments

Hi, Media Hint (https://mediahint.com/) provides a chrome extension that basically chooses proxy or direct connection depending on url.

The extension code:

chrome.proxy.settings.set({
    value: {
        mode: "pac_script",
        pacScript: {
            url: "https://mediahint.com/default.pac"
        }
    }, scope: "regular"
});

The interesting part of pac script:

if((/songza\.com\/(api|advertising)\/|hulu\.com\/mozart\/.*|\.(ico|jpg|png|gif|mp3|js|css|mp4|flv|swf|json)(\?.*)?$|^crackle\.com\/flash\/$/).test(url)||(/^(contactus|presentationtracking|blog|nordicsblog)\.netflix\.com$|^(r|p|t2|ll\.a|t|t-l3|ads|assets|urlcheck)\.hulu\.com$|^(stats|blog|audio.*|const.*|mediaserver.*|cont.*)\.pandora\.com$/).test(host)){
    return 'DIRECT';
}
if((/(^([\w\.-]+\.)?(hulu|netflix|pandora|songza|www\.iheart|www\.crackle)\.com$)/).test(host)){
    return proxy;
}

The service works as a charm and it is free!

Is it possible to do something like that in boxee?

bwiklak avatar Jan 09 '13 13:01 bwiklak

Interesting :)

boxeehacks avatar Jan 11 '13 09:01 boxeehacks

I think this is the most annoying issue for non US boxee owners.

filipeazev avatar Feb 01 '13 15:02 filipeazev

Hi,

This is great, but I don't want to see US content on a web browser, but on my tv directly. Is it possible to have media hint enabled on a device working as a proxy and then route all traffic from other LAN devices (e.g. xbox, any media center with NETFLIX addon, boxee, smartv, etc) through it? Something like port forwarding on the device working as a proxy?

Thanks

xaxeu avatar Sep 04 '13 15:09 xaxeu

Hi,

I'm interested by the idea from xaxeu. I'm trying to configure an alix board with pfsense and squid as an interception proxy... I could find the address of the proxies used by mediahint and I could configure squid to forward to those proxies. I'm able to browse netflix but if I launch a movie, I get a streaming error, I'll try to keep you informed if I can reach a new point.

Cheers

ghost avatar Sep 17 '13 13:09 ghost

Thanks for the article. VPN is good if you want to hide your real location. However, about content streaming, I prefer the DNS option. Currently, I am using UnoTelly and have no speed loss which allows me HD streaming with my 10mbps connection.

Samanthaadele avatar Oct 03 '14 00:10 Samanthaadele