Skip to content

plugins.indihometv: replace and fix useetv plugin #5266

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
Mar 30, 2023

Conversation

bastimeyer
Copy link
Member

Resolves #5130

This replaces the useetv plugin with the new indihometv plugin, which basically uses the same code except for some minor changes.

Some live streams are DRM protected and some VODs seem inaccessible. Tested with an Indonesian VPN. The site appears offline from non-Indonesian IP addresses, so the region-block check was removed.

live

streamlink -l debug 'https://www.indihometv.com/livetv/seatoday' best
[cli][debug] OS:         Linux-6.2.8-1-git-x86_64-with-glibc2.37
[cli][debug] Python:     3.11.2
[cli][debug] Streamlink: 5.3.1+54.gcf2a606f
[cli][debug] Dependencies:
[cli][debug]  certifi: 2022.12.7
[cli][debug]  isodate: 0.6.1
[cli][debug]  lxml: 4.9.2
[cli][debug]  pycountry: 22.3.5
[cli][debug]  pycryptodome: 3.17
[cli][debug]  PySocks: 1.7.1
[cli][debug]  requests: 2.28.2
[cli][debug]  urllib3: 1.26.15
[cli][debug]  websocket-client: 1.5.1
[cli][debug] Arguments:
[cli][debug]  url=https://www.indihometv.com/livetv/seatoday
[cli][debug]  stream=['best']
[cli][debug]  --loglevel=debug
[cli][debug]  --player=mpv
[cli][info] Found matching plugin indihometv for URL https://www.indihometv.com/livetv/seatoday
[utils.l10n][debug] Language code: en_US
[cli][info] Available streams: 270p (worst), 360p, 540p, 720p, 1080p (best)
[cli][info] Opening stream: 1080p (hls)
[cli][info] Starting player: mpv
[stream.hls][debug] Reloading playlist
[cli][debug] Pre-buffering 8192 bytes
[stream.hls][debug] First Sequence: 1163217; Last Sequence: 1163222
[stream.hls][debug] Start offset: 0; Duration: None; Start Sequence: 1163220; End Sequence: None
[stream.hls][debug] Adding segment 1163220 to queue
[stream.hls][debug] Adding segment 1163221 to queue
[stream.hls][debug] Adding segment 1163222 to queue
[stream.hls][debug] Writing segment 1163220 to output
[stream.hls][debug] Segment 1163220 complete
[cli.output][debug] Opening subprocess: mpv --force-media-title=https://www.indihometv.com/livetv/seatoday -
[cli][debug] Writing stream to output
[stream.hls][debug] Writing segment 1163221 to output
[stream.hls][debug] Segment 1163221 complete
[stream.hls][debug] Writing segment 1163222 to output
[stream.hls][debug] Segment 1163222 complete
[cli][info] Player closed
[stream.segmented][debug] Closing worker thread
[stream.segmented][debug] Closing writer thread
[cli][info] Stream ended
[cli][info] Closing currently open stream...

VOD

streamlink -l debug 'https://www.indihometv.com/tvod/seatoday/1680109200/1680111000/18328552/voa-our-voice' best
[cli][debug] OS:         Linux-6.2.8-1-git-x86_64-with-glibc2.37
[cli][debug] Python:     3.11.2
[cli][debug] Streamlink: 5.3.1+54.gcf2a606f
[cli][debug] Dependencies:
[cli][debug]  certifi: 2022.12.7
[cli][debug]  isodate: 0.6.1
[cli][debug]  lxml: 4.9.2
[cli][debug]  pycountry: 22.3.5
[cli][debug]  pycryptodome: 3.17
[cli][debug]  PySocks: 1.7.1
[cli][debug]  requests: 2.28.2
[cli][debug]  urllib3: 1.26.15
[cli][debug]  websocket-client: 1.5.1
[cli][debug] Arguments:
[cli][debug]  url=https://www.indihometv.com/tvod/seatoday/1680109200/1680111000/18328552/voa-our-voice
[cli][debug]  stream=['best']
[cli][debug]  --loglevel=debug
[cli][debug]  --player=mpv
[cli][info] Found matching plugin indihometv for URL https://www.indihometv.com/tvod/seatoday/1680109200/1680111000/18328552/voa-our-voice
[utils.l10n][debug] Language code: en_US
[cli][info] Available streams: 240p (worst), 360p, 480p (best)
[cli][info] Opening stream: 480p (hls)
[cli][info] Starting player: mpv
[stream.hls][debug] Reloading playlist
[cli][debug] Pre-buffering 8192 bytes
[stream.hls][debug] First Sequence: 1; Last Sequence: 180
[stream.hls][debug] Start offset: 0; Duration: None; Start Sequence: 1; End Sequence: 180
[stream.hls][debug] Adding segment 1 to queue
[stream.hls][debug] Adding segment 2 to queue
[stream.hls][debug] Adding segment 3 to queue
[stream.hls][debug] Adding segment 4 to queue
[stream.hls][debug] Adding segment 5 to queue
[stream.hls][debug] Adding segment 6 to queue
[stream.hls][debug] Adding segment 7 to queue
[stream.hls][debug] Adding segment 8 to queue
[stream.hls][debug] Adding segment 9 to queue
[stream.hls][debug] Adding segment 10 to queue
[stream.hls][debug] Adding segment 11 to queue
[stream.hls][debug] Adding segment 12 to queue
[stream.hls][debug] Adding segment 13 to queue
[stream.hls][debug] Adding segment 14 to queue
[stream.hls][debug] Adding segment 15 to queue
[stream.hls][debug] Adding segment 16 to queue
[stream.hls][debug] Adding segment 17 to queue
[stream.hls][debug] Adding segment 18 to queue
[stream.hls][debug] Adding segment 19 to queue
[stream.hls][debug] Adding segment 20 to queue
[stream.hls][debug] Adding segment 21 to queue
[stream.hls][debug] Adding segment 22 to queue
[stream.hls][debug] Writing segment 1 to output
[stream.hls][debug] Segment 1 complete
[cli.output][debug] Opening subprocess: mpv --force-media-title=https://www.indihometv.com/tvod/seatoday/1680109200/1680111000/18328552/voa-our-voice -
[stream.hls][debug] Adding segment 23 to queue
[cli][debug] Writing stream to output
[cli][info] Player closed
[stream.segmented][debug] Closing worker thread
[stream.segmented][debug] Closing writer thread
[cli][info] Stream ended
[cli][info] Closing currently open stream...

@gravyboat gravyboat merged commit da81f22 into streamlink:master Mar 30, 2023
@bastimeyer bastimeyer deleted the plugins/indihometv/init branch March 30, 2023 18:58
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.

2 participants