mirror of https://github.com/KDE/kasts.git
Kasts è un'applicazione per podcast che gira su Linux. È sincronizzabile con gpoddersync su cloud.mastodon.uno
https://castopod.it
a331366d41
The main bits of this implementation are: - Start a new track in paused state. We don't care about the actual media state or player state that QMediaPlayer is reporting. We will deal with that when the audio actually starts playing. - If a player position needs to be restored, we set d->m_pendingSeek to the position that needs to be seeked. We don't actually seek because we have no idea what state the player is in yet. - On the positionChanged signal of QMP, and if the media is buffered, we check if there is pendingSeek value set which is set to a different value than the current player position. If so, we call d->m_player.setPosition(). If we have arrived at the correct position, then we reset d->m_pendingSeek to -1. - In the position(), duration() and seek() methods, we return sensible values, even QMP is not. So, we report the duration from the enclosure, the position from d->m_pendingSeek, and let seek() change the value of d->m_PendingSeek (if it's not -1) to the new seek position. - When there's a pending seek, we set the notifyInterval to shorter interval to reduce the startup audio glitch as much as possible. We then reset it to the default of 1000 msec. This was tested on linux and android. |
||
---|---|---|
.reuse | ||
LICENSES | ||
android | ||
src | ||
.editorconfig | ||
.gitignore | ||
.gitlab-ci.yml | ||
CMakeLists.txt | ||
README.md | ||
kasts-android-square.svg | ||
kasts.svg | ||
logo.png | ||
org.kde.kasts.appdata.xml | ||
org.kde.kasts.desktop |
README.md
Kasts
Kasts is a convergent podcast application.
Get it
Nightly Android APKs are available at KDE's Binary Factory.
Building
Note: When using versions of kasts built from git-master, it's possible that the database format or the name of downloaded files change from one version to another without the necessary migrations to handle it. If you notice bugs after upgrading to a git-master version, export your feeds, delete ~/.local/share/KDE/kasts
and import the feeds again.
Requirements
- KCoreAddons
- KI18n
- KConfig
- Kirigami
- Syndication
Linux
git clone https://invent.kde.org/plasma-mobile/kasts
cd kasts
mkdir build && cd build
cmake .. -DCMAKE_PREFIX_PATH=/usr
make
sudo make install
This assumes all dependencies are installed. If your distribution does not provide them, you can use kdesrc-build to build all of them.
Android
You can build Kasts for Android using KDE's Docker-based build environment.