Giter Site home page Giter Site logo

Comments (5)

Aayush9029 avatar Aayush9029 commented on May 27, 2024 1

@detecti1914 Great find!

However since we're using channel name (twitch api), which is sadly returns Username as Chinese characters; it will take some time to fix this.

image

Stream-link doesn't seem to support exact channel name!

I'll look into letting you map channel names! To custom strings

from nativetwitch.

detecti1914 avatar detecti1914 commented on May 27, 2024 1

I wonder if we can use "user_login" instead of "username" as the url parameter, for I can successfully load stream with this command in the picture below

163722016-806ea26e-5eee-470a-a107-d20d85e78fec

Screen Shot 2022-04-18 at 08 51 53

from nativetwitch.

Aayush9029 avatar Aayush9029 commented on May 27, 2024 1

@detecti1914

You can download it here I'll release it (auto-update) next month with major changes :D

I didn't take time to notarize it, I've only changed few lines.

Thanks for pointing "user_name" out

from nativetwitch.

detecti1914 avatar detecti1914 commented on May 27, 2024

By the way, I can open the same channel stream directly in Terminal with streamline command.

Screen Shot 2022-04-17 at 23 47 15

from nativetwitch.

detecti1914 avatar detecti1914 commented on May 27, 2024

Here is my log (Other channel work fine, like the third one)

`2022-04-18 00:39:02 +0000 | User Validated
2022-04-18 00:39:02 +0000 | User Validated
response: {
"login" : "USERNAME*",
"scopes" : [
"user:read:follows"
],
"client_id" : "**CLIENTID",
"expires_in" : 0,
"user_id" : "USER_ID
"
}

2022-04-18 00:39:02 +0000 | User Validated
response: {
"login" : "USERNAME*",
"scopes" : [
"user:read:follows"
],
"client_id" : "**CLIENTID",
"expires_in" : 0,
"user_id" : "USER_ID
"
}

2022-04-18 00:39:02 +0000 | Current version is the latest version ✅
2022-04-18 00:39:03 +0000 | Stream Has Been Loaded
response: {
"pagination" : {

},
"data" : [
{
"is_mature" : true,
"thumbnail_url" : "https://static-cdn.jtvnw.net/previews-ttv/live_user_meidingdang126-{width}x{height}.jpg",
"user_id" : "771791898",
"game_id" : "509658",
"user_login" : "meidingdang126",
"started_at" : "2022-04-17T15:41:06Z",
"title" : "《美叮噹》小朋友坐好,準備上課,今天看電影。|台灣夜市|泳池大王|交通安全|迷因|按摩俱樂部",
"language" : "zh",
"id" : "40726992283",
"tag_ids" : [
"74c92063-a389-4fd2-8460-b1bb82b04ec7"
],
"game_name" : "Just Chatting",
"viewer_count" : 374,
"user_name" : "水桶大霸誰修哈",
"type" : "live"
},
{
"is_mature" : false,
"thumbnail_url" : "https://static-cdn.jtvnw.net/previews-ttv/live_user_kinganime102-{width}x{height}.jpg",
"user_id" : "714925160",
"game_id" : "518203",
"user_login" : "kinganime102",
"started_at" : "2022-04-17T03:25:42Z",
"title" : "24小時回顧那些年來被遺忘的經典與糞作,請務必加入DC追蹤開台跟片單",
"language" : "zh",
"id" : "46193454637",
"tag_ids" : [
"74c92063-a389-4fd2-8460-b1bb82b04ec7"
],
"game_name" : "Sports",
"viewer_count" : 118,
"user_name" : "請問您今天要來點アニメ嗎",
"type" : "live"
},
{
"is_mature" : true,
"thumbnail_url" : "https://static-cdn.jtvnw.net/previews-ttv/live_user_akb48_taiwan_clubs-{width}x{height}.jpg",
"user_id" : "703873435",
"game_id" : "",
"user_login" : "akb48_taiwan_clubs",
"started_at" : "2022-04-17T22:36:58Z",
"title" : "AKB48-Taiwan Clubs LIVE CHANNEL",
"language" : "ja",
"id" : "46199756381",
"tag_ids" : [
"6ba1d230-e52f-4d81-b1e0-41f25a8a9f5d"
],
"game_name" : "",
"viewer_count" : 34,
"user_name" : "akb48_taiwan_clubs",
"type" : "live"
}
]
}

2022-04-18 00:39:37 +0000 | Stream Has Been Loaded
response: The files /No, /playable, /streams, /found, /on, /this, and /twitch.tv/水桶大霸誰修哈 do not exist.

2022-04-18 00:39:37 +0000 | Stream Has Been Loaded
response: BIG FAIL 😩 @ /opt/homebrew/bin/streamlink

2022-04-18 00:39:37 +0000 | Stream Has Been Loaded
response: streamlink not found

2022-04-18 00:41:02 +0000 | Stream Has Been Loaded
response: /opt/homebrew/bin/streamlink:🎉 Success 🎉

`

from nativetwitch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.