Skip to content

plugins.useetv: new plugin #4536

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

Merged
merged 1 commit into from
May 23, 2022
Merged

plugins.useetv: new plugin #4536

merged 1 commit into from
May 23, 2022

Conversation

mkbloke
Copy link
Member

@mkbloke mkbloke commented May 19, 2022

There are 4 types of content I have found:

  • Live TV (/livetv/ URLs)
  • TV replay VODs (/tvod/ URLs)
  • Premium VODs (/vodpremium/ URLs)
  • Event VODs (/ev/ URLs)

There appear to be 3 levels of access:

  • Unrestricted
  • Country restricted to Indonesia
  • Country restricted to Indonesia with subscription (login required)

The main method of access control appears to be based on dynamically rendered HTML pages which either include or do not include the playlist/manifest URL.

Country restricted to Indonesia with subscription has not been tested and is therefore unsupported. I suspect, however, that with a valid session cookie they may work, as long as they conform to a format supported in find_url().

Live TV:
https://www.useetv.com/livetv/seatoday (unrestricted)
https://www.useetv.com/livetv/jtv (restricted to .id)
https://www.useetv.com/livetv/mtvlive (restricted to .id with sub)

TV replay VODs:
https://www.useetv.com/tvod/seatoday/1652986800/1652988600/meet-the-creators (unrestricted)
https://www.useetv.com/tvod/jtv/1652952600/1652954400/padharan-fit (restricted to .id)
https://www.useetv.com/tvod/mtvlive/1652988600/1652990400/hot-right-now (restricted to .id with sub)

Premium VODs (all seem to be unrestricted if you can get the URL, i.e. not paid for content):
https://www.useetv.com/vodpremium/play/7898
https://www.useetv.com/vodpremium/play/8002
https://www.useetv.com/vodpremium/play/8045

Event VODs (live streaming untested, all tested from gallery):
https://www.useetv.com/ev/CXForumJuni2021 (unrestricted)
https://www.useetv.com/ev/startup-meetup-bufferapp-v-50 (unrestricted)
https://www.useetv.com/ev/webinar-outbreak-challenge-and-opportunities (seems restricted to .id)

closes #4451

Copy link
Member

@bastimeyer bastimeyer left a comment

Choose a reason for hiding this comment

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

Haven't checked the site, just commenting on the diff.

@mkbloke
Copy link
Member Author

mkbloke commented May 23, 2022

Thanks for the pointers. Hopefully everything is resolved now.

@bastimeyer
Copy link
Member

The changes are looking good, thanks...

Just had a look at the site and tested the plugin, and apart from some content not being accessible, as stated in the OP, I can't find any DASH streams.

@mkbloke
Copy link
Member Author

mkbloke commented May 23, 2022

These are all DASH, but they are also all country restricted to Indonesia:

https://www.useetv.com/livetv/useeinfo
https://www.useetv.com/livetv/useephoto
https://www.useetv.com/livetv/tvri
https://www.useetv.com/livetv/beritasatu
https://www.useetv.com/livetv/jaktv
https://www.useetv.com/livetv/jtv
https://www.useetv.com/livetv/inews
https://www.useetv.com/livetv/indikids

$ streamlink-ssh -j https://www.useetv.com/livetv/useeinfo
{
  "plugin": "useetv",
  "metadata": {
    "id": null,
    "author": null,
    "category": null,
    "title": null
  },
  "streams": {
    "240p": {
      "type": "dash",
      "url": "https://cdn08jtedge.useetv.com/dashdvr/132/useeinfo/manifest.mpd?enc=MZtWjPcg7NZoMAl0zfH6mw&exp=1653339601&encp=mgNFxcjCMQ4D2DTQmc8eTw&expp=1653348301",
      "headers": {}
    },
    "360p": {
      "type": "dash",
      "url": "https://cdn08jtedge.useetv.com/dashdvr/132/useeinfo/manifest.mpd?enc=MZtWjPcg7NZoMAl0zfH6mw&exp=1653339601&encp=mgNFxcjCMQ4D2DTQmc8eTw&expp=1653348301",
      "headers": {}
    },
    "480p": {
      "type": "dash",
      "url": "https://cdn08jtedge.useetv.com/dashdvr/132/useeinfo/manifest.mpd?enc=MZtWjPcg7NZoMAl0zfH6mw&exp=1653339601&encp=mgNFxcjCMQ4D2DTQmc8eTw&expp=1653348301",
      "headers": {}
    },
    "worst": {
      "type": "dash",
      "url": "https://cdn08jtedge.useetv.com/dashdvr/132/useeinfo/manifest.mpd?enc=MZtWjPcg7NZoMAl0zfH6mw&exp=1653339601&encp=mgNFxcjCMQ4D2DTQmc8eTw&expp=1653348301",
      "headers": {}
    },
    "best": {
      "type": "dash",
      "url": "https://cdn08jtedge.useetv.com/dashdvr/132/useeinfo/manifest.mpd?enc=MZtWjPcg7NZoMAl0zfH6mw&exp=1653339601&encp=mgNFxcjCMQ4D2DTQmc8eTw&expp=1653348301",
      "headers": {}
    }
  }
}

$ streamlink-ssh https://www.useetv.com/livetv/useeinfo best
[cli][info] Found matching plugin useetv for URL https://www.useetv.com/livetv/useeinfo
[cli][info] Available streams: 240p (worst), 360p, 480p (best)
[cli][info] Opening stream: 480p (dash)
[cli][info] Starting player: mpv
[utils.named_pipe][info] Creating pipe streamlinkpipe-472876-1-5706
[utils.named_pipe][info] Creating pipe streamlinkpipe-472876-2-9263
[cli][info] Player closed
[cli][info] Stream ended
[cli][info] Closing currently open stream...

@bastimeyer bastimeyer merged commit d9ddc2f into streamlink:master May 23, 2022
@mkbloke mkbloke deleted the useetv branch May 23, 2022 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

https://www.useetv.com/
2 participants