良友电台app

家人要听良友电台,之前都是使用web方式 给她在手机桌面创建webapp到 https://ly729.airtime.pro/embed/player?stream=s1&skin=2

而后发现诸多不便

于是还是简单弄一个app

源地址

https://tx.729ly.net/zh-sc/ 获取到三个地址

1
2
3
  var source1 = "https://ly729.out.airtime.pro/ly729_a";
  var source2 = "https://c20.radioboss.fm/stream/572";
  var source3 = "https://listen.729ly.net:8001/ly729_a";

仓库地址

https://github.com/joyanhui/radio_ly

使用库

1
2
3
4
  cupertino_icons: ^1.0.2
  audioplayers: ^5.2.1
  flutter_launcher_icons: "^0.13.1"
  url_launcher: ^6.2.2

自己编译

linux下需要

1
2
3
sudo apt-get install clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev
sudo apt-get install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
sudo apt-get install gstreamer1.0-plugins-good gstreamer1.0-plugins-bad

windows下

1
https://github.com/bluefireteam/audioplayers/blob/main/packages/audioplayers_windows/README.md#setup-for-windows

自定义源测试地址

1
2
http://satellitepull.cnr.cn/live/wxnxxwgb/playlist.m3u8
http://sk.cri.cn/887.m3u8
Licensed under CC BY-NC-SA 4.0
comments powered by Disqus
使用 Hugo 构建
主题 StackJimmy 设计