Comments (5)
@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.
Stream-link doesn't seem to support exact channel name!
I'll look into letting you map channel names! To custom strings
from nativetwitch.
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
from nativetwitch.
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.
By the way, I can open the same channel stream directly in Terminal with streamline command.
from nativetwitch.
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)
- Enhancements. HOT 1
- Getting a crash when trying to launch. Worked fine yesterday. Hope this is helpful. HOT 2
- UI cuts off if there are a lot of concurrent streamers. HOT 1
- twitch is showing this before every stream and buffering even on gigabit internet. HOT 2
- [To-do] Add CI integration HOT 1
- [Feature] Manually set quality HOT 1
- [ Code Cleanup + Binary Enhancement]
- can this be made working on older versions of macOS? HOT 2
- USELESS LINES
- DO NOT MERGE #31 YET HOT 1
- Minor UI bug
- Native chat? HOT 1
- 🐞BUG: Stream doesn't open HOT 5
- it doesn't open streams HOT 2
- Opens QuickTime player even if streamlink is installed HOT 8
- CPU usage in background HOT 4
- Open in IINA if installed HOT 1
- [Feature Request] Double clicking on a stream should open it HOT 2
- should add an auto update feature HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nativetwitch.