mirror of
https://github.com/kalarina-bit/Fogwave.git
synced 2026-11-22 08:06:09 +00:00
Compare commits
8
Commits
f6793cf5c0
...
v1.0.19
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d4c81a3568 | ||
|
|
afbea360a0 | ||
|
|
2e43d4d0d9 | ||
|
|
cd2c7426ce | ||
|
|
0d64fa7409 | ||
|
|
d95499b0e9 | ||
|
|
b9e98c8d75 | ||
|
|
f0b3530479 |
@@ -1,27 +0,0 @@
|
|||||||
---
|
|
||||||
name: Bug report
|
|
||||||
about: Something doesn't work as expected
|
|
||||||
title: "[Bug] "
|
|
||||||
---
|
|
||||||
|
|
||||||
**What happened**
|
|
||||||
|
|
||||||
|
|
||||||
**Steps to reproduce**
|
|
||||||
|
|
||||||
1.
|
|
||||||
2.
|
|
||||||
3.
|
|
||||||
|
|
||||||
**What you expected**
|
|
||||||
|
|
||||||
|
|
||||||
**Environment**
|
|
||||||
|
|
||||||
- App version:
|
|
||||||
- Installed from: Gitea / F-Droid / Google Play
|
|
||||||
- Device and Android version:
|
|
||||||
- Station (if related):
|
|
||||||
|
|
||||||
**Screenshots or logs** (optional)
|
|
||||||
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
---
|
|
||||||
name: Feature request
|
|
||||||
about: Suggest an idea that fits the app
|
|
||||||
title: "[Feature] "
|
|
||||||
---
|
|
||||||
|
|
||||||
<!-- Please check the "Out of scope" list in CONTRIBUTING.md before opening this. -->
|
|
||||||
|
|
||||||
**What problem does this solve**
|
|
||||||
|
|
||||||
|
|
||||||
**Proposed solution**
|
|
||||||
|
|
||||||
|
|
||||||
**Alternatives you considered**
|
|
||||||
|
|
||||||
|
|
||||||
- [ ] I'd like to implement this myself
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
---
|
|
||||||
name: Station request
|
|
||||||
about: Suggest a Lithuanian radio station
|
|
||||||
title: "[Station] "
|
|
||||||
---
|
|
||||||
|
|
||||||
<!-- Only Lithuanian stations with an official public stream are accepted. -->
|
|
||||||
|
|
||||||
- Station name:
|
|
||||||
- Official website:
|
|
||||||
- Stream URL:
|
|
||||||
- Genre:
|
|
||||||
|
|
||||||
- [ ] The station is Lithuanian
|
|
||||||
- [ ] The stream is official and public
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
---
|
|
||||||
name: Translation fix
|
|
||||||
about: Report a wrong or awkward translation
|
|
||||||
title: "[Translation] "
|
|
||||||
---
|
|
||||||
|
|
||||||
<!-- Supported languages: English, Russian, German, Japanese, Lithuanian, Chinese. New languages are not accepted. -->
|
|
||||||
|
|
||||||
- Language:
|
|
||||||
- Screen or place in the app:
|
|
||||||
- Current text:
|
|
||||||
- Suggested text:
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
## What does this change
|
|
||||||
|
|
||||||
|
|
||||||
## Related issue
|
|
||||||
|
|
||||||
Closes #
|
|
||||||
|
|
||||||
## Checklist
|
|
||||||
|
|
||||||
- [ ] Discussed in an issue first (not needed for small fixes)
|
|
||||||
- [ ] `./gradlew assembleDebug` builds
|
|
||||||
- [ ] Tested on a device or emulator (Android version: )
|
|
||||||
- [ ] No ads, analytics, trackers or Google Play Services / Firebase dependencies
|
|
||||||
- [ ] New strings added to `values/strings.xml` (missing translations noted below)
|
|
||||||
- [ ] Screenshots added for UI changes
|
|
||||||
- [ ] I agree that my contribution is licensed under GPL-3.0-only
|
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
ko_fi: skysparkle
|
||||||
@@ -19,7 +19,7 @@ title: "[Bug] "
|
|||||||
**Environment**
|
**Environment**
|
||||||
|
|
||||||
- App version:
|
- App version:
|
||||||
- Installed from: Gitea / GitHub / F-Droid / Google Play
|
- Installed from: GitHub / F-Droid / Google Play
|
||||||
- Device and Android version:
|
- Device and Android version:
|
||||||
- Station (if related):
|
- Station (if related):
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
blank_issues_enabled: true
|
blank_issues_enabled: true
|
||||||
contact_links:
|
contact_links:
|
||||||
- name: Main repository on git.skysparkle.cc
|
- name: Support the project on Ko-fi
|
||||||
url: https://git.skysparkle.cc/kalarina/Fogwave
|
url: https://ko-fi.com/skysparkle
|
||||||
about: This GitHub repository is a mirror. Issues are welcome here and on Gitea.
|
about: Donations keep the apps and the Skysparkle server running.
|
||||||
|
|||||||
@@ -0,0 +1,52 @@
|
|||||||
|
# Builds unsigned release APK and AAB. Download them from the run's "Artifacts" and sign locally.
|
||||||
|
name: Build unsigned release
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
tags: ["v*"]
|
||||||
|
paths-ignore: ["**.md", "fastlane/**", ".github/ISSUE_TEMPLATE/**"]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: build-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
NAME: Fogwave
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- uses: actions/setup-java@v4
|
||||||
|
with:
|
||||||
|
distribution: temurin
|
||||||
|
java-version: 21
|
||||||
|
|
||||||
|
- uses: gradle/actions/setup-gradle@v4
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: |
|
||||||
|
chmod +x gradlew
|
||||||
|
./gradlew --no-daemon clean assembleRelease bundleRelease
|
||||||
|
|
||||||
|
- name: Collect files
|
||||||
|
run: |
|
||||||
|
ver=$(grep -oP 'versionName = "\K[^"]+' app/build.gradle.kts)
|
||||||
|
mkdir out
|
||||||
|
cp app/build/outputs/apk/release/app-release-unsigned.apk "out/$NAME-v$ver-unsigned.apk"
|
||||||
|
cp app/build/outputs/bundle/release/app-release.aab "out/$NAME-v$ver-unsigned.aab"
|
||||||
|
cp app/build/outputs/mapping/release/mapping.txt "out/$NAME-v$ver-mapping.txt"
|
||||||
|
git log -1 --format="Commit %h, %ci: %s" > out/BUILD-INFO.txt
|
||||||
|
echo "VER=$ver" >> "$GITHUB_ENV"
|
||||||
|
|
||||||
|
- uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: ${{ env.NAME }}-v${{ env.VER }}-unsigned
|
||||||
|
path: out/
|
||||||
|
retention-days: 30
|
||||||
+1
-1
@@ -4,7 +4,7 @@ Thanks for wanting to help! This guide explains where to contribute, what fits t
|
|||||||
|
|
||||||
## Where to contribute
|
## Where to contribute
|
||||||
|
|
||||||
Issues and pull requests go to the repository on [Gitea](https://git.skysparkle.cc/kalarina/Fogwave).
|
Issues and pull requests go to the repository on [GitHub](https://github.com/kalarina-bit/Fogwave).
|
||||||
|
|
||||||
## Ways to help
|
## Ways to help
|
||||||
|
|
||||||
|
|||||||
@@ -9,8 +9,12 @@
|
|||||||
Listen to Lithuania's favorite stations in one tap.
|
Listen to Lithuania's favorite stations in one tap.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
<a href="https://ko-fi.com/skysparkle"><img src="https://ko-fi.com/img/githubbutton_sm.svg" alt="Support me on Ko-fi"></a>
|
||||||
|
</p>
|
||||||
|
|
||||||
> [!IMPORTANT]
|
> [!IMPORTANT]
|
||||||
> **Fogwave is coming to Google Play!** The app is now in closed testing there ahead of the public release. Ideas, wishes and suggestions for improvement are very welcome — send them wherever is easiest for you: an issue on [Gitea](https://git.skysparkle.cc/kalarina/Fogwave/issues) or [GitHub](https://github.com/kalarina-bit/Fogwave/issues), or an email to [cuken107@proton.me](mailto:cuken107@proton.me).
|
> **Fogwave is coming to Google Play!** The app is now in closed testing there ahead of the public release. Ideas, wishes and suggestions for improvement are very welcome — send them wherever is easiest for you: an [issue on GitHub](https://github.com/kalarina-bit/Fogwave/issues), or an email to [cuken107@proton.me](mailto:cuken107@proton.me).
|
||||||
|
|
||||||
> [!NOTE]
|
> [!NOTE]
|
||||||
> **Looking for designers!** Fogwave is looking for volunteer designers to help with icons, logos, animations, cover art (store graphics) and UI design. This is unpaid help for an open-source project. If you're interested, write to [cuken107@proton.me](mailto:cuken107@proton.me).
|
> **Looking for designers!** Fogwave is looking for volunteer designers to help with icons, logos, animations, cover art (store graphics) and UI design. This is unpaid help for an open-source project. If you're interested, write to [cuken107@proton.me](mailto:cuken107@proton.me).
|
||||||
@@ -21,9 +25,8 @@
|
|||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<a href="https://f-droid.org/packages/cc.skysparkle.fogwave/"><img src="assets/get-it-on%20(1).png" height="56" alt="Get it on F-Droid"></a>
|
<a href="https://f-droid.org/packages/cc.skysparkle.fogwave/"><img src="assets/get-it-on%20(1).png" height="56" alt="Get it on F-Droid"></a>
|
||||||
<a href="https://apps.obtainium.imranr.dev/redirect?r=obtainium://add/https://git.skysparkle.cc/kalarina/Fogwave"><img src="assets/badge_obtainium.png" height="56" alt="Get it on Obtainium"></a>
|
<a href="https://apps.obtainium.imranr.dev/redirect?r=obtainium://add/https://github.com/kalarina-bit/Fogwave"><img src="assets/badge_obtainium.png" height="56" alt="Get it on Obtainium"></a>
|
||||||
<a href="https://github.com/kalarina-bit/Fogwave/releases/latest"><img src="assets/get-it-on-github.png" height="56" alt="Get it on GitHub"></a>
|
<a href="https://github.com/kalarina-bit/Fogwave/releases/latest"><img src="assets/get-it-on-github.png" height="56" alt="Get it on GitHub"></a>
|
||||||
<a href="https://git.skysparkle.cc/kalarina/Fogwave/releases"><img src="assets/get-it-on-gitea.png" height="56" alt="Get it on Gitea"></a>
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
@@ -51,8 +54,8 @@
|
|||||||
## <img src="assets/icon-install.png" width="32" alt=""> Installation
|
## <img src="assets/icon-install.png" width="32" alt=""> Installation
|
||||||
|
|
||||||
- **[F-Droid](https://f-droid.org/packages/cc.skysparkle.fogwave/)** — install and update through the F-Droid client.
|
- **[F-Droid](https://f-droid.org/packages/cc.skysparkle.fogwave/)** — install and update through the F-Droid client.
|
||||||
- **[Obtainium](https://apps.obtainium.imranr.dev/redirect?r=obtainium://add/https://git.skysparkle.cc/kalarina/Fogwave)** — installs the APK straight from Gitea releases and keeps it up to date.
|
- **[Obtainium](https://apps.obtainium.imranr.dev/redirect?r=obtainium://add/https://github.com/kalarina-bit/Fogwave)** — installs the APK straight from GitHub releases and keeps it up to date.
|
||||||
- **Manually** — download the latest APK from [GitHub](https://github.com/kalarina-bit/Fogwave/releases/latest) or [Gitea](https://git.skysparkle.cc/kalarina/Fogwave/releases), allow installs from unknown sources for the app you open it with (Settings → Apps → Special access → Install unknown apps), then open the `.apk` and confirm.
|
- **Manually** — download the latest APK from [GitHub Releases](https://github.com/kalarina-bit/Fogwave/releases/latest), allow installs from unknown sources for the app you open it with (Settings → Apps → Special access → Install unknown apps), then open the `.apk` and confirm.
|
||||||
|
|
||||||
## <img src="assets/icon-verify.png" width="32" alt=""> Verifying a download
|
## <img src="assets/icon-verify.png" width="32" alt=""> Verifying a download
|
||||||
|
|
||||||
@@ -88,7 +91,13 @@ Release builds are signed only when a keystore is supplied through the `KEYSTORE
|
|||||||
|
|
||||||
## 🤝 Contributing
|
## 🤝 Contributing
|
||||||
|
|
||||||
Bug reports, station suggestions, translation fixes and pull requests are welcome in the [issue tracker](https://git.skysparkle.cc/kalarina/Fogwave/issues). Please read [CONTRIBUTING.md](CONTRIBUTING.md) first — it explains what fits the project and how to send changes. To open an issue or a pull request, [create an account](https://git.skysparkle.cc/user/sign_up) on this Gitea.
|
Bug reports, station suggestions, translation fixes and pull requests are welcome in the [issue tracker](https://github.com/kalarina-bit/Fogwave/issues). Please read [CONTRIBUTING.md](CONTRIBUTING.md) first — it explains what fits the project and how to send changes.
|
||||||
|
|
||||||
|
## ☕ Support
|
||||||
|
|
||||||
|
Fogwave is free, open source and has no ads. If it is useful to you, you can support the project on [Ko-fi](https://ko-fi.com/skysparkle) — donations pay for the Skysparkle server and the time spent on the apps.
|
||||||
|
|
||||||
|
<a href="https://ko-fi.com/skysparkle"><img src="https://ko-fi.com/img/githubbutton_sm.svg" alt="Support me on Ko-fi"></a>
|
||||||
|
|
||||||
## 📄 License
|
## 📄 License
|
||||||
|
|
||||||
|
|||||||
@@ -13,8 +13,8 @@ android {
|
|||||||
applicationId = "cc.skysparkle.fogwave"
|
applicationId = "cc.skysparkle.fogwave"
|
||||||
minSdk = 24
|
minSdk = 24
|
||||||
targetSdk = 36
|
targetSdk = 36
|
||||||
versionCode = 18
|
versionCode = 19
|
||||||
versionName = "1.0.18"
|
versionName = "1.0.19"
|
||||||
|
|
||||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||||
|
|
||||||
|
|||||||
@@ -6,11 +6,14 @@ import androidx.activity.ComponentActivity
|
|||||||
import androidx.activity.SystemBarStyle
|
import androidx.activity.SystemBarStyle
|
||||||
import androidx.activity.compose.setContent
|
import androidx.activity.compose.setContent
|
||||||
import androidx.activity.enableEdgeToEdge
|
import androidx.activity.enableEdgeToEdge
|
||||||
|
import androidx.compose.animation.Crossfade
|
||||||
import androidx.compose.foundation.layout.fillMaxSize
|
import androidx.compose.foundation.layout.fillMaxSize
|
||||||
import androidx.compose.material3.MaterialTheme
|
import androidx.compose.material3.MaterialTheme
|
||||||
import androidx.compose.material3.Surface
|
import androidx.compose.material3.Surface
|
||||||
import androidx.compose.ui.Modifier
|
import androidx.compose.ui.Modifier
|
||||||
import cc.skysparkle.fogwave.ui.screens.HomeScreen
|
import cc.skysparkle.fogwave.ui.screens.HomeScreen
|
||||||
|
import cc.skysparkle.fogwave.ui.screens.Onboarding
|
||||||
|
import cc.skysparkle.fogwave.ui.screens.OnboardingScreen
|
||||||
import cc.skysparkle.fogwave.ui.theme.AppThemeState
|
import cc.skysparkle.fogwave.ui.theme.AppThemeState
|
||||||
import cc.skysparkle.fogwave.ui.theme.FogwaveTheme
|
import cc.skysparkle.fogwave.ui.theme.FogwaveTheme
|
||||||
|
|
||||||
@@ -18,6 +21,7 @@ class MainActivity : ComponentActivity() {
|
|||||||
override fun onCreate(savedInstanceState: Bundle?) {
|
override fun onCreate(savedInstanceState: Bundle?) {
|
||||||
super.onCreate(savedInstanceState)
|
super.onCreate(savedInstanceState)
|
||||||
AppThemeState.load(this)
|
AppThemeState.load(this)
|
||||||
|
Onboarding.load(this)
|
||||||
enableEdgeToEdge(
|
enableEdgeToEdge(
|
||||||
statusBarStyle = SystemBarStyle.dark(Color.TRANSPARENT),
|
statusBarStyle = SystemBarStyle.dark(Color.TRANSPARENT),
|
||||||
navigationBarStyle = SystemBarStyle.dark(Color.TRANSPARENT)
|
navigationBarStyle = SystemBarStyle.dark(Color.TRANSPARENT)
|
||||||
@@ -28,7 +32,11 @@ class MainActivity : ComponentActivity() {
|
|||||||
modifier = Modifier.fillMaxSize(),
|
modifier = Modifier.fillMaxSize(),
|
||||||
color = MaterialTheme.colorScheme.background
|
color = MaterialTheme.colorScheme.background
|
||||||
) {
|
) {
|
||||||
HomeScreen()
|
// First-launch guide in place of the home screen; the player state lives in the
|
||||||
|
// activity's view model, so nothing is lost while the guide is open.
|
||||||
|
Crossfade(targetState = Onboarding.visible, label = "onboarding") { guide ->
|
||||||
|
if (guide) OnboardingScreen(onDone = { Onboarding.finish(this@MainActivity) }) else HomeScreen()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,9 +14,24 @@ data class RadioStation(
|
|||||||
@param:DrawableRes val iconResId: Int,
|
@param:DrawableRes val iconResId: Int,
|
||||||
val genres: List<Genre>,
|
val genres: List<Genre>,
|
||||||
val bitrate: String,
|
val bitrate: String,
|
||||||
val lightBackdrop: Boolean = false
|
val lightBackdrop: Boolean = false,
|
||||||
|
/** FM frequencies in the biggest cities; empty for stations that are only online. */
|
||||||
|
val frequencies: List<FmFrequency> = emptyList(),
|
||||||
|
/** Station website with its shows and schedule. */
|
||||||
|
val website: String? = null
|
||||||
)
|
)
|
||||||
|
|
||||||
|
/** One FM transmitter: the city and the frequency in MHz. */
|
||||||
|
@Immutable
|
||||||
|
data class FmFrequency(val city: City, val mhz: Double)
|
||||||
|
|
||||||
|
enum class City(@param:StringRes val labelRes: Int) {
|
||||||
|
VILNIUS(R.string.city_vilnius),
|
||||||
|
KAUNAS(R.string.city_kaunas),
|
||||||
|
KLAIPEDA(R.string.city_klaipeda),
|
||||||
|
RIGA(R.string.city_riga)
|
||||||
|
}
|
||||||
|
|
||||||
enum class Genre(@param:StringRes val labelRes: Int) {
|
enum class Genre(@param:StringRes val labelRes: Int) {
|
||||||
HITS(R.string.genre_hits),
|
HITS(R.string.genre_hits),
|
||||||
POP(R.string.genre_pop),
|
POP(R.string.genre_pop),
|
||||||
|
|||||||
@@ -3,6 +3,8 @@ package cc.skysparkle.fogwave.data.repository
|
|||||||
import android.content.Context
|
import android.content.Context
|
||||||
import androidx.core.content.edit
|
import androidx.core.content.edit
|
||||||
import cc.skysparkle.fogwave.R
|
import cc.skysparkle.fogwave.R
|
||||||
|
import cc.skysparkle.fogwave.data.model.City
|
||||||
|
import cc.skysparkle.fogwave.data.model.FmFrequency
|
||||||
import cc.skysparkle.fogwave.data.model.Genre
|
import cc.skysparkle.fogwave.data.model.Genre
|
||||||
import cc.skysparkle.fogwave.data.model.RadioStation
|
import cc.skysparkle.fogwave.data.model.RadioStation
|
||||||
import kotlinx.coroutines.flow.MutableStateFlow
|
import kotlinx.coroutines.flow.MutableStateFlow
|
||||||
@@ -13,6 +15,8 @@ import org.json.JSONArray
|
|||||||
class RadioRepository(context: Context) {
|
class RadioRepository(context: Context) {
|
||||||
private val prefs = context.getSharedPreferences("fogwave_prefs", Context.MODE_PRIVATE)
|
private val prefs = context.getSharedPreferences("fogwave_prefs", Context.MODE_PRIVATE)
|
||||||
|
|
||||||
|
// FM frequencies: Lithuanian stations from the RRT broadcasting licence list (Vilnius, Kaunas,
|
||||||
|
// Klaipėda), Latvian ones for Riga. Other towns are listed on each station's website.
|
||||||
val stations: List<RadioStation> = listOf(
|
val stations: List<RadioStation> = listOf(
|
||||||
RadioStation(
|
RadioStation(
|
||||||
id = "zip",
|
id = "zip",
|
||||||
@@ -21,7 +25,13 @@ class RadioRepository(context: Context) {
|
|||||||
streamUrl = "https://stream4.radijas.lt/zipfm",
|
streamUrl = "https://stream4.radijas.lt/zipfm",
|
||||||
iconResId = R.drawable.ic_station_zipfm,
|
iconResId = R.drawable.ic_station_zipfm,
|
||||||
genres = listOf(Genre.HITS, Genre.POP, Genre.LITHUANIAN),
|
genres = listOf(Genre.HITS, Genre.POP, Genre.LITHUANIAN),
|
||||||
bitrate = "MP3"
|
bitrate = "MP3",
|
||||||
|
frequencies = listOf(
|
||||||
|
FmFrequency(City.VILNIUS, 100.1),
|
||||||
|
FmFrequency(City.KAUNAS, 104.1),
|
||||||
|
FmFrequency(City.KLAIPEDA, 92.5)
|
||||||
|
),
|
||||||
|
website = "https://www.zipfm.lt"
|
||||||
),
|
),
|
||||||
RadioStation(
|
RadioStation(
|
||||||
id = "powerhit",
|
id = "powerhit",
|
||||||
@@ -31,7 +41,13 @@ class RadioRepository(context: Context) {
|
|||||||
streamUrl = "https://stream.rcs.revma.com/f31w7e0fveuvv",
|
streamUrl = "https://stream.rcs.revma.com/f31w7e0fveuvv",
|
||||||
iconResId = R.drawable.ic_station_powerhit,
|
iconResId = R.drawable.ic_station_powerhit,
|
||||||
genres = listOf(Genre.DANCE, Genre.POP, Genre.HITS),
|
genres = listOf(Genre.DANCE, Genre.POP, Genre.HITS),
|
||||||
bitrate = "AAC"
|
bitrate = "AAC",
|
||||||
|
frequencies = listOf(
|
||||||
|
FmFrequency(City.VILNIUS, 95.9),
|
||||||
|
FmFrequency(City.KAUNAS, 91.0),
|
||||||
|
FmFrequency(City.KLAIPEDA, 96.7)
|
||||||
|
),
|
||||||
|
website = "https://powerhitradio.tv3.lt"
|
||||||
),
|
),
|
||||||
RadioStation(
|
RadioStation(
|
||||||
id = "powerhitgold",
|
id = "powerhitgold",
|
||||||
@@ -40,7 +56,8 @@ class RadioRepository(context: Context) {
|
|||||||
streamUrl = "https://stream.rcs.revma.com/asdpz3qfbhuvv",
|
streamUrl = "https://stream.rcs.revma.com/asdpz3qfbhuvv",
|
||||||
iconResId = R.drawable.ic_station_powerhitgold,
|
iconResId = R.drawable.ic_station_powerhitgold,
|
||||||
genres = listOf(Genre.DANCE, Genre.OLDIES, Genre.HITS),
|
genres = listOf(Genre.DANCE, Genre.OLDIES, Genre.HITS),
|
||||||
bitrate = "AAC"
|
bitrate = "AAC",
|
||||||
|
website = "https://powerhitradio.tv3.lt"
|
||||||
),
|
),
|
||||||
RadioStation(
|
RadioStation(
|
||||||
id = "rock",
|
id = "rock",
|
||||||
@@ -50,7 +67,13 @@ class RadioRepository(context: Context) {
|
|||||||
iconResId = R.drawable.ic_station_rockfm,
|
iconResId = R.drawable.ic_station_rockfm,
|
||||||
genres = listOf(Genre.ROCK, Genre.LITHUANIAN),
|
genres = listOf(Genre.ROCK, Genre.LITHUANIAN),
|
||||||
bitrate = "MP3",
|
bitrate = "MP3",
|
||||||
lightBackdrop = true
|
lightBackdrop = true,
|
||||||
|
frequencies = listOf(
|
||||||
|
FmFrequency(City.VILNIUS, 87.8),
|
||||||
|
FmFrequency(City.KAUNAS, 90.3),
|
||||||
|
FmFrequency(City.KLAIPEDA, 100.2)
|
||||||
|
),
|
||||||
|
website = "https://rockfm.lt"
|
||||||
),
|
),
|
||||||
RadioStation(
|
RadioStation(
|
||||||
id = "relax",
|
id = "relax",
|
||||||
@@ -59,7 +82,13 @@ class RadioRepository(context: Context) {
|
|||||||
streamUrl = "https://stream4.radijas.lt/relaxfm",
|
streamUrl = "https://stream4.radijas.lt/relaxfm",
|
||||||
iconResId = R.drawable.ic_station_relaxfm,
|
iconResId = R.drawable.ic_station_relaxfm,
|
||||||
genres = listOf(Genre.EASY_LISTENING),
|
genres = listOf(Genre.EASY_LISTENING),
|
||||||
bitrate = "MP3"
|
bitrate = "MP3",
|
||||||
|
frequencies = listOf(
|
||||||
|
FmFrequency(City.VILNIUS, 96.4),
|
||||||
|
FmFrequency(City.KAUNAS, 98.5),
|
||||||
|
FmFrequency(City.KLAIPEDA, 87.5)
|
||||||
|
),
|
||||||
|
website = "https://www.relaxfm.lt"
|
||||||
),
|
),
|
||||||
RadioStation(
|
RadioStation(
|
||||||
id = "lietus",
|
id = "lietus",
|
||||||
@@ -69,7 +98,13 @@ class RadioRepository(context: Context) {
|
|||||||
iconResId = R.drawable.ic_station_lietus,
|
iconResId = R.drawable.ic_station_lietus,
|
||||||
genres = listOf(Genre.LITHUANIAN, Genre.POP),
|
genres = listOf(Genre.LITHUANIAN, Genre.POP),
|
||||||
bitrate = "AAC 64 kbps",
|
bitrate = "AAC 64 kbps",
|
||||||
lightBackdrop = true
|
lightBackdrop = true,
|
||||||
|
frequencies = listOf(
|
||||||
|
FmFrequency(City.VILNIUS, 103.1),
|
||||||
|
FmFrequency(City.KAUNAS, 103.5),
|
||||||
|
FmFrequency(City.KLAIPEDA, 103.7)
|
||||||
|
),
|
||||||
|
website = "https://www.lietus.fm"
|
||||||
),
|
),
|
||||||
RadioStation(
|
RadioStation(
|
||||||
id = "m1",
|
id = "m1",
|
||||||
@@ -78,7 +113,13 @@ class RadioRepository(context: Context) {
|
|||||||
streamUrl = "https://stream.m-1.fm/m1/aacp64",
|
streamUrl = "https://stream.m-1.fm/m1/aacp64",
|
||||||
iconResId = R.drawable.ic_station_m1,
|
iconResId = R.drawable.ic_station_m1,
|
||||||
genres = listOf(Genre.POP, Genre.HITS),
|
genres = listOf(Genre.POP, Genre.HITS),
|
||||||
bitrate = "AAC 64 kbps"
|
bitrate = "AAC 64 kbps",
|
||||||
|
frequencies = listOf(
|
||||||
|
FmFrequency(City.VILNIUS, 106.8),
|
||||||
|
FmFrequency(City.KAUNAS, 106.6),
|
||||||
|
FmFrequency(City.KLAIPEDA, 106.5)
|
||||||
|
),
|
||||||
|
website = "https://www.m-1.fm"
|
||||||
),
|
),
|
||||||
RadioStation(
|
RadioStation(
|
||||||
id = "plus",
|
id = "plus",
|
||||||
@@ -88,7 +129,13 @@ class RadioRepository(context: Context) {
|
|||||||
iconResId = R.drawable.ic_station_m1plus,
|
iconResId = R.drawable.ic_station_m1plus,
|
||||||
genres = listOf(Genre.POP, Genre.OLDIES),
|
genres = listOf(Genre.POP, Genre.OLDIES),
|
||||||
bitrate = "AAC 64 kbps",
|
bitrate = "AAC 64 kbps",
|
||||||
lightBackdrop = true
|
lightBackdrop = true,
|
||||||
|
frequencies = listOf(
|
||||||
|
FmFrequency(City.VILNIUS, 106.2),
|
||||||
|
FmFrequency(City.KAUNAS, 97.6),
|
||||||
|
FmFrequency(City.KLAIPEDA, 98.3)
|
||||||
|
),
|
||||||
|
website = "https://www.pliusas.fm"
|
||||||
),
|
),
|
||||||
RadioStation(
|
RadioStation(
|
||||||
id = "goldfm",
|
id = "goldfm",
|
||||||
@@ -97,7 +144,13 @@ class RadioRepository(context: Context) {
|
|||||||
streamUrl = "https://stream.goldfm.lt/goldfm.aac",
|
streamUrl = "https://stream.goldfm.lt/goldfm.aac",
|
||||||
iconResId = R.drawable.ic_station_goldfm,
|
iconResId = R.drawable.ic_station_goldfm,
|
||||||
genres = listOf(Genre.OLDIES, Genre.HITS, Genre.LITHUANIAN),
|
genres = listOf(Genre.OLDIES, Genre.HITS, Genre.LITHUANIAN),
|
||||||
bitrate = "AAC"
|
bitrate = "AAC",
|
||||||
|
frequencies = listOf(
|
||||||
|
FmFrequency(City.VILNIUS, 102.6),
|
||||||
|
FmFrequency(City.KAUNAS, 104.5),
|
||||||
|
FmFrequency(City.KLAIPEDA, 104.1)
|
||||||
|
),
|
||||||
|
website = "https://goldfm.lt"
|
||||||
),
|
),
|
||||||
RadioStation(
|
RadioStation(
|
||||||
id = "rc",
|
id = "rc",
|
||||||
@@ -107,7 +160,13 @@ class RadioRepository(context: Context) {
|
|||||||
iconResId = R.drawable.ic_station_rc,
|
iconResId = R.drawable.ic_station_rc,
|
||||||
genres = listOf(Genre.HITS, Genre.LITHUANIAN),
|
genres = listOf(Genre.HITS, Genre.LITHUANIAN),
|
||||||
bitrate = "MP3 128 kbps",
|
bitrate = "MP3 128 kbps",
|
||||||
lightBackdrop = true
|
lightBackdrop = true,
|
||||||
|
frequencies = listOf(
|
||||||
|
FmFrequency(City.VILNIUS, 89.6),
|
||||||
|
FmFrequency(City.KAUNAS, 107.1),
|
||||||
|
FmFrequency(City.KLAIPEDA, 101.5)
|
||||||
|
),
|
||||||
|
website = "https://rc.lt"
|
||||||
),
|
),
|
||||||
RadioStation(
|
RadioStation(
|
||||||
id = "lrt",
|
id = "lrt",
|
||||||
@@ -117,7 +176,13 @@ class RadioRepository(context: Context) {
|
|||||||
iconResId = R.drawable.ic_station_lrt,
|
iconResId = R.drawable.ic_station_lrt,
|
||||||
genres = listOf(Genre.NEWS_TALK, Genre.LITHUANIAN),
|
genres = listOf(Genre.NEWS_TALK, Genre.LITHUANIAN),
|
||||||
bitrate = "MP3",
|
bitrate = "MP3",
|
||||||
lightBackdrop = true
|
lightBackdrop = true,
|
||||||
|
frequencies = listOf(
|
||||||
|
FmFrequency(City.VILNIUS, 89.0),
|
||||||
|
FmFrequency(City.KAUNAS, 102.1),
|
||||||
|
FmFrequency(City.KLAIPEDA, 102.8)
|
||||||
|
),
|
||||||
|
website = "https://www.lrt.lt"
|
||||||
),
|
),
|
||||||
RadioStation(
|
RadioStation(
|
||||||
id = "ziniu",
|
id = "ziniu",
|
||||||
@@ -126,7 +191,13 @@ class RadioRepository(context: Context) {
|
|||||||
streamUrl = "https://netradio.ziniur.lt/ziniur.mp3?n=975355",
|
streamUrl = "https://netradio.ziniur.lt/ziniur.mp3?n=975355",
|
||||||
iconResId = R.drawable.ic_station_ziniu,
|
iconResId = R.drawable.ic_station_ziniu,
|
||||||
genres = listOf(Genre.NEWS_TALK),
|
genres = listOf(Genre.NEWS_TALK),
|
||||||
bitrate = "MP3"
|
bitrate = "MP3",
|
||||||
|
frequencies = listOf(
|
||||||
|
FmFrequency(City.VILNIUS, 97.3),
|
||||||
|
FmFrequency(City.KAUNAS, 104.9),
|
||||||
|
FmFrequency(City.KLAIPEDA, 102.2)
|
||||||
|
),
|
||||||
|
website = "https://www.ziniuradijas.lt"
|
||||||
),
|
),
|
||||||
RadioStation(
|
RadioStation(
|
||||||
id = "lr1",
|
id = "lr1",
|
||||||
@@ -135,7 +206,9 @@ class RadioRepository(context: Context) {
|
|||||||
streamUrl = "https://muste.latvijasradio.lv/shoutcast/mp4:lr1a.stream/playlist.m3u8",
|
streamUrl = "https://muste.latvijasradio.lv/shoutcast/mp4:lr1a.stream/playlist.m3u8",
|
||||||
iconResId = R.drawable.ic_station_lr1,
|
iconResId = R.drawable.ic_station_lr1,
|
||||||
genres = listOf(Genre.NEWS_TALK),
|
genres = listOf(Genre.NEWS_TALK),
|
||||||
bitrate = "HLS"
|
bitrate = "HLS",
|
||||||
|
frequencies = listOf(FmFrequency(City.RIGA, 90.7)),
|
||||||
|
website = "https://lr1.lsm.lv"
|
||||||
),
|
),
|
||||||
RadioStation(
|
RadioStation(
|
||||||
id = "lr2",
|
id = "lr2",
|
||||||
@@ -144,7 +217,9 @@ class RadioRepository(context: Context) {
|
|||||||
streamUrl = "https://muste.latvijasradio.lv/shoutcast/mp4:lr2a.stream/playlist.m3u8",
|
streamUrl = "https://muste.latvijasradio.lv/shoutcast/mp4:lr2a.stream/playlist.m3u8",
|
||||||
iconResId = R.drawable.ic_station_lr2,
|
iconResId = R.drawable.ic_station_lr2,
|
||||||
genres = listOf(Genre.LATVIAN, Genre.POP),
|
genres = listOf(Genre.LATVIAN, Genre.POP),
|
||||||
bitrate = "HLS"
|
bitrate = "HLS",
|
||||||
|
frequencies = listOf(FmFrequency(City.RIGA, 91.5)),
|
||||||
|
website = "https://lr2.lsm.lv"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -44,12 +44,14 @@ import androidx.compose.ui.unit.dp
|
|||||||
import androidx.compose.ui.unit.sp
|
import androidx.compose.ui.unit.sp
|
||||||
import cc.skysparkle.fogwave.BuildConfig
|
import cc.skysparkle.fogwave.BuildConfig
|
||||||
import cc.skysparkle.fogwave.R
|
import cc.skysparkle.fogwave.R
|
||||||
|
import cc.skysparkle.fogwave.ui.screens.Onboarding
|
||||||
import cc.skysparkle.fogwave.ui.theme.AppStyle
|
import cc.skysparkle.fogwave.ui.theme.AppStyle
|
||||||
import cc.skysparkle.fogwave.ui.theme.AppThemeState
|
import cc.skysparkle.fogwave.ui.theme.AppThemeState
|
||||||
import cc.skysparkle.fogwave.ui.theme.GeoColors
|
import cc.skysparkle.fogwave.ui.theme.GeoColors
|
||||||
import cc.skysparkle.fogwave.ui.theme.LocalGeoColors
|
import cc.skysparkle.fogwave.ui.theme.LocalGeoColors
|
||||||
|
|
||||||
private const val REPOSITORY_URL = "https://git.skysparkle.cc/kalarina/Fogwave"
|
private const val REPOSITORY_URL = "https://github.com/kalarina-bit/Fogwave"
|
||||||
|
private const val DONATE_URL = "https://ko-fi.com/skysparkle"
|
||||||
private const val PRIVACY_POLICY_URL = "https://skysparkle.cc/privacy?lang=en"
|
private const val PRIVACY_POLICY_URL = "https://skysparkle.cc/privacy?lang=en"
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
@@ -64,6 +66,7 @@ fun AboutPanel(modifier: Modifier = Modifier) {
|
|||||||
verticalArrangement = Arrangement.spacedBy(10.dp)
|
verticalArrangement = Arrangement.spacedBy(10.dp)
|
||||||
) {
|
) {
|
||||||
AppHeader()
|
AppHeader()
|
||||||
|
SupportCard(onDonate = { context.openUrl(DONATE_URL) })
|
||||||
|
|
||||||
SectionLabel(stringResource(R.string.about_appearance))
|
SectionLabel(stringResource(R.string.about_appearance))
|
||||||
GroupCard {
|
GroupCard {
|
||||||
@@ -74,6 +77,15 @@ fun AboutPanel(modifier: Modifier = Modifier) {
|
|||||||
|
|
||||||
SectionLabel(stringResource(R.string.about_more))
|
SectionLabel(stringResource(R.string.about_more))
|
||||||
GroupCard {
|
GroupCard {
|
||||||
|
LinkRow(
|
||||||
|
iconRes = R.drawable.ic_mc_check,
|
||||||
|
title = stringResource(R.string.guide_show),
|
||||||
|
subtitle = stringResource(R.string.guide_show_subtitle),
|
||||||
|
external = false,
|
||||||
|
onClick = { Onboarding.show() },
|
||||||
|
modifier = Modifier.testTag("guide_card")
|
||||||
|
)
|
||||||
|
CardDivider()
|
||||||
LinkRow(
|
LinkRow(
|
||||||
iconRes = R.drawable.ic_mc_code,
|
iconRes = R.drawable.ic_mc_code,
|
||||||
title = stringResource(R.string.about_my_repository),
|
title = stringResource(R.string.about_my_repository),
|
||||||
@@ -168,6 +180,57 @@ private fun AppHeader() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Asks for a donation: a heart, a short note and one button. */
|
||||||
|
@Composable
|
||||||
|
private fun SupportCard(onDonate: () -> Unit) {
|
||||||
|
val colors = LocalGeoColors.current
|
||||||
|
GroupCard(contentPadding = 16.dp) {
|
||||||
|
Row(
|
||||||
|
verticalAlignment = Alignment.CenterVertically,
|
||||||
|
horizontalArrangement = Arrangement.spacedBy(14.dp)
|
||||||
|
) {
|
||||||
|
Box(
|
||||||
|
modifier = Modifier
|
||||||
|
.size(44.dp)
|
||||||
|
.clip(RoundedCornerShape(14.dp))
|
||||||
|
.background(colors.primaryContainer),
|
||||||
|
contentAlignment = Alignment.Center
|
||||||
|
) {
|
||||||
|
AppIcon(resId = R.drawable.ic_heart_fill, tint = colors.primary, size = 22.dp)
|
||||||
|
}
|
||||||
|
Column(modifier = Modifier.weight(1f)) {
|
||||||
|
RowTitle(stringResource(R.string.support_title))
|
||||||
|
RowSubtitle(stringResource(R.string.support_text), maxLines = 4)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Row(
|
||||||
|
modifier = Modifier
|
||||||
|
.padding(top = 14.dp)
|
||||||
|
.fillMaxWidth()
|
||||||
|
.height(46.dp)
|
||||||
|
.clip(CircleShape)
|
||||||
|
.background(colors.accentLavender)
|
||||||
|
.clickable(
|
||||||
|
onClickLabel = stringResource(R.string.about_open_in_browser),
|
||||||
|
role = Role.Button,
|
||||||
|
onClick = onDonate
|
||||||
|
)
|
||||||
|
.testTag("donate_button"),
|
||||||
|
verticalAlignment = Alignment.CenterVertically,
|
||||||
|
horizontalArrangement = Arrangement.spacedBy(8.dp, Alignment.CenterHorizontally)
|
||||||
|
) {
|
||||||
|
AppIcon(resId = R.drawable.ic_heart_fill, tint = colors.onAccentLavender, size = 18.dp)
|
||||||
|
Text(
|
||||||
|
text = stringResource(R.string.support_button),
|
||||||
|
style = MaterialTheme.typography.labelLarge.copy(
|
||||||
|
fontWeight = FontWeight.Bold,
|
||||||
|
color = colors.onAccentLavender
|
||||||
|
)
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
private fun StylePicker() {
|
private fun StylePicker() {
|
||||||
val context = LocalContext.current
|
val context = LocalContext.current
|
||||||
|
|||||||
@@ -68,6 +68,7 @@ import androidx.compose.ui.semantics.contentDescription
|
|||||||
import androidx.compose.ui.semantics.semantics
|
import androidx.compose.ui.semantics.semantics
|
||||||
import androidx.compose.ui.text.font.FontWeight
|
import androidx.compose.ui.text.font.FontWeight
|
||||||
import androidx.compose.ui.text.style.TextAlign
|
import androidx.compose.ui.text.style.TextAlign
|
||||||
|
import androidx.compose.ui.text.style.TextDecoration
|
||||||
import androidx.compose.ui.text.style.TextOverflow
|
import androidx.compose.ui.text.style.TextOverflow
|
||||||
import androidx.compose.ui.unit.IntOffset
|
import androidx.compose.ui.unit.IntOffset
|
||||||
import androidx.compose.ui.unit.Velocity
|
import androidx.compose.ui.unit.Velocity
|
||||||
@@ -529,6 +530,16 @@ private fun ExtraPanel(
|
|||||||
InfoRow(key = stringResource(R.string.info_description), value = stationDescription(station))
|
InfoRow(key = stringResource(R.string.info_description), value = stationDescription(station))
|
||||||
InfoRow(key = stringResource(R.string.info_genre), value = stationGenres(station))
|
InfoRow(key = stringResource(R.string.info_genre), value = stationGenres(station))
|
||||||
InfoRow(key = stringResource(R.string.info_quality), value = station.bitrate)
|
InfoRow(key = stringResource(R.string.info_quality), value = station.bitrate)
|
||||||
|
InfoRow(key = stringResource(R.string.info_fm), value = stationFrequencies(station))
|
||||||
|
station.website?.let { url ->
|
||||||
|
val context = LocalContext.current
|
||||||
|
InfoLinkRow(
|
||||||
|
key = stringResource(R.string.info_schedule),
|
||||||
|
label = displayHost(url),
|
||||||
|
description = stringResource(R.string.info_open_website),
|
||||||
|
onClick = { context.openUrl(url) }
|
||||||
|
)
|
||||||
|
}
|
||||||
InfoRow(
|
InfoRow(
|
||||||
key = stringResource(R.string.info_status),
|
key = stringResource(R.string.info_status),
|
||||||
value = when (playerState) {
|
value = when (playerState) {
|
||||||
@@ -586,6 +597,39 @@ private fun InfoRow(key: String, value: String) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Like [InfoRow], but the value is a link that opens in the browser. */
|
||||||
|
@Composable
|
||||||
|
private fun InfoLinkRow(key: String, label: String, description: String, onClick: () -> Unit) {
|
||||||
|
val colors = LocalGeoColors.current
|
||||||
|
Row(
|
||||||
|
modifier = Modifier
|
||||||
|
.fillMaxWidth()
|
||||||
|
.clip(RoundedCornerShape(8.dp))
|
||||||
|
.clickable(role = Role.Button, onClickLabel = description, onClick = onClick)
|
||||||
|
.testTag("info_website"),
|
||||||
|
horizontalArrangement = Arrangement.spacedBy(16.dp),
|
||||||
|
verticalAlignment = Alignment.CenterVertically
|
||||||
|
) {
|
||||||
|
Text(
|
||||||
|
text = key,
|
||||||
|
style = MaterialTheme.typography.bodySmall.copy(
|
||||||
|
fontWeight = FontWeight.SemiBold,
|
||||||
|
color = colors.onSurfaceVariant
|
||||||
|
)
|
||||||
|
)
|
||||||
|
Text(
|
||||||
|
text = "$label \u2197",
|
||||||
|
style = MaterialTheme.typography.bodySmall.copy(
|
||||||
|
fontWeight = FontWeight.Bold,
|
||||||
|
color = colors.accentLavender,
|
||||||
|
textAlign = TextAlign.End,
|
||||||
|
textDecoration = TextDecoration.Underline
|
||||||
|
),
|
||||||
|
modifier = Modifier.weight(1f)
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private fun Context.shareStation(station: RadioStation, trackTitle: String?) {
|
private fun Context.shareStation(station: RadioStation, trackTitle: String?) {
|
||||||
val text = if (trackTitle != null) {
|
val text = if (trackTitle != null) {
|
||||||
getString(R.string.share_text_track, trackTitle, station.name)
|
getString(R.string.share_text_track, trackTitle, station.name)
|
||||||
|
|||||||
@@ -7,7 +7,9 @@ import androidx.compose.runtime.Composable
|
|||||||
import androidx.compose.runtime.ReadOnlyComposable
|
import androidx.compose.runtime.ReadOnlyComposable
|
||||||
import androidx.compose.ui.res.stringResource
|
import androidx.compose.ui.res.stringResource
|
||||||
import androidx.core.net.toUri
|
import androidx.core.net.toUri
|
||||||
|
import cc.skysparkle.fogwave.R
|
||||||
import cc.skysparkle.fogwave.data.model.RadioStation
|
import cc.skysparkle.fogwave.data.model.RadioStation
|
||||||
|
import java.util.Locale
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
@ReadOnlyComposable
|
@ReadOnlyComposable
|
||||||
@@ -18,6 +20,20 @@ fun stationDescription(station: RadioStation): String = stringResource(station.d
|
|||||||
fun stationGenres(station: RadioStation): String =
|
fun stationGenres(station: RadioStation): String =
|
||||||
station.genres.map { stringResource(it.labelRes) }.joinToString(", ")
|
station.genres.map { stringResource(it.labelRes) }.joinToString(", ")
|
||||||
|
|
||||||
|
/** FM frequencies one per line («Vilnius · 100.1 MHz»), or «Online only» for internet stations. */
|
||||||
|
@Composable
|
||||||
|
@ReadOnlyComposable
|
||||||
|
fun stationFrequencies(station: RadioStation): String {
|
||||||
|
if (station.frequencies.isEmpty()) return stringResource(R.string.info_fm_online_only)
|
||||||
|
return station.frequencies.map { f ->
|
||||||
|
// Decimal separator of the current language: 100.1 in English, 100,1 in Lithuanian
|
||||||
|
stringResource(R.string.info_fm_line, stringResource(f.city.labelRes), String.format(Locale.getDefault(), "%.1f", f.mhz))
|
||||||
|
}.joinToString("\n")
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Website address without the scheme and «www.», for display: «zipfm.lt». */
|
||||||
|
fun displayHost(url: String): String = url.substringAfter("://").removePrefix("www.").trimEnd('/')
|
||||||
|
|
||||||
/** Opens [url] in the user's browser; silently does nothing when no browser is installed. */
|
/** Opens [url] in the user's browser; silently does nothing when no browser is installed. */
|
||||||
fun Context.openUrl(url: String) {
|
fun Context.openUrl(url: String) {
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -50,6 +50,7 @@ import cc.skysparkle.fogwave.ui.theme.LocalGeoColors
|
|||||||
@Composable
|
@Composable
|
||||||
fun TopBrandBar(
|
fun TopBrandBar(
|
||||||
modifier: Modifier = Modifier,
|
modifier: Modifier = Modifier,
|
||||||
|
showLogo: Boolean = true,
|
||||||
showSearch: Boolean = false,
|
showSearch: Boolean = false,
|
||||||
isSearchOpen: Boolean = false,
|
isSearchOpen: Boolean = false,
|
||||||
query: String = "",
|
query: String = "",
|
||||||
@@ -69,11 +70,16 @@ fun TopBrandBar(
|
|||||||
verticalAlignment = Alignment.CenterVertically,
|
verticalAlignment = Alignment.CenterVertically,
|
||||||
horizontalArrangement = Arrangement.spacedBy(10.dp)
|
horizontalArrangement = Arrangement.spacedBy(10.dp)
|
||||||
) {
|
) {
|
||||||
AppIcon(
|
if (showLogo) {
|
||||||
resId = R.drawable.ic_fogwave_logo,
|
AppIcon(
|
||||||
contentDescription = stringResource(R.string.fogwave_logo_content_desc),
|
resId = R.drawable.ic_fogwave_logo,
|
||||||
size = 30.dp
|
contentDescription = stringResource(R.string.fogwave_logo_content_desc),
|
||||||
)
|
size = 30.dp
|
||||||
|
)
|
||||||
|
} else {
|
||||||
|
// Keeps the title centered where it is on the other tabs
|
||||||
|
Box(modifier = Modifier.size(30.dp))
|
||||||
|
}
|
||||||
|
|
||||||
Box(modifier = Modifier.weight(1f), contentAlignment = Alignment.Center) {
|
Box(modifier = Modifier.weight(1f), contentAlignment = Alignment.Center) {
|
||||||
AnimatedContent(
|
AnimatedContent(
|
||||||
|
|||||||
@@ -151,6 +151,8 @@ fun HomeScreen(
|
|||||||
|
|
||||||
Column(modifier = Modifier.fillMaxSize()) {
|
Column(modifier = Modifier.fillMaxSize()) {
|
||||||
TopBrandBar(
|
TopBrandBar(
|
||||||
|
// The About tab already shows the logo in its header card
|
||||||
|
showLogo = uiState.selectedTab != AppTab.ABOUT,
|
||||||
showSearch = uiState.selectedTab == AppTab.RADIO,
|
showSearch = uiState.selectedTab == AppTab.RADIO,
|
||||||
isSearchOpen = isSearchOpen,
|
isSearchOpen = isSearchOpen,
|
||||||
query = query,
|
query = query,
|
||||||
|
|||||||
@@ -0,0 +1,309 @@
|
|||||||
|
package cc.skysparkle.fogwave.ui.screens
|
||||||
|
|
||||||
|
import android.content.Context
|
||||||
|
import android.content.Intent
|
||||||
|
import android.provider.Settings
|
||||||
|
import androidx.activity.compose.BackHandler
|
||||||
|
import androidx.annotation.DrawableRes
|
||||||
|
import androidx.annotation.StringRes
|
||||||
|
import androidx.compose.animation.animateColorAsState
|
||||||
|
import androidx.compose.animation.core.animateDpAsState
|
||||||
|
import androidx.compose.foundation.background
|
||||||
|
import androidx.compose.foundation.border
|
||||||
|
import androidx.compose.foundation.clickable
|
||||||
|
import androidx.compose.foundation.layout.Arrangement
|
||||||
|
import androidx.compose.foundation.layout.Box
|
||||||
|
import androidx.compose.foundation.layout.Column
|
||||||
|
import androidx.compose.foundation.layout.Row
|
||||||
|
import androidx.compose.foundation.layout.Spacer
|
||||||
|
import androidx.compose.foundation.layout.fillMaxSize
|
||||||
|
import androidx.compose.foundation.layout.fillMaxWidth
|
||||||
|
import androidx.compose.foundation.layout.height
|
||||||
|
import androidx.compose.foundation.layout.navigationBarsPadding
|
||||||
|
import androidx.compose.foundation.layout.padding
|
||||||
|
import androidx.compose.foundation.layout.size
|
||||||
|
import androidx.compose.foundation.layout.statusBarsPadding
|
||||||
|
import androidx.compose.foundation.layout.widthIn
|
||||||
|
import androidx.compose.foundation.pager.HorizontalPager
|
||||||
|
import androidx.compose.foundation.pager.rememberPagerState
|
||||||
|
import androidx.compose.foundation.rememberScrollState
|
||||||
|
import androidx.compose.foundation.shape.CircleShape
|
||||||
|
import androidx.compose.foundation.verticalScroll
|
||||||
|
import androidx.compose.material3.MaterialTheme
|
||||||
|
import androidx.compose.material3.Text
|
||||||
|
import androidx.compose.runtime.Composable
|
||||||
|
import androidx.compose.runtime.getValue
|
||||||
|
import androidx.compose.runtime.mutableStateOf
|
||||||
|
import androidx.compose.runtime.rememberCoroutineScope
|
||||||
|
import androidx.compose.runtime.setValue
|
||||||
|
import androidx.compose.ui.Alignment
|
||||||
|
import androidx.compose.ui.Modifier
|
||||||
|
import androidx.compose.ui.draw.clip
|
||||||
|
import androidx.compose.ui.graphics.Color
|
||||||
|
import androidx.compose.ui.platform.LocalContext
|
||||||
|
import androidx.compose.ui.platform.testTag
|
||||||
|
import androidx.compose.ui.res.stringResource
|
||||||
|
import androidx.compose.ui.semantics.Role
|
||||||
|
import androidx.compose.ui.semantics.contentDescription
|
||||||
|
import androidx.compose.ui.semantics.semantics
|
||||||
|
import androidx.compose.ui.text.font.FontWeight
|
||||||
|
import androidx.compose.ui.text.style.TextAlign
|
||||||
|
import androidx.compose.ui.unit.dp
|
||||||
|
import androidx.compose.ui.unit.sp
|
||||||
|
import cc.skysparkle.fogwave.R
|
||||||
|
import cc.skysparkle.fogwave.data.repository.RadioRepository
|
||||||
|
import cc.skysparkle.fogwave.ui.components.AppIcon
|
||||||
|
import cc.skysparkle.fogwave.ui.components.HomeBackdrop
|
||||||
|
import cc.skysparkle.fogwave.ui.theme.LocalGeoColors
|
||||||
|
import kotlinx.coroutines.launch
|
||||||
|
|
||||||
|
/**
|
||||||
|
* First-launch guide: shown once to new users, and again from About → «Show the guide».
|
||||||
|
* People who already used the app before this version (they have favourites, recents or a
|
||||||
|
* last station) are treated as having seen it.
|
||||||
|
*/
|
||||||
|
object Onboarding {
|
||||||
|
private const val PREFS = "fogwave_prefs"
|
||||||
|
private const val KEY_DONE = "onboarding_done"
|
||||||
|
|
||||||
|
/** Whether the guide is on screen. */
|
||||||
|
var visible by mutableStateOf(false)
|
||||||
|
private set
|
||||||
|
|
||||||
|
/** Opened by the user from About: the back button closes it from the first page too. */
|
||||||
|
var replay by mutableStateOf(false)
|
||||||
|
private set
|
||||||
|
|
||||||
|
/** Call before the first frame. */
|
||||||
|
fun load(context: Context) {
|
||||||
|
val prefs = context.getSharedPreferences(PREFS, Context.MODE_PRIVATE)
|
||||||
|
if (prefs.getBoolean(KEY_DONE, false)) return
|
||||||
|
val usedBefore = prefs.contains("last_station_id") || prefs.contains("play_counts") ||
|
||||||
|
prefs.contains("favorites") || prefs.contains("recents")
|
||||||
|
if (usedBefore) {
|
||||||
|
prefs.edit().putBoolean(KEY_DONE, true).apply()
|
||||||
|
} else {
|
||||||
|
replay = false
|
||||||
|
visible = true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
fun show() {
|
||||||
|
replay = true
|
||||||
|
visible = true
|
||||||
|
}
|
||||||
|
|
||||||
|
fun finish(context: Context) {
|
||||||
|
context.getSharedPreferences(PREFS, Context.MODE_PRIVATE).edit().putBoolean(KEY_DONE, true).apply()
|
||||||
|
visible = false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private data class GuidePage(
|
||||||
|
@param:DrawableRes val iconRes: Int,
|
||||||
|
@param:StringRes val titleRes: Int,
|
||||||
|
@param:StringRes val textRes: Int,
|
||||||
|
/** Icon is a full-colour picture (the logo), not a glyph to tint. */
|
||||||
|
val keepColors: Boolean = false
|
||||||
|
)
|
||||||
|
|
||||||
|
private val PAGES = listOf(
|
||||||
|
GuidePage(R.drawable.ic_fogwave_logo, R.string.guide_welcome_title, R.string.guide_welcome_text, keepColors = true),
|
||||||
|
GuidePage(R.drawable.ic_radio, R.string.guide_listen_title, R.string.guide_listen_text),
|
||||||
|
GuidePage(R.drawable.ic_info, R.string.guide_info_title, R.string.guide_info_text),
|
||||||
|
GuidePage(R.drawable.ic_play, R.string.guide_background_title, R.string.guide_background_text)
|
||||||
|
)
|
||||||
|
|
||||||
|
@Composable
|
||||||
|
fun OnboardingScreen(onDone: () -> Unit) {
|
||||||
|
val colors = LocalGeoColors.current
|
||||||
|
val scope = rememberCoroutineScope()
|
||||||
|
val pager = rememberPagerState(pageCount = { PAGES.size })
|
||||||
|
val last = pager.currentPage == PAGES.lastIndex
|
||||||
|
|
||||||
|
// Back goes to the previous page; on the first page it closes a guide opened from About.
|
||||||
|
BackHandler(enabled = pager.currentPage > 0 || Onboarding.replay) {
|
||||||
|
if (pager.currentPage > 0) scope.launch { pager.animateScrollToPage(pager.currentPage - 1) } else onDone()
|
||||||
|
}
|
||||||
|
|
||||||
|
Box(
|
||||||
|
modifier = Modifier
|
||||||
|
.fillMaxSize()
|
||||||
|
.background(colors.background)
|
||||||
|
.testTag("onboarding")
|
||||||
|
) {
|
||||||
|
HomeBackdrop(tint = colors.accentLavender)
|
||||||
|
|
||||||
|
Column(
|
||||||
|
modifier = Modifier
|
||||||
|
.fillMaxSize()
|
||||||
|
.statusBarsPadding()
|
||||||
|
.navigationBarsPadding()
|
||||||
|
) {
|
||||||
|
// «Skip» on every page but the last
|
||||||
|
Box(
|
||||||
|
modifier = Modifier
|
||||||
|
.fillMaxWidth()
|
||||||
|
.height(56.dp)
|
||||||
|
.padding(horizontal = 12.dp),
|
||||||
|
contentAlignment = Alignment.CenterEnd
|
||||||
|
) {
|
||||||
|
if (!last) {
|
||||||
|
Text(
|
||||||
|
text = stringResource(R.string.guide_skip),
|
||||||
|
style = MaterialTheme.typography.labelLarge.copy(
|
||||||
|
color = colors.onSurfaceVariant,
|
||||||
|
fontWeight = FontWeight.SemiBold
|
||||||
|
),
|
||||||
|
modifier = Modifier
|
||||||
|
.clip(CircleShape)
|
||||||
|
.clickable(role = Role.Button, onClick = onDone)
|
||||||
|
.padding(horizontal = 14.dp, vertical = 10.dp)
|
||||||
|
.testTag("onboarding_skip")
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
HorizontalPager(
|
||||||
|
state = pager,
|
||||||
|
modifier = Modifier
|
||||||
|
.weight(1f)
|
||||||
|
.fillMaxWidth()
|
||||||
|
) { index ->
|
||||||
|
GuidePageContent(page = PAGES[index], showBattery = index == PAGES.lastIndex)
|
||||||
|
}
|
||||||
|
|
||||||
|
Dots(count = PAGES.size, current = pager.currentPage)
|
||||||
|
|
||||||
|
val accent by animateColorAsState(colors.accentLavender, label = "guide_button")
|
||||||
|
Box(
|
||||||
|
modifier = Modifier
|
||||||
|
.fillMaxWidth()
|
||||||
|
.padding(start = 24.dp, end = 24.dp, top = 20.dp, bottom = 20.dp),
|
||||||
|
contentAlignment = Alignment.Center
|
||||||
|
) {
|
||||||
|
Text(
|
||||||
|
text = stringResource(if (last) R.string.guide_start else R.string.guide_next),
|
||||||
|
style = MaterialTheme.typography.titleMedium.copy(
|
||||||
|
color = colors.onAccentLavender,
|
||||||
|
fontWeight = FontWeight.Bold,
|
||||||
|
textAlign = TextAlign.Center
|
||||||
|
),
|
||||||
|
modifier = Modifier
|
||||||
|
.widthIn(max = 420.dp)
|
||||||
|
.fillMaxWidth()
|
||||||
|
.clip(CircleShape)
|
||||||
|
.background(accent)
|
||||||
|
.clickable(role = Role.Button) {
|
||||||
|
if (last) onDone() else scope.launch { pager.animateScrollToPage(pager.currentPage + 1) }
|
||||||
|
}
|
||||||
|
.padding(vertical = 16.dp)
|
||||||
|
.testTag("onboarding_next")
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Composable
|
||||||
|
private fun GuidePageContent(page: GuidePage, showBattery: Boolean) {
|
||||||
|
val colors = LocalGeoColors.current
|
||||||
|
val context = LocalContext.current
|
||||||
|
Column(
|
||||||
|
modifier = Modifier
|
||||||
|
.fillMaxSize()
|
||||||
|
.verticalScroll(rememberScrollState())
|
||||||
|
.padding(horizontal = 32.dp),
|
||||||
|
horizontalAlignment = Alignment.CenterHorizontally,
|
||||||
|
verticalArrangement = Arrangement.Center
|
||||||
|
) {
|
||||||
|
Box(
|
||||||
|
modifier = Modifier
|
||||||
|
.size(132.dp)
|
||||||
|
.clip(CircleShape)
|
||||||
|
.background(colors.surfaceContainer.copy(alpha = 0.85f))
|
||||||
|
.border(1.dp, colors.outlineVariant, CircleShape),
|
||||||
|
contentAlignment = Alignment.Center
|
||||||
|
) {
|
||||||
|
AppIcon(
|
||||||
|
resId = page.iconRes,
|
||||||
|
tint = if (page.keepColors) Color.Unspecified else colors.accentLavender,
|
||||||
|
size = if (page.keepColors) 88.dp else 56.dp
|
||||||
|
)
|
||||||
|
}
|
||||||
|
Spacer(Modifier.height(36.dp))
|
||||||
|
Text(
|
||||||
|
text = stringResource(page.titleRes),
|
||||||
|
style = MaterialTheme.typography.headlineSmall.copy(
|
||||||
|
color = colors.onBackground,
|
||||||
|
fontWeight = FontWeight.Bold,
|
||||||
|
textAlign = TextAlign.Center
|
||||||
|
),
|
||||||
|
modifier = Modifier.widthIn(max = 420.dp)
|
||||||
|
)
|
||||||
|
Spacer(Modifier.height(14.dp))
|
||||||
|
Text(
|
||||||
|
text = stringResource(page.textRes),
|
||||||
|
style = MaterialTheme.typography.bodyLarge.copy(
|
||||||
|
color = colors.onSurfaceVariant,
|
||||||
|
textAlign = TextAlign.Center,
|
||||||
|
lineHeight = 24.sp
|
||||||
|
),
|
||||||
|
modifier = Modifier.widthIn(max = 420.dp)
|
||||||
|
)
|
||||||
|
if (showBattery) {
|
||||||
|
Spacer(Modifier.height(24.dp))
|
||||||
|
BatteryButton(context)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Opens the battery optimisation list; afterwards the reminder dialog isn't needed any more. */
|
||||||
|
@Composable
|
||||||
|
private fun BatteryButton(context: Context) {
|
||||||
|
val colors = LocalGeoColors.current
|
||||||
|
Text(
|
||||||
|
text = stringResource(R.string.guide_battery_button),
|
||||||
|
style = MaterialTheme.typography.labelLarge.copy(
|
||||||
|
color = colors.onBackground,
|
||||||
|
fontWeight = FontWeight.SemiBold
|
||||||
|
),
|
||||||
|
modifier = Modifier
|
||||||
|
.clip(CircleShape)
|
||||||
|
.border(1.dp, colors.outlineVariant, CircleShape)
|
||||||
|
.clickable(role = Role.Button) {
|
||||||
|
RadioRepository(context).markBatteryOptimizationPromptSeen()
|
||||||
|
try {
|
||||||
|
context.startActivity(Intent(Settings.ACTION_IGNORE_BATTERY_OPTIMIZATION_SETTINGS))
|
||||||
|
} catch (_: Exception) {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.padding(horizontal = 20.dp, vertical = 12.dp)
|
||||||
|
.testTag("onboarding_battery")
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
@Composable
|
||||||
|
private fun Dots(count: Int, current: Int) {
|
||||||
|
val colors = LocalGeoColors.current
|
||||||
|
val label = stringResource(R.string.guide_page_of, current + 1, count)
|
||||||
|
Row(
|
||||||
|
modifier = Modifier
|
||||||
|
.fillMaxWidth()
|
||||||
|
.semantics { contentDescription = label },
|
||||||
|
horizontalArrangement = Arrangement.Center,
|
||||||
|
verticalAlignment = Alignment.CenterVertically
|
||||||
|
) {
|
||||||
|
repeat(count) { i ->
|
||||||
|
val selected = i == current
|
||||||
|
val width by animateDpAsState(if (selected) 22.dp else 8.dp, label = "guide_dot")
|
||||||
|
Box(
|
||||||
|
modifier = Modifier
|
||||||
|
.padding(horizontal = 4.dp)
|
||||||
|
.size(width = width, height = 8.dp)
|
||||||
|
.clip(CircleShape)
|
||||||
|
.background(if (selected) colors.accentLavender else colors.outlineVariant)
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -34,6 +34,15 @@
|
|||||||
<string name="info_description">Beschreibung</string>
|
<string name="info_description">Beschreibung</string>
|
||||||
<string name="info_genre">Genre</string>
|
<string name="info_genre">Genre</string>
|
||||||
<string name="info_quality">Qualität</string>
|
<string name="info_quality">Qualität</string>
|
||||||
|
<string name="info_fm">UKW</string>
|
||||||
|
<string name="info_fm_line">%1$s · %2$s MHz</string>
|
||||||
|
<string name="info_fm_online_only">Nur online</string>
|
||||||
|
<string name="info_schedule">Sendungen & Programm</string>
|
||||||
|
<string name="info_open_website">Website des Senders öffnen</string>
|
||||||
|
<string name="city_vilnius">Vilnius</string>
|
||||||
|
<string name="city_kaunas">Kaunas</string>
|
||||||
|
<string name="city_klaipeda">Klaipėda</string>
|
||||||
|
<string name="city_riga">Riga</string>
|
||||||
<string name="info_status">Status</string>
|
<string name="info_status">Status</string>
|
||||||
<string name="status_live">Auf Sendung • Livestream</string>
|
<string name="status_live">Auf Sendung • Livestream</string>
|
||||||
|
|
||||||
@@ -129,4 +138,24 @@
|
|||||||
<string name="eq_gain_db">%1$s dB</string>
|
<string name="eq_gain_db">%1$s dB</string>
|
||||||
<string name="eq_freq_hz">%1$s Hz</string>
|
<string name="eq_freq_hz">%1$s Hz</string>
|
||||||
<string name="eq_freq_khz">%1$s kHz</string>
|
<string name="eq_freq_khz">%1$s kHz</string>
|
||||||
|
<string name="support_title">Fogwave unterstützen</string>
|
||||||
|
<string name="support_text">Fogwave ist kostenlos, quelloffen und werbefrei. Wenn dir die App gefällt, hilft eine kleine Spende, das Projekt weiterzuführen.</string>
|
||||||
|
<string name="support_button">Auf Ko-fi spenden</string>
|
||||||
|
|
||||||
|
<!-- first-launch guide -->
|
||||||
|
<string name="guide_skip">Überspringen</string>
|
||||||
|
<string name="guide_next">Weiter</string>
|
||||||
|
<string name="guide_start">Jetzt hören</string>
|
||||||
|
<string name="guide_page_of">Seite %1$d von %2$d</string>
|
||||||
|
<string name="guide_welcome_title">Willkommen bei Fogwave</string>
|
||||||
|
<string name="guide_welcome_text">Litauisches und lettisches Radio an einem Ort. Kostenlos, quelloffen, ohne Werbung und ohne Tracking.</string>
|
||||||
|
<string name="guide_listen_title">Sender antippen und hören</string>
|
||||||
|
<string name="guide_listen_text">Der Player öffnet sich im Vollbild. Wische ihn nach unten, um beim Stöbern weiterzuhören. Mit dem Herz landet ein Sender in den Favoriten, mit der Suche findest du ihn schnell.</string>
|
||||||
|
<string name="guide_info_title">Lerne die Sender kennen</string>
|
||||||
|
<string name="guide_info_text">Der Info-Tab im Player zeigt UKW-Frequenzen und einen Link zu Sendungen und Programm des Senders. Der Equalizer passt den Klang an Kopfhörer oder Auto an.</string>
|
||||||
|
<string name="guide_background_title">Die Musik läuft weiter</string>
|
||||||
|
<string name="guide_background_text">Steuere das Radio über die Benachrichtigung, deine Kopfhörer oder Android Auto. Bricht es bei ausgeschaltetem Bildschirm ab, erlaube Fogwave, ohne Akku-Einschränkungen zu laufen.</string>
|
||||||
|
<string name="guide_battery_button">Akku-Einstellungen</string>
|
||||||
|
<string name="guide_show">Anleitung anzeigen</string>
|
||||||
|
<string name="guide_show_subtitle">Ein kurzer Rundgang durch die App</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -34,6 +34,15 @@
|
|||||||
<string name="info_description">説明</string>
|
<string name="info_description">説明</string>
|
||||||
<string name="info_genre">ジャンル</string>
|
<string name="info_genre">ジャンル</string>
|
||||||
<string name="info_quality">音質</string>
|
<string name="info_quality">音質</string>
|
||||||
|
<string name="info_fm">FM</string>
|
||||||
|
<string name="info_fm_line">%1$s · %2$s MHz</string>
|
||||||
|
<string name="info_fm_online_only">オンラインのみ</string>
|
||||||
|
<string name="info_schedule">番組と放送スケジュール</string>
|
||||||
|
<string name="info_open_website">局のウェブサイトを開く</string>
|
||||||
|
<string name="city_vilnius">ヴィリニュス</string>
|
||||||
|
<string name="city_kaunas">カウナス</string>
|
||||||
|
<string name="city_klaipeda">クライペダ</string>
|
||||||
|
<string name="city_riga">リガ</string>
|
||||||
<string name="info_status">状態</string>
|
<string name="info_status">状態</string>
|
||||||
<string name="status_live">オンエア中 • ライブストリーム</string>
|
<string name="status_live">オンエア中 • ライブストリーム</string>
|
||||||
|
|
||||||
@@ -128,4 +137,24 @@
|
|||||||
<string name="eq_gain_db">%1$s dB</string>
|
<string name="eq_gain_db">%1$s dB</string>
|
||||||
<string name="eq_freq_hz">%1$s Hz</string>
|
<string name="eq_freq_hz">%1$s Hz</string>
|
||||||
<string name="eq_freq_khz">%1$s kHz</string>
|
<string name="eq_freq_khz">%1$s kHz</string>
|
||||||
|
<string name="support_title">Fogwave を応援する</string>
|
||||||
|
<string name="support_text">Fogwave は無料・オープンソースで、広告もありません。気に入っていただけたら、少額の寄付がプロジェクトの継続を支えます。</string>
|
||||||
|
<string name="support_button">Ko-fi で寄付する</string>
|
||||||
|
|
||||||
|
<!-- first-launch guide -->
|
||||||
|
<string name="guide_skip">スキップ</string>
|
||||||
|
<string name="guide_next">次へ</string>
|
||||||
|
<string name="guide_start">聴きはじめる</string>
|
||||||
|
<string name="guide_page_of">%2$dページ中%1$dページ</string>
|
||||||
|
<string name="guide_welcome_title">Fogwaveへようこそ</string>
|
||||||
|
<string name="guide_welcome_text">リトアニアとラトビアのラジオをひとつのアプリで。無料・オープンソースで、広告もトラッキングもありません。</string>
|
||||||
|
<string name="guide_listen_title">局をタップして聴く</string>
|
||||||
|
<string name="guide_listen_text">プレーヤーが全画面で開きます。下にスワイプすると、聴きながら他の局を探せます。ハートでお気に入りに保存、検索ですばやく見つけられます。</string>
|
||||||
|
<string name="guide_info_title">各局のことを知る</string>
|
||||||
|
<string name="guide_info_text">プレーヤーの「情報」タブにはFM周波数と、番組・放送スケジュールへのリンクがあります。イコライザーでヘッドホンや車に合わせて音を調整できます。</string>
|
||||||
|
<string name="guide_background_title">音楽を止めない</string>
|
||||||
|
<string name="guide_background_text">通知、ヘッドホン、Android Autoから操作できます。画面オフで止まる場合は、Fogwaveをバッテリーの制限なしで動作させてください。</string>
|
||||||
|
<string name="guide_battery_button">バッテリー設定</string>
|
||||||
|
<string name="guide_show">ガイドを表示</string>
|
||||||
|
<string name="guide_show_subtitle">アプリのかんたんな紹介</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -34,6 +34,15 @@
|
|||||||
<string name="info_description">Aprašymas</string>
|
<string name="info_description">Aprašymas</string>
|
||||||
<string name="info_genre">Žanras</string>
|
<string name="info_genre">Žanras</string>
|
||||||
<string name="info_quality">Kokybė</string>
|
<string name="info_quality">Kokybė</string>
|
||||||
|
<string name="info_fm">FM</string>
|
||||||
|
<string name="info_fm_line">%1$s · %2$s MHz</string>
|
||||||
|
<string name="info_fm_online_only">Tik internetu</string>
|
||||||
|
<string name="info_schedule">Laidos ir programa</string>
|
||||||
|
<string name="info_open_website">Atidaryti stoties svetainę</string>
|
||||||
|
<string name="city_vilnius">Vilnius</string>
|
||||||
|
<string name="city_kaunas">Kaunas</string>
|
||||||
|
<string name="city_klaipeda">Klaipėda</string>
|
||||||
|
<string name="city_riga">Ryga</string>
|
||||||
<string name="info_status">Būsena</string>
|
<string name="info_status">Būsena</string>
|
||||||
<string name="status_live">Eteryje • tiesioginė transliacija</string>
|
<string name="status_live">Eteryje • tiesioginė transliacija</string>
|
||||||
|
|
||||||
@@ -131,4 +140,24 @@
|
|||||||
<string name="eq_gain_db">%1$s dB</string>
|
<string name="eq_gain_db">%1$s dB</string>
|
||||||
<string name="eq_freq_hz">%1$s Hz</string>
|
<string name="eq_freq_hz">%1$s Hz</string>
|
||||||
<string name="eq_freq_khz">%1$s kHz</string>
|
<string name="eq_freq_khz">%1$s kHz</string>
|
||||||
|
<string name="support_title">Paremti Fogwave</string>
|
||||||
|
<string name="support_text">Fogwave nemokama, atvirojo kodo ir be reklamų. Jei programėlė patinka, nedidelė auka padeda projektui gyvuoti.</string>
|
||||||
|
<string name="support_button">Paaukoti per Ko-fi</string>
|
||||||
|
|
||||||
|
<!-- first-launch guide -->
|
||||||
|
<string name="guide_skip">Praleisti</string>
|
||||||
|
<string name="guide_next">Toliau</string>
|
||||||
|
<string name="guide_start">Pradėti klausytis</string>
|
||||||
|
<string name="guide_page_of">%1$d puslapis iš %2$d</string>
|
||||||
|
<string name="guide_welcome_title">Sveiki atvykę į Fogwave</string>
|
||||||
|
<string name="guide_welcome_text">Lietuvos ir Latvijos radijas vienoje vietoje. Nemokama, atvirojo kodo, be reklamų ir sekimo.</string>
|
||||||
|
<string name="guide_listen_title">Palieskite stotį ir klausykitės</string>
|
||||||
|
<string name="guide_listen_text">Grotuvas atsidaro per visą ekraną. Perbraukite jį žemyn, kad klausytumėtės toliau naršydami. Palieskite širdelę, kad išsaugotumėte stotį mėgstamose, arba ieškokite paieškoje.</string>
|
||||||
|
<string name="guide_info_title">Susipažinkite su stotimis</string>
|
||||||
|
<string name="guide_info_text">Grotuvo skiltyje „Info“ rasite FM dažnius ir nuorodą į stoties laidas ir programą. Ekvalaizeris pritaiko garsą ausinėms ar automobiliui.</string>
|
||||||
|
<string name="guide_background_title">Muzika neužgęsta</string>
|
||||||
|
<string name="guide_background_text">Radiją valdykite iš pranešimo, ausinėmis arba per Android Auto. Jei jis nutyla išjungus ekraną, leiskite Fogwave veikti be baterijos apribojimų.</string>
|
||||||
|
<string name="guide_battery_button">Baterijos nustatymai</string>
|
||||||
|
<string name="guide_show">Rodyti gidą</string>
|
||||||
|
<string name="guide_show_subtitle">Trumpa programėlės apžvalga</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -34,6 +34,15 @@
|
|||||||
<string name="info_description">Описание</string>
|
<string name="info_description">Описание</string>
|
||||||
<string name="info_genre">Жанр</string>
|
<string name="info_genre">Жанр</string>
|
||||||
<string name="info_quality">Качество</string>
|
<string name="info_quality">Качество</string>
|
||||||
|
<string name="info_fm">FM</string>
|
||||||
|
<string name="info_fm_line">%1$s · %2$s МГц</string>
|
||||||
|
<string name="info_fm_online_only">Только онлайн</string>
|
||||||
|
<string name="info_schedule">Передачи и расписание</string>
|
||||||
|
<string name="info_open_website">Открыть сайт станции</string>
|
||||||
|
<string name="city_vilnius">Вильнюс</string>
|
||||||
|
<string name="city_kaunas">Каунас</string>
|
||||||
|
<string name="city_klaipeda">Клайпеда</string>
|
||||||
|
<string name="city_riga">Рига</string>
|
||||||
<string name="info_status">Статус</string>
|
<string name="info_status">Статус</string>
|
||||||
<string name="status_live">В эфире • прямая трансляция</string>
|
<string name="status_live">В эфире • прямая трансляция</string>
|
||||||
|
|
||||||
@@ -131,4 +140,24 @@
|
|||||||
<string name="eq_gain_db">%1$s дБ</string>
|
<string name="eq_gain_db">%1$s дБ</string>
|
||||||
<string name="eq_freq_hz">%1$s Гц</string>
|
<string name="eq_freq_hz">%1$s Гц</string>
|
||||||
<string name="eq_freq_khz">%1$s кГц</string>
|
<string name="eq_freq_khz">%1$s кГц</string>
|
||||||
|
<string name="support_title">Поддержать Fogwave</string>
|
||||||
|
<string name="support_text">Fogwave бесплатное, с открытым кодом и без рекламы. Если приложение нравится, небольшое пожертвование помогает проекту развиваться.</string>
|
||||||
|
<string name="support_button">Пожертвовать через Ko-fi</string>
|
||||||
|
|
||||||
|
<!-- first-launch guide -->
|
||||||
|
<string name="guide_skip">Пропустить</string>
|
||||||
|
<string name="guide_next">Далее</string>
|
||||||
|
<string name="guide_start">Начать слушать</string>
|
||||||
|
<string name="guide_page_of">Страница %1$d из %2$d</string>
|
||||||
|
<string name="guide_welcome_title">Добро пожаловать в Fogwave</string>
|
||||||
|
<string name="guide_welcome_text">Литовское и латвийское радио в одном месте. Бесплатно, с открытым кодом, без рекламы и слежки.</string>
|
||||||
|
<string name="guide_listen_title">Нажмите на станцию, чтобы слушать</string>
|
||||||
|
<string name="guide_listen_text">Плеер откроется на весь экран. Смахните его вниз, чтобы слушать дальше и листать станции. Сердечко сохраняет станцию в избранное, а поиск помогает быстро найти нужную.</string>
|
||||||
|
<string name="guide_info_title">Узнайте больше о станциях</string>
|
||||||
|
<string name="guide_info_text">Во вкладке «Инфо» в плеере есть FM-частоты и ссылка на передачи и расписание станции. Эквалайзер подстроит звук под наушники или машину.</string>
|
||||||
|
<string name="guide_background_title">Музыка не прерывается</string>
|
||||||
|
<string name="guide_background_text">Управляйте радио из уведомления, наушниками или через Android Auto. Если оно замолкает при выключенном экране, разрешите Fogwave работать без ограничений батареи.</string>
|
||||||
|
<string name="guide_battery_button">Настройки батареи</string>
|
||||||
|
<string name="guide_show">Показать гид</string>
|
||||||
|
<string name="guide_show_subtitle">Короткий обзор приложения</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -34,6 +34,15 @@
|
|||||||
<string name="info_description">简介</string>
|
<string name="info_description">简介</string>
|
||||||
<string name="info_genre">类型</string>
|
<string name="info_genre">类型</string>
|
||||||
<string name="info_quality">音质</string>
|
<string name="info_quality">音质</string>
|
||||||
|
<string name="info_fm">FM</string>
|
||||||
|
<string name="info_fm_line">%1$s · %2$s MHz</string>
|
||||||
|
<string name="info_fm_online_only">仅限在线</string>
|
||||||
|
<string name="info_schedule">节目与时间表</string>
|
||||||
|
<string name="info_open_website">打开电台网站</string>
|
||||||
|
<string name="city_vilnius">维尔纽斯</string>
|
||||||
|
<string name="city_kaunas">考纳斯</string>
|
||||||
|
<string name="city_klaipeda">克莱佩达</string>
|
||||||
|
<string name="city_riga">里加</string>
|
||||||
<string name="info_status">状态</string>
|
<string name="info_status">状态</string>
|
||||||
<string name="status_live">正在直播 • 实时音频流</string>
|
<string name="status_live">正在直播 • 实时音频流</string>
|
||||||
|
|
||||||
@@ -128,4 +137,24 @@
|
|||||||
<string name="eq_gain_db">%1$s dB</string>
|
<string name="eq_gain_db">%1$s dB</string>
|
||||||
<string name="eq_freq_hz">%1$s Hz</string>
|
<string name="eq_freq_hz">%1$s Hz</string>
|
||||||
<string name="eq_freq_khz">%1$s kHz</string>
|
<string name="eq_freq_khz">%1$s kHz</string>
|
||||||
|
<string name="support_title">支持 Fogwave</string>
|
||||||
|
<string name="support_text">Fogwave 免费、开源且无广告。如果你喜欢它,一笔小小的捐助能帮助项目持续下去。</string>
|
||||||
|
<string name="support_button">通过 Ko-fi 捐助</string>
|
||||||
|
|
||||||
|
<!-- first-launch guide -->
|
||||||
|
<string name="guide_skip">跳过</string>
|
||||||
|
<string name="guide_next">下一步</string>
|
||||||
|
<string name="guide_start">开始收听</string>
|
||||||
|
<string name="guide_page_of">第 %1$d 页,共 %2$d 页</string>
|
||||||
|
<string name="guide_welcome_title">欢迎使用 Fogwave</string>
|
||||||
|
<string name="guide_welcome_text">立陶宛和拉脱维亚电台尽在一处。免费、开源、无广告、无追踪。</string>
|
||||||
|
<string name="guide_listen_title">点按电台即可收听</string>
|
||||||
|
<string name="guide_listen_text">播放器会全屏打开。向下滑动即可一边收听一边浏览。点按爱心把电台加入收藏,或用搜索快速找到电台。</string>
|
||||||
|
<string name="guide_info_title">了解每个电台</string>
|
||||||
|
<string name="guide_info_text">播放器的“信息”标签页显示FM频率以及电台节目与时间表的链接。均衡器可按耳机或汽车调整音效。</string>
|
||||||
|
<string name="guide_background_title">音乐不停歇</string>
|
||||||
|
<string name="guide_background_text">可通过通知、耳机或 Android Auto 控制电台。如果熄屏后停止播放,请允许 Fogwave 不受电池限制地运行。</string>
|
||||||
|
<string name="guide_battery_button">电池设置</string>
|
||||||
|
<string name="guide_show">显示使用指南</string>
|
||||||
|
<string name="guide_show_subtitle">快速了解本应用</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -38,6 +38,15 @@
|
|||||||
<string name="info_description">Description</string>
|
<string name="info_description">Description</string>
|
||||||
<string name="info_genre">Genre</string>
|
<string name="info_genre">Genre</string>
|
||||||
<string name="info_quality">Quality</string>
|
<string name="info_quality">Quality</string>
|
||||||
|
<string name="info_fm">FM</string>
|
||||||
|
<string name="info_fm_line">%1$s · %2$s MHz</string>
|
||||||
|
<string name="info_fm_online_only">Online only</string>
|
||||||
|
<string name="info_schedule">Shows & schedule</string>
|
||||||
|
<string name="info_open_website">Open the station\'s website</string>
|
||||||
|
<string name="city_vilnius">Vilnius</string>
|
||||||
|
<string name="city_kaunas">Kaunas</string>
|
||||||
|
<string name="city_klaipeda">Klaipėda</string>
|
||||||
|
<string name="city_riga">Riga</string>
|
||||||
<string name="info_status">Status</string>
|
<string name="info_status">Status</string>
|
||||||
<string name="status_live">On air • Live Stream</string>
|
<string name="status_live">On air • Live Stream</string>
|
||||||
|
|
||||||
@@ -130,4 +139,24 @@
|
|||||||
<string name="eq_gain_db">%1$s dB</string>
|
<string name="eq_gain_db">%1$s dB</string>
|
||||||
<string name="eq_freq_hz">%1$s Hz</string>
|
<string name="eq_freq_hz">%1$s Hz</string>
|
||||||
<string name="eq_freq_khz">%1$s kHz</string>
|
<string name="eq_freq_khz">%1$s kHz</string>
|
||||||
|
<string name="support_title">Support Fogwave</string>
|
||||||
|
<string name="support_text">Fogwave is free, open source and has no ads. If you enjoy it, a small donation helps keep the project going.</string>
|
||||||
|
<string name="support_button">Donate on Ko-fi</string>
|
||||||
|
|
||||||
|
<!-- first-launch guide -->
|
||||||
|
<string name="guide_skip">Skip</string>
|
||||||
|
<string name="guide_next">Next</string>
|
||||||
|
<string name="guide_start">Start listening</string>
|
||||||
|
<string name="guide_page_of">Page %1$d of %2$d</string>
|
||||||
|
<string name="guide_welcome_title">Welcome to Fogwave</string>
|
||||||
|
<string name="guide_welcome_text">Lithuanian and Latvian radio in one place. Free, open source, with no ads and no tracking.</string>
|
||||||
|
<string name="guide_listen_title">Tap a station to listen</string>
|
||||||
|
<string name="guide_listen_text">The player opens full screen. Swipe it down to keep listening while you browse. Tap the heart to save a station to Favorites, or use search to find one fast.</string>
|
||||||
|
<string name="guide_info_title">Get to know each station</string>
|
||||||
|
<string name="guide_info_text">The Info tab in the player shows FM frequencies and a link to the station\'s shows and schedule. The equalizer tunes the sound for your headphones or car.</string>
|
||||||
|
<string name="guide_background_title">Keep the music playing</string>
|
||||||
|
<string name="guide_background_text">Control the radio from the notification, your headphones or Android Auto. If it stops when the screen is off, let Fogwave run without battery restrictions.</string>
|
||||||
|
<string name="guide_battery_button">Battery settings</string>
|
||||||
|
<string name="guide_show">Show the guide</string>
|
||||||
|
<string name="guide_show_subtitle">A quick tour of the app</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -65,4 +65,15 @@ class RadioRepositoryTest {
|
|||||||
assertEquals(listOf("lr2", "rc"), sorted.take(2).map { it.id })
|
assertEquals(listOf("lr2", "rc"), sorted.take(2).map { it.id })
|
||||||
assertEquals(repository.stations.size, sorted.size)
|
assertEquals(repository.stations.size, sorted.size)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun everyStationHasAWebsiteAndValidFmFrequencies() {
|
||||||
|
RadioRepository(context).stations.forEach { station ->
|
||||||
|
assertTrue("${station.id} website", station.website?.startsWith("https://") == true)
|
||||||
|
station.frequencies.forEach { f ->
|
||||||
|
assertTrue("${station.id} ${f.mhz}", f.mhz in 87.5..108.0)
|
||||||
|
}
|
||||||
|
assertEquals("${station.id} cities", station.frequencies.size, station.frequencies.map { it.city }.toSet().size)
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 139 KiB |
@@ -4,5 +4,3 @@
|
|||||||
• Nicht erreichbare Streams werden nicht mehr minutenlang neu versucht
|
• Nicht erreichbare Streams werden nicht mehr minutenlang neu versucht
|
||||||
• Neue Sender: LRT Radijas, Žinių radijas, Latvijas Radio 1 und 2
|
• Neue Sender: LRT Radijas, Žinių radijas, Latvijas Radio 1 und 2
|
||||||
• Ansichtsoptionen nur noch im Tab „Radio“
|
• Ansichtsoptionen nur noch im Tab „Radio“
|
||||||
|
|
||||||
Neue Versionen gibt es auch auf Gitea: https://git.skysparkle.cc/kalarina/Fogwave/releases
|
|
||||||
|
|||||||
@@ -2,5 +2,3 @@
|
|||||||
• Player mit rundem Sender-Cover und dem Titel des laufenden Songs
|
• Player mit rundem Sender-Cover und dem Titel des laufenden Songs
|
||||||
• Ziehender Nebel in der Farbe des laufenden Senders
|
• Ziehender Nebel in der Farbe des laufenden Senders
|
||||||
• Teile den Sender oder Song, den du gerade hörst
|
• Teile den Sender oder Song, den du gerade hörst
|
||||||
|
|
||||||
Neue Versionen gibt es auch auf Gitea: https://git.skysparkle.cc/kalarina/Fogwave/releases
|
|
||||||
|
|||||||
@@ -4,5 +4,3 @@
|
|||||||
• Die Wiedergabe läuft von selbst weiter, wenn das Netz zurück ist
|
• Die Wiedergabe läuft von selbst weiter, wenn das Netz zurück ist
|
||||||
• Der Lautstärke-Booster macht jetzt wirklich lauter
|
• Der Lautstärke-Booster macht jetzt wirklich lauter
|
||||||
• Kleinere App, weniger Akkuverbrauch
|
• Kleinere App, weniger Akkuverbrauch
|
||||||
|
|
||||||
Neue Versionen gibt es auch auf Gitea: https://git.skysparkle.cc/kalarina/Fogwave/releases
|
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
• Info-Tab: UKW-Frequenzen in Vilnius, Kaunas, Klaipėda und Riga sowie ein Link zur Website des Senders mit Sendungen und Programm
|
||||||
|
• Unterstützungskarte mit Ko-fi-Button auf dem Info-Bildschirm
|
||||||
|
• Links zum Quellcode führen jetzt zu GitHub
|
||||||
|
• Eine kurze Anleitung beim ersten Start; erneut aufrufbar unter „Info“
|
||||||
@@ -4,5 +4,3 @@
|
|||||||
• Hopeless streams are no longer retried for minutes
|
• Hopeless streams are no longer retried for minutes
|
||||||
• New stations: LRT Radijas, Žinių radijas, Latvijas Radio 1 and 2
|
• New stations: LRT Radijas, Žinių radijas, Latvijas Radio 1 and 2
|
||||||
• View options are now on the Radio tab only
|
• View options are now on the Radio tab only
|
||||||
|
|
||||||
New versions are also available on Gitea: https://git.skysparkle.cc/kalarina/Fogwave/releases
|
|
||||||
|
|||||||
@@ -2,5 +2,3 @@
|
|||||||
• Player with a round station disc and the title of the song on air
|
• Player with a round station disc and the title of the song on air
|
||||||
• Drifting fog in the color of the playing station
|
• Drifting fog in the color of the playing station
|
||||||
• Share the station or song you are listening to
|
• Share the station or song you are listening to
|
||||||
|
|
||||||
New versions are also available on Gitea: https://git.skysparkle.cc/kalarina/Fogwave/releases
|
|
||||||
|
|||||||
@@ -4,5 +4,3 @@
|
|||||||
• Playback resumes by itself when the network comes back
|
• Playback resumes by itself when the network comes back
|
||||||
• Loudness Enhancer now really makes the sound louder
|
• Loudness Enhancer now really makes the sound louder
|
||||||
• Smaller app and lower battery use
|
• Smaller app and lower battery use
|
||||||
|
|
||||||
New versions are also available on Gitea: https://git.skysparkle.cc/kalarina/Fogwave/releases
|
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
• Info tab: FM frequencies in Vilnius, Kaunas, Klaipėda and Riga, and a link to the station's website with its shows and schedule
|
||||||
|
• Support card with a Ko-fi button on the About screen
|
||||||
|
• Source code links now lead to GitHub
|
||||||
|
• A short guide on first launch; open it again from About
|
||||||
@@ -4,5 +4,3 @@
|
|||||||
• 再生できないストリームを何分も再試行しなくなりました
|
• 再生できないストリームを何分も再試行しなくなりました
|
||||||
• 新しい局: LRT Radijas、Žinių radijas、Latvijas Radio 1・2
|
• 新しい局: LRT Radijas、Žinių radijas、Latvijas Radio 1・2
|
||||||
• 表示オプションは「ラジオ」タブのみに
|
• 表示オプションは「ラジオ」タブのみに
|
||||||
|
|
||||||
新しいバージョンは Gitea でも入手できます: https://git.skysparkle.cc/kalarina/Fogwave/releases
|
|
||||||
|
|||||||
@@ -2,5 +2,3 @@
|
|||||||
• 円形の局ディスクと放送中の曲名を表示するプレーヤー
|
• 円形の局ディスクと放送中の曲名を表示するプレーヤー
|
||||||
• 再生中の局の色で漂う霧
|
• 再生中の局の色で漂う霧
|
||||||
• 聴いている局や曲を共有できます
|
• 聴いている局や曲を共有できます
|
||||||
|
|
||||||
新しいバージョンは Gitea でも入手できます: https://git.skysparkle.cc/kalarina/Fogwave/releases
|
|
||||||
|
|||||||
@@ -4,5 +4,3 @@
|
|||||||
• ネットワークが戻ると自動で再生を再開
|
• ネットワークが戻ると自動で再生を再開
|
||||||
• ラウドネス強化が実際に音量を上げるように
|
• ラウドネス強化が実際に音量を上げるように
|
||||||
• アプリが軽くなり、電池消費も減少
|
• アプリが軽くなり、電池消費も減少
|
||||||
|
|
||||||
新しいバージョンは Gitea でも入手できます: https://git.skysparkle.cc/kalarina/Fogwave/releases
|
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
• 情報タブ:ヴィリニュス、カウナス、クライペダ、リガのFM周波数と、番組・放送スケジュールを載せた局のウェブサイトへのリンク
|
||||||
|
• 「アプリについて」画面にKo-fiボタン付きの支援カード
|
||||||
|
• ソースコードへのリンクはGitHubに変更
|
||||||
|
• 初回起動時の簡単なガイド(「アプリについて」から再表示できます)
|
||||||
@@ -4,5 +4,3 @@
|
|||||||
• Nepasiekiami srautai nebebandomi prijungti kelias minutes
|
• Nepasiekiami srautai nebebandomi prijungti kelias minutes
|
||||||
• Naujos stotys: LRT Radijas, Žinių radijas, Latvijas Radio 1 ir 2
|
• Naujos stotys: LRT Radijas, Žinių radijas, Latvijas Radio 1 ir 2
|
||||||
• Rodinio nustatymai liko tik skiltyje „Radijas“
|
• Rodinio nustatymai liko tik skiltyje „Radijas“
|
||||||
|
|
||||||
Naujos versijos taip pat pasiekiamos Gitea: https://git.skysparkle.cc/kalarina/Fogwave/releases
|
|
||||||
|
|||||||
@@ -2,5 +2,3 @@
|
|||||||
• Grotuvas su apvaliu stoties disku ir eteryje skambančios dainos pavadinimu
|
• Grotuvas su apvaliu stoties disku ir eteryje skambančios dainos pavadinimu
|
||||||
• Judantis rūkas grojančios stoties spalva
|
• Judantis rūkas grojančios stoties spalva
|
||||||
• Galite pasidalinti klausoma stotimi ar daina
|
• Galite pasidalinti klausoma stotimi ar daina
|
||||||
|
|
||||||
Naujos versijos taip pat pasiekiamos Gitea: https://git.skysparkle.cc/kalarina/Fogwave/releases
|
|
||||||
|
|||||||
@@ -4,5 +4,3 @@
|
|||||||
• Grojimas pats atsinaujina, kai grįžta ryšys
|
• Grojimas pats atsinaujina, kai grįžta ryšys
|
||||||
• Garsumo stiprintuvas dabar tikrai garsina
|
• Garsumo stiprintuvas dabar tikrai garsina
|
||||||
• Mažesnė programėlė ir mažesnės baterijos sąnaudos
|
• Mažesnė programėlė ir mažesnės baterijos sąnaudos
|
||||||
|
|
||||||
Naujos versijos taip pat pasiekiamos Gitea: https://git.skysparkle.cc/kalarina/Fogwave/releases
|
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
• Skiltyje „Info“: FM dažniai Vilniuje, Kaune, Klaipėdoje ir Rygoje bei nuoroda į stoties svetainę su laidomis ir programa
|
||||||
|
• Paramos kortelė su Ko-fi mygtuku ekrane „Apie“
|
||||||
|
• Nuorodos į išeitinį kodą dabar veda į GitHub
|
||||||
|
• Trumpas gidas pirmą kartą paleidus; jį vėl rasite skiltyje „Apie“
|
||||||
@@ -4,5 +4,3 @@
|
|||||||
• Недоступные потоки больше не переподключаются по несколько минут
|
• Недоступные потоки больше не переподключаются по несколько минут
|
||||||
• Новые станции: LRT Radijas, Žinių radijas, Latvijas Radio 1 и 2
|
• Новые станции: LRT Radijas, Žinių radijas, Latvijas Radio 1 и 2
|
||||||
• Настройки вида остались только на вкладке «Радио»
|
• Настройки вида остались только на вкладке «Радио»
|
||||||
|
|
||||||
Новые версии также доступны в Gitea: https://git.skysparkle.cc/kalarina/Fogwave/releases
|
|
||||||
|
|||||||
@@ -2,5 +2,3 @@
|
|||||||
• Плеер с круглым диском станции и названием песни в эфире
|
• Плеер с круглым диском станции и названием песни в эфире
|
||||||
• Живой туман в цвете играющей станции
|
• Живой туман в цвете играющей станции
|
||||||
• Можно поделиться станцией или песней, которую слушаете
|
• Можно поделиться станцией или песней, которую слушаете
|
||||||
|
|
||||||
Новые версии также доступны в Gitea: https://git.skysparkle.cc/kalarina/Fogwave/releases
|
|
||||||
|
|||||||
@@ -4,5 +4,3 @@
|
|||||||
• Воспроизведение само продолжается, когда возвращается сеть
|
• Воспроизведение само продолжается, когда возвращается сеть
|
||||||
• Усиление громкости теперь действительно работает
|
• Усиление громкости теперь действительно работает
|
||||||
• Приложение стало легче и экономнее к батарее
|
• Приложение стало легче и экономнее к батарее
|
||||||
|
|
||||||
Новые версии также доступны в Gitea: https://git.skysparkle.cc/kalarina/Fogwave/releases
|
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
• Во вкладке «Инфо»: FM-частоты в Вильнюсе, Каунасе, Клайпеде и Риге и ссылка на сайт станции с передачами и расписанием
|
||||||
|
• Карточка поддержки с кнопкой Ko-fi на экране «О программе»
|
||||||
|
• Ссылки на исходный код теперь ведут на GitHub
|
||||||
|
• Короткий гид при первом запуске; его можно открыть снова в «О программе»
|
||||||
@@ -4,5 +4,3 @@
|
|||||||
• 无法播放的音频流不再反复重试数分钟
|
• 无法播放的音频流不再反复重试数分钟
|
||||||
• 新增电台:LRT Radijas、Žinių radijas、Latvijas Radio 1 和 2
|
• 新增电台:LRT Radijas、Žinių radijas、Latvijas Radio 1 和 2
|
||||||
• 视图选项现仅在“电台”标签页中
|
• 视图选项现仅在“电台”标签页中
|
||||||
|
|
||||||
新版本也可在 Gitea 获取:https://git.skysparkle.cc/kalarina/Fogwave/releases
|
|
||||||
|
|||||||
@@ -2,5 +2,3 @@
|
|||||||
• 播放器带圆形电台唱片并显示正在播放的歌曲名称
|
• 播放器带圆形电台唱片并显示正在播放的歌曲名称
|
||||||
• 随正在播放电台颜色飘动的雾
|
• 随正在播放电台颜色飘动的雾
|
||||||
• 可分享正在收听的电台或歌曲
|
• 可分享正在收听的电台或歌曲
|
||||||
|
|
||||||
新版本也可在 Gitea 获取:https://git.skysparkle.cc/kalarina/Fogwave/releases
|
|
||||||
|
|||||||
@@ -4,5 +4,3 @@
|
|||||||
• 网络恢复后自动继续播放
|
• 网络恢复后自动继续播放
|
||||||
• 响度增强现在真正提高音量
|
• 响度增强现在真正提高音量
|
||||||
• 应用更小,更省电
|
• 应用更小,更省电
|
||||||
|
|
||||||
新版本也可在 Gitea 获取:https://git.skysparkle.cc/kalarina/Fogwave/releases
|
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
• 信息标签页:维尔纽斯、考纳斯、克莱佩达和里加的FM频率,以及电台网站(节目与时间表)的链接
|
||||||
|
• “关于”页面新增带 Ko-fi 按钮的支持卡片
|
||||||
|
• 源代码链接现在指向 GitHub
|
||||||
|
• 首次启动时的简短指南,可在“关于”中再次打开
|
||||||
Reference in New Issue
Block a user