Nerwyn / android-tv-card

A completely customizable universal remote card for Home Assistant. Supports multiple platforms out of the box.
Apache License 2.0
254 stars 13 forks source link

Skyshowtime and rakuten #27

Closed omakoti closed 1 year ago

omakoti commented 1 year ago

Hi. Can you add Skyshowtime and RakutenTV to the list of ready made buttons. I'm bad at coding so don't know how to add them myself.

Nerwyn commented 1 year ago

Putting the custom source config here for now to reference later:

custom_sources:
  skyshowtime:
    source: 'https://www.skyshowtime.com/deeplink'
    icon: skyshowtime
  rakutenviki:
    source: 'viki://home'
    icon: rakutenviki
custom_icons:
  skyshowtime: 'M12 0C8.3317 0 5.0504 1.6476 2.8492 4.2412 3.1847 4.2547 3.4606 4.3319 3.4606 4.3319 6.2608 5.0435 6.2609 7.956 6.2609 8.8696L3.6522 8.8696C3.6522 8.8696 3.6522 6.7826 2.3478 6.7826 2.0551 6.7826 1.8376 6.892 1.6712 7.0282 1.5982 7.0882 1.4345 7.2822 1.3594 7.5754 1.2096 8.1639 1.2172 9.169 2.3478 10.1739 3.8337 11.4944 6.7826 12.7174 6.7826 15.8478 6.7826 18.277 5.0607 19.5718 3.5717 19.7894 3.5717 19.7894 3.3445 19.8327 2.9266 19.8536 5.1273 22.3934 8.376 24 12 24 15.6464 24 18.9094 22.3696 21.1101 19.8026 18.6485 19.558 16.6957 16.1635 16.6957 12 16.6957 7.8365 18.6485 4.442 21.1101 4.1974 18.9094 1.6304 15.6464 0 12 0zM7.8261 4.6957 10.4348 4.6957 10.4348 10.6957 13.0435 10.6957 13.0435 4.6957 15.6522 4.6957 15.6522 19.8261 13.0435 19.8261 13.0435 13.3043 10.4348 13.3043 10.4348 19.8261 7.8261 19.8261 7.8261 4.6957zM21.6522 6.7826A5.2174 2.3478 90 0019.3043 12 5.2174 2.3478 90 0021.6522 17.2174 5.2174 2.3478 90 0024 12 5.2174 2.3478 90 0021.6522 6.7826zM.0061 11.2174C.0061 11.2174-.0288 13.6831.373 14.8696.9693 16.6304 1.6394 17.2174 2.7575 17.2174 3.5771 17.2174 4.1739 16.6957 4.1739 15.587 4.1739 14.3463 2.6362 13.6105 1.5734 12.8071.5701 12.049.0061 11.2174.0061 11.2174z'
  rakutenviki: 'M7.5496 3.24 7.5496 8.2824 8.47 8.2824 8.47 6.7261 9.7889 8.2824 11.0422 8.2824 9.2623 6.2699 10.7968 4.4964 9.5435 4.4964 8.47 5.8152 8.47 3.24 7.5496 3.24zM.0007 3.5526.0007 8.2824C0 8.2832.9349 8.2824.9349 8.2824L.9349 6.8167 1.5961 6.8167 2.7414 8.2824 3.9133 8.2824 2.529 6.5136C2.9602 6.216 3.2447 5.7319 3.2447 5.1839 3.2447 4.2838 2.4838 3.5526 1.5461 3.5526L.0007 3.5526zM14.9986 3.5526 14.9986 4.4948 14.5252 4.4948 14.5252 5.3933 14.9986 5.3933 14.9986 7.0278C14.9986 7.8734 15.6612 8.3778 16.3284 8.3778 16.5772 8.3778 16.9228 8.2987 17.2033 8.1385L16.6127 7.3872C16.5326 7.4393 16.4311 7.4795 16.3144 7.4795 16.168 7.4795 15.8924 7.3722 15.8924 7.0153L15.8924 5.395 16.658 5.395 16.658 4.4964 15.8924 4.4964 15.8924 3.5526 14.9986 3.5526zM18.6786 4.3994C17.6434 4.3994 16.902 5.2726 16.902 6.3886 16.902 7.5614 17.8339 8.3792 18.7675 8.3792 19.2396 8.3792 19.844 8.2238 20.3521 7.531L19.5614 7.0933C18.9509 7.9582 17.9335 7.5202 17.8158 6.6542L20.3911 6.6542C20.6105 5.2943 19.6972 4.3994 18.6786 4.3994zM5.3027 4.4026C4.2848 4.4026 3.5134 5.295 3.5134 6.3902 3.5134 7.4848 4.2857 8.3762 5.3027 8.3762 5.633 8.3762 5.8751 8.2793 6.1448 8.1138L6.1448 8.2824 7.0402 8.2824 7.0402 4.4948C7.0402 4.4964 6.1448 4.4964 6.1448 4.4964L6.1448 4.6651C5.8751 4.5004 5.6339 4.4026 5.3027 4.4026zM22.4006 4.4026C21.9607 4.4026 21.6413 4.6354 21.6413 4.6354L21.6413 4.4964 20.7458 4.4964 20.7458 8.2824C20.7458 8.2832 21.6413 8.2824 21.6413 8.2824L21.6413 6.0574C21.6413 5.6406 21.9396 5.2885 22.3741 5.2885 22.8078 5.2885 23.107 5.6406 23.107 6.0574L23.107 8.2824 24.0008 8.2824 24.0008 6.0574C24.0008 5.1445 23.3503 4.4026 22.4006 4.4026zM.9349 4.451 1.5444 4.451C1.9645 4.451 2.3086 4.7797 2.3086 5.1839 2.3086 5.5895 1.9645 5.9184 1.5444 5.9184L.9349 5.9184.9349 4.451zM10.9483 4.4964 10.9483 6.7214C10.9483 7.6345 11.5987 8.3778 12.5484 8.3778 12.9883 8.3778 13.3079 8.1433 13.3079 8.1433L13.3079 8.2841 14.2031 8.2841 14.2031 4.4964 13.3079 4.4964 13.3079 6.7214C13.3079 7.1384 13.0093 7.4921 12.575 7.4921 12.1414 7.4921 11.842 7.1384 11.842 6.7214L11.842 4.4964 10.9483 4.4964zM18.6596 5.2166C19.0172 5.2103 19.3727 5.4323 19.4599 5.9011L17.8488 5.9011C17.9428 5.458 18.3022 5.2231 18.6596 5.2166zM5.3027 5.3152C5.8042 5.3152 6.159 5.7901 6.159 6.3902 6.1582 6.9894 5.8042 7.4639 5.3027 7.4639 4.801 7.4639 4.4338 6.9901 4.4338 6.3902 4.4338 5.791 4.801 5.3152 5.3027 5.3152zM4.9933 9.3108 6.1559 10.478 19.5787 9.3108 4.9933 9.3108zM-.001 12.4141 3.2604 20.8412 5.262 20.8412 8.4857 12.4141 5.9543 12.4141 4.2604 17.9332 2.5432 12.4141-.001 12.4141zM9.2935 12.4141 9.2935 20.8412 11.703 20.8412 11.703 12.4141 9.2935 12.4141zM13.0687 12.4141 13.0687 20.8412 15.4783 20.8412 15.4783 18.4082 16.1441 17.7426 18.3176 20.8412 21.085 20.8412 17.677 16.1878 20.8631 12.4141 18.1458 12.4141 15.4783 15.619 15.4783 12.4141 13.0687 12.4141zM21.5912 12.4141 21.5912 20.8412 24.0008 20.8412 24.0008 12.4141 21.5912 12.4141z'
Nerwyn commented 1 year ago

Released v3.0.1, which adds videoland, skyshowtime, and rakutenviki as default sources with SVG icons.