-
Notifications
You must be signed in to change notification settings - Fork 784
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
Support wallpaper from Unsplash #395
Conversation
建议不要全随机,这样会导致部分图片质量不是太OK,可以用wallpaper分类中的图片 关于问题2,你的命令 |
感谢建议。
根据OpenWrt的文档,
不加这里的luci是会提交所有uci更改的,应该不是这个原因。 |
thanks to @SpeedPartner
可能是网络的关系...我发现unsplash国内直连太慢了 |
我这边至少得改成3....就可以获取到url了,再刷新就能下载到图片,虽然下载也挺慢的,从模糊到清晰... 另外 还有 建议您有空的话,切换成Developer API,让用户自己去注册申请Developer API吧.不然我个人觉得体验真的不太行. |
现在用的是daily wallpaper的链接,但愿不要有竖屏壁纸。 让用户申请API有点太魔幻了 |
unsplash的Developer API注册申请还挺简单的(刚注册了一个),demo可以每天获取50次,也够用了. |
and little trim
Skip tls cert verification
找到解决图片分辨率问题的办法了,文档在这里,例子,应该给图片url设置参数 |
所以这个问题解决了吗?哈哈 |
解决了,现在获取到的图片都是1920x1080的了 |
那我先合并了,config那边,估计要18.06的功能也跟上次才能做修改。 |
各位参与的大佬们,还有其它建议么? |
此PR我抽空改到18.06吧. 另外,config里关于webp的RP可以合并了哦,18.06也已经支持了 |
fix #276, cc @jjm2473
引入
argon.@global[0].online_wallpaper
,可设置为none
、bing
、unsplash
、unsplash_CollectionID
(仍兼容原配置argon.@global[0].bing_background
,值为1
时与此处bing
等效)。其中unsplash
为Unsplash每日壁纸,unsplash_CollectionID
为来自指定Collection中的图片(如设置为unsplash_562095
则会显示https://unsplash.com/collections/562095
中的一张图片),图片缓存过期时间仍为原来的12小时。尚未修改luci-app-argon-config,可以先这样启用:
问题:
argon.@global[0].online_wallpaper
的值,修改后首次打开会显示本地默认背景,刷新后才会应用新配置,不知道为什么