Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Projectivy Launcher #201

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

spocky
Copy link
Contributor

@spocky spocky commented Sep 26, 2024

Projectivy Launcher is an Android Tv launcher.
Upcoming 4.60 version will support icon packs, so adding it to candybar seems like a good idea.

  • standard 1:1 icon ratio is supported and will be added in the center of banner icons, and even tinted on user demand (if icon is monochromatic)
  • android tv banners should be supported too out of the box if a specialize android-tv with banner icon pack is ever made.

This PR can be merged as is because candybar apps seem to work pretty well on Android Tv (using a remote control instead of touch screen). This means that any icon pack compiled after this PR is merged will be compatible with Projectivy Launcher.

Things to keep in mind :

  • many Tv apps package names differ from their mobile counterpart. This means that icon pack developers will have to update their appfilter.xml to increase app support out of the box so that most apps are recognized (netflix, youtube...)
  • candybar will benefit from being slightly adapted to leanback so that icon pack developers are able to publish their pack on mobile+android tv at the same time. (these changes mostly concern androidmanifest as well as adding a new banner, so the work should be minimal)

@Donnnno
Copy link
Contributor

Donnnno commented Oct 3, 2024

Hi @spocky ! Thanks for adding the PR
A launcher for android TV tho, that's the first time I ever heard of that!
How would it work for icon pack devs? I can imagine it being kinda an effort to maintain for some people.

@spocky
Copy link
Contributor Author

spocky commented Oct 4, 2024

No effort has to be done on dev's side :

  • current icon packs are compatible : if icons from pack have no background, the foreground is applied on top of an android tv "banner" (16:9 rectangle icon format). If icons from pack have a background, then Projectivy users can choose to fallback to square icons instead of banners.
  • if a dev wants to make a banner icon pack, this should be supported too
    I don't see a reason for an icon pack dev to support banners and squared icons in the same pack. This, of course, would be hard to maintain.

To improve things :

  • Devs will probably need to update their appfilter.xml to add for example "com.netflix.ninja" as package name for Netflix android tv, with the same icon they already provide for Netflix (most android tv package names are a bit different from the mobile version)
  • candybar will have to update its manifest and add a banner icon so that Google accepts these apps for their Tv store (until then, users will need to sideload icon packs or install from another store)

Here's a screenshot of how it looks like with Arcticons icon pack :
ss

@walrus543
Copy link

How to request icons? How to get the list of all basic Android TV variants of Netflix, Amazon Video...

@spocky
Copy link
Contributor Author

spocky commented Oct 8, 2024

How to request icons?

As you do from your smartphone ? (the candybar icon request feature)

How to get the list of all basic Android TV variants of Netflix, Amazon Video...

This will be built with time I suppose. I know that several apps have multiple Tv versions depending on the device/brand.
The first weeks after the next Projectivy release, icon pack devs will probably see a bit more requests concerning "additional packages" for icons they only know smartphone package/activity name. This might be quite easy to address : there are not that many (streaming, gaming...) apps exclusively available on Tv. And the package name is generally not totally different, most of the name is the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants