peakxl / twitch-drop-claimer

MIT License
24 stars 3 forks source link

No channels available #76

Closed brypl closed 1 year ago

brypl commented 1 year ago

Getting a no channels available error yet sign in works.

Have tried disabling drops setting, watch top streamer, setting preferred streamers and getting new auth token.

image

This is my docker config


version: '3.5'
services:
  twitch-drop-claimer:
    image: peakxy/twitch-watcher:latest
    restart: unless-stopped
    environment:
      - auth_token=blankedoutforsecurity #Example value from readme
      - category=Sea%20of%20Thieves
      - watchAlwaysTopStreamer=true
      - claimDrops=true
      #- channelsWithPriority=illojuan,alexby11,aroyitt
      - noChannelFoundWait=1
      - userAgent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36
      #- minWatching=10
      #- maxWatching=30
      #- streamerListRefresh=1
      #- streamerListRefreshUnit=hour
      #- browserScreenshot=true
      #- proxy=ip:port
      #- proxyAuth=username:password
    volumes:
      - "C:/DockerData/TwitchViewer:/screenshots"
peakxl commented 1 year ago

@brypl It looks like currently there is no drop campaign for Sea of Thieves. I tried on games like "Honkai Impact 3rd" and it does work.

danshao commented 1 year ago
image image
peakxl commented 1 year ago

@danshao It is working on my side. Please make sure you have the newest commit of the repo. And make sure that you have category="Baldur's Gate 3" in .env. Also note that auto-claiming is not working at the present time, so you might have to claim drops manually.

danshao commented 1 year ago

This is my current config.

Even with category="Baldur's Gate 3", I am encountering the same issue.

version: '3.5'
services:
  twitch-drop-claimer:
    image: peakxy/twitch-watcher:latest
    restart: unless-stopped    
    container_name: twitch-watcher
    environment:
      - auth_token=mytwitchauthtoken
      - category=Baldur's%20Gate%203
      - watchAlwaysTopStreamer=false
      - claimDrops=true 
      - channelsWithPriority=quin69,singsing,cohhcarnage
      - noChannelFoundWait=1
      #- userAgent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36
      #- minWatching=15
      #- maxWatching=30
      #- streamerListRefresh=2
      #- streamerListRefreshUnit=hour
      #- browserScreenshot=false
      #- proxy=ip:port
      #- proxyAuth=username:password
    #volumes:
    #  - "./screenshots:/usr/src/app/screenshots"
peakxl commented 1 year ago

Use - category=Baldur's Gate 3 instead in docker-compose.yml

peakxl commented 1 year ago

try removing the double quotation marks. It works for me

danshao commented 1 year ago

Cool. That worked :)

You may want to update the docker-compose.yml sample file

danshao commented 1 year ago

Seems like claimDrops=true did not work to automatically claim the drop

peakxl commented 1 year ago

The auto claim drop has been broken since 2022-09 when Twitch pushed an update that requires an integrity token for GQL operations. The fix would be complicated and it needs to be consistently maintained. I suggest using Twitch-Channel-Points-Miner-v2 to auto claim drops instead.