github maotoumao/MusicFree v1.0.1

one hour ago

新增

  • 支持插件提供的逐字歌词,歌词页的当前句随播放逐字高亮。
  • 歌词页新增「音译」开关,位于歌词区右下角,仅在当前歌曲有音译时出现,可显示插件提供的音译,默认关闭。
  • 伴唱(和声)歌词以更小、更淡的文字显示。
  • 支持通过 musicfree://install 链接或用 MusicFree 打开 .js 文件安装插件,安装前会先确认。
  • 从单曲「更多」菜单选择「添加到歌单」时,已包含该歌曲的歌单会打勾并置灰,点按会提示「歌曲已在歌单中」。

变更

  • 歌词页的「翻译」开关从歌词工具栏移到歌词区右下角,当前歌曲没有译文时由置灰改为隐藏。
  • 插件协议新增结构化歌词字段。插件可通过 env.capabilities.structuredLyric 判断客户端是否支持结构化歌词。
  • 输入版本号后,可一键整理更新日志、更新项目版本号,并构建和发布新版本。
  • Issue 连续 60 天无活动时会被标记为 stale,再过 14 天仍无活动则自动关闭。
  • JS 打包从 React Native CLI 改为 Expo CLI,Android 和 iOS 构建均使用 expo export:embed。本地调试先运行 npm start(expo start),再另开终端运行 npm run android 或 npm run ios。
  • 应用更新弹窗按界面语言显示更新说明:简体中文和繁体中文界面显示中文,其他语言界面显示英文。该版本没有英文说明时,显示中文。

修复

  • 修复为 0.6.x 编写的插件在 1.0.0 中无法加载或部分功能不可用的问题,歌单搜索、歌词、推荐歌单和详情现可正常使用。
  • 修复从 0.x 升级后,旧版下载的歌曲以整串文件名显示且未标为「已下载」的问题,启动时会自动迁移为新版下载。
  • 修复 WebDAV 账号密码正确时「测试连接」仍提示「连接失败:other」的问题,连接测试、备份上传和从 WebDAV 恢复现已恢复正常。
  • 修复 TalkBack 和 VoiceOver 在设置页、「管理扫描范围」的「过滤小于 60 秒的音频」和「悬浮歌词」设置中重复聚焦开关的问题,现在每行只聚焦一次,读屏会报出开关及其开 / 关状态,双击即可切换。
  • 修复本地音乐中的歌曲播放失败时没有提示的问题,现在会提示可能的原因,并说明找不到文件时可重新扫描。
  • 修复从 0.6.x 升级到 1.0.0 后,在旧版通过「本地音乐 → 导入」加入歌单且从未播放过的本地歌曲点击无反应的问题,这些歌曲现在可以正常播放,歌词和封面也能照常读取。
  • 恢复歌手详情页的批量操作:点单曲列表右上角的「批量管理」,可多选已加载的单曲,批量加入歌单、设为下一首播放等。
  • 修复设置替代插件后只有播放会使用它的问题,下载时也会通过替代插件获取音源。
  • 修复 Android 下载歌曲时通知栏只显示两行「MusicFree」的问题,下载通知现会显示进度条和「百分比 · 已下载 / 总大小」,多首同时下载时显示合计进度,总大小未知时显示不确定进度条和已下载大小。
  • 修复下一首歌曲的音源预先获取失败后无法播放的问题,点击「下一首」或当前歌曲播完自动切歌时,现会重新获取一次音源。
  • 修复从 0.6.x 升级到 1.0.0 后部分歌词无法显示的问题,现在会优先显示旧版上传的歌词和翻译,沿用旧版歌词关联并支持清除;插件未提供歌词时,也能读取已下载歌曲的同名 .lrc 文件或内嵌歌词。
  • 修复歌词很长(数千行)时歌词页打开缓慢、播放时卡顿甚至闪退的问题。
  • 修复 0.x 下载的歌曲中,文件名含 # 或 % 的歌曲在 1.0.0 中无法播放的问题。现在这些歌曲可以正常播放,同名 .lrc 文件和内嵌歌词也能照常读取(#727)。
  • 修复自 1.0.0 起插件详情页「使用说明」中粗体、斜体等文字样式嵌套过深可能导致报错或崩溃的问题,常见嵌套照常显示,过深处保留全部文字和外层样式,省略图片。
  • 修复插件详情页「使用说明」中的 Markdown 表格在 1.0.0 中被挤成一行带 | 的文字的问题(0.x 中可正常显示)。现在表格有表头底色,列按分隔行指定的方式对齐,宽表可横向滚动(#729)。

Added

  • Add support for installing plugins from a musicfree://install link or by opening a .js file with MusicFree. The app asks for confirmation before installing.
  • When you choose "Add to playlist" from a song's "More" menu, playlists that already contain the song are checked and grayed out. Tapping one shows "Already in this playlist".

Changed

  • Enter a version number to update the changelog and project version, then build and publish the release, all in one step.
  • Issues are marked stale after 60 days of inactivity and automatically closed after another 14 days of inactivity.
  • Switch JS bundling from React Native CLI to Expo CLI. Android and iOS builds now use expo export:embed. For local debugging, run npm start (expo start), then run npm run android or npm run ios in a separate terminal.
  • The app update dialog now shows release notes in Chinese when the interface is set to Simplified or Traditional Chinese, and in English for all other languages. If a release has no English notes, the dialog shows the Chinese notes.

Fixed

  • Fix plugins written for 0.6.x failing to load or losing some functionality in 1.0.0. Playlist search, lyrics, recommended playlists and playlist details now work.
  • Fix songs downloaded in 0.x showing their full filenames and missing the "Downloaded" label after upgrading. The app now migrates older downloads at startup.
  • Fix "Test connection" reporting "Connection failed: other" even with the correct WebDAV username and password. Connection tests, backup uploads and restores from WebDAV now work.
  • Fix TalkBack and VoiceOver focusing switches twice in Settings, on "Filter audio shorter than 60 seconds" under "Manage scan range", and in Floating Lyrics settings. Each row now receives focus once. The screen reader announces the switch and whether it's on or off, and you can double-tap to toggle it.
  • Fix playback failures in Local Music going unreported. The app now explains the likely cause and suggests rescanning when the file can't be found.
  • Fix taps having no effect after upgrading from 0.6.x to 1.0.0 on local songs that were added to playlists via "Local Music → Import" in the old version and had never been played. These songs now play, and their lyrics and cover art load as usual.
  • Restore batch actions on the artist detail page. Tap "Batch manage" in the upper-right corner of the song list to select multiple loaded songs and add them to a playlist, queue them to play next, and more.
  • Fix downloads ignoring the configured fallback plugin. Downloads now also use it to get an audio source.
  • Fix Android download notifications showing only two lines of "MusicFree". They now show a progress bar, percentage, and downloaded and total sizes. Simultaneous downloads show combined progress. When the total size is unknown, the notification shows an indeterminate progress bar and the amount downloaded.
  • Fix the next song failing to play if its audio source couldn't be fetched in advance. The app now retries once when you tap "Next" or when the current song ends and playback advances automatically.
  • Fix some lyrics missing after upgrading from 0.6.x to 1.0.0. Lyrics and translations uploaded in the old version now take priority, and existing lyric associations are preserved and can be cleared. When a plugin provides no lyrics, the app can also read matching .lrc files or embedded lyrics from downloaded songs.
  • Fix songs downloaded in 0.x with # or % in their filenames failing to play in 1.0.0. These songs now play normally, and their matching .lrc files and embedded lyrics load as usual (#727).
  • Fix errors or crashes since 1.0.0 when text styles like bold and italics are nested too deeply in a plugin's "Usage guide," with ordinary nesting keeping its formatting and deeper levels showing all text in the outer style and omitting images.
  • Fix Markdown tables in the plugin detail page's "Usage guide" collapsing into a single line of text with pipes (|) in 1.0.0, after displaying correctly in 0.x. Tables now have shaded headers, columns align as specified by the separator row, and wide tables scroll horizontally (#729).

Don't miss a new MusicFree release

NewReleases is sending notifications on new releases.