Skip to content

Commit

Permalink
update md & help
Browse files Browse the repository at this point in the history
  • Loading branch information
darknessomi committed Sep 22, 2015
1 parent 1c28123 commit 54cc33d
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion NEMbox/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ def start():
parser.add_argument("-v", "--version", help="show this version and exit", action="store_true")
args = parser.parse_args()
if args.version:
print "NetEase-MusicBox 0.1.8.1"
print "NetEase-MusicBox 0.1.8.2"
sys.exit()
5 changes: 3 additions & 2 deletions NEMbox/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def recommend_playlist(self):
except:
return []

#私人FM
# 私人FM
def personal_fm(self):
action = 'http://music.163.com/api/radio/get'
try:
Expand All @@ -252,7 +252,7 @@ def personal_fm(self):
except:
return []

#FMlike
# like
def fm_like(self, songid, like=True, time=25, alg='itembased'):
if like:
action = 'http://music.163.com/api/radio/like?alg='+alg+'&trackId='+str(songid)+'&like=true&time='+str(time)
Expand All @@ -267,6 +267,7 @@ def fm_like(self, songid, like=True, time=25, alg='itembased'):
except:
return []

# FM trash
def fm_trash(self, songid, time=25, alg='RT'):
action = 'http://music.163.com/api/radio/trash/add?alg='+alg+'&songId='+str(songid)+'&time='+str(time)
try:
Expand Down
4 changes: 2 additions & 2 deletions NEMbox/menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
['r', 'Remove ', '删除当前条目'],
['Shift+j', 'Move Down ', '向下移动当前条目'],
['Shift+k', 'Move Up ', '向上移动当前条目'],
[',', 'Like FM ', '喜爱 FM'],
[',', 'Like ', '喜爱'],
['.', 'Trash FM ', '删除 FM'],
['/', 'Next FM ', '下一 FM'],
['q', 'Quit ', '退出'],
Expand Down Expand Up @@ -245,7 +245,7 @@ def start(self):
self.player.shuffle()
time.sleep(0.1)

# 喜爱FM
# 喜爱
elif key == ord(','):
self.netease.fm_like(self.cache.get_playing())

Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ NetEase-MusicBox
6. 网易DJ节目
7. 私人歌单,每日推荐
8. 随心打碟
9. 本地收藏
9. 本地收藏,随时加❤
10. 播放进度及播放模式显示
11. Vimer式快捷键让操作丝般顺滑
12. 可使用数字快捷键
Expand Down Expand Up @@ -54,7 +54,7 @@ NetEase-MusicBox
<tr> <td>R</td> <td>Remove</td> <td>删除当前条目</td> </tr>
<tr> <td>⇧+J</td> <td>Move Down</td> <td>向下移动当前项目</td> </tr>
<tr> <td>⇧+K</td> <td>Move Up</td> <td>向上移动当前项目</td> </tr>
<tr> <td>,</td> <td>Like FM</td> <td>喜爱 FM</td> </tr>
<tr> <td>,</td> <td>Like</td> <td>喜爱</td> </tr>
<tr> <td>.</td> <td>Trash FM</td> <td>删除 FM</td> </tr>
<tr> <td>/</td> <td>Next FM</td> <td>下一FM</td> </tr>
<tr> <td>Q</td> <td>Quit</td> <td>退出</td> </tr>
Expand Down Expand Up @@ -117,7 +117,9 @@ Enjoy it !

### 更新日志

2015-09-22 版本 0.1.8.1 隐藏不常用的收藏功能,新增电台FM功能
2015-09-22 版本 0.1.8.2 新增加❤功能

2015-09-21 版本 0.1.8.1 隐藏不常用的收藏功能,新增电台FM功能

2015-09-20 版本 0.1.8.0 隐藏不常用的打碟功能,新增每日推荐功能

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

setup(
name='NetEase-MusicBox',
version='0.1.8.1',
version='0.1.8.2',
packages=find_packages(),

include_package_data=True,
Expand Down

0 comments on commit 54cc33d

Please sign in to comment.