Giter Club home page Giter Club logo

somafm.el's Introduction

somafm.el

A simple somafm interface in emacs

Note: This is not an official SomaFM project

I built this for fun because of my love for SomaFM.

somafm.el screenshot

Installation

  • Ensure you have mpv installed.
    • On macOS: brew install mpv

With use-package & melpa

  • (use-package somafm
      :ensure t)

With use-package

  • Clone the repository
  • Ensure the load-path is properly set based on the directory you cloned to. If it was cloned to ~/.emacs.d, this should work.
    (use-package somafm
      :load-path "somafm.el")

Without use-package

  • Clone the repository and make sure it's in your load path.
    (add-to-list 'load-path "~/.emacs.d/somafm.el")
  • Require the package
    (require 'somafm)
  • Done!

Usage

  • Launch the soma.fm channel browser via M-x somafm

  • Use n and p to navigate

  • Press <return> to start streaming the highlighted channel

  • Press s to stop streaming playback

  • Press l to sort by number of listeners

  • Press g to refresh the channels list

  • The current song will be shown next to the current channel

    • Or you can use M-x somafm-current-song to display the current song in the echo area.
  • You can add the current song to your favorites file (see somafm-favorites-file) by calling somafm-add-current-song-to-favorites, and delete it by calling somafm-delete-current-song-from-favorites.

Customization

  • You can set the somafm-sound-quality custom to 'highest, 'high, or 'low to set the streaming quality.

Contributing

This project uses buttercup for tests. To run them:

  1. Install Cask.

  2. Run the cask command in the project's root directory to install dependencies.

  3. Execute tests: cask exec buttercup -L .

somafm.el's People

Contributors

alecigne avatar artenator avatar conao3 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.