intrepidusgroup/rpi-atv

Adding Sites on jailbroken Device without Add Site button

Closed this issue · 6 comments

I might have overlooked it, but is it possible to add custom channels as web apps on a jailbroken ATV but without the Add Site button?

You can do that -- directly edit the file at /User/Library/Application
Support/Front Row/ExtraInternetCategories.plist. Each entry in the array
is a dictionary, with two key/value pairs: Name (I've only ever seen
that empty), and url.

I just updated the blog post with this, and a little more information on
how apple killed the feature for older units.

david.

derbroti mailto:notifications@github.com
October 4, 2013 10:25 AM

I might have overlooked it, but is it possible to add custom channels
as web apps on a jailbroken ATV but without the Add Site button?


Reply to this email directly or view it on GitHub
#1.

Great, thanks!
But either I'm doing something wrong, or one has to do more than just add that file.
My fresh ATV had no ExtraInternetCategories.plist, so I created one and a matching bag.plist.
But I get no icon...

Interestingly the ATV creates a Merchants/ Folder, so it reads the bag file.
Any general ideas?

tmm1 commented

You might still need to add the Enable Add Site profile for it to look for the Extra plist file.

That solved it.

tmm1 commented

Cool. There's probably a way to add those defaults to a JB device manually as well so you don't need the mobileconfig..

tmm1 commented

You can set this default manually as so:

Apple-TV:/User/Library/Preferences root# ~/plutil -c xml1 com.apple.frontrow.plist
Converting com.apple.frontrow.plist to XML

Apple-TV:/User/Library/Preferences root# vim com.apple.frontrow.plist # edit to add section below
Apple-TV:/User/Library/Preferences root# tail -10 com.apple.frontrow.plist
    <true/>
                        <key>F2BE6C81-66C8-4763-BDC6-385D39088028</key>
                        <dict>
                            <key>EnableAddSite</key>
                            <true/>
                            <key>AddSiteLoggingURL</key>
                            <string>http://localhost/log</string>
                        </dict>
</dict>
</plist>

Apple-TV:/User/Library/Preferences root# killall AppleTV
Apple-TV:/User/Library/Preferences root# cycript -p AppleTV # verify flag is enabled
cy# ATVSettingsFacade.singleton.addSiteIsEnabled
1