eusi Posted January 9, 2014 Share Posted January 9, 2014 (edited) TwitchStreamer Summary Search Twitch.tv streams and watch via VLC or mpv or IINA (Streamlink (former Livestreamer) required) keywords: tw, twtop, twgames, optional: twcover` twtop: show top live streams (sorted by number of current viewers) twgames: show top live games streamed (sorted by number of current viewers) tw: search specific live channel/game twcover: download/preload game icons for better user experience browse philosophy: twtop or twgames for getting the most wanted streams on twitch.tv search philosophy: tw star finds streamer like "starman" and "starcraft"-games streams Details Check who is streaming on Twitch.tv (category gaming) and watch your favorite stream via Streamlink on VLC or mpv or IINA (no lags anymore, thanks to buffering). The main keyword is tw and the second word is the game or stream you want to watch (examples: tw voyboy or tw league of legends or also simply tw league). Alternative: Use keyword twtop to see the current TOP streams or twgames for the current TOP streamed games. Limit of streams is changable via specific workflow ($limit-variable). With enter you can open the stream via Streamlink on VLC or mpv or IINA. The streamer list is sorted by number of viewers descending. The quality of the stream is "high". If you want to change it to best (e.g.), feel free to open the existing "Terminal Command" (alfred, workflow-window) and modify the streamlink line. Optional: If you deleted your game icons/covers folder (because many of them are outdated) you should use twcover to download all the top game covers. Otherwise tw or twtop will do it, but it takes more time and downloads less covers at the same time. Screenshot: Browsing TOP STREAMS Screenshot: Browsing TOP GAME Screenshot: Searching STREAM Screenshot: Searching GAME Screenshot 5: Downloading GAME COVERS/POSTERS Screenshot 6: Watching STREAM Download Required: Alfred, Streamlink and VLC or mpv or IINA. Made/Tested in/with OSX 10.15.7, Streamlink 2.4.0, VLC 3.0.16, PHP 7.3.11, AppleScript >2.5, Twitch API (Oct. 2021) Supports OneUpdater/AlleyOop/Monkey Patch (workflow updater). DOWNLOAD HERE Issues it takes a lil time between entries because of the twitch.tv-api Edited October 24, 2022 by eusi Link to comment
eusi Posted January 11, 2014 Author Share Posted January 11, 2014 1.3.0 Big Update (reworked the whole code) Added twtop tw searches more efficient and games as well as streams Link to comment
denbrubeck Posted January 11, 2014 Share Posted January 11, 2014 Works great, thank you so much! Link to comment
eusi Posted January 12, 2014 Author Share Posted January 12, 2014 (edited) 1.5.0 - 1.5.2 Big Update Added twgame (search games) Added twcover (download and convert game covers) fixed sort order bug, thanks to tyler and andrew already added some covers Edited January 12, 2014 by eusi Link to comment
Malauch Posted February 17, 2015 Share Posted February 17, 2015 It's great workflow! Now I can watch Twitch convenient without installed Flash plugin. Link to comment
eusi Posted March 8, 2015 Author Share Posted March 8, 2015 (edited) There is another version (1.6) of this workflow (it uses jpg instead of png) cuz some people don't get current version work since they updated OSX to Yosemite. If your version 1.52 still work, you need no update. Otherwise try 1.6: Download 1.6.0 switched cover-format from png to jpg (due to issue#1) cleaned up code Edited March 8, 2015 by eusi Link to comment
Swaino Posted April 5, 2015 Share Posted April 5, 2015 I signed up just to say this is awesome. Thanks! Link to comment
eusi Posted August 2, 2015 Author Share Posted August 2, 2015 1.7 Changed vjpg-branch to master Modified terminal command: Quits Terminal automatically Deleted twgame Added twgames (top streamed games by viewers) Added twbygame, similar to the old twgame Link to comment
eusi Posted September 30, 2016 Author Share Posted September 30, 2016 (edited) 1.72 Regarding twitch API changes, added client id to every request Regarding twitch API changes, changed string encoding of images Hence all game covers are renamed or replaced https://github.com/eusi/alfred2-twitch-streamer Edited October 2, 2016 by eusi Link to comment
eusi Posted October 1, 2016 Author Share Posted October 1, 2016 (edited) 1.73 * Livestreamer has not been updated so far regarding Twitch API changes. => Added a workaround to the workflow without requiring a livestreamer update to make it work. https://github.com/eusi/alfred2-twitch-streamer Edited October 2, 2016 by eusi Link to comment
eusi Posted October 2, 2016 Author Share Posted October 2, 2016 1.74 * Replaced file_get_contents() by an own created url_get_contents() that is using curl. It seems file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 on the new macOS Sierra. https://github.com/eusi/alfred2-twitch-streamer Link to comment
eusi Posted October 3, 2016 Author Share Posted October 3, 2016 1.75 * Added OneUpdater (forum post) that allows you to update the workflow out of the box (it checks for updates automatically every 15 days and downloads/opens new versions). Changed the usage of Terminal to Run Script (no opened terminal any longer during watching stream). Thx@ vitorgalvao. https://github.com/eusi/alfred2-twitch-streamer Link to comment
eusi Posted October 4, 2016 Author Share Posted October 4, 2016 1.8 * Updated OneUpdater (thx@ vitorgalvao), replaced NSAppleScript by a normal RunScript(JS) that handles the latest installed Alfred (no matter if we switch to Alfred 4..5..6 in future), fixed connection issues by changing file_put_contents to curl and extending url_get_contents(). https://github.com/eusi/alfred2-twitch-streamer Link to comment
eusi Posted October 6, 2021 Author Share Posted October 6, 2021 2.0 * Updated entire Twitch API to latest (incl. new oauth). * Changed livestreamer to streamlink. * Added VLC, MVP and IINA player support. * Updated game covers. Link to comment
eusi Posted October 24, 2022 Author Share Posted October 24, 2022 2.1 * Added viewer counts to TOP games and searched streams * Added search for game IDs (via twgames) * Renamed some API functions Github: https://github.com/eusi/TwitchStreamer-Alfred-Workflow Link to comment
vitor Posted October 26, 2022 Share Posted October 26, 2022 @eusi Looks like you forgot to make a new release on GitHub. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now