Giter VIP home page Giter VIP logo

cheshire137 / soma-chrome Goto Github PK

View Code? Open in Web Editor NEW
58.0 14.0 20.0 5.66 MB

Chrome extension to listen to SomaFM web radio stations from your browser.

Home Page: https://chrome.google.com/webstore/detail/somaplayer/dpcghdgbhjkihgnnbojldhjmcbieofgo?hl=en&gl=US&authuser=1

License: MIT License

JavaScript 71.31% HTML 19.16% CSS 9.52%
chrome-extension javascript somafm music browser-extension

soma-chrome's People

Contributors

cheshire137 avatar code-for-coffee avatar lantrix avatar wiggybird avatar

Stargazers

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

Watchers

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

soma-chrome's Issues

Last.fm scrobbling doesn't work anymore

Hi.

Last.fm scrobbling stops to work some week ago. I try to authenticate again, try on another computer, try to install/uninstall the chrome app, but seem there is something else which is broken.

Sleep timer

A sleep timer that stops playing after a user chosen amount of time would be nice. Not just for usability but also to save costs for SomaFM.

Should grab current channels from SomaFM API

The list of current channels should be grabbed from http://api.somafm.com/channels.xml so you don't have to worry about updating the source when a new channel is added. I looks like this:

<title> </title> ambient|electronica

http://somafm.com/img/groovesalad120.png http://somafm.com/logos/256/groovesalad256.png http://somafm.com/logos/512/groovesalad512.png groovesalad 1417644939 http://somafm.com/groovesalad.pls http://somafm.com/groovesalad56.pls http://somafm.com/groovesalad130.pls http://somafm.com/groovesalad64.pls http://somafm.com/groovesalad32.pls 1716

Show localized time stamps

At 11:53a in my time zone, the latest song on a station is showing 1:52a. It would be nice if the timestamps were relative, e.g., "5 minutes ago", or were in the browser's chosen time zone.

Show extension version on options page

So a user can tell what version they have. Should be able to dynamically get the current installed version from the extension manifest file. Link to the change log from the options page, too.

Indicate which stations can be scrobbled

Not all of the stations are on SomaScrobbler. Only those that are can be scrobbled. Could indicate with a little Last.fm icon next to stations that can be scrobbled. Would need to use something other than a <select> since its <option>s can't have anything but text.

Add favorite stations

  • Change how stations are displayed so they're not in a regular HTML select menu. Use some kind of custom JavaScript + HTML menu such that we can have more than plain text in each option.
  • Add a little heart icon next to each station. Grayed out or empty by default, filled in and Soma-red when the station is a favorite.
  • Allow clicking a grayed-out heart to save in local storage (or shared Chrome storage? wherever options are stored currently) that that station is a favorite.
  • Clicking a red heart should remove that station as a favorite.
  • List favorite stations alphabetically before non favorites.

As requested in #19.

Add Favorite Songs

Would love to be able to start/favorite songs :)

A simple version could be implemented using local storage? What do you think? I wouldn't mind trying to get something working.

Display station description in popup

Found in the description property of each station, as fetched from the SomaFM API. Might be too long to show, could put it in a tooltip seen when hovering on the station name in the station select and when hovering on the station image.

Could also display in the station menu to help the user decide which station to choose.

Scrobbles upcoming songs

I was listening to PopTron just now. It scrobbled AlunaGeorge's You Know You Like It while Capital Cities' Safe and Sound was still playing. Then You Know You Like It started playing. So it wasn't a lie, both songs were played, it's just the scrobbles were a little premature.

Maybe this is the DJs updating their 'now playing' info in advance. Should the extension delay scrobbling? Should it keep track of the current and previous played track and scrobble the previous track on track change?

Change station by selecting new station

Currently one has to Pause, then select from dropdown, then Play.

Faster would be simply changing the station (not having it unselectable while playing).

Possible to add hints as to what stations will sound like?

It'd be nice to not have to go to https://soma.fm to see what a station will sound like (station names rarely help so I end up just listening to one or two):

image

Is it asking too much to add these hints (on hover or a little clickable info icon) as to what a station will sound like?

If you're interested in something like this I could probably help by converting the select box to a div dropdown and adding in the relevant descriptions. If not, no biggie, still a cool extension. ๐Ÿ‘

Current track info not showing

From feedback in the Chrome Web Store:

it doesn't scrobble to Last.FM.

Hey guys. Please help me with scrobbling.

I disconnected and re-authenticated Last.fm multiple times and it still doesn't scrobble. Not sure what I'm doing wrong. Also, notifications aren't showing up either.

Extension doesn't scrobble.

just started using this. won't scrobble.

Having trouble getting it to scrobble though.

Scrobling doesn't stops when radio is changed.

I found that player continues scrobble in parallel all songs from any stations that I listened before (during one chrome session). Event when I pause music.
Restart of Chrome helps to solve it.

Connects to API even when not playing

Hi Sarah

I've implemented a connection counter on api.somascrobbler.com that shows the number of currently open connections.

While doing that, I have noticed that the extension connects to the API even when it's not playing or has never been playing. Just right after opening up Chrome.

It doesn't bother me re. API but I thought it might not the intended behaviour. I can basically see how many people who have installed your extension currently have their browser open. If it were only connected while playing you could see how many people are currently listening using your app.

Groove Salad Classic image not displaying

Groove Salad Classic (a somewhat new channel)'s image is not showing, instead it is a broken image placeholder. Both in the drop-down list and for the channel once it is selected.

Creates multiple notifications

First, thanks so much for making this, I really like it! My apologies for not making a pull request but I'm not set up for development here (just a Chromebook...)

I notice you've left the notification ID empty in chrome.notifications.create, so every new track creates a new notification. That may be your desired behaviour, but if I'm reading the documentation right, if you set a value for notification ID the function will clear any previous notification when a new track plays.

Add new stations

There are some new stations that should be added to the list like Fluid and Metal Detector.

Favorites (favorited) list of stations as well as All stations

I'm a great fan of fully displayed list options, rather than a drop-down list. So this is a composite request:

  1. Have all stations listed from the extension button.
  2. Have stations favoriteable (clickable hearts)
  3. Have the favorited stations listed first (alphabetically) and then the unfavorited (listed alphabetically).

This would essentially duplicate the functionality of the SomaFM mobile apps that do this. It would be also nice to display the black theme as in the mobile app, and also the station album covers. https://somafm.com/mobile/

Ok, well that is a lot to ask! Maybe I should start hacking on this open source app!

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.