Skip to content

feat(Hami Video): add activity - #11074

Open
Baidairay wants to merge 8 commits into
PreMiD:mainfrom
Baidairay:main
Open

feat(Hami Video): add activity#11074
Baidairay wants to merge 8 commits into
PreMiD:mainfrom
Baidairay:main

Conversation

@Baidairay

Copy link
Copy Markdown

Description

Adds support for Hami Video, one of Taiwan's largest streaming platforms.

Supported Content

  • Movies
  • TV Series
  • Anime
  • Live TV
  • Live Sports
  • Sports Replay
  • Documentaries
  • Variety Shows
  • Kids

Features

  • Playback progress
  • Pause detection
  • Rich artwork
  • Episode detection
  • Live TV program detection
  • Smart sports detection
  • Discord buttons
  • Privacy mode
  • English & Traditional Chinese localization

Notes

  • Automatically detects the currently airing TV program.
  • Automatically detects sports leagues such as MLB, CPBL, NBA, NFL, NHL, F1, MotoGP, UFC, ATP, WTA and more.
  • Buttons are hidden in Privacy Mode.

@dimerp

dimerp Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

🖼️ Activity asset preview

I rummaged through the diff and found these. Finders keepers? No? Fine, they're yours.

Hami Video (websites/H/Hami Video) — creation

Preview Source URL
logo https://i.imgur.com/eCsBmqZ.png
thumbnail https://i.imgur.com/pUTIwh1.jpeg

Beep boop — I refresh this comment on every push, so no need to scroll. 🤖

Comment thread websites/H/Hami Video/metadata.json Fixed
Comment thread websites/H/Hami Video/metadata.json Fixed
Comment thread websites/H/Hami Video/metadata.json Fixed
Comment thread websites/H/Hami Video/metadata.json Fixed
Comment thread websites/H/Hami Video/presence.ts Fixed
Comment thread websites/H/Hami Video/metadata.json Fixed
Comment thread websites/H/Hami Video/metadata.json Fixed
Comment thread websites/H/Hami Video/metadata.json Fixed
Comment thread websites/H/Hami Video/metadata.json Fixed
Comment thread websites/H/Hami Video/metadata.json Fixed
Comment thread websites/H/Hami Video/presence.ts Fixed
Comment thread websites/H/Hami Video/presence.ts Fixed
Comment thread websites/H/Hami Video/metadata.json Fixed
Comment thread websites/H/Hami Video/metadata.json Fixed
Comment thread websites/H/Hami Video/metadata.json Fixed
Comment thread websites/H/Hami Video/metadata.json Fixed
Comment thread websites/H/Hami Video/metadata.json Fixed
Comment thread websites/H/Hami Video/metadata.json Fixed
@skullysmods skullysmods changed the title Add Hami Video activity feat(Hami Video): add activity Aug 3, 2026

@theusaf theusaf left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, add screenshots showing the activity working and a screenshot of the settings page

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove image files from PR

@@ -0,0 +1,85 @@
{
"$schema": "https://schemas.premid.app/metadata/1.16",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"$schema": "https://schemas.premid.app/metadata/1.16",
"$schema": "https://schemas.premid.app/metadata/1.17",

"en": "Automatically shows what you're watching on Hami Video — movies, TV series, anime, documentaries, kids' content, variety shows, and live or replayed sports."
},
"url": "hamivideo.hinet.net",
"regExp": "^https:\\/\\/(?:www\\.)?hamivideo\\.hinet\\.net\\/.*$",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"regExp": "^https:\\/\\/(?:www\\.)?hamivideo\\.hinet\\.net\\/.*$",
"regExp": "^https[:][/][/](?:www[.])?hamivideo[.]hinet[.]net[/].*$",

* segment, non-object intermediate value, etc.) simply resolves to
* `undefined` so callers can keep falling back to DOM/meta lookups.
*/
function readWindowPath<T>(path: string): T | undefined {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function is unlikely to work as the window object is sandboxed from the actual window on the page.

@@ -0,0 +1,126 @@
{
"hamivideo.watchingMovie": {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate of general.watchingMovie

"description": "Shown as the details line while watching a TV series episode",
"message": "Watching TV Series"
},
"hamivideo.watchingAnime": {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate of general.watchingAnime

"description": "Shown as the state line for a live sports broadcast when no event name could be parsed",
"message": "LIVE Event"
},
"hamivideo.browsingCategory": {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very similar to general.viewACategory

"description": "Shown while browsing the anime section",
"message": "Browsing Anime"
},
"hamivideo.searching": {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate of general.search

"description": "Button label linking to the movie/show on Hami Video",
"message": "Watch on Hami Video"
},
"hamivideo.watchEpisodeButton": {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate of general.buttonViewEpisode

"description": "Button label linking to the currently playing episode",
"message": "Watch Episode"
},
"hamivideo.viewSeriesButton": {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate of general.buttonViewSeries

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants