Ticket created by ~firegem on ~exec64/imv
I'm having the same problem as issues #201 and #272 on Github, even on the newest version (
4.3.1
). I have a binding[binds] <Shift+X> = exec garbage put "$imv_current_file"; closethat can get executed multiple times when working with large images, and skipping can also occur when using the arrow keys.
For extra info, this is under wayland using wlroots 0.15.1.
Comment by ~firegem on ~krathalan/wtwitch
Yup, that seems to have fixed it. There was a parse error during the first command, but it failed to show up again, and still gave the expected output anyway. Thanks for the quick fix
bug added by ~firegem on ~krathalan/wtwitch
Ticket created by ~firegem on ~krathalan/wtwitch
I get this on a fresh install of the program with all flags.
Starting wtwitch debug log Package: installed via pacman Versions: bash-5.0.17(1)-release wtwitch-1.7 jq-1.6 streamlink 1.4.1 Date: Sun 05 Jul 2020 11:30:55 PM EDT Command: wtwitch -d Config file: { "player": "mpv", "quality": "best", "colors": "true", "subscriptions": [], "apiToken": "", "apiTokenExpiry": "1590532419" } ----------------------------------------------------------- Begin log ----------------------------------------------------------- + TITLE_CHARACTERS=11 + case "${WTWITCH_LANG}" in + WTWITCH_LANG=en + TITLE_CHARACTERS=18 + [[ 1590532419 == \n\u\l\l ]] ++ LANG=C ++ date +%s + [[ 1594006255 -gt true ]] /usr/bin/wtwitch: line 452: true: unbound variable
Seems to have to do with the check for expired tokens;
# If the API token is null (e.g. there is no token), # OR if API token is expired if [[ "${apiToken}" == "null" ]] || [[ "$(LANG=C date +%s)" -gt "${apiTokenExpiry}" ]]; then download_token fi
Setting apiTokenExpiry to an empty string changes the error to
/usr/bin/wtwitch: line 452: mpv: unbound variable
, replacing true with mpv.
Comment by ~firegem on ~krathalan/wtwitch
Yeah, this seems to have worked, the command outputs all online streamers with none missing from either list. Also tried it with >30 total streamers and it still works, thanks a lot!
I feel you with the markdown, too. Good thing they have a preview button on desktop though.
Comment by ~firegem on ~krathalan/wtwitch
jq '.subscriptions[].streamer' config.json | wc -l
gives me 29 subscriptions. Of those, 3 are online but only two show up. Maybe there's just a hard cap.
Comment by ~firegem on ~krathalan/wtwitch
I realize the api error wouldn't appear on my log now because it's less detailed, but the rest still stands.
Comment by ~firegem on ~krathalan/wtwitch
Sorry for the late reply. Changing the ID does nothing to fix the output (with both my main account and a throwaway). The debug log looks similar to the one I linked in my last comment, meaning there is no error at the bottom, and only one channel shows up in
stream_online.txt
(the other live channels not appearing instream_offline.txt
).
Comment by ~firegem on ~krathalan/wtwitch
This was initially tested on Alacritty, though the same thing happens on the XFCE Terminal. The part of the log you pointed out also stood out to me, but I no longer have that specific cache file. The new
online
file, however, now contains just one channel, though the specific channel differs between each rerun.Here is a new log showing the change in
stream_online.txt
.cat
ing the file also just shows the one entry.
bug added by ~firegem on ~krathalan/wtwitch