Homebrew Homebrew app [RELEASE] PokemonTV (3rd party client)

Slluxx

GBATemp Mayor
OP
Developer
Joined
Jul 17, 2019
Messages
607
Trophies
0
XP
2,150
Country
Germany
icon.jpg

Unofficial 3rd party PokemonTV client

People with a banned switch or those who want to stay away from nintendo services are unable to enjoy Pokemon. Well, not anymore. I created a website around their "public" API and made a homebrew that opens it up. Its nothing special but now every device that has a working browser can enjoy the content.

Their API exposes a really bad, low quality mp4 stream as well as a high quality m3u8 stream. Tests with the switchs (really bad) internal browser and different m3u8 streams revealed that i should just stop trying to implement a custom player. Instead, i am using their official player and iframe it into my website.


I am "abusing" githubs branches for multiple things:

  • The API branch fetches the complete content of the API from each language and stores it because direct access to the API from a browser throws CORS errors.
  • The main branch is the source-code of the website. Its build with the Vue3 framework and Bootstrap5. A GitHub Action compiles the source and pushes it to the gh-pages branch.
  • The gh-pages branch is the compiled source-code of the main branch and is whats used on the website.
  • The switch-client branch is the source-code of the homebrew for the Nintendo Switch. The homebrew just opens a simple webbrowser and loads the the website.

Downloads:

PS: If someone wants to compile binaries for other systems, i will add them to the releases.
PPS: Can someone tell me how i can add a RELEASE prefix? After the big design update i cant figure out how to do that anymore.
 

Slluxx

GBATemp Mayor
OP
Developer
Joined
Jul 17, 2019
Messages
607
Trophies
0
XP
2,150
Country
Germany
Worked on the API updating script.

I discovered that the pokemon api delivers content based on the country you are requesting it from. That means that one based in germany can request data from the .../us/ endpoint but it will be different if i request the data from a US origin (wtf is that logic). Now, the pokemon API data is requested through proxys. Sadly the proxys are not always up and not all countrys have proxys. Thats why i added a little green check or blue exclamation mark, along with a button which quickly explains whats going on.

The API gets automatically updated every 20 minutes and so will be the icons in the app/website.
 

Slluxx

GBATemp Mayor
OP
Developer
Joined
Jul 17, 2019
Messages
607
Trophies
0
XP
2,150
Country
Germany
Updated to 1.0.1
  • Switch Client
    • Worked around an issue where B closes the browser. Its still closing it but now it restarts on its own, making it a little less annoying. Im still trying to find something like a "Javascript history hack" to trick the browser to "go back to the current site" so it wont close because it thinks there is nothing to go back to.
    • General code cleanup
  • Website
    • removed "menu button" in favour of a more stylish and usefull breadcrumb
    • started to move inline CSS to classes
    • started to split code into components
    • added meta tags for allmighty google
    • fixed the icons and made them pills so bad browser can still display them
    • fixed some language on the site
    • fixed iframe fullscreen issues
    • fixed episodes thumbnail width (some titles randomly have smaller images)
    • general code cleanup
  • API
    • fixed data-gathering by using proxies to circumvent region based api content
    • fixed data-gathering automation
    • general code cleanup
 
  • Like
Reactions: naed06

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Xdqwerty @ Xdqwerty:
    i guess not...
  • Xdqwerty @ Xdqwerty:
    yawn
  • Xdqwerty @ Xdqwerty:
    anybody here?
  • P @ PKNate:
    nope
  • BakerMan @ BakerMan:
    fun fact: 7 years by lukas graham, supermassive black hole by muse, and megalomania all have the same bpm
  • BakerMan @ BakerMan:
    girls just wanna have fun and renai circulation also share the same tempo as the few i said before
  • Xdqwerty @ Xdqwerty:
    @BakerMan, megalomania the live a live song?
  • BakerMan @ BakerMan:
    wait no, megalovania*
  • BakerMan @ BakerMan:
    my bad
  • K3Nv2 @ K3Nv2:
    I don't forgive you
  • BigOnYa @ BigOnYa:
    The nerve of that guy, gosh.
  • K3Nv2 @ K3Nv2:
    Yeah expecting me to forgive gtfo
  • Psionic Roshambo @ Psionic Roshambo:
    But how could the Dr have known you didn't want to be circumcized?
  • K3Nv2 @ K3Nv2:
    He didn't you just wanted your dick to be fondled
    +1
  • K3Nv2 @ K3Nv2:
    Watching dune 2 it's eh
  • Psionic Roshambo @ Psionic Roshambo:
    Dune one sucked
  • Psionic Roshambo @ Psionic Roshambo:
    The original with Patrick Stewart was Great
  • K3Nv2 @ K3Nv2:
    A sexual psycopath that love pain where have I heard that before
  • BigOnYa @ BigOnYa:
    In your high school diary?
  • K3Nv2 @ K3Nv2:
    No but your wife let's me read her diary the word psychopath comes up more than sexual
    +1
  • K3Nv2 @ K3Nv2:
    Lol stremio hogging all of my tvs on board ram
  • BigOnYa @ BigOnYa:
    Just download more Ram to it, or setup Raid666 on it.
    +1
    BigOnYa @ BigOnYa: Just download more Ram to it, or setup Raid666 on it. +1