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

Slluxx

GBATemp Mayor
OP
Developer
Joined
Jul 17, 2019
Messages
607
Trophies
0
XP
2,148
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,148
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,148
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
  • K3Nv2 @ K3Nv2:
    I do wonder how dominate Germany would've been if they just enlisted Jewish people
  • BigOnYa @ BigOnYa:
    They actually enlisted Muslims, seriously, because the Muslims hates Jews, even tho it was not the supreme race. He claimed common hate, is friendship.
  • K3Nv2 @ K3Nv2:
    He could've just made them walking shields kind of a dumb ass move
  • K3Nv2 @ K3Nv2:
    https://a.co/d/3km8bqC lol cd level quality I fucking hope so
  • BigOnYa @ BigOnYa:
    So a man, wifey laying in bed, and man wants sum and rubs on her a little, she turns and says "Not tonight, I have a gyno apt in the morning." So man rolls over, but after few minutes starts rubbing her again. She says didn't you here me, no messing around, I have a gyno apt tomorrow. " Man says, "Well you don't have a dentist apt tomorrow also do you?"
  • BigOnYa @ BigOnYa:
    Damn I have 8 modded rgh3 x360 slims I've done, I need to get rid of, I figured my family members or friends would want but times have changed. Think I'm gonna stop buying them and modding. Time to Switch it up (pun intended)
  • K3Nv2 @ K3Nv2:
    Yay power outages
  • K3Nv2 @ K3Nv2:
    @BigOnYa, I'm your friend
    +1
  • BigOnYa @ BigOnYa:
    There literally no storms in your area, does it go out alot? You need to just send me your slim n ill rgh3 it free.
  • BigOnYa @ BigOnYa:
    Or grow sum balls and do it yourself, not hard. More of a pain to jailbreak a ps4 than it is the 360, other than little soldering.
  • K3Nv2 @ K3Nv2:
    Problem is my dick gets in the way
  • BigOnYa @ BigOnYa:
    Yea true, would be a pain having that on your forehead
  • K3Nv2 @ K3Nv2:
    The chicks love it
    +1
  • K3Nv2 @ K3Nv2:
    Every damn time there's a loud noise dudes car alarm goes off freaking annoying
  • BigOnYa @ BigOnYa:
    Stun gun the metal of the car (door, bumper, etc), you won't hear it again, promise.
  • realtimesave @ realtimesave:
    damn accidentally ripped my car cover just now
  • realtimesave @ realtimesave:
    happens
  • K3Nv2 @ K3Nv2:
    Or plant drugs get him evicted
  • realtimesave @ realtimesave:
    the one on my other car is all ripped up
  • K3Nv2 @ K3Nv2:
    Not your $400 car cover :ohnoes:
  • BigOnYa @ BigOnYa:
    There you go, thinking with your "dickhead"
  • realtimesave @ realtimesave:
    some day the wind will blow so hard it'll rip in half
  • K3Nv2 @ K3Nv2:
    I think in big inches
    +1
    K3Nv2 @ K3Nv2: I think in big inches +1