ETCC is a major mode to view TwitCasting live and movies.
- request
- simple-httpd
- volatile-highlights (optional)
- ffmpeg — to download recorded movie file and HLS
- mpv — to play HLS
The latest version of etcc.el is available from:
https://github.com/kametoku/etcc
- Go to TwitCasting developer page.
- Register your App with the followng setting:
- Name: any
- Description: any
- Callback URL: the same value as
etcc-auth-redirect-url. (default: http://localhost:12399/etcc-auth-callback) - Scope: “Read and Write” or “Read, Write and Broadcast”
- Note “ClientID” and “ClientSecret” from your App created.
- Configure ETCC with the above values.
Write the following lines to your
~/.emacsfile (or~/.emacs.d/init.el):(require 'etcc) (setq etcc-auth-client-id "ClientID") (setq etcc-auth-state "ClientSecret") ;; (if (fboundp 'skk-wrap-newline-command) ;; (skk-wrap-newline-command etcc-post-comment)) ; for SKK uesr ;; (dolist (hook '(etcc-mode-hook ;; etcc-display-movie-info-hook ;; etcc-display-user-info-hook ;; etcc-display-comments-hook ;; etcc-supporter-mode-hook ;; etcc-supporting-mode-hook ;; etcc-search-mode-hook ;; etcc-search-user-mode-hook)) ;; (add-hook hook 'emojify-mode)) ;; (set-face-attribute 'etcc-live-face nil ;; :inherit 'bold ;; :foreground "gray93" :background "red3" ;; :height 0.87 ;; :box '(:line-width 1 :style released-button)) ;; (set-face-attribute 'etcc-recorded-face nil ;; :inherit 'bold ;; :foreground "gray93" :background "#0abbcc" ;; :height 0.87 ;; :box '(:line-width 1 :style released-button)) ;; (set-face-attribute 'etcc-protected-face nil ;; :inherit 'bold ;; :foreground "gray93" :background "#88aa00" ;; :height 0.87 ;; :box '(:line-width 1 :style released-button))
- type
M-x etcc-authto get yourself authorized.
- type
M-x etccorM-x etcc-search-recommendto list recommend live movies. - type
M-x etcc-search-newto list new live movies. - type
M-x etcc-search-by-wordto search live movies with words. - type
M-x etcc-search-by-tagto search live movies with tags. - type
M-x etcc-search-by-categoryto search live movies of category.
- Type
M-x etcc-view-movie-from-urlfollowed by TwitCasting live/movie URL to view movie form the URL. - Type
M-x etcc-view-livefollowed by the user ID to view user’s live. - type
M-x etcc-view-moviefollowed by the movie ID to view recorded movie.
- type
C-c C-pto start playing the movie. - type
C-c C-ito view the movie info. - enter your comment after the prompt and type
C-c C-cto post comment. - type
C-c C-qto quit viewing movie. - type
M-x describe-modefor more about ETCC mode.
- type
M-x etcc-search-userto search user with words. - type
M-x etcc-view-userfollowed by user’s id to view the user info with their user’s movie list
- type
M-x etcc-display-my-supportingto list your supporing users.
