It's a simple douban fm app. Rewrite it to make it feel better. ; )
DoubanFm Application
A simple Douban Fm for practice purpose. Bitrate up to 320kbps, global hotkeys, and no ads.
Key maps:
Local(windows only): ctrl + arrow
Global: ctrl(command) + shift + 9, last song; ctrl(command) + shift + 0, next song; ctrl(command) + shift + 8, like; ctrl(command) + shift + 1, dislike;
4/20/2014:
add login and favorite channel(need login).
add controller for next song and last song.
add login session(only store user token, user id, user nick name and expire info, not including login username and password), so that users don't need to re-login within a short time.
add like and dislike controls, and logout.
add search text area and an button for more songs.
4/21/2014:
change the style of lists.
4/22/2014:
add high quality music library.
block ads by default.
5/7/2014:
use a library with music up to 320kbps.
6/2/2014:
add hotkeys(ctrl + arrow) to control the player.
6/4/2014:
add global hot keys: ctrl+shift+9 for playing last song and ctrl+shift+0 for playing next song
10/10/2014:
add shortcut for Rate(like): ctrl+shift+8
add shortcut for Dislike(dustbin): ctrl+shift+1
5/23/2015:
add lyrics.
Read more
Key maps:
Local(windows only): ctrl + arrow
Global: ctrl(command) + shift + 9, last song; ctrl(command) + shift + 0, next song; ctrl(command) + shift + 8, like; ctrl(command) + shift + 1, dislike;
4/20/2014:
add login and favorite channel(need login).
add controller for next song and last song.
add login session(only store user token, user id, user nick name and expire info, not including login username and password), so that users don't need to re-login within a short time.
add like and dislike controls, and logout.
add search text area and an button for more songs.
4/21/2014:
change the style of lists.
4/22/2014:
add high quality music library.
block ads by default.
5/7/2014:
use a library with music up to 320kbps.
6/2/2014:
add hotkeys(ctrl + arrow) to control the player.
6/4/2014:
add global hot keys: ctrl+shift+9 for playing last song and ctrl+shift+0 for playing next song
10/10/2014:
add shortcut for Rate(like): ctrl+shift+8
add shortcut for Dislike(dustbin): ctrl+shift+1
5/23/2015:
add lyrics.
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "name": "__MSG_appName__", "description": "__MSG_appDescription__", "version": "56", "manifest_version": 2, "default_locale": "en", "permissions": [ "", "storage" ], "icons": { "16": "images/icon-16.png", "128": "images/icon-128.png" }, "app": { "background": { "scripts": [ "scripts/background.js" ] } }, "commands": { "playNextSong": { "suggested_key": { "default": "Ctrl+Shift+0", "windows": "Ctrl+Shift+0", "mac": "Command+Shift+0" }, "description": "Play next song", "global": true }, "playLastSong": { "suggested_key": { "default": "Ctrl+Shift+9", "windows": "Ctrl+Shift+9", "mac": "Command+Shift+9" }, "description": "Play last song", "global": true }, "rate": { "suggested_key": { "default": "Ctrl+Shift+8", "windows": "Ctrl+Shift+8", "mac": "Command+Shift+8" }, "description": "Rate or un-rate the song", "global": true }, "dislike": { "suggested_key": { "default": "Ctrl+Shift+1", "windows": "Ctrl+Shift+1", "mac": "Command+Shift+1" }, "description": "Never play it again", "global": true } }}
Read more