Comments (6)
现在按歌单播放的功能是没有把一整个歌单的歌当作整体考虑的,是一首一首分开独立的,所有这个功能暂时没法实现
等我有空闲再加新功能吧,不过加之前要重构。。
from 24h-raspberry-live-on-bilibili.
em 也许可以试试
输入“停止播放当前歌单”->抓取用户id->匹配播放列表里的点播用户名->删除(切过)匹配到的歌曲
没有仔细看完大佬的代码...但是感觉使用的时候应该树莓派里存的有这些信息...如果和实际出入很大的话请无视.... :P
from 24h-raspberry-live-on-bilibili.
@XuewanZhao 我自己是加了一段清空列表直接把全部点歌都清空掉……特定用户使用,我个人的改进思路是可以读取info文件里面的信息然后把指定点歌人点的歌删掉,emmmmm不知道能不能帮上忙
def del_ept():
send_dm_long('已收到管理员爸爸的指令,正在清空')
paths = path+'/downloads' #获取目录下所有文件
for i in os.listdir(paths):
paths_file = os.path.join(paths,i)
if os.path.isfile(paths_file):
os.remove(paths_file)
else:
for k in os.listdir(paths_file):
paths_file2 =os.path.join(paths_file,k)
if os.path.isfile(paths_file2):
os.remove(paths_file2)
os.system('killall ffmpeg')
send_dm_long('已经清空列表啦~~么么艹')
然后在下面
elif ((s == '清空列表') and (user=='Jarvis-Ultron') | (user=='JU的投食员')):
del_ept()
from 24h-raspberry-live-on-bilibili.
@jdjingdian 对对,我想的大概也是这样,赞
from 24h-raspberry-live-on-bilibili.
@all-contributors please add @XuewanZhao for idea
from 24h-raspberry-live-on-bilibili.
I've put up a pull request to add @XuewanZhao! 🎉
from 24h-raspberry-live-on-bilibili.
Related Issues (20)
- **已删除**
- 运行时报Illegal Instruction,怎么解决啊 HOT 6
- 似乎会错误地连续跳过点播列表里的歌 HOT 17
- 获取音乐下载地址的php貌似挂了
- cookies无法获取 HOT 2
- 点歌的时候不会选择最适合的那一首 HOT 2
- 无cookies值 HOT 1
- [error]send dm error 'msg' HOT 5
- 弹幕发送失败 HOT 3
- 支持树莓派4b吗 HOT 2
- 发不出弹幕 HOT 3
- 本项目将会重写 HOT 1
- 运行python3 play.py和python3 bilibiliClient.py命令时报错 HOT 9
- 运行python3 play.py和screen python3 bilibiliClient.py之后直播间没有反应 HOT 3
- 直播时的几个问题 HOT 5
- 按照教材安装moviepy的时候遇到了困难 HOT 7
- 海外vps是不是不能用 HOT 3
- 不能点歌了 HOT 2
- 执行python3 play.py时出错
- 关于切歌闪断问题的解决办法猜想
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 24h-raspberry-live-on-bilibili.