Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修复快速切换音乐,线程混乱问题,增加快速跳转快捷键 #842

Open
wants to merge 136 commits into
base: buffer
Choose a base branch
from

Conversation

wangjianyuan10
Copy link
Contributor

修复快速切换音乐,线程混乱问题,增加快速跳转快捷键

caitinggui and others added 30 commits January 12, 2017 00:55
新版本应为0.2.3.8
仅当窗口大小改变的时候调整terminal的大小
Adjust osdlyrics, fix window position and lyrics translation
捕获通知命令无法找到的异常,避免 RaspberryPI 一类的系统无法找到通知
命令,报错影响程序界面。
同时为方便异常捕获,改为使用 subprocess 调用命令。
[fix]捕获通知命令无法找到的异常
add config for osdlyrics background area size
tonyfettes and others added 23 commits August 19, 2020 16:14
* mac专用版本1.0

* mac专用版本1.0

* 1.0安装

* 修复首次进评论的bug,提高主循环效率

* 修复快速按下一首多个子进程bug

* 修复线程混乱问题增加数字跳转快捷键

* 修复线程混乱问题增加数字跳转快捷键

* 修复线程混乱问题增加数字跳转快捷键

* 修复线程混乱问题增加数字跳转快捷键

* 修复线程混乱问题增加数字跳转快捷键

* 修复线程混乱问题增加数字跳转快捷键

* 修复线程混乱问题增加数字跳转快捷键

* 修复线程混乱问题增加数字跳转快捷键

* 修复线程混乱问题增加数字跳转快捷键

* 修复线程混乱问题增加数字跳转快捷键

* 修复线程混乱问题增加数字跳转快捷键

* 增加显示颜色自定义,按键映射,使用定时器实现自动关闭功能;修复搜索按键功能映射错误;发现快速切换时会播放多首音乐

* 0.1

* 0.1

* 0.2

* 0.2

* 0.2

* Fix comments bug.

* Fix comments bug.

* Fix comments bug.

* Fix comments bug.

* Optimize align of comments.

* Optimize align of comments.

* Optimize align of comments.

* Optimize for someone who write ':' in their comments.

* Fix comcomments.

* Fix comcomments.

* Fix comcomments.

* Update README.md

* Remove DS_Store.

* Fix keymap.

* Restore default key bindings.

* Restore osdlyrics.py

* Remove fucking glyphs.

* Fix comments bug.

* Merge.

* Remove DS_Store.

* Merge kwph and wjy.

* Change is to ==.

* Debug.

* Fix bug: fast pressing [ ] will causing multiple play instance.

* Remove build_menu_progress.

* Optimize branches.

* Add a blank in song and fmsongs.

* Add mouse support.

* Change f to config_file to stop annoying pylint.

* Fix notification on Linux.

* Move update api from macmusicbox to original one.

* Switch to timer.

* Fix display of help page.

* Add fuzzy search.

* Clean code.

* Improve performance on urxvt.

* Optimize up down key logic.

* Format const.py

* Update README.md & reset to origin default keymap.

* Remove untested platform & add dependencies for fuzzy search.

* Don't play music when press num keys.

* make num jump usable anywhere.

* Fix bug when mouse support is not enabled

* Remove num jump when using mouse.

* Abitious plan.

* Configuration: curses timeout.

* Try to optimize responsiveness.

* Remove yield latency (?).

* Partical plan.

* Update README.md

* Modifieable menu length

* Probably fix of bug darknessomi #816

* Change plan. Mark fixed.

* Fix jump logical chaos in comment.

* Fix the flash of color of lyrics when press j and k.

* Remove some targets & Use more accurate regex match to get timestap from lyrics

* Add auto adjust of page length according to terminal size.

* Update README.md to keep consist of original one.

* Use black to format code.

Co-authored-by: wangjianyuan10 <wangjianyuan10@163.com>
Co-authored-by: kenhuang <hwp0415229@sina.cn>
* mac专用版本1.0

* mac专用版本1.0

* 1.0安装

* 修复首次进评论的bug,提高主循环效率

* 修复快速按下一首多个子进程bug

* 修复线程混乱问题增加数字跳转快捷键

* 修复线程混乱问题增加数字跳转快捷键

* 修复线程混乱问题增加数字跳转快捷键

* 修复线程混乱问题增加数字跳转快捷键

* 修复线程混乱问题增加数字跳转快捷键

* 修复线程混乱问题增加数字跳转快捷键

* 修复线程混乱问题增加数字跳转快捷键

* 修复线程混乱问题增加数字跳转快捷键

* 修复线程混乱问题增加数字跳转快捷键

* 修复线程混乱问题增加数字跳转快捷键

* 修复线程混乱问题增加数字跳转快捷键

* 增加显示颜色自定义,按键映射,使用定时器实现自动关闭功能;修复搜索按键功能映射错误;发现快速切换时会播放多首音乐

* 0.1

* 0.1

* 0.2

* 0.2

* 0.2

* Fix comments bug.

* Fix comments bug.

* Fix comments bug.

* Fix comments bug.

* Optimize align of comments.

* Optimize align of comments.

* Optimize align of comments.

* Optimize for someone who write ':' in their comments.

* Fix comcomments.

* Fix comcomments.

* Fix comcomments.

* Update README.md

* Remove DS_Store.

* Fix keymap.

* Restore default key bindings.

* Restore osdlyrics.py

* Remove fucking glyphs.

* Fix comments bug.

* Merge.

* Remove DS_Store.

* Merge kwph and wjy.

* Change is to ==.

* Debug.

* Fix bug: fast pressing [ ] will causing multiple play instance.

* Remove build_menu_progress.

* Optimize branches.

* Add a blank in song and fmsongs.

* Add mouse support.

* Change f to config_file to stop annoying pylint.

* Fix notification on Linux.

* Move update api from macmusicbox to original one.

* Switch to timer.

* Fix display of help page.

* Add fuzzy search.

* Clean code.

* Improve performance on urxvt.

* Optimize up down key logic.

* Format const.py

* Update README.md & reset to origin default keymap.

* Remove untested platform & add dependencies for fuzzy search.

* Don't play music when press num keys.

* make num jump usable anywhere.

* Fix bug when mouse support is not enabled

* Remove num jump when using mouse.

* Abitious plan.

* Configuration: curses timeout.

* Try to optimize responsiveness.

* Remove yield latency (?).

* Partical plan.

* Update README.md

* Modifieable menu length

* Probably fix of bug darknessomi #816

* Change plan. Mark fixed.

* Fix jump logical chaos in comment.

* Fix the flash of color of lyrics when press j and k.

* Remove some targets & Use more accurate regex match to get timestap from lyrics

* Add auto adjust of page length according to terminal size.

* Update README.md to keep consist of original one.

* Use black to format code.

* Use black to format code.

* Merge #653.

* Fix the bug that if the keymap are not defined in user's json, the
program will abort.

* Update config file when exit to keep the config file up to dated.

* 1. Add notification for the case when url NoneType
2. A possible fix to a possible bug: when fetch the version info
   sometimes one of latest and version will be 'int'
3. self.margin -> self.left_margin_ratio

* Fix double notification after 20 minutes (when urls are updated) & refrese -> refresh (typo).

* Margin related feature & bug fix.
1. Add right margin to menu and playinfo
2. adjust scrolling speed of the string

* Important bug fix
1. Fix the bug that behavior set by "page_length" will be override as auto adjusted.
2. make the comment section with right margin.

* Add process bar with scalable size.

* Refracte update_margin(), format code.

* Update dependencies.

* Update README.md
1. Set the classifier natural language in setup.py from English to
   Chinese (Simplified).
2. Use <kbd> label to wrap the shortcut key in README.md
3. Add description to num + key
4. Add bug report for fuzzy search

* Update README.md and setup.py
1. Set the classifier natural language in setup.py from English to
   Chinese (Simplified).
2. Use <kbd> label to warp the shortcut key in README.md.
3. Add description to num + key.
4. Add bug report for fuzzy search.

* Fix lyrics logic bug & black format.

* [Bug Fix] Now press 'p' will go to the entry in search target, not
search result. Corresponding to bug 3 in #10.

* [Bug Fix] Fuzzy search bug 1 in #10
Now the wrapped fuzzy search is disabled.

* [Bug Fix] #10

* Fix mistake in setup.py

* Update README.md
1. Remove problem & solution 858.
2. Make number key instructions more clear.
3. The path of log file should now obey XDG standard.

* [Bug fix] No lyrics in Chinese songs.

* [Bug fix] Remove unneccessary code to reduce increasing latency when call space_key_event()

* [Bug fix] Fix the bug that when no song is being played, call tune_volume() will abort the application.

* [Bug Fix] Fix the bug that sometimes (when refresh urls) the play/pause
status in playinfo will be wrong.

* Use black to format code.

Co-authored-by: wangjianyuan10 <wangjianyuan10@163.com>
Co-authored-by: kenhuang <hwp0415229@sina.cn>
* Fix bug that won't play next song automaticly in pr branch.

* Refact the stop/next logic in run_mpg123()
systemd send SIGTERM to all processes when system shutdown. We should
handle this signal, save player's status before shutdown.

Signed-off-by: Kasei Wang <kasei@kasei.im>
* Drop Python 2.7

* fix start error of keymap

* fix pyproject
* remove setup.py

* fix

* fix

* minor fix

* fix doc

* fix

* fix

* fix

* fix
* Create python-package.yml

* fix

* py 3.9

* fix
* fix get version

* fix
contrycode="86"属性应该在手机登录判断下,之前被错误放置到其余登录方式判断下
* fix(api): 修复登录报错 code=250 当前登录失败,请稍后再试

* fix(api): 修复 python 3 cookies.save 报错

Co-authored-by: weak_ptr <liuweiqing@donview.cn>
* Support Qt5 And fix NSXPCSharedListener endpointForReply:withListenerName error on OS X according to NOAA-PMEL/PyFerret#33

* playlist length > 1000
There is a small typo in NEMbox/ui.py.

Should read `scroll` rather than `scoll`.
Time string from lyric_line is invalid in some case
For example, '99:00.00' which does not match format '%M:%S.%f'

fix #936

Signed-off-by: hoyho <luohaihao@gmail.com>
使用 MozillaCookieJar 代替 LWPCookieJar
* add search for djchannels

* fix empty song name in djprogram

1. 增大电台歌曲数至100
2. 修复#894导致的主播电台歌名大部分为空的情况

* change song info when playing djprogram

电台节目没必要显示空的艺术家和专辑名

* fix KeyError in Parse.songs

* fix space key event in djchannels

* fix songs_url sometimes return empty list (when sids list len>=400)

* add function to get all djprograms

* format with black

* fix songs_url return empty list in "refresh_urls"

* simplify code

以350个为一组,使用了一段时间djprogram未见报错,故精简

* replace djchannels to djRadios


def md5(s):
return hashlib.md5(s.encode("utf-8")).hexdigest()

Check failure

Code scanning / CodeQL

Use of a broken or weak cryptographic hashing algorithm on sensitive data

[Sensitive data (password)](1) is used in a hashing algorithm (MD5) that is insecure for password hashing, since it is not a computationally expensive hash function. [Sensitive data (password)](2) is used in a hashing algorithm (MD5) that is insecure for password hashing, since it is not a computationally expensive hash function.
@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.