Comments (3)
app确实是调试不方便,但是如果不涉及到原生库(比如@react-native-cookies/cookies),其他插件在node环境下的执行结果和app上的执行应该是等价的。所以直接这样执行,然后函数的返回值对应上就好了,这样调试会方便很多:(这里其实文档没写好)
大概get到了你的意思,简单说:
- 导入的内容不一定局限在创建的歌单(实现就是改插件的正则匹配和返回值)
- 通过搜索等方式收藏专辑/作者的时候,可以把专辑名等信息作为歌单的默认名称
不知道是不是这样理解~
from musicfree.
事实上这个想法并不是局限在 导入歌单 这一个流程里。因为即使是仅使用搜索功能,在mf中收藏专辑这个动作仍然表示为创新新歌单(并且无默认命名)。由于专辑和艺人页(在被访问的时间点上(如果考虑到数据更新的话))其实就是逻辑上的一张歌单。
换言之至少可以让收藏(仍然以创建歌单为实现方式)的过程透明化,因为这份歌单的默认名字对大部分用来说一定恰恰就是专辑本身的标题。
from musicfree.
嗯,多谢回复。期望Get的完全正确。不过我还没掌握你说的调试办法。亦步亦趋的还是🫠(主要是我对服务协议本身不熟悉,不借助app现有working的流程我mock不出像样的出入参),你说的办法理念我理解了。看看能不能搞一搞。
from musicfree.
Related Issues (20)
- musicfree
- 已删除
- [FEATURE] 希望能增加从其他平台导入歌单的功能 HOT 1
- 车机布丁ui 软件无法获取软件监听权限 HOT 1
- 如果支持webdav就好了。 HOT 2
- [BUG] 折叠屏显示问题 HOT 2
- [FEATURE] 歌词和音乐不同步时,应允许设置快几秒或慢几秒 HOT 1
- [BUG] 音乐播放器连本地音乐都不能导入,不能播放
- [FEATURE] 改进本地文件逻辑
- 播放音乐时,放几首就自动暂停了,而且只能点上一首或下一首才有反应[BUG] xxxxxx
- [FEATURE] 建议可以在歌曲播放页面的封面处,上滑下滑切歌。 HOT 3
- [FEATURE] 建议在播放列表中长按歌曲名,可以一键搜索。
- 放完一首歌,自动切换下一首时就暂停了, HOT 1
- 本地下载怎么操作?
- [FEATURE] 建议添加歌单更新功能 HOT 1
- [BUG] (平板)联想拯救者Y700二代打不开应用 HOT 1
- [FEATURE] 可否提供從雲端硬碟(如:百度、Googoe drive )播放的功能,這樣本地音樂就不用複制態多份了。手機也可以結省空間。 HOT 1
- [FEATURE] 歌词投屏 HOT 2
- [FEATURE] 图标太丑,换一个 HOT 2
- 电脑端无法更改收藏夹名字 HOT 2
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 musicfree.