cheshire137 / soma-chrome Goto Github PK
View Code? Open in Web Editor NEWChrome extension to listen to SomaFM web radio stations from your browser.
License: MIT License
Chrome extension to listen to SomaFM web radio stations from your browser.
License: MIT License
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.
As mentioned in maxkueng/somascrobbler-api#4 SomaScrobbler API (http://api.somascrobbler.com/) will be switching to Socket.io 1.3.5 which is incompatible with Socket.io 0.9.16.
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.
In Google feedback:
Can you provide an option to pop out into a separate small window? I like having a mini chrome window like the SomaFM player that I don't close by accident.
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 1716From Google feedback:
Also, remembering last played station would be great.
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.
The settings page shows 2014. Bump to 2015.
So that I just click 'Authenticate with Last.fm' and scrobbling gets turned on after I come back to the settings page.
Thank you for this! I'll try this out this weekend.
Originally posted by @cheshire137 in #49 (comment)
As requested in #19.
Put stuff in a shared library on npm.
Your extension rocks! Thanks!
Hi! It would be nice to add ability to play pause radio with shortcut:
https://developer.chrome.com/extensions/commands
Saw them listed on http://somafm.com/
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.
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.
As requested in #19.
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.
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.
As seen in my desktop app, HuxleyFM.
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?
Currently one has to Pause, then select from dropdown, then Play.
Faster would be simply changing the station (not having it unselectable while playing).
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):
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. ๐
I suck at creating buttons.
Add a link to http://somafm.com/folkfwd/songhistory.html in the popup when the Folk Forward station is selected, for example.
As seen in my desktop app, HuxleyFM.
Go with modern JavaScript instead: querySelector, const, forEach, etc.
As seen in my desktop app, HuxleyFM.
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.
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.
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.
If I type "po", the PopTron station should be focused, for example. Would be nice to not have to open the station menu first.
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.
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.
There are some new stations that should be added to the list like Fluid and Metal Detector.
I'm a great fan of fully displayed list options, rather than a drop-down list. So this is a composite request:
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!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.